aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog18580
-rw-r--r--calendar/ChangeLog.pre-1-421872
-rw-r--r--calendar/Makefile.am1
-rw-r--r--calendar/calendar.error.xml28
-rw-r--r--calendar/gui/Makefile.am3
-rw-r--r--calendar/gui/alarm-notify/alarm-notify-dialog.c14
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c18
-rw-r--r--calendar/gui/alarm-notify/notify-main.c2
-rw-r--r--calendar/gui/calendar-commands.c.dead380
-rw-r--r--calendar/gui/calendar-commands.h.dead44
-rw-r--r--calendar/gui/calendar-component.c.dead710
-rw-r--r--calendar/gui/calendar-component.h.dead55
-rw-r--r--calendar/gui/comp-util.c17
-rw-r--r--calendar/gui/dialogs/Makefile.am3
-rw-r--r--calendar/gui/dialogs/alarm-dialog.c9
-rw-r--r--calendar/gui/dialogs/alarm-dialog.ui2
-rw-r--r--calendar/gui/dialogs/alarm-list-dialog.c14
-rw-r--r--calendar/gui/dialogs/cal-prefs-dialog.c4
-rw-r--r--calendar/gui/dialogs/calendar-setup.c16
-rw-r--r--calendar/gui/dialogs/comp-editor-util.c96
-rw-r--r--calendar/gui/dialogs/comp-editor.c27
-rw-r--r--calendar/gui/dialogs/delete-comp.c10
-rw-r--r--calendar/gui/dialogs/event-editor.c13
-rw-r--r--calendar/gui/dialogs/event-page.c8
-rw-r--r--calendar/gui/dialogs/event-page.ui4
-rw-r--r--calendar/gui/dialogs/memo-editor.c4
-rw-r--r--calendar/gui/dialogs/memo-page.c8
-rw-r--r--calendar/gui/dialogs/recur-comp.c7
-rw-r--r--calendar/gui/dialogs/recurrence-page.c43
-rw-r--r--calendar/gui/dialogs/schedule-page.c4
-rw-r--r--calendar/gui/dialogs/send-comp.c10
-rw-r--r--calendar/gui/dialogs/task-details-page.c19
-rw-r--r--calendar/gui/dialogs/task-editor.c9
-rw-r--r--calendar/gui/dialogs/task-page.c4
-rw-r--r--calendar/gui/e-cal-component-preview.c8
-rw-r--r--calendar/gui/e-cal-list-view.c4
-rw-r--r--calendar/gui/e-cal-list-view.etspec1
-rw-r--r--calendar/gui/e-cal-model.c2
-rw-r--r--calendar/gui/e-calendar-selector.c6
-rw-r--r--calendar/gui/e-calendar-view.c137
-rw-r--r--calendar/gui/e-calendar-view.h8
-rw-r--r--calendar/gui/e-day-view-main-item.c20
-rw-r--r--calendar/gui/e-day-view-time-item.c9
-rw-r--r--calendar/gui/e-day-view-top-item.c30
-rw-r--r--calendar/gui/e-day-view.c706
-rw-r--r--calendar/gui/e-itip-control.c79
-rw-r--r--calendar/gui/e-meeting-list-view.c4
-rw-r--r--calendar/gui/e-meeting-time-sel-item.c17
-rw-r--r--calendar/gui/e-meeting-time-sel.c288
-rw-r--r--calendar/gui/e-memo-table.c10
-rw-r--r--calendar/gui/e-select-names-renderer.c15
-rw-r--r--calendar/gui/e-task-table.c34
-rw-r--r--calendar/gui/e-timezone-entry.c26
-rw-r--r--calendar/gui/e-week-view-event-item.c97
-rw-r--r--calendar/gui/e-week-view-main-item.c4
-rw-r--r--calendar/gui/e-week-view-titles-item.c26
-rw-r--r--calendar/gui/e-week-view.c416
-rw-r--r--calendar/gui/ea-cal-view-event.c19
-rw-r--r--calendar/gui/ea-cal-view.c8
-rw-r--r--calendar/gui/ea-day-view.c4
-rw-r--r--calendar/gui/ea-week-view.c4
-rw-r--r--calendar/gui/gnome-cal.c10
-rw-r--r--calendar/gui/goto-dialog.ui2
-rw-r--r--calendar/gui/itip-utils.c5
-rw-r--r--calendar/gui/print.c34
-rw-r--r--calendar/gui/tag-calendar.c8
-rw-r--r--calendar/gui/weekday-picker.c25
-rw-r--r--calendar/importers/Makefile.am3
-rw-r--r--calendar/importers/icalendar-importer.c515
69 files changed, 2134 insertions, 42488 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
deleted file mode 100644
index feba01be00..0000000000
--- a/calendar/ChangeLog
+++ /dev/null
@@ -1,18580 +0,0 @@
-2009-04-27 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #491755
-
- * gui/alarm-notify/config-data.c:
- (config_data_set_last_notification_time),
- (config_data_get_last_notification_time):
- Sanitize values from GConf before using them.
-
-2009-04-27 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #575773
-
- * gui/e-calendar-table.etspec:
- * gui/e-cal-list-view.etspec:
- * gui/e-memo-table.etspec:
- * gui/e-cal-model.h: (ECalModelField), (struct _ECalModelComponent):
- * gui/e-cal-model.c: (get_datetime_from_utc), (ecm_value_at),
- (ecm_duplicate_value), (ecm_free_value), (ecm_initialize_value),
- (ecm_value_is_empty), (ecm_value_to_string),
- (e_cal_view_objects_modified_cb), (e_cal_model_component_finalize),
- (e_cal_model_component_init):
- Allow showing CREATED and LAST-MODIFIED properties in a table.
-
- * gui/print.c: (print_comp_draw_real):
- * gui/e-cal-component-preview.c: (write_html):
- * conduits/todo/todo-conduit.c: (local_record_from_comp):
- Possible leak fix.
-
-2009-04-24 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #573704
-
- * gui/dialogs/comp-editor.c: (action_save_cb), (real_send_comp):
- Do not close editor after error.
-
-2009-04-24 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #571272
-
- * gui/e-cal-model.c: (search_by_id_and_client): Possible leak fix.
-
-2009-04-24 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #569652
-
- * gui/calendar-component.c: (ensure_sources):
- * gui/memos-component.c: (ensure_sources):
- * gui/tasks-component.c: (ensure_sources):
- Use new ESourceList API (simplifies code).
-
-2009-04-24 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #381132
-
- * gui/apps_evolution_calendar.schemas.in:
- * gui/dialogs/cal-prefs-dialog.glade:
- * gui/dialogs/cal-prefs-dialog.h: (struct _CalendarPrefsDialog):
- * gui/dialogs/cal-prefs-dialog.c: (update_system_tz_widgets),
- (use_system_tz_changed), (setup_changes), (show_config),
- (calendar_prefs_dialog_construct):
- * gui/calendar-config-keys.h:
- * gui/calendar-config.h:
- * gui/calendar-config.c: (calendar_config_get_use_system_timezone),
- (calendar_config_set_use_system_timezone),
- (calendar_config_add_notification_use_system_timezone),
- (calendar_config_get_timezone), (calendar_config_get_timezone_stored):
- Be able to set system timezone as calendar's time zone.
-
-2009-04-24 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #205804
-
- * gui/e-calendar-view.c: (e_calendar_view_get_tooltips):
- Include timezone information in a tooltip when differs from user's.
-
-2009-04-24 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #577615
-
- * gui/dialogs/cal-prefs-dialog.h: (struct _CalendarPrefsDialog):
- * gui/dialogs/cal-prefs-dialog.c: (timezone_changed),
- (daylight_saving_changed), (setup_changes), (show_config),
- (calendar_prefs_dialog_construct):
- * gui/dialogs/cal-prefs-dialog.glade:
- * gui/apps_evolution_calendar.schemas.in:
- * gui/calendar-config-keys.h:
- * gui/calendar-config.h:
- * gui/calendar-config.c: (set_standard_offsets),
- (calendar_config_get_icaltimezone),
- (calendar_config_get_daylight_saving),
- (calendar_config_set_daylight_saving),
- (calendar_config_add_notification_daylight_saving):
- Get rid of "Adjust for daylight saving time" option.
-
-2009-04-24 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #572348
-
- * gui/dialogs/task-page.glade:
- * gui/dialogs/task-page.c:
- * gui/dialogs/task-details-page.glade:
- * gui/dialogs/task-details-page.c:
- * gui/dialogs/recurrence-page.glade:
- * gui/dialogs/recurrence-page.c:
- * gui/dialogs/alarm-dialog.glade:
- * gui/dialogs/alarm-dialog.c:
- * gui/dialogs/event-page.glade:
- * gui/dialogs/event-page.c:
- * gui/dialogs/memo-page.glade:
- * gui/dialogs/memo-page.c:
- * gui/goto-dialog.glade:
- * gui/goto.c:
- * gui/e-itip-control.c:
- Remove deprecated Gtk+ symbols.
-
- * gui/dialogs/Makefile.am:
- * gui/dialogs/meeting-page.glade:
- Remove death files.
-
-2009-04-13 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #561312
- * calendar/gui/comp-util.c:
- * calendar/gui/comp-util.h: Added a new function to
- sanitize master recurrence event before modifying
- all instances.
- * calendar/gui/dialogs/comp-editor.c:
- * calendar/gui/e-day-view.c:
- * calendar/gui/e-week-view.c: Used the new util api.
- Do not invoke recurrence dialog while modifying detached
- instances.
-
-2009-04-07 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #523802
-
- * gui/e-tasks.h: (e_tasks_get_preview):
- * gui/e-tasks.c: (e_tasks_get_preview):
- * gui/e-cal-component-preview.h: (e_cal_component_preview_get_html):
- * gui/e-cal-component-preview.c: (e_cal_component_preview_get_html):
- * gui/tasks-control.c: (tasks_control_new), (tasks_sensitize_table[]),
- (tasks_control_sensitize_commands), (tasks_control_focus_changed),
- (tasks_control_copy_cmd):
- * gui/e-memos.h: (e_memos_get_preview):
- * gui/e-memos.c: (e_memos_get_preview):
- * gui/e-cal-component-memo-preview.h:
- * gui/e-cal-component-memo-preview.c:
- (e_cal_component_memo_preview_get_html):
- * gui/memos-control.c: (memos_control_new),
- (memos_control_sensitize_commands), (memos_control_focus_changed),
- (memos_control_copy_cmd):
- Use copy of the preview panel, when focused, and events' copy otherwise.
-
-2009-04-02 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #577717
-
- * gui/dialogs/alarm-dialog.c: (alarm_to_dialog),
- (malarm_widgets_to_alarm): Fill some default values
- to mandatory properties of ECalComponentAttendee.
-
-2009-03-06 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #401346
-
- * gui/e-meeting-time-sel.c: (e_meeting_time_selector_destroy):
- Do not remove notification twice.
- * gui/dialogs/event-editor.c: (create_schedule_page),
- (action_free_busy_cb): Do not show Free/Busy dialog modal.
-
-2009-03-05 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #435455 (bnc)
- * calendar/gui/dialogs/comp-editor.c:
- * calendar/gui/dialogs/event-editor.c:
- * calendar/gui/dialogs/event-page.c:
- * calendar/gui/dialogs/memo-page.c:
- * calendar/gui/dialogs/task-page.c:
- * calendar/gui/e-calendar-view.c:
- * calendar/gui/e-calendar-view.h:
- * calendar/gui/e-day-view.c:
- * calendar/gui/itip-utils.c:
- * calendar/gui/itip-utils.h: Do not allow read-only
- events to be resized.
-
-2009-03-04 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #573119
-
- * gui/dialogs/comp-editor.c: (set_attendees_for_delegation):
- * gui/e-cal-popup.c: (is_delegated), (needs_to_accept):
- Do not ask value of not included (NULL) parameters.
-
-2009-03-04 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #573193
-
- * gui/e-calendar-view.c: (error_response): Always destroy dialog.
-
-2009-03-04 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #573122
-
- * gui/dialogs/cal-prefs-dialog.c: (timezone_changed), (show_config):
- * gui/calendar-config.c: (calendar_config_get_icaltimezone):
- * gui/e-cal-model.c: (ecm_value_at):
- Do not pass NULL to icalcomponent_get_first_component.
-
-2009-02-25 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #558366
-
- * gui/alarm-notify/alarm-notify.c: (alarm_notify_add_calendar):
- Set default timezone to resolve floating DATE-TIME properly.
-
-2009-02-25 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #238346
-
- * gui/e-calendar-view.c: (e_calendar_view_add_event): Keep old
- timezone when adding event if possible, use the default one otherwise.
- * gui/e-calendar-view.c: (add_related_timezones), (clipboard_get_text_cb):
- Set timezones from component to the calendar first, then add events. Also
- fetch timezones from the calendar, when not part of the component already.
-
-2009-02-25 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #529037
-
- * gui/gnome-cal.c: (gnome_calendar_destroy):
- Disconnect signals on ESource-s too, not only on ECal-s.
-
-2009-02-25 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #561465
-
- * gui/e-meeting-list-view.c: (build_table):
- Expand 'Attendee' column instead of the last.
-
-2009-02-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #572543
-
- * gui/e-cal-popup.c: (ecalp_standard_menu_factory):
- Always look for alternative apps for application/octet-stream.
-
-2009-02-22 Tobias Mueller <tobiasmue@svn.gnome.org>
-
- * gui/e-itip-control.c (refresh_options_object):
- Make it use the proper action. Patch by Paweł Zembrzuski
-
- ** Fixes bug 566556
-
-2009-02-20 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #567949
-
- * gui/e-day-view.c: (set_text_as_bold):
- * gui/e-week-view.c: (set_text_as_bold):
- Do not free memory before done with it.
-
-2009-02-19 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #572348
-
- * gui/alarm-notify/alarm-queue.c (display_notification):
- Call gtk_status_icon_set_tooltip_text() instead of
- gtk_status_icon_set_tooltip() (deprecated).
-
- * gui/weekday-picker.c (configure_items):
- Remove dead code.
-
-2009-02-19 Andre Klapper <a9016009@gmx.de>
-
- * /gui/e-day-view.c:
- Remove useless and deprecated gtk_layout_freeze and gtk_layout_thaw
- calls.
-
-2009-02-16 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #550114
-
- * gui/e-calendar-table.h: (ec_query_tooltip):
- * gui/e-calendar-table.c: (ec_query_tooltip): Offer it to others too.
- * gui/e-calendar-table.c: (query_tooltip_cb): Use above funtion.
- Show proper tooltip in table with grouping columns.
- * gui/e-memo-table.c: (query_tooltip_cb), (e_memo_table_init):
- Show tooltips in memo view too.
-
-2009-02-13 Chow Loong Jin <hyperair@gmail.com>
-
- ** Fixes bug #571625
-
- * calendar/gui/e-day-view.c
- * calendar/gui/e-week-view.c:
- Use black/white for foreground instead of active/inactive text color
-
-2009-02-11 Andre Klapper <a9016009@gmx.de>
-
- * /gui/migration.c:
- * /gui/dialogs/alarm-dialog.c:
- Substitute some deprecated gtk+ functions.
-
-2009-02-09 Milan Crha <mcrha@redhat.com>
-
- * gui/dialogs/cal-prefs-dialog.glade:
- Do not use non-zero page size in an adjustment, it's deprecated now.
-
-2009-02-03 Gabor Kelemen <kelemeng@gnome.hu>
-
- * gui/alarm-notify/alarm-notify.glade:
- Mark a string for translation. Fixes bug #570364
-
-2009-02-01 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/calendar-config.c:
- * gui/calendar-config.h:
- * gui/e-itip-control.c:
- * gui/alarm-notify/alarm-queue.c:
- * gui/dialogs/event-page.c:
- * gui/dialogs/task-details-page.c:
- * gui/dialogs/task-page.c:
- Fix compiler warnings.
-
-2009-01-30 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #450554 (bugzilla.novell.com)
-
- * gui/dialogs/event-editor.c (event_editor_edit_comp):
- * gui/dialogs/event-page.c (event_page_remove_all_attendees):
- * gui/dialogs/event-page.h:
- Remove all attendees from the list-view and name-selector before
- populating it on 'event_changed' callback.
- * gui/e-meeting-list-view.c
- (e_meeting_list_view_remove_attendee_from_name_selector),
- (e_meeting_list_view_remove_all_attendees_from_name_selector):
- Fix the GtkTreePath when iterating over the attendee list. It used
- to cause a mis-match between the model and the view (critical)
- * gui/e-meeting-list-view.h:
- * gui/e-meeting-store.c (e_meeting_store_remove_all_attendees):
- New function added.
-
-2009-01-30 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #463602 (bnc)
- * calendar/gui/e-day-view-main-item.c: Align the summary
- so that it does not intercept with time.
-
-2009-01-30 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #450535 (bnc)
- * calendar/gui/e-calendar-view.c: If multiple days are
- selected in month view, show same selected times in the
- editor also.
-
-2009-01-30 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #347287
- * calendar/gui/e-cal-model.c:
- * calendar/gui/gnome-cal.c: Increased the number of tries
- to 10 and wait to 500 micro seconds.
-
-2009-01-27 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #318003
-
- * gui/memos-component.c: (selector_tree_data_dropped):
- * gui/tasks-component.c: (selector_tree_data_dropped):
- * gui/calendar-component.c: (selector_tree_data_dropped),
- (create_component_view):
- * gui/comp-util.h: (cal_comp_process_source_list_drop):
- * gui/comp-util.c: (update_single_object), (update_objects),
- (cal_comp_process_source_list_drop):
- Support move of the event in day view when dropped over the source
- list. Use the same function for events/tasks/memos.
-
- * gui/e-day-view.c: (e_day_view_on_drag_data_get):
- Encode string data same as memos and tasks do, with a source UID.
-
- * gui/e-calendar-table.c: (e_calendar_table_copy_clipboard):
- * gui/e-memo-table.c: (e_memo_table_copy_clipboard):
- Removed inappropriate comments.
-
-2009-01-27 Bharath Acharya <abharath@novell.com>
-
- ** Fix for bug #463597, bug #463594, bug#463599 (BNC) and
- ** bug #567824(BGO)
-
- * gui/print.c (titled_box), (print_day_background),
- (print_day_view), (print_week_view), (print_month_view): Fix all header
- related bugs in calendar printing.
-
- Bug reports:
- 1) Daily Printouts Display Hour In Wrong Spot :
- When you print your daily calendar, it prints the hours in the left
- column below the :30 time slot
-
- 2) Font Problems On Printout, Days Of Week
-
- 3) Calendar Heading Printout Problems, Overlapping Fonts
- In print preview, short week day names in the header of the page are
- overlapped.
-
- Fixes all header issues mentioned at
- http://www.go-evolution.org/CalendarPrintoutLove
-
-2009-01-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #559604
-
- * gui/itip-utils.h: (itip_organizer_is_user_ex):
- * gui/itip-utils.c: (itip_organizer_is_user_ex),
- (itip_organizer_is_user):
- * gui/e-calendar-view.c: (e_calendar_view_get_attendees_status_info):
- Let the feature work with Groupwise too.
-
-2009-01-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #442869
-
- * gui/dialogs/task-page.c: (attendee_added_cb):
- * gui/dialogs/event-page.c: (attendee_added_cb): Do not work
- with NULL delegator and do not set 'delfrom' with two MAILTO.
- * gui/e-meeting-list-view.c: (name_selector_dialog_close_cb):
- Delete attendee only if we have enough rights for it.
-
-2009-01-21 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #362754
-
- * gui/tasks-component.c: (ensure_sources):
- * gui/memos-component.c: (ensure_sources):
- * gui/calendar-component.c: (ensure_sources):
- Ensure to show default groups and sources with actual
- localized name, not the one it was stored last time.
-
-2009-01-21 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #541209
-
- ** Adapt to the new APIs from upstream libical. Changes made include
- using the "_r" counterpart for the following APIs:
- + icalproperty_as_ical_string ()
- + icalvalue_as_ical_string ()
- + icalcomponent_as_ical_string ()
- + icalparameter_as_ical_string ()
- + icaldurationtype_as_ical_string ()
- + icalenum_reqstat_code ()
- + icallangbind_property_eval_string ()
- + icallangbind_quote_as_ical ()
- + icalmime_text_end_part ()
- + icalperiodtype_as_ical_string ()
- + icalproperty_enum_to_string ()
- + icalproperty_get_parameter_as_string ()
- + icalproperty_get_value_as_string ()
- + icalproperty_get_property_name ()
- + icalrecurrencetype_as_string ()
- + icaltime_as_ical_string ()
- + icalreqstattype_as_string ()
- + icalvalue_binary_as_ical_string ()
- + icalvalue_int_as_ical_string ()
- + icalvalue_utcoffset_as_ical_string ()
- + icalvalue_string_as_ical_string ()
- + icalvalue_recur_as_ical_string ()
- + icalvalue_text_as_ical_string ()
- + icalvalue_attach_as_ical_string ()
- + icalvalue_duration_as_ical_string ()
- + icalvalue_date_as_ical_string ()
- + icalvalue_datetime_as_ical_string ()
- + icalvalue_float_as_ical_string ()
- + icalvalue_geo_as_ical_string ()
- + icalvalue_datetimeperiod_as_ical_string ()
- + icalvalue_period_as_ical_string ()
- + icalvalue_trigger_as_ical_string ()
- + icalvalue_as_ical_string ()
-
- * gui/dialogs/e-send-options-utils.c
- (e_sendoptions_utils_fill_component):
- * gui/e-cal-model.c (search_by_id_and_client):
- * gui/e-calendar-table.c (copy_row_cb),
- (e_calendar_table_copy_clipboard):
- * gui/e-calendar-view.c (e_calendar_view_copy_clipboard),
- (transfer_item_to), (icalcomp_contains_category):
- * gui/e-day-view.c (update_row), (model_comps_deleted_cb),
- (e_day_view_find_event_from_uid), (e_day_view_reshape_day_events),
- (e_day_view_on_drag_data_get):
- * gui/e-itip-control.c (update_item):
- * gui/e-memo-table.c (copy_row_cb), (e_memo_table_copy_clipboard):
- * gui/e-memos.c (obtain_list_of_components):
- * gui/e-tasks.c (obtain_list_of_components):
- * gui/e-week-view.c (update_row), (model_comps_deleted_cb),
- (e_week_view_reshape_events), (e_week_view_find_event_from_uid):
- * gui/gnome-cal.c (gnome_calendar_purge):
- * gui/itip-utils.c (comp_limit_attendees), (itip_send_comp),
- (reply_to_calendar_comp), (itip_publish_comp):
-
-2009-01-20 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #353460
-
- * gui/gnome-cal.c: (setup_widgets):
- Do not allow shrinking of Tasks/Memos components in calendar view.
-
-2009-01-20 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #568331
-
- * gui/dialogs/comp-editor.c: (classification_changed_cb),
- (comp_editor_init): Notify changes of the classification.
- * gui/dialogs/comp-editor.c: (fill_widgets): Block classification
- change signal when filling widgets with values from a component.
-
-2009-01-19 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #567850
-
- * gui/e-cal-model.h: (e_cal_model_set_default_time_func):
- * gui/e-cal-model.c: (struct _ECalModelPrivate), (ecm_append_row),
- (e_cal_model_set_default_time_func):
- New functionality to retrieve a default time for a model's new
- event created from a "click-to-add" row.
- * gui/gnome-cal.c: (gc_get_default_time), (setup_widgets):
- Set the new time callback for the memo table.
-
-2009-01-19 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #550735
-
- * gui/print.c: (get_summary_with_location), (print_day_long_event),
- (print_day_event), (print_week_event):
- Print location with summary in all views, not only in a day view.
-
-2009-01-19 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #260853
-
- * gui/calendar-config-keys.h:
- * gui/calendar-config.h:
- (calendar_config_get_ba_reminder), (calendar_config_set_ba_reminder):
- * gui/calendar-config.c:
- (calendar_config_get_ba_reminder), (calendar_config_set_ba_reminder),
- (string_to_units), (calendar_config_get_default_reminder_units):
- * gui/dialogs/cal-prefs-dialog.glade:
- * gui/dialogs/cal-prefs-dialog.h: (struct _CalendarPrefsDialog):
- * gui/dialogs/cal-prefs-dialog.c: (ba_reminder_toggled),
- (ba_reminder_interval_changed), (ba_reminder_units_changed),
- (setup_changes), (show_config), (calendar_prefs_dialog_construct):
- User interface and related function to allow use change setup of
- the alarm for Birthdays and Anniversaries calendar.
-
-2009-01-19 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #225712
-
- * gui/dialogs/comp-editor.h: (CompEditorClass::send_comp),
- (comp_editor_send_comp): Changed function prototypes.
- * gui/dialogs/comp-editor.c: (real_send_comp), (save_comp_with_send),
- (comp_editor_send_comp): Strip alarms based on user's choice.
- * gui/dialogs/send-comp.h: (send_component_dialog):
- * gui/dialogs/send-comp.c: (have_nonprocedural_alarm),
- (send_component_dialog): Show option "Send my alarms with this event"
- when prompting to send event or not, but only if have any non-procedure
- alarms and if it the caller want to know user's opinion. Default is
- to strip all alarms. Procedure alarms are always strip out.
- * gui/dialogs/event-editor.c: (event_editor_send_comp):
- * gui/dialogs/task-editor.c: (task_editor_send_comp):
- Honor function prototype changes and use new parameter strip_alarms.
- * gui/itip-utils.h: (itip_send_comp):
- * gui/itip-utils.c: (comp_compliant), (itip_send_comp),
- (reply_to_calendar_comp):
- New parameter to strip all alarms or only procedure alarms.
- * gui/tasks-control.c: (tasks_control_forward_cmd):
- * gui/e-itip-control.c: (send_item), (send_freebusy), (ok_clicked_cb):
- * gui/e-calendar-table.c: (e_calendar_table_on_forward):
- * gui/e-memo-table.c: (e_memo_table_on_forward):
- * gui/e-calendar-view.c: (e_calendar_view_cut_clipboard),
- (delete_event), (e_calendar_view_delete_selected_occurrence),
- (on_forward):
- Always strip alarms when sending component.
- * gui/e-calendar-view.c: (e_calendar_view_add_event),
- (e_calendar_view_modify_and_send):
- * gui/e-cal-model-calendar.c: (ecmc_set_value_at):
- Strip alarms based on user's choice.
-
-2009-01-19 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #200254
-
- * gui/apps_evolution_calendar.schemas.in:
- * gui/dialogs/cal-prefs-dialog.glade:
- * gui/dialogs/cal-prefs-dialog.h: (struct _CalendarPrefsDialog):
- * gui/dialogs/cal-prefs-dialog.c: (dview_show_week_no_toggled),
- (setup_changes), (show_config), (calendar_prefs_dialog_construct):
- * gui/calendar-config-keys.h:
- * gui/calendar-config.h:
- * gui/calendar-config.c: (calendar_config_get_dview_show_week_no),
- (calendar_config_set_dview_show_week_no),
- (calendar_config_add_notification_dview_show_week_no):
- New option whether to show week number in Day and Work Week view.
- * gui/e-day-view.h: (struct _EDayView),
- (e_day_view_get_show_week_number), (e_day_view_set_show_week_number):
- * gui/e-day-view.c: (dview_show_week_no_changed_cb), (e_day_view_init),
- (e_day_view_destroy), (e_day_view_recalc_day_starts),
- (e_day_view_get_show_week_number), (e_day_view_set_show_week_number):
- New widget showing week number of the first day in a view.
-
-2009-01-16 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #360813
-
- * conduits/calendar/calendar-conduit.c: (comp_from_remote_record):
- RFC 2445 - CREATED/DTSTAMP/LAST-MODIFIED always in UTC.
-
-2009-01-16 Milan Crha <mcrha@redhat.com>
-
- ** Partial fix for bug #310844
-
- * gui/e-calendar-view.c: (transfer_item_to):
- Transfer master object instead of the instance for recurring events.
-
-2009-01-15 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #303738
-
- * gui/gnome-cal.c: (client_cal_opened_cb),
- (default_client_cal_opened_cb):
- * gui/e-memos.c: (client_cal_opened_cb),
- (default_client_cal_opened_cb):
- * gui/e-tasks.c: (client_cal_opened_cb),
- (default_client_cal_opened_cb):
- Forget password on AuthFailed or AuthRequired and try to reopen
- on AuthFailed status, which will ask for a password again.
-
- * gui/comp-editor-factory.c: (cal_opened_cb):
- Show "Authentication Required" on such status returned.
-
- * common/authentication.c: (auth_cal_forget_password):
- Do not free memory which hold ECal. Also always forget password
- for calendar with the URL key.
-
-2009-01-15 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #245156
-
- * gui/e-day-view.c: (e_day_view_finish_long_event_resize),
- (e_day_view_finish_resize), (e_day_view_change_event_time),
- (e_day_view_on_top_canvas_drag_data_received),
- (e_day_view_on_main_canvas_drag_data_received):
- * gui/e-week-view.c: (e_week_view_change_event_time):
- * gui/e-calendar-view.c: (on_unrecur_appointment):
- Keep old timezone for dtstart/dtend when changing it.
- * gui/comp-util.h: (cal_comp_set_dtstart_with_oldzone),
- (cal_comp_set_dtend_with_oldzone):
- * gui/comp-util.c: (cal_comp_set_dtstart_with_oldzone),
- (cal_comp_set_dtend_with_oldzone), (datetime_to_zone):
- Helper functions to make it easier.
-
-2009-01-15 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #246313
-
- * gui/e-day-view.c: (e_day_view_check_if_new_event_fits): Removed.
- * gui/e-day-view.h: (struct _EDayView):
- * gui/e-day-view.c: (e_day_view_init), (e_day_view_size_allocate),
- (e_day_view_recalc_main_canvas_size), (e_day_view_recalc_cell_sizes),
- (e_day_view_update_scroll_regions), (e_day_view_check_layout):
- * gui/e-day-view-layout.h: (e_day_view_layout_day_events):
- * gui/e-day-view-layout.c: (e_day_view_layout_day_events),
- (e_day_view_layout_day_event), (e_day_view_expand_day_event):
- Added ability to show all event in one-day view, but show only up
- to 6 columns in a multi-day view.
- * gui/print.c: (print_day_details): Always print all events.
-
-2009-01-14 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #554454
-
- * gui/e-cal-model.c: (e_cal_view_objects_modified_cb):
- Do not crash when received 'modified' event for something
- not in a model. And a leak fix.
-
-2009-01-13 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #489437
-
- * gui/dialogs/recurrence-page.c: (fill_component): Check whether
- the 'until' date is in the future, and report error if not.
-
-2009-01-13 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #567045
-
- * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct),
- (e_meeting_time_selector_on_canvas_scroll_event): Escalate scroll
- event's to a scrolled window, to let mouse wheel work over data too.
-
-2009-01-12 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #563364
-
- * gui/e-day-view-time-item.h: (EDayViewTimeItem):
- * gui/e-day-view-time-item.c: (e_day_view_time_item_class_init),
- (e_day_view_time_item_init), (e_day_view_time_item_finalize),
- (e_day_view_time_item_get_column_width), (edvti_draw_zone),
- (e_day_view_time_item_draw), (edvti_second_zone_changed_cb),
- (edvti_on_select_zone), (edvti_on_set_zone),
- (e_day_view_time_item_show_popup_menu):
- Show two timezones in the day view's time column.
-
- * gui/apps_evolution_calendar.schemas.in:
- * gui/calendar-config-keys.h:
- * gui/calendar-config.h:
- * gui/calendar-config.c: (calendar_config_get_day_second_zones),
- (calendar_config_free_day_second_zones),
- (calendar_config_set_day_second_zone),
- (calendar_config_get_day_second_zone),
- (calendar_config_select_day_second_zone),
- (calendar_config_add_notification_day_second_zone):
- Access configuration for the second day time zone.
-
- * gui/dialogs/cal-prefs-dialog.glade:
- * gui/dialogs/cal-prefs-dialog.h: (struct _CalendarPrefsDialog):
- * gui/dialogs/cal-prefs-dialog.c: (update_day_second_zone_caption),
- (on_set_day_second_zone), (on_select_day_second_zone),
- (day_second_zone_clicked), (setup_changes), (show_config),
- (calendar_prefs_dialog_construct):
- Manage the second day zone in a Preferences dialog.
-
-2009-01-12 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #555310
-
- * importers/icalendar-importer.c: (ivcal_getwidget):
- Localize strings properly.
-
-2009-01-12 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fix for bug #567148
-
- * gui/e-timezone-entry.c (e_timezone_entry_init): Use a labelled button
- to bring up the timezone selector widget.
-
-2009-01-11 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/e-cal-component-preview (on_link_clicked):
- * gui/e-cal-component-memo-preview (on_link_clicked):
- * gui/e-memo-table.c (open_url_cb):
- * gui/dialogs/comp-editor.c (open_attachment):
- Call e_show_uri() instead of gnome_url_show().
-
-2009-01-10 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/calendar-commands.c:
- * gui/e-cal-list-view.c:
- * gui/e-day-view.c:
- * gui/e-itip-control.c:
- * gui/e-meeting-list-view.c:
- * gui/e-meeting-store.c:
- * gui/e-week-view.c:
- * gui/gnome-cal.c:
- * gui/memos-control.c:
- * gui/tasks-control.c:
- Remove unneeded #include <libgnome/gnome-util.h>.
-
-2009-01-10 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/calendar-commands.c:
- * gui/e-cell-date-edit-text.c:
- * gui/e-itip-control.c:
- * gui/memos-control.c:
- * gui/print.c:
- * gui/tasks-control.c:
- Remove unneeded #include <libgnomeui/gnome-stock-icons.h>.
-
- * gui/alarm-notify/alarm-queue.c:
- * gui/dialogs/cal-attachment-select-file.c:
- * gui/dialogs/cancel-comp.c:
- * gui/dialogs/changed-comp.c:
- * gui/dialogs/delete-error.c:
- * gui/dialogs/recur-comp.c:
- * gui/e-itip-control.c:
- * gui/print.c:
- Remove unneeded #include <libgnomeui/gnome-uidefs.h>.
-
-2009-01-10 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #567281
-
- * gui/calendar-commands.c:
- * gui/e-cell-date-edit-text.c:
- Remove unneeded #include <libgnomeui/gnome-messagebox.h>.
-
-2009-01-10 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #567276
-
- * gui/calendar-commands.c:
- * gui/control-factory.c:
- * gui/e-itip-control.c:
- * gui/gnome-cal.c:
- * gui/goto.c:
- * gui/memos-control.c:
- * gui/print.c:
- * gui/tasks-control.c:
- * gui/alarm-notify/alarm-queue.c:
- * gui/dialogs/schedule-page.c:
- Remove unneeded #include <libgnomeui/gnome-dialog-util.h>.
-
- * gui/calendar-config.c:
- * gui/calendar-config.h:
- Removed unused function calendar_config_check_timezone_set().
-
-2009-01-09 Takao Fujiwara <takao.fujiwara@sun.com>
-
- Reviewed by Matthew Barnes <mbarnes@redhat.com>
-
- * Fix for bug #566011
-
- * gui/Makefile.am:
- * gui/calendar-component.c (calendar_component_class_init):
- * gui/dialogs/comp-editor.c:
- * gui/memos-component.c (memos_component_class_init):
- * gui/tasks-component.c (tasks_component_class_init):
- Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
- add bindtextdomain().
-
-2009-01-07 Ashish Shrivastava <shashish@novell.com>
-
- ** Fix for bug #565553, #462372 (bnc)
-
- * gui/e-cal-popup.c (temp_save_part):
- Add supported URI format.
-
-2009-01-07 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #443544 (bugzilla.novell.com)
-
- * gui/e-meeting-attendee.c (e_meeting_attendee_add_busy_period):
- * gui/e-meeting-store.c (process_free_busy_comp):
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
- * gui/e-meeting-types.h:
- Handle E_MEETING_FREE_BUSY_FREE.
-
-2009-01-06 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes bug #566599
-
- * gui/itip-utils.c (comp_subject):
- Add translator comments and gettext context for meeting mail
- subject prefixes.
-
-2009-01-06 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #458968 (bugzilla.novell.com)
-
- * gui/dialogs/comp-editor.c (comp_editor_set_summary),
- (comp_editor_set_changed): Don't warn the user about changes being lost
- if he is trying to delegate the meeting.
-
-2009-01-05 Ashish Shrivastava <shashish@novell.com>
-
- ** Fix for bug #458153 (bugzilla.novell.com)
-
- * gui/dialogs/comp-editor.c: Added a separator in the toolbar.
- * gui/dialogs/event-editor.c (action_all_day_event_cb): Toggle 'Show
- time as busy' in all_day_event callback.
-
-2008-01-04 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes bug #566566
-
- * gui/e-itip-control.c (insert_rsvp):
- Mark "RSVP" for translation.
-
-2008-12-31 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fix for bug #562091
-
- * gui/dialogs/memo-editor.c (memo_editor_constructed),
- (memo_editor_class_init), (memo_editor_init): Create MemoPage
- after the base class object has been created and initialized.
-
-2008-12-29 Bharath Acharya <abharath@novell.com>
-
- ** Fix for bug #446285 (bnc)
-
- * gui/e-select-names-editable.c:
- (e_select_names_editable_get_emails),
- (e_select_names_editable_get_names): Traverse all the entries in the
- added list.
-
-2008-12-29 Bharath Acharya <abharath@novell.com>
-
- ** Fix for bug #439998 (bnc)
-
- * gui/dialogs/comp-editor.c: (remove_event_dialog),
- (action_save_cb): Ask the user if he wants to remove the delegated
- events or keep a copy.
-
-2008-12-22 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #559604
-
- * gui/e-calendar-view.h: (e_calendar_view_get_attendees_status_info):
- * gui/e-calendar-view.c: (e_calendar_view_get_attendees_status_info),
- (e_calendar_view_get_tooltips):
- * gui/e-calendar-table.c: (query_tooltip_cb): Show additional status
- information for the meeting only when user is an organizer.
-
-2008-12-17 Milan Crha <mcrha@redhat.com>
-
- * gui/e-cal-model.c: (update_e_cal_view_for_client):
- Show reason of a failure on a console too.
-
-2008-12-15 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #540181
-
- * gui/tasks-component.c: (destroy_component_view):
- Do not touch already freed object.
-
-2008-12-15 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #564229
-
- * gui/dialogs/alarm-dialog.c: (populate_widgets_from_alarm):
- Cast to proper object.
- * gui/alarm-notify/alarm-queue.c: (free_tray_icon_data):
- Do not leak.
-
-2008-12-15 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #563669
-
- * gui/dialogs/recurrence-page.c: (make_ending_count_special):
- * conduits/todo/todo-conduit.c: (e_todo_gui_new):
- Use zero GtkSpinButton's PageSize, as Gtk+ requires.
-
-2008-12-15 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for BNC bug #435452
-
- * gui/e-meeting-list-view.c: (ense_update), (editing_started_cb),
- (build_table):
-
-2008-12-09 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #333224
-
- * gui/e-day-view.c: (e_day_view_on_text_item_event): Sanitize returned
- values from 'e_day_view_convert_position_in_main_canvas', because it
- can let the 'event_num' or 'day' set to -1, which means invalid value.
-
-2008-12-09 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #563669
-
- * gui/dialogs/recurrence-page.glade:
- * gui/dialogs/alarm-dialog.glade:
- * gui/dialogs/event-page.glade:
- * gui/dialogs/task-details-page.glade:
- * gui/dialogs/cal-prefs-dialog.glade:
- * gui/alarm-notify/alarm-notify.glade:
- * gui/goto-dialog.glade:
- Use zero GtkSpinButton's PageSize, as Gtk+ requires.
-
-2008-12-08 Jeff Cai <jeff.cai@sun.com>
-
- ** Fix for bug #563633
-
- * gui/e-cal-model.c: Add an unused member for _ECalModelComponentPrivate
-
-2008-12-08 Jennifer Newman <jennifer.newman@tufts.edu>
-
- ** Fix for bug #555371
-
- * gui/dialogs/comp-editor.c: Added print menu option to task, memo and
- event editors.
-
-2008-12-08 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- ** Fix for bug #350725
-
- * gui/e-calendar-view.c (e_calendar_view_class_init),
- (clipboard_clear_calendar_cb), (clipboard_get_calendar_cb),
- (e_calendar_view_copy_clipboard), (clipboard_get_calendar_data),
- (e_calendar_view_paste_text), (clipboard_paste_received_cb),
- (e_calendar_view_paste_clipboard):
- * gui/e-calendar-view.h:
- * gui/e-day-view.c (e_day_view_class_init),
- (e_day_view_add_new_event_in_selected_range),
- (e_day_view_do_key_press), (e_day_view_get_num_events_selected),
- (e_day_view_paste_text):
- * gui/e-week-view.c (e_week_view_class_init),
- (e_week_view_add_new_event_in_selected_range),
- (e_week_view_do_key_press), (e_week_view_is_jump_button_visible),
- (e_week_view_paste_text):
-
- Copy/Paste support in day/week views.
-
-2008-12-08 Paul Bolle <pebolle@tiscali.nl>
-
- ** Fix for bug #551599
-
- * gui/dialogs/alarm-dialog.c: (populate_widgets_from_alarm):
- Do not fallback to default 15 minutes alarm offset if alarm is
- triggered at start (or end) of appointment.
-
-2008-12-05 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #332629
-
- * gui/caltypes.xml:
- * gui/memotypes.xml:
- * gui/tasktypes.xml:
- Use dynamically created list of categories in the option's widget.
-
-2008-12-03 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #352287
-
- * gui/e-day-view-top-item.c: (e_day_view_top_item_draw_long_event):
- Draw top icons in full detail/color depth (for weather, for example).
-
-2008-12-02 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #348299
-
- * gui/dialogs/event-page.c (get_widgets):
- * gui/dialogs/memo-page.c (get_widgets):
- * gui/dialogs/task-page.c (get_widgets):
- Use category completion in the Categories field.
-
- * gui/dialogs/event-editor.c:
- * gui/dialogs/memo-editor.c:
- * gui/dialogs/task-editor.c:
- Fix some reference count leaks.
-
-2008-11-28 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #561467
-
- * gui/dialogs/comp-editor.c (real_send_comp): Don't replace
- attachment list if backend can CREATE_MESSAGES
- * gui/itip-utils.c (itip_send_comp): Check whether backend
- could handle sending requests/updates.
-
-2008-11-25 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #560138
-
- * gui/e-calendar-table.c: (query_tooltip_cb):
- Let wrap description text in a tooltip.
-
-2008-11-19 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #556224
-
- * gui/gnome-cal.c: (struct _GnomeCalendarPrivate), (setup_widgets),
- (update_todo_view_async), (update_todo_view), (gnome_calendar_init),
- (gnome_calendar_destroy): Run always 'update_todo_view' in a separate
- thread and guard its body with a mutex.
-
- * gui/gnome-cal.c: (update_query_async): Do not leak.
-
-2008-11-17 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #557818
-
- * gui/calendar-component.c:
- * gui/memos-component.c:
- * gui/tasks-component.c:
- ESourceSelector now handles most of the drag-and-drop signals.
- We just have to listen for the new "data-dropped" signal and
- deal with it. Gets rid of a lot of duplicate logic.
-
-2008-11-17 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #558322
-
- * gui/calendar-component.c (rename_calendar_cb):
- * gui/memos-component.c (rename_memo_list_cb):
- * gui/tasks-component.c (rename_task_list_cb):
- New "Rename" item in the source selector pop-up menu calls
- the recently added e_source_selector_edit_primary_selection().
- Still need to bind the "F2" key to this action, but I'm not
- sure how whether EPopup supports that.
-
-2008-11-11 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #559604
-
- * gui/e-calendar-view.h: (e_calendar_view_get_attendees_status_info):
- * gui/e-calendar-view.c: (e_calendar_view_get_attendees_status_info),
- (e_calendar_view_get_tooltips):
- * gui/e-calendar-table.c: (query_tooltip_cb):
- Show attendees' status in the tooltip if available.
-
-2008-11-11 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #490503
-
- * gui/e-day-view.c (set_text_as_bold),
- (e_day_view_update_event_label),
- (e_day_view_update_long_event_label):
- * gui/e-week-view.c (set_text_as_bold),
- (e_week_view_reshape_event_span):
- Summary of unaccepted meetings in calendar views now appear as bolded.
- If the meeting was sent to a mailing-list - the summary will always
- appear as normal.
-
-2008-11-10 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #443190 (bugzilla.novell.com)
-
- * gui/dialogs/comp-editor.c (fill_widgets), (real_edit_comp):
- Block signals from attachment-bar while still filling the widgets.
-
-2008-11-07 Bharath Acharya <abharath@novell.com>
-
- ** Fix for bug #440007 (bugzilla.novell.com)
-
- * gui/print.c: (print_comp_draw_real): Print the attendees only if
- its the first page.
-
-2008-11-04 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #558354
-
- * gui/alarm-notify/alarm-notify.glade:
- * gui/alarm-notify/alarm-notify-dialog.h: (enum AlarmNotifyResult):
- * gui/alarm-notify/alarm-notify-dialog.c: (struct AlarmNotify),
- (dismiss_pressed_cb), (notified_alarms_dialog_new):
- * gui/alarm-notify/alarm-queue.c: (notify_dialog_cb):
- Changed "Close" button to "Dismiss All" and added a "Dismiss" button
- to the alarm notification dialog to be able to dismiss only some of
- the alarms shown in the dialog.
-
-2008-11-04 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/calendar-commands.c:
- * gui/calendar-component.h:
- * gui/gnome-cal.c:
- Fix compiler warnings.
-
-2008-11-02 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/e-itip-control.c (write_recurrence_piece):
- Remove extra space in translated string.
-
-2008-10-31 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/itip-utils.c (itip_send_comp):
- Fix a crash when selecting "Forward as iCalendar".
-
-2008-10-30 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/control-factory.c:
- * gui/e-calendar-table.c:
- * gui/e-week-view-event-item.c:
- * gui/weekday-picker.c:
- Only include the toplevel GTK+ header.
-
-2008-10-20 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes bug #555958 (patch by Anis Elleuch)
-
- * gui/dialogs/comp-editor.c (comp_editor_init):
- Add the UI manager's accelerator group to the editor window
- so that menu shortcut keys work.
-
-2008-10-20 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #553715
-
- * gui/e-week-view.c: (e_week_view_on_editing_stopped):
- Set end time for the event properly, not same as start time.
-
-2008-10-20 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #528816
-
- * importers/icalendar-importer.c: (vcal_supported): We do not support
- vCalendar importer when we can parse the iCalendar from the file,
- because the latter holds more information, like timezones.
-
-2008-10-17 Matt Davey <mcdavey@mrao.cam.ac.uk>
-
- ** Fix for bug #556059
-
- * conduits/common/Makefile.am:
- * conduits/common/libecalendar-common-conduit.c: Allow building outside
- the source tree.
-
-2008-10-17 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #553609
-
- * gui/e-week-view.c: (e_week_view_set_selected_time_range):
- Do not do any changes when the view has not been shown yet.
-
-2008-10-17 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #530872
-
- * gui/e-calendar-table.c: (e_calendar_table_on_open_task):
- Check for NULL soon enough to not crash.
-
-2008-10-14 Sankar P <psankar@novell.com>
-
-License Changes
-
- * conduits/calendar/calendar-conduit.c:
- * conduits/memo/memo-conduit.c:
- * conduits/todo/todo-conduit.c:
- * gui/calendar-commands.c:
- * gui/calendar-commands.h:
- * gui/gnome-cal.c:
- * gui/gnome-cal.h:
-
-2008-10-13 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #424818 (bugzilla.novell.com)
-
- * gui/dialogs/calendar-setup.c (eccp_general_offline): Don't show offline
- availability option for B&A calendars.
- * gui/e-cal-popup.c (e_cal_popup_target_new_source): Check for the correct
- property ("offline_sync" instead of "offline") while setting the GUI mask.
- * gui/calendar-component.c (set_offline_availability),
- (mark_no_offline_cb), (mark_offline_cb):
- * gui/memos-component.c (set_offline_availability),
- (mark_no_offline_cb), (mark_offline_cb):
- * gui/tasks-component.c (set_offline_availability),
- (mark_no_offline_cb), (mark_offline_cb):
- Integrate the mark-calendar-offline plugin into the main code as we already
- have a similar per-calendar option which does the same thing.
-
-2008-10-09 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #555494
-
- * gui/cal-search-bar.c (generate_viewoption_menu):
- Category icons are not themed. Load by file, not by icon name.
-
-2008-10-08 Sankar P <psankar@novell.com>
-
-License Changes
-
- * gui/alarm-notify/alarm.c:
- * gui/dialogs/comp-editor.c:
-
-2008-10-01 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #554418
-
- * gui/dialogs/comp-editor.c: (set_attachment_list):
- * gui/e-cal-popup.c: (ecalp_standard_menu_factory):
- Allow/disallow guessing of the mime_type based on the file content.
-
-2008-10-01 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #554458
-
- * gui/e-cal-popup.c: (ecalp_standard_menu_factory):
- Use content-type to call of g_app_info_get_all_for_type.
-
-2008-10-01 Sankar P <psankar@novell.com>
-
-License Changes
-
- * gui/dialogs/recurrence-page.c:
- * importers/icalendar-importer.c:
-
-2008-09-30 Sankar P <psankar@novell.com>
-
-License Changes
-
- * gui/e-week-view.c:
- * gui/goto.c:
-
-2008-09-29 Gabor Kelemen <kelemeng@gnome.hu>
-
- * shell.error.xml: Unbreak build, sorry for the inconvenience.
-
-2008-09-29 Gabor Kelemen <kelemeng@gnome.hu>
-
- * calendar.error.xml: Mark some forgotten strings for translation. Fixes bug #553105
-
-2008-09-26 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #553297
-
- * gui/e-day-view.c: (e_day_view_on_editing_stopped):
- Do not try to access uninitialized variables.
-
-2008-09-25 Sankar P <psankar@novell.com>
-
-License Changes
-
- * gui/e-itip-control.c:
- * gui/e-itip-control.h:
- * gui/itip-utils.c:
- * gui/itip-utils.h:
- * gui/main.c:
-
-2008-09-24 Sankar P <psankar@novell.com>
-
-License Changes
-
- * gui/alarm-notify/config-data.c:
- * gui/cal-search-bar.c:
- * gui/calendar-component.c:
- * gui/comp-util.c:
- * gui/comp-util.h:
- * gui/dialogs/cal-prefs-dialog.c:
- * gui/dialogs/e-send-options-utils.c:
- * gui/dialogs/event-page.c:
- * gui/dialogs/memo-page.c:
- * gui/dialogs/task-page.c:
- * gui/e-cal-component-memo-preview.c:
- * gui/e-cal-component-preview.c:
- * gui/e-day-view-main-item.c:
- * gui/e-day-view-top-item.c:
- * gui/e-week-view-event-item.c:
- * gui/e-week-view.h:
- * gui/memos-component.c:
- * gui/tasks-component.c:
-
-2008-09-24 Sankar P <psankar@novell.com>
-
-License Changes
-
- * gui/dialogs/delete-comp.c:
- * gui/e-alarm-list.c:
-
-2008-09-23 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #553273
-
- * gui/alarm-notify/alarm-queue.c: (edit_component):
- * gui/tasks-component.c: (delete_task_list_cb):
- * gui/calendar-component.c: (delete_calendar_cb):
- * gui/memos-component.c: (delete_memo_list_cb):
- Always end e_error_run/e_error_new calls with NULL parameter.
-
-2008-09-19 Sankar P <psankar@novell.com>
-
-License Changes
-
- * gui/alarm-notify/alarm-queue.c:
- * gui/e-calendar-view.c:
-
-2008-09-16 Sankar P <psankar@novell.com>
-
-License Changes
-
- * gui/alarm-notify/alarm.h:
- * gui/comp-editor-factory.c:
- * gui/dialogs/changed-comp.c:
- * gui/dialogs/copy-source-dialog.c:
- * gui/dialogs/delete-error.c:
- * gui/e-cal-model-tasks.c:
- * gui/e-cal-popup.c:
- * gui/e-calendar-table.c:
- * gui/e-memo-table.c:
- * gui/e-timezone-entry.c:
- * gui/print.c:
- * gui/tasks-control.c:
-
-2008-09-14 Chenthill Palanisamy <pchenthill@novell.com>
-
- ** Fix for bug #551628
-
- * gui/e-cal-model.c: (e_cal_view_objects_modified_cb):
- * gui/e-day-view.c: (update_row), (model_comps_deleted_cb):
- * gui/e-week-view.c: (update_row): Remove old events from the
- view when objects are modified.
-
-2008-09-12 Paul Bolle <pebolle@tiscali.nl>
-
- ** Fix for bug #551895
-
- * gui/dialogs/alarm-list-dialog.c: (edit_clicked_cb):
- Copy paste error.
-
-2008-09-12 Sankar P <psankar@novell.com>
-
-License Changes
-
- * gui/alarm-notify/notify-main.c:
- * gui/calendar-config-keys.h:
- * gui/calendar-config.c:
- * gui/calendar-config.h:
- * gui/dialogs/cal-prefs-dialog.h:
- * gui/dialogs/recur-comp.c:
- * gui/e-meeting-store.c:
- * gui/e-meeting-store.h:
- * gui/e-meeting-time-sel.c:
- * gui/e-meeting-time-sel.h:
- * gui/migration.c:
-
-2008-09-09 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #551382
-
- * gui/e-week-view.c: (model_comps_deleted_cb):
- * gui/e-cal-model.c: (redo_queries):
- Get rid of unused variables.
- * gui/e-cal-model.c: (e_cal_view_objects_modified_cb):
- Use result of g_list_prepend, thus report changes properly.
-
-2008-11-03 Ashish Shrivastava <shashish@novell.com>
-
- ** Most of the errors are now non-intrusive
-
- * calendar.error.xml: Added a new error message for
- non-intrusive backend_died.
- * apps_evolution_calendar.schemas.in:
- * calendar-commands.c: Added new verb for help debug message
- (help_debug):
- * gnome-cal.c: Support for non-intrusive error.
- (client_cal_opened_cb), Define fash table and accessing errors:
- * e-calendar-view.c: (error_response):
- (e_calendar_utils_show_error_silent), (e_calendar_utils_show_info_silent):
- * e-calendar-view.h:
- * calendar-component.c: Added EActivityHandler and ELogger:
- (calendar_component_peek_activity_handler), (calendar_component_show_logger):
- * calendar-component.h:
-
-2008-09-08 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #544187
- * calendar/gui/e-cal-model.c:
- * calendar/gui/e-cal-model.h:
- * calendar/gui/e-day-view.c:
- * calendar/gui/e-week-view.c: Added a new signal
- handler to update the views on comp deletion.
-
-2008-09-06 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #549968
-
- * gui/dialogs/comp-editor.c (comp_editor_init):
- Use the same mnemonic for "Recent Documents" as composer.
-
-2008-09-04 Sankar P <psankar@novell.com>
-
-License Changes
-
- * gui/alarm-notify/util.c:
- * gui/dialogs/calendar-setup.c:
- * gui/e-day-view-time-item.c:
- * gui/e-meeting-list-view.c:
- * gui/misc.c:
-
-2008-09-02 Sankar P <psankar@novell.com>
-
-License Changes
-
- * conduits/common/libecalendar-common-conduit.c:
- * gui/alarm-notify/alarm-notify-dialog.c:
- * gui/alarm-notify/alarm-notify-dialog.h:
- * gui/alarm-notify/alarm-notify.c:
- * gui/calendar-component.h:
- * gui/calendar-view-factory.c:
- * gui/calendar-view.c:
- * gui/comp-editor-factory.h:
- * gui/control-factory.c:
- * gui/dialogs/alarm-dialog.c:
- * gui/dialogs/alarm-list-dialog.c:
- * gui/dialogs/cal-attachment-select-file.c:
- * gui/dialogs/cancel-comp.c:
- * gui/dialogs/changed-comp.h:
- * gui/dialogs/comp-editor-page.h:
- * gui/dialogs/comp-editor-util.c:
- * gui/dialogs/comp-editor-util.h:
- * gui/dialogs/comp-editor.h:
- * gui/dialogs/e-delegate-dialog.c:
- * gui/dialogs/e-send-options-utils.h:
- * gui/dialogs/event-editor.c:
- * gui/dialogs/event-editor.h:
- * gui/dialogs/event-page.h:
- * gui/dialogs/memo-editor.c:
- * gui/dialogs/recur-comp.h:
- * gui/dialogs/schedule-page.c:
- * gui/dialogs/schedule-page.h:
- * gui/dialogs/send-comp.c:
- * gui/dialogs/task-details-page.c:
- * gui/dialogs/task-editor.c:
- * gui/dialogs/task-editor.h:
- * gui/e-cal-component-memo-preview.h:
- * gui/e-cal-config.c:
- * gui/e-cal-event.c:
- * gui/e-cal-list-view-config.c:
- * gui/e-cal-list-view.c:
- * gui/e-cal-menu.c:
- * gui/e-cal-model-calendar.c:
- * gui/e-cal-model-memos.c:
- * gui/e-cal-model.c:
- * gui/e-calendar-table-config.c:
- * gui/e-calendar-table.h:
- * gui/e-calendar-view.h:
- * gui/e-cell-date-edit-config.c:
- * gui/e-cell-date-edit-text.c:
- * gui/e-cell-date-edit-text.h:
- * gui/e-comp-editor-registry.c:
- * gui/e-comp-editor-registry.h:
- * gui/e-date-edit-config.c:
- * gui/e-date-time-list.c:
- * gui/e-day-view-config.c:
- * gui/e-day-view-main-item.h:
- * gui/e-meeting-attendee.c:
- * gui/e-meeting-time-sel-item.c:
- * gui/e-memo-table-config.c:
- * gui/e-memo-table-config.h:
- * gui/e-memos.c:
- * gui/e-memos.h:
- * gui/e-mini-calendar-config.c:
- * gui/e-mini-calendar-config.h:
- * gui/e-select-names-editable.c:
- * gui/e-select-names-renderer.c:
- * gui/e-tasks.c:
- * gui/e-tasks.h:
- * gui/e-week-view-config.c:
- * gui/e-week-view-config.h:
- * gui/e-week-view-layout.c:
- * gui/e-week-view-main-item.c:
- * gui/e-week-view-titles-item.c:
- * gui/goto.h:
- * gui/itip-bonobo-control.c:
- * gui/memos-component.h:
- * gui/tasks-component.h:
- * gui/weekday-picker.c:
- * importers/main.c:
-
-2008-08-28 Matthew Barnes <mbarnes@redhat.com>
-
- ** Related to bug #547822
-
- * gui/print.c (print_table_draw_page), (print_table):
- Use g_malloc() and g_free() instead of malloc() and free().
- Also fix an "assignment discards qualifiers" compiler warning.
-
-2008-08-27 Sankar P <psankar@novell.com>
-
-License Changes
-
- * common/authentication.c:
- * common/authentication.h:
- * conduits/common/libecalendar-common-conduit.h:
- * gui/alarm-notify/alarm-notify.h:
- * gui/alarm-notify/alarm-queue.h:
- * gui/alarm-notify/config-data.h:
- * gui/alarm-notify/util.h:
- * gui/cal-search-bar.h:
- * gui/calendar-view-factory.h:
- * gui/calendar-view.h:
- * gui/control-factory.h:
- * gui/dialogs/alarm-dialog.h:
- * gui/dialogs/alarm-list-dialog.h:
- * gui/dialogs/cal-attachment-select-file.h:
- * gui/dialogs/calendar-setup.h:
- * gui/dialogs/cancel-comp.h:
- * gui/dialogs/comp-editor-page.c:
- * gui/dialogs/copy-source-dialog.h:
- * gui/dialogs/delete-comp.h:
- * gui/dialogs/delete-error.h:
- * gui/dialogs/e-delegate-dialog.h:
- * gui/dialogs/memo-editor.h:
- * gui/dialogs/memo-page.h:
- * gui/dialogs/recurrence-page.h:
- * gui/dialogs/save-comp.c:
- * gui/dialogs/save-comp.h:
- * gui/dialogs/select-source-dialog.c:
- * gui/dialogs/select-source-dialog.h:
- * gui/dialogs/send-comp.h:
- * gui/dialogs/task-details-page.h:
- * gui/dialogs/task-page.h:
- * gui/e-alarm-list.h:
- * gui/e-cal-component-preview.h:
- * gui/e-cal-config.h:
- * gui/e-cal-event.h:
- * gui/e-cal-list-view-config.h:
- * gui/e-cal-list-view.h:
- * gui/e-cal-menu.h:
- * gui/e-cal-model-calendar.h:
- * gui/e-cal-model-memos.h:
- * gui/e-cal-model-tasks.h:
- * gui/e-cal-model.h:
- * gui/e-cal-popup.h:
- * gui/e-calendar-table-config.h:
- * gui/e-cell-date-edit-config.h:
- * gui/e-date-edit-config.h:
- * gui/e-date-time-list.h:
- * gui/e-day-view-config.h:
- * gui/e-day-view-layout.c:
- * gui/e-day-view-layout.h:
- * gui/e-day-view-time-item.h:
- * gui/e-day-view-top-item.h:
- * gui/e-day-view.h:
- * gui/e-meeting-attendee.h:
- * gui/e-meeting-list-view.h:
- * gui/e-meeting-time-sel-item.h:
- * gui/e-meeting-types.h:
- * gui/e-meeting-utils.c:
- * gui/e-meeting-utils.h:
- * gui/e-memo-table.h:
- * gui/e-select-names-editable.h:
- * gui/e-select-names-renderer.h:
- * gui/e-timezone-entry.h:
- * gui/e-week-view-event-item.h:
- * gui/e-week-view-layout.h:
- * gui/e-week-view-main-item.h:
- * gui/e-week-view-titles-item.h:
- * gui/itip-bonobo-control.h:
- * gui/memos-control.c:
- * gui/memos-control.h:
- * gui/migration.h:
- * gui/misc.h:
- * gui/print.h:
- * gui/tag-calendar.c:
- * gui/tag-calendar.h:
- * gui/tasks-control.h:
- * gui/weekday-picker.h:
- * importers/evolution-calendar-importer.h:
- * zones.h:
-
-2008-08-27 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #523327
-
- * gui/e-cal-component-preview.c: (write_html):
- * gui/e-cal-component-memo-preview.c: (write_html):
- Show description in monospace font and wrap lines too.
-
-2008-08-22 Tobias Mueller <tobiasmue@svn.gnome.org>
-
- * gui/print.c (print_table_draw_page):
- Make it show "Tasks" for printing tasks list and "Calendar" for
- printing a calendar. Patch by
- Rouslan Solomakhin <rouslan@solomakhin.net>
-
- ** Fixes bug 547822
-
-2008-08-18 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #462242
-
- * gui/gnome-cal.c: (default_client_cal_opened_cb):
- Do not unref NULL pointers.
-
-2008-08-18 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #508732
-
- * gui/calendar-component.c (impl_createView):
- * gui/memos-component.c (impl_createView):
- * gui/tasks-component.c (impl_createView):
- Add a "select_item" argument for crash recovery, which these
- components do not use.
-
-2008-08-04 Paul Bolle <pebolle@tiscali.nl>
-
- * gui/gui/calendar-component.c: (set_info):
- Use "Calendars" as label for component, not "Calendar", for
- consistency.
-
-2008-08-14 Sebastien Bacher <seb128@ubuntu.com>
-
- ** Fix for bug #547805
-
- * gui/e-cal-popup.c: (ecalp_standard_menu_factory):
- don't filter applications using g_app_info_should_show()
-
-2008-08-14 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/dialogs/comp-editor.c:
- Use e_display_help() for displaying help.
-
-2008-08-17 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/event-page.c: (source_changed_cb):
- * gui/dialogs/memo-page.c: (source_changed_cb):
- * gui/e-cal-model.c: (e_cal_model_set_timezone),
- (e_cal_view_done_cb):
- * gui/e-day-view-config.c: Fixed some warnings.
-
-2008-08-15 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #347287
- * gui/e-cal-list-view-config.c: (e_cal_list_view_config_set_view):
- * gui/e-cal-list-view.c: (e_cal_list_view_new):
- * gui/e-cal-list-view.h:
- * gui/e-cal-model.c: (e_cal_model_set_timezone), (add_instance_cb),
- (e_cal_view_objects_added_cb), (e_cal_view_done_cb),
- (update_e_cal_view_for_client), (cal_opened_cb), (add_new_client),
- (e_cal_model_component_class_init),
- (e_cal_model_component_finalize), (e_cal_model_component_init),
- (e_cal_model_component_get_type),
- (e_cal_model_copy_component_data),
- (e_cal_model_free_component_data):
- * gui/e-cal-model.h:
- * gui/e-calendar-view.c: (e_calendar_view_init),
- (e_calendar_view_set_model):
- * gui/e-calendar-view.h:
- * gui/e-day-view-config.c: (e_day_view_config_set_view):
- * gui/e-day-view.c: (time_range_changed_cb),
- (model_row_changed_cb), (model_cell_changed_cb),
- (model_rows_inserted_cb), (model_rows_deleted_cb),
- (timezone_changed_cb), (e_day_view_init), (init_model),
- (e_day_view_new), (e_day_view_set_mins_per_row),
- (e_day_view_add_event), (e_day_view_check_layout):
- * gui/e-day-view.h:
- * gui/e-week-view-config.c: (e_week_view_config_set_view):
- * gui/e-week-view.c: (time_range_changed_cb),
- (model_row_changed_cb), (model_cell_changed_cb),
- (model_rows_inserted_cb), (model_rows_deleted_cb),
- (timezone_changed_cb), (e_week_view_init), (init_model),
- (e_week_view_new), (e_week_view_add_event),
- (e_week_view_check_layout):
- * gui/e-week-view.h:
- * gui/gnome-cal.c: (message_proxy), (create_thread_pool),
- (message_push), (update_query_async), (update_query),
- (set_search_query), (set_timezone), (setup_widgets),
- (update_view_times), (display_view), (display_view_cb),
- (add_mclient_async), (add_mclient), (client_cal_opened_cb),
- (default_client_cal_opened_cb),
- (gnome_calendar_remove_source_by_uid),
- (gnome_calendar_on_date_navigator_selection_changed): Use a
- single model for all the views.
-
-2008-08-12 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/migration.c:
- Fix TeX-style quotes. (#547372)
-
-2008-08-12 Dmitrijs Ledkovs <dmitrij.ledkov@gmail.com>
-
- ** Fixes bug #498095
-
- * gui/dialogs/event-page.glade: "D_escription" -> "_Description"
- * gui/dialogs/task-page.glade: As above and "_Due Date" -> "D_ue Date"
- Change mnemonics to resolve clash with "_Edit".
- * gui/dialogs/memo-page.glade:
- Set proper mnemonic widget for description label.
-
-2008-08-11 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #546892
-
- * gui/alarm-notify/alarm-notify-dialog.c:
- * gui/dialogs/alarm-dialog.c:
- * gui/dialogs/alarm-list-dialog.c:
- * gui/dialogs/cal-attachment-select-file.c:
- * gui/dialogs/changed-comp.c:
- * gui/dialogs/delete-error.c:
- * gui/dialogs/select-source-dialog.c:
- Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list().
-
- * gui/dialogs/event-page.c:
- * gui/e-timezone-entry.c:
- Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image().
-
- * gui/alarm-notify/alarm-queue.c:
- Prefer gtk_status_icon_set_from_icon_name() over
- gtk_status_icon_set_from_pixbuf().
-
- * gui/e-calendar-table.c:
- * gui/e-calendar-view.c:
- * gui/e-memo-table.c:
- e_activity_handler_operation_started() no longer takes a GdkPixbuf.
- It was ignoring the pixbuf anyway ever since we added a spinner icon.
-
-2008-08-08 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #544117
-
- * gui/itip-utils.c: (itip_send_comp): Initialize variables to NULL,
- to not free uninitialized memory in the cleanup part on the error.
-
-2008-08-06 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #249844
-
- * gui/tasks-component.c: (impl__get_userCreatableItems):
- * gui/memos-component.c: (impl__get_userCreatableItems):
- Do not let compiler claim.
- * gui/calendar-component.c: (impl__get_userCreatableItems):
- Use C_() macro instead of Q_() macro.
- Use fully qualified names for "New" submenu entries.
-
-2008-08-04 Paul Bolle <pebolle@tiscali.nl>
-
- ** Fix for bug #544157
-
- * gui/GNOME_Evolution_Calendar.server.in.in:
- Sort View / Window (sub)menu in shortcut order.
-
-2008-08-04 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes bug #249844
-
- * gui/memos-component.c (impl__get_userCreatableItems):
- * gui/tasks-component.c (impl__get_userCreatableItems):
- Use C_() macro instead of Q_() macro.
- Use fully qualified names for "New" submenu entries.
-
-2008-08-02 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #546057
-
- * gui/GNOME_Evolution_Calendar.server.in.in:
- * gui/calendar-component.c:
- * gui/e-calendar-view.c:
- * gui/dialogs/alarm-dialog.c:
- * gui/dialogs/alarm-list-dialog.c:
- * gui/dialogs/changed-comp.c:
- * gui/dialogs/comp-editor.c:
- * gui/dialogs/delete-error.c:
- * gui/dialogs/select-source-dialog.c:
- Use "x-office-calendar" icon name instead of "stock_calendar".
-
-2008-08-01 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes bug #544857
-
- * gui/memotypes.xml: Fix a typo.
-
-2008-08-01 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #353927
-
- * gui/alarm-notify/alarm-queue.c: (tray_icon_blink_cb),
- (display_notification): Do not blink the icon more than 15 seconds.
-
-2008-07-30 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #211267
-
- * gui/print.c: (bound_text), (print_attendees), (print_day_event),
- (print_todo_details), (print_comp_draw_real), (print_comp_draw_page),
- (print_comp_begin_print), (print_comp): When printing only one event,
- then divide it to more pages if required, also word-wrap description
- text if necessary to fit the page.
-
-2008-07-29 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #329821
-
- * gui/e-calendar-table.c: (query_tooltip_cb):
- Recalculate returned row to the model row, if we are sorting.
-
-2008-07-20 Andre Klapper <a9016009@gmx.de>
-
- * calendar.error.xml: Fix some strings. See bug #543753.
-
-2008-07-18 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #542125
-
- ** This set of changes migrates CompEditor, CompEditorPage and the
- various subclasses from using BonoboUI to GtkUIManager for menus
- and toolbars. It also substantially cleans up the code and
- streamlines the CompEditorPage API, making more effective use
- of GObject properties.
-
- Core changes:
- * gui/dialogs/comp-editor-page.c:
- * gui/dialogs/comp-editor-page.h:
- * gui/dialogs/comp-editor.c:
- * gui/dialogs/comp-editor.h:
- * gui/dialogs/event-editor.c:
- * gui/dialogs/event-editor.h:
- * gui/dialogs/event-page.c:
- * gui/dialogs/event-page.h:
- * gui/dialogs/memo-editor.c:
- * gui/dialogs/memo-editor.h:
- * gui/dialogs/memo-page.c:
- * gui/dialogs/memo-page.h:
- * gui/dialogs/recurrence-page.c:
- * gui/dialogs/recurrence-page.h:
- * gui/dialogs/schedule-page.c:
- * gui/dialogs/schedule-page.h:
- * gui/dialogs/task-details-page.c:
- * gui/dialogs/task-details-page.h:
- * gui/dialogs/task-editor.c:
- * gui/dialogs/task-editor.h:
- * gui/dialogs/task-page.c:
- * gui/dialogs/task-page.h:
-
- Supporting changes:
- * gui/calendar-component.c:
- * gui/comp-editor-factory.c:
- * gui/e-cal-popup.c:
- * gui/e-calendar-table.c:
- * gui/e-calendar-view.c:
- * gui/e-comp-editor-registry.c:
- * gui/e-memo-table.c:
- * gui/e-tasks.c:
- * gui/gnome-cal.c:
- * gui/memos-component.c:
- * gui/tasks-component.c:
- * gui/dialogs/alarm-dialog.c:
- * gui/dialogs/comp-editor-util.c:
-
-2008-07-15 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #329821
-
- * gui/e-calendar-table.c: (get_time_as_text), (query_tooltip_cb),
- (e_calendar_table_init): Show tooltips over task's table.
-
-2008-17-14 Paolo Borelli <pborelli@katamail.com>
-
- ** Fix for bug #542889
-
- * gui/dialogs/event-page.c:
- * gui/alarm-notify/alarm-queue.c:
- Port to the new gtk tooltip api.
-
-2008-07-13 Paul Bolle <pebolle@tiscali.nl>
-
- ** Fix for bug #542101
-
- * gui/e-calendar-view.c: (e_calendar_view_get_tooltips):
- Escape PlaceOfTheMeeting in the Location: line of the tooltip.
-
-2008-07-13 Keith Packard <keithp@keithp.com>
-
- ** Fix for bug #541355
-
- * conduits/calendar/calendar-conduit.c:
- * conduits/memo/memo-conduit.c:
- * conduits/todo/todo-conduit.c:
- The pilot link code does call free_match on data returned from the
- for_each method, which the evolution conduits aren't prepared to
- handle. This patch removes any freed objects from the 'locals' list in
- each conduit which otherwise frees them again when the conduit is closed.
-
-2008-07-09 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #524130
-
- * gui/e-cal-component-preview.c: (write_html):
- * gui/e-cal-component-memo-preview.c: (write_html): Pass description
- text through 'camel_text_to_html' to have links clickable in a preview.
-
-2008-07-04 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #368038
-
- * gui/calendar-component.c: (ensure_sources):
- Ensure only one Birthdays & Anniversaries source.
-
-2008-07-03 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #540152
-
- * gui/calendar-component.c: (ensure_sources):
- Unref sources only when we created it - the list owns the pointer now.
- * gui/tasks-component.c: (ensure_sources):
- * gui/memos-component.c: (ensure_sources): Do not leak ESource.
-
-2008-06-16 Maciej Piechotka <uzytkownik2@gmail.com>
-
- * gui/caltypes.xml:
- * gui/memotypes.xml:
- * gui/tasktypes.xml:
- Usage _title instead of title to allow translations.
-
-2008-06-10 Matthew Barnes <mbarnes@redhat.com>
-
- * common/authentication.c:
- * gui/calendar-component.c:
- * gui/comp-editor-factory.c:
- * gui/dialogs/copy-source-dialog.c:
- * gui/dialogs/select-source-dialog.c:
- * gui/memos-component.c:
- * gui/migration.c:
- * gui/tasks-component.c:
- Use <glib/gi18n.h> instead of <bonobo/bonobo-i18n.h>.
-
-2008-06-09 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #536813
-
- * gui/comp-util.h: (is_icalcomp_on_the_server):
- * gui/comp-util.c: (is_icalcomp_on_the_server): Similar helper function
- as cal_comp_is_on_server only the parameter is icalcomponent.
- * gui/e-week-view-event-item.c: (e_week_view_event_item_double_click):
- * gui/e-week-view.c: (e_week_view_on_text_item_event):
- Do not start to edit the event on the double click if the event is not
- on the server yet. Storing the event can cause the renumbering events
- so the result can be that the edited event would be different.
-
-2008-06-04 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes security vulnerabilities
- CVE-2008-1108 and CVE-2008-1109
-
- * gui/itip-utils.c (html_new_lines_for):
- Do not use a fixed-size buffer for parsing external data.
- Simplify the logic to just split and rejoin the string with a
- different line separator.
-
- * gui/e-itip-control.c (write_label_piece), (write_recurrence_piece),
- (set_date_label):
- Use a GString rather than a fixed-size buffer to build the HTML
- string to avoid the possibility of an overflow.
-
-2008-06-04 Shuai Liu <shuai.liu@sun.com>
-
- ** Fix for bug #535204
-
- * gui/tasks-component.c: (destroy_component_view):
- The tasks objects had been destroyed before the call of destroy_
- component in tasks-component.c. No need to call them.
-
-2008-05-29 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #535459
-
- * gui/itip-utils.h: (is_icalcomp_valid):
- * gui/itip-utils.c: (is_icalcomp_valid), (check_time):
- New function to make some sanity checks on component properties.
- * gui/e-itip-control.c: (e_itip_control_set_data):
- Do not use component when sanity check fails.
-
-2008-05-23 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #534476
-
- * gui/e-cal-popup.c (ecalp_standard_menu_factory):
- Remove the special check for "winmail.dat". GIO correctly
- identifies it as "application/ms-tnef".
-
-2008-05-23 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #523402
-
- * gui/e-calendar-view.c: (e_calendar_view_add_event): Do not leak.
- * conduits/calendar/calendar-conduit.c: (process_multi_day):
- Reassign back the old values before freeing.
-
-2008-05-22 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/e-select-names-renderer.c
- (e_select_names_renderer_focus_out_event):
- Remove this unused function.
-
-2008-05-22 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #534360
-
- * conduits/calendar/calendar-conduit.c:
- * conduits/memo/memo-conduit.c:
- * conduits/todo/todo-conduit.c:
- * gui/cal-search-bar.c:
- * gui/cal-search-bar.h:
- * gui/calendar-commands.c:
- * gui/calendar-view-factory.h:
- * gui/calendar-view.h:
- * gui/comp-editor-factory.h:
- * gui/dialogs/comp-editor-page.c:
- * gui/dialogs/comp-editor-page.h:
- * gui/dialogs/comp-editor.h:
- * gui/dialogs/e-delegate-dialog.h:
- * gui/dialogs/event-editor.h:
- * gui/dialogs/event-page.h:
- * gui/dialogs/memo-editor.h:
- * gui/dialogs/memo-page.h:
- * gui/dialogs/recurrence-page.c:
- * gui/dialogs/recurrence-page.h:
- * gui/dialogs/schedule-page.h:
- * gui/dialogs/task-details-page.h:
- * gui/dialogs/task-editor.h:
- * gui/dialogs/task-page.h:
- * gui/e-alarm-list.c:
- * gui/e-alarm-list.h:
- * gui/e-cal-component-memo-preview.h:
- * gui/e-cal-component-preview.h:
- * gui/e-cal-list-view-config.h:
- * gui/e-cal-list-view.h:
- * gui/e-calendar-table-config.h:
- * gui/e-calendar-table.h:
- * gui/e-cell-date-edit-config.h:
- * gui/e-cell-date-edit-text.h:
- * gui/e-date-edit-config.h:
- * gui/e-date-time-list.c:
- * gui/e-date-time-list.h:
- * gui/e-day-view-config.h:
- * gui/e-day-view-main-item.c:
- * gui/e-day-view-main-item.h:
- * gui/e-day-view-time-item.c:
- * gui/e-day-view-time-item.h:
- * gui/e-day-view-top-item.c:
- * gui/e-day-view-top-item.h:
- * gui/e-day-view.c:
- * gui/e-day-view.h:
- * gui/e-itip-control.h:
- * gui/e-meeting-time-sel-item.c:
- * gui/e-meeting-time-sel-item.h:
- * gui/e-meeting-time-sel.c:
- * gui/e-meeting-time-sel.h:
- * gui/e-memo-table-config.h:
- * gui/e-memo-table.h:
- * gui/e-memos.c:
- * gui/e-memos.h:
- * gui/e-mini-calendar-config.h:
- * gui/e-tasks.c:
- * gui/e-tasks.h:
- * gui/e-timezone-entry.c:
- * gui/e-timezone-entry.h:
- * gui/e-week-view-config.h:
- * gui/e-week-view-event-item.c:
- * gui/e-week-view-event-item.h:
- * gui/e-week-view-main-item.c:
- * gui/e-week-view-main-item.h:
- * gui/e-week-view-titles-item.c:
- * gui/e-week-view-titles-item.h:
- * gui/e-week-view.c:
- * gui/e-week-view.h:
- * gui/gnome-cal.c:
- * gui/gnome-cal.h:
- * gui/weekday-picker.c:
- * gui/weekday-picker.h:
- Migrate from deprecated GtkObject symbols to GObject equivalents.
-
-2008-05-22 Chenthill Palanisamy <pchenthill@novell.com>
-
- ** Fix for bug #533820
-
- * gui/e-day-view.c: (e_day_view_update_resize),
- (e_day_view_finish_resize): Fix for a crash on double-clicking the
- border of meetings in day-view.
-
-2008-05-08 Tor Lillqvist <tml@novell.com>
-
- * gui/alarm-notify/alarm-notify-dialog.c: Include e-util-private.h
- for the mapping of EVOLUTION_GLADEDIR to a function call on
- Windows. Construct the glade file pathname at run-time so that it
- is found also on Windows where we don't use compile-time pathnames
- at run-time.
-
-2008-05-05 Johan Euphrosine <proppy@aminche.com>
-
- * gui/migration.c: Fix include path for e-dbhash.h, now in libebackend.
-
-2008-04-30 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #316390
-
- * calendar/gui/e-memos.c: (struct _EMemosPrivate), (categories_changed_cb),
- (setup_widgets), (e_memos_init), (e_memos_destroy):
- * calendar/gui/gnome-cal.c: (struct _GnomeCalendarPrivate), (setup_widgets),
- (categories_changed_cb), (gnome_calendar_init),
- (gnome_calendar_destroy):
- * calendar/gui/e-tasks.c: (struct _ETasksPrivate), (categories_changed_cb),
- (setup_widgets), (e_tasks_init), (e_tasks_destroy):
- Listen for changes in categories setup and propagate them to UI.
-
-2008-04-30 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bnc #363908
- Evolution crashed during exit
-
- * gui/tasks-component.c: (destroy_component_view):
-
-2008-04-30 Ashish Shrivastava <shashish@novell.com>
-
- ** Fix for bnc #368277
- Can't C & P Email Addresses from an Appt. to a Mail Message
-
- * gui/e-select-names-renderer.c:
- (e_select_names_renderer_start_editing):
-
-2008-04-29 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #240823
-
- * gui/itip-utils.c: (comp_to_list):
- Send notification only to individuals and groups.
-
-2008-04-28 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #524121
-
- * gui/e-calendar-table.c: (copy_row_cb):
- Fixing typo from patch for bug #516408.
-
-2008-04-25 Danny Baumann <dannybaumann@web.de>
-
- ** Fix for bug #529893
-
- * gui/e-calendar-view.c: (e_calendar_view_get_tooltips):
- Properly set type hint on tooltip window.
-
-2008-04-18 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #509923
-
- * gui/dialogs/comp-editor.c: (real_send_comp):
- * gui/e-calendar-view.c: (e_calendar_view_modify_and_send):
- * gui/e-cal-model-calendar.c: (ecmc_set_value_at):
- Send changes based on the user's choice of "all instances" or
- "only this instance" for recurring events.
- * gui/e-cal-model-calendar.c: (ecmc_set_value_at):
- Also modify objects based on the user's choice.
-
-2008-04-17 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #526739
-
- * gui/e-meeting-store.c: (start_async_read), (freebusy_async),
- (async_read): Read data with gio, not with gnome-vfs.
- * gui/e-meeting-store.c: (async_close): Function removed.
- * gui/migration.c:
- * gui/e-memos.c:
- * gui/alarm-notify/notify-main.c:
- * gui/e-tasks.c:
- * gui/main.c:
- * gui/e-meeting-list-view.c:
- Do not include gnome-vfs.
- * gui/dialogs/comp-editor.c: (set_attachment_list):
- * gui/dialogs/comp-editor.c: (attachment_guess_mime_type):
- Function removed, use e-util function instead.
- * gui/e-cal-popup.c: (temp_save_part):
- Reflect changes in CamelStreamVFS.
- * gui/e-cal-popup.c: (ecalp_apps_open_in), (ecalp_apps_popup_free),
- (ecalp_standard_menu_factory): Use gio to fill popup and launch app.
- * gui/e-cal-component-preview.h: (e_cal_comp_preview_url_requested_cb):
- * gui/e-cal-component-preview.c: (e_cal_comp_preview_url_requested_cb):
- New helper function to manage file:// urls for GtkHTML component.
- * gui/e-cal-component-preview.c: (e_cal_component_preview_init):
- * gui/e-cal-component-memo-preview.c:
- (e_cal_comp_preview_url_requested_cb):
- Use above helper function.
- * gui/e-cal-component-memo-preview.c: (url_requested_cb):
- * gui/e-cal-component-preview.c: (url_requested_cb): Function removed.
-
-2008-04-17 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #523402
-
- * gui/e-calendar-view.c: (e_calendar_view_add_event):
- Do not free value returned by icaltimezone_get_tzid.
-
-2008-04-16 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #232594
-
- * gui/e-meeting-list-view.c: (attendee_edited_cb):
- Set status to Needs Action when attendee's address have been changed.
-
-2008-04-11 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #517134
-
- * gui/dialogs/comp-editor.c: (add_to_bar),
- (menu_insert_attachment_cb), (menu_insert_attach_recent_docs_cb),
- (comp_editor_init): Code re-factoring. Extend the 'Insert' menu to
- show a "Recent Documents" submenu (to quickly add them as
- attachments). New callback to handle these actions.
-
-2008-04-07 Ondrej Jirman <megous@megous.com>
-
- ** Fix for bug #525234
-
- * gui/Makefile.am:
- * gui/dialogs/Makefile.am: Install more include files that are useful
- to the out of tree evolution plugins.
-
-2008-04-02 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/Makefile.am:
- Remove CORBA rules for the old composer.
-
- * gui/itip-utils.c (comp_from), (comp_to_list), (comp_subject),
- (comp_content_type), (comp_filename), (comp_description),
- (append_cal_attachments), (itip_send_comp), (reply_to_calendar_comp):
- Adapt to new Bonobo-less composer widget.
-
-2008-03-31 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #346555
-
- * gui/dialogs/calendar-setup.c: (eccp_get_source_color):
- Fixed a mnemonic conflict.
-
-2008-03-27 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #517492
-
- * gui/dialogs/calendar-setup.c: (calendar_setup_edit_calendar),
- (calendar_setup_edit_task_list), (calendar_setup_edit_memo_list):
- Set proper dialog caption with New or Properties.
-
-2008-03-27 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #438613
-
- * calendar.error.xml: New message "prompt-read-only-cal-editor".
- * gui/dialogs/comp-editor.c: (prompt_and_save_changes),
- (menu_file_save_cb): Use different read-only message when checking
- from contact editor and from calendar UI.
-
-2008-03-13 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #512543
-
- * gui/e-day-view.c:
- * gui/e-week-view-event-item.c:
- * gui/e-calendar-view.c:
- * gui/e-calendar-view.h:
- * gui/e-week-view-main-item.c:
- * gui/e-day-view-time-item.c:
- * gui/e-day-view-top-item.c:
- * gui/e-day-view-main-item.c:
- Get rid of ENABLE_CAIRO define.
-
-2008-03-11 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #513951
-
- * gui/cal-search-bar.c (cal_search_bar_construct):
- * gui/migration.c (create_calendar_sources), (create_task_sources),
- (migrate_calendars), (migrate_tasks), (create_memo_sources):
- * gui/e-memos.c (e_memos_setup_view_menus):
- * gui/tasks-component.c (ensure_sources):
- * gui/gnome-cal.c (gnome_calendar_setup_view_menus):
- * gui/calendar-component.c (ensure_sources):
- * gui/memos-component.c (ensure_sources):
- Adapt to new meaning of xxx_component_peek_base_directory().
-
- * gui/tasks-component.c (tasks_component_init):
- * gui/calendar-component.c (calendar_component_init):
- * gui/memos-component.c (memos_component_init):
- Use e_get_user_data_dir() instead of constructing the full path.
-
- * gui/migration.c (add_gw_esource):
- Emit warnings when saving to GConf fails.
-
-2008-02-25 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #516498
- * gui/comp-util.c: (cal_comp_is_on_server):
- * gui/e-calendar-view.c: (e_calendar_view_cut_clipboard),
- (delete_event), (e_calendar_view_delete_selected_occurrence):
- * gui/e-day-view.c: (process_component):
- * gui/e-week-view.c: (process_component): Free memory returned
- by e_cal_component_get_recurid_as_string.
-
-2008-02-24 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes#516408
- * gui/dialogs/e-send-options-utils.c
- (e_sendoptions_utils_fill_component):
- * gui/e-cal-model.c (search_by_id_and_client):
- * gui/e-calendar-table.c (copy_row_cb),
- (e_calendar_table_copy_clipboard):
- * gui/e-calendar-view.c (e_calendar_view_copy_clipboard),
- (icalcomp_contains_category):
- * gui/e-day-view.c (model_rows_deleted_cb),
- (e_day_view_find_event_from_uid), (e_day_view_reshape_day_events),
- (e_day_view_on_drag_data_get):
- * gui/e-itip-control.c (update_item):
- * gui/e-memo-table.c (copy_row_cb), (e_memo_table_copy_clipboard):
- * gui/e-memos.c (obtain_list_of_components):
- * gui/e-tasks.c (obtain_list_of_components):
- * gui/e-week-view.c (model_rows_deleted_cb),
- (e_week_view_reshape_events), (e_week_view_find_event_from_uid):
- * gui/gnome-cal.c (gnome_calendar_purge):
- * gui/itip-utils.c (comp_limit_attendees), (itip_send_comp),
- (reply_to_calendar_comp), (itip_publish_comp): Free the memory
- returned by libical
-
-2008-02-20 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #440426
-
- * gui/e-cal-model.c: (e_cal_model_dispose), (remove_client):
- Unset also default_client if removing it.
-
-2008-02-20 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #515744
-
- * gui/dialogs/comp-editor.c: (drop_action):
- Fixing previous fix - do not double free.
-
-2008-02-18 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #515744
-
- * gui/dialogs/comp-editor.c: (drop_action):
- * gui/calendar-config.c:
- (calendar_config_get_hide_completed_tasks_sexp):
- * gui/comp-editor-factory.c: (edit_existing):
- * gui/e-day-view.c: (e_day_view_reshape_long_event),
- (e_day_view_on_top_canvas_drag_data_received):
- * gui/e-day-view-main-item.c:
- (e_day_view_main_item_draw_events_in_vbars),
- (e_day_view_main_item_draw_long_events_in_vbars):
- * gui/e-day-view-top-item.c: (e_day_view_top_item_draw_long_event):
- * gui/e-cal-model.c: (redo_queries):
- * gui/e-calendar-table.c: (e_calendar_table_open_task):
- * gui/e-memo-table.c: (open_memo):
- * gui/print.c: (print_todo_details):
- * gui/migration.c: (get_source_name):
- Memory leak fix.
- * gui/e-week-view.c: (e_week_view_reshape_events): Simplifies things.
-
-2008-02-18 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bnc #178778
-
- * gui/dialogs/recurrence-page.c: (preview_recur):
-
-2008-02-18 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bnc #160049. Patch from OpenSUSE.
-
- * common/authentication.c: (build_pass_key),
- (auth_cal_forget_password):
- * common/authentication.h:
- * gui/e-tasks.c: (client_cal_opened_cb),
- (default_client_cal_opened_cb):
- * gui/gnome-cal.c: (client_cal_opened_cb):
-
-2008-02-18 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Downstream patches from OpenSUSE
-
- * conduits/calendar/calendar-conduit.c:
- (local_record_to_pilot_record):
- * conduits/memo/memo-conduit.c: (local_record_to_pilot_record):
- * conduits/todo/todo-conduit.c: (local_record_to_pilot_record):
-
-2008-02-14 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #516453
-
- * gui/e-cal-model-tasks.c: (set_status):
- Change Not Started status back to Canceled when Canceled requested.
-
-2008-02-14 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #514987
-
- * gui/e-calendar-table.etspec:
- * gui/e-calendar-table.c: (status_from_string), (status_compare_cb),
- (e_calendar_table_init):
- New sorting by Status based on the index in popup, not on the text.
-
-2008-02-11 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/alarm-notify/alarm-notify.c: (alarm_notify_add_calendar): Google
- Calendar alarm works now.
-
-2008-02-10 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #510642
-
- * gui/dialogs/comp-editor.c: (prompt_and_save_changes),
- (menu_file_save_cb):
- * gui/e-calendar-view.c: (e_calendar_view_new_appointment_for):
- * calendar.error.xml: Improved string for read-only-calendar
- error-message.
-
-2008-02-08 Milan Crha <mcrha@redhat.com>
-
- ** Part of fixes for bug #395939
-
- * gui/alarm-notify/alarm-queue.c: (update_cqa):
- * conduits/calendar/calendar-conduit.c: (local_record_from_comp):
- Free alarm properly.
-
-2008-01-28 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #240073
-
- * gui/e-cal-model-tasks.h: (enum ECalModelTasksField):
- Move strikeout field to known fields, otherwise the "Click to add" row
- will have text strikeouted.
-
-2008-01-28 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/print.c: (print_week_summary): Free the component
- data.
-
-2008-01-28 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #355864
-
- * gui/e-week-view.c: (e_week_view_remove_event_cb):
- Update span->background_item->event_num properly because of remove
- of the item with lower event_num.
-
-2008-01-25 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #240073
-
- * gui/e-cal-model-tasks.h:
- * gui/e-cal-model-tasks.c: (is_status_canceled), (ecmt_value_at):
- Define new virtual readonly column to calculate strikeout state.
- * gui/e-calendar-table.c: (e_calendar_table_init):
- Use new virtual column as strikeout column.
-
-2008-01-25 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #475781
-
- * gui/dialogs/recurrence-page.c: (fill_ending_date),
- (recurrence_page_fill_widgets):
- * gui/dialogs/memo-page.c: (memo_page_fill_widgets):
- * gui/e-day-view.c: 2*(e_day_view_finish_long_event_resize),
- 2*(e_day_view_on_editing_stopped):
- * gui/itip-utils.c: (comp_compliant), (reply_to_calendar_comp):
- * gui/e-week-view.c: (e_week_view_on_editing_stopped):
- * gui/e-calendar-view.c: (e_calendar_view_add_event),
- (e_calendar_view_get_tooltips):
- * gui/e-cal-component-preview.c: (write_html):
- * gui/e-cal-component-memo-preview.c: (write_html):
- * gui/e-cal-model.c: (add_instance_cb):
- Fix memory leaks around ECalComponentDateTime.
-
-2008-01-25 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #510409
-
- * gui/e-memos.c: (obtain_list_of_components):
- * gui/e-tasks.c: (obtain_list_of_components):
- * gui/e-calendar-table.c: (e_calendar_table_copy_clipboard):
- * gui/e-memo-table.c: (e_memo_table_copy_clipboard):
- Do not free memmory owned by libical.
- * gui/e-week-view.c: (e_week_view_reshape_events):
- Free memory before assigning NULL.
-
-2008-01-25 Tor Lillqvist <tml@novell.com>
-
- * gui/Makefile.am (libevolution_calendar_la_LIBADD): Link with
- libefilterbar.
-
-2008-01-24 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #402487
-
- * gui/cal-search-bar.c: (notify_e_cal_view_contains):
- Memory leak fix.
-
-2008-01-22 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #337046
-
- * gui/dialogs/comp-editor.c: (get_attachment_list): Have a ticking
- filename for attachment, if the mime doesn't carry it.
-
-2008-01-17 Dan Winship <danw@gnome.org>
-
- * gui/itip-utils.c (itip_publish_comp): Port to libsoup 2.4. Plug
- a leak.
-
-2008-01-17 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #509879
-
- * gui/e-memos.c: (struct _EMemosPrivate), (update_view_cb),
- (setup_widgets), (e_memos_destroy):
- Drop code to clear memo preview every 60 seconds.
-
-2008-01-17 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #426159
-
- * gui/alarm-notify/alarm-notify-dialog.c: (snooze_pressed_cb):
- * gui/alarm-notify/alarm-notify.glade: Allow users to snooze for
- 1+ hour 0 minutes.
-
-2008-01-15 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #333695
-
- * gui/print.c: (print_attendees): Print attendee name instead of email
- address if available.
-
-2008-01-14 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #333695
-
- * gui/print.c: (get_type_as_string), (get_role_as_string),
- (print_attendees), (print_comp_draw_page):
- Helper functions to print attendees and their types and roles
- in detailed print of the event.
-
-2008-01-14 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #507359
-
- * gui/e-meeting-time-sel.h: (struct _EMeetingTimeSelector):
- * gui/e-meeting-time-sel.c: (e_meeting_time_selector_class_init),
- (e_meeting_time_selector_destroy), (style_change_idle_func),
- (e_meeting_time_selector_style_set): Recalculate sizes in idle queue,
- which will ensure the style is propagated in list_view too, because we
- read from there the height of the row and the style isn't set there
- before it is set in our widget.
-
-2008-01-14 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #490464
-
- * gui/dialogs/memo-page.c: (get_recipients): New helper function to
- obtain recipients from the component.
- * gui/dialogs/memo-page.c: (memo_page_fill_widgets),
- (memo_page_fill_component), (memo_page_construct):
- Always show recipient's widgets for shared memo, but keep it readonly
- when editing old event. Also make sure the organizer is set by
- the value in the component, not by the default account.
-
-2008-01-14 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #339620
-
- * gui/dialogs/recurrence-page.c: (recurrence_page_finalize): Disconnect
- signal handlers on destroy.
-
-2008-01-14 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
-
- ** Fix for bug #264404
-
- * gui/e-day-view.c (e_day_view_on_text_item_event):
- * gui/e-week-view.c (e_week_view_on_text_item_event):
- Pass down Enter if in preedit-mode.
-
-2008-01-11 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #508731
-
- * gui/e-calendar-view.c: (e_calendar_view_new_appointment_full):
- Have a safe default, if the values from gconf isn't so nice.
-
-2008-01-10 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #457842
-
- * gui/e-week-view-event-item.c: (e_week_view_event_item_double_click):
- * gui/e-week-view.c: (e_week_view_start_editing_event):
- Do not call edit/start editing of the event when double clicked
- on the same component as is actually editing.
-
- * gui/calendar-commands.c: (gcal_calendar_selection_changed_cb):
- Removed forgotten printf call.
-
-2008-01-06 Michael Monreal <michael.monreal@gmx.net>
-
- ** Fix for bug #492188
-
- * gui/dialogs/comp-editor.c:
-
- Use the new Tangoized icons instead of deprecated icons from
- gnome-icon-theme.
-
-2008-01-03 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #270605
-
- * gui/dialogs/event-page.c: (event_page_init),
- (event_page_select_organizer), (event_page_construct): Code cleanup
- * gui/dialogs/memo-page.c: (memo_page_init), (source_changed_cb),
- (memo_page_select_organizer), (memo_page_construct): Skip disabled
- accounts.
- * gui/dialogs/task-page.c: (task_page_init),
- (task_page_fill_widgets), (task_page_select_organizer),
- (task_page_construct): Code cleanup, show organizer of assigned tasks,
- if it already exists.
-
-2008-01-03 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/memos-component.c: (create_new_memo): Refix the last patch
-
-2008-01-03 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #506814
-
- * gui/tasks-component.c: (create_new_todo):
- * gui/tasks-component.c: (create_new_todo): Add the signal only if the
- view is present.
-
-2007-12-20 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #362638
-
- * gui/alarm-notify/alarm-notify.c:
- * gui/alarm-notify/alarm-notify.h:
- * gui/alarm-notify/alarm-queue.c:
- Rewrite message passing to use GThreadPool instead of EThread.
-
-2007-12-13 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #340267
-
- * gui/e-cal-component-preview.c: (write_html):
- * gui/e-cal-component-memo-preview.c: (write_html):
- Show description in preview as preformatted text, so
- tabulators are kept instead of treated as white spaces.
-
-2007-12-11 Sankar P <psankar@novell.com>
-
- ** Fix for bug #501969
-
- * gui/gnome-cal.c: (client_cal_opened_cb):
- Passwords should not be forgotten on all errors
-
-2007-12-05 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #392747 (extra cleanup work)
-
- * gui/e-day-view.c (e_day_view_style_set):
- * gui/e-week-view-titles-item.c (e_week_view_titles_item_draw):
- * gui/e-week-view.c (e_week_view_style_set):
- * gui/print.c (print_month_summary):
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_recalc_date_form):
- Call e_get_month_name() or e_get_weekday_name() instead of
- e_utf8_strftime() or g_date_strftime().
-
-2007-12-05 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #501474
-
- * gui/gnome-cal.c: (update_memo_view):
- Fix wrong expression from bug #359267
-
-2007-12-04 David Turner <cillian64@googlemail.com>
-
- ** Fix for bug #354265
-
- * gui/e-calender-table.c:
- * gui/e-memo-table.c:
- * gui/e-calender-view.c:
- Fixed mnemonic clash between print and paste mnemonics
-
-2007-12-04 Wang Xin <jedy.wang@sun.com>
-
- Fixes #501182.
-
- * gui/gnome-cal.c: (update_todo_view): Handle NULL pointer.
-
-2007-12-03 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #440497
-
- * gui/e-meeting-list-view.h: (e_meeting_list_view_column_set_visible):
- Prototype changed to refer to column based on enum identifier.
- * gui/e-meeting-list-view.c: (build_table): Store column enum
- identifier in column datas, for later use.
- * gui/e-meeting-list-view.c: (e_meeting_list_view_column_set_visible):
- * gui/dialogs/task-page.c:
- * gui/dialogs/event-page.c:
- * gui/e-meeting-time-sel.c:
- Refer for column based on the enum, not on the column title.
-
-2007-12-03 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #392747
-
- * gui/weekday-picker.c (get_day_text):
- Convert the day_index to GDateWeekday and call e_get_weekday_name().
-
-2007-11-30 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #325730
-
- * gui/e-calendar-table.c: (hide_completed_rows):
- * gui/e-cal-model.c: (e_cal_view_objects_added_cb),
- (e_cal_view_objects_removed_cb), (remove_client_objects):
- Reverting part of previous patch (2007-11-23) and added
- notifications about model_changed after done with deleting.
-
-2007-11-27 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #500024
-
- * gui/print.c: (print_comp): Set number of pages first.
-
-2007-11-27 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #214645
-
- * gui/e-week-view.c: (e_week_view_get_day_position),
- (e_week_view_convert_position_to_day):
- * gui/e-week-view-layout.c: (e_week_view_layout_event),
- (e_week_view_layout_get_span_position):
- Collapses non-working days to occupy one row and expand other days
- if possible.
-
-2007-11-26 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #346693
-
- * gui/e-day-view.c: (e_day_view_on_editing_started):
- Ensure new event in top canvas will be visible.
-
-2007-11-26 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #380644
-
- * gui/dialogs/task-page.h: (task_page_add_attendee):
- * gui/dialogs/task-page.c: (task_page_add_attendee):
- * gui/dialogs/event-page.h: (event_page_add_attendee):
- * gui/dialogs/event-page.c: (event_page_add_attendee):
- New function to add attendee to store and name selector.
- * gui/dialogs/task-page.c: (remove_attendee): Remove attendee also
- from name selector (keep consistent).
- * gui/dialogs/task-editor.c: (task_editor_edit_comp):
- Use task_page_add_attendee to add known attendees.
- * gui/dialogs/event-editor.c: (event_editor_edit_comp):
- Use event_page_add_attendee to add known attendees.
-
- * gui/e-meeting-store.c: (e_meeting_store_remove_all_attendees),
- (e_meeting_store_remove_attendee): Code cleanup by Matthew Barnes.
-
-2007-11-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #325730
-
- * gui/e-memos.c: (table_selection_change_cb):
- * gui/e-tasks.c: (table_selection_change_cb):
- Clear task/memo preview when have more or less than one row selected.
- * gui/e-cal-model.c: (e_cal_view_objects_added_cb),
- (e_cal_view_objects_removed_cb), (remove_client_objects):
- First delete, then notify, so we read from updated store.
-
-2007-11-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #484603
-
- * gui/e-week-view.c: (e_week_view_reshape_event_span):
- Do not forget for organizer icon when counting used icons.
-
-2007-11-19 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #401337
-
- * gui/dialogs/task-page.glade:
- * gui/dialogs/task-page.c: (sensitize_widgets), (get_widgets):
- Use other mnemonic for Organizer and let it work properly.
-
-2007-11-18 Gilles Dartiguelongue <gdartigu@svn.gnome.org>
-
- ** Fix bug #495875
-
- * gui/calendar-component.c:
- * gui/memos-component.c:
- * gui/tasks-component.c:
- right click menu reordering
-
-2007-11-16 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #492793
-
- * gui/dialogs/task-page.c: (task_page_fill_component):
- * gui/dialogs/comp-editor.c: (page_changed_cb),
- (page_summary_changed_cb), (page_dates_changed_cb):
- * gui/dialogs/event-page.c: (event_page_fill_component):
- * gui/dialogs/memo-page.c: (memo_page_fill_component):
- Pass real widget as parent to e_notice, not a GObject.
-
-2007-11-13 Ondrej Jirman <megous@megous.com>
-
- ** Fix for bug #494323
-
- * gui/e-meeting-store.c: removed useless EBook use.
-
-2007-11-12 Andre Klapper <a9016009@gmx.de>
-
- ** Fix for bug #496248
-
- * gui/alarm-notify/alarm-notify.glade:
- mark "location" field selectable.
-
-2007-11-10 Michael Monreal <mmonreal@svn.gnome.org>
-
- ** Fix for bug #209425
-
- * gui/calendar-commands.c:
- * gui/e-calendar-view.c:
- Don't use gtk-home for the go-today action.
-
-2007-11-05 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #491345
-
- * gui/e-tasks.c: (config_hide_completed_tasks_changed_cb):
- Also change default filter for tasks, to let this work without restart.
-
-2007-11-05 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #353780
-
- * gui/dialogs/comp-editor.h: (comp_editor_get_current_comp):
- * gui/dialogs/comp-editor.c: (prompt_and_save_changes),
- (menu_file_save_cb), (comp_editor_append_page),
- (comp_editor_get_current_comp):
- Stop processing immediately when page is filled incorrectly.
-
-2007-11-05 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #341085
-
- * gui/e-day-view.c: (e_day_view_reshape_day_event):
- Use 'x_offset' instead of changing event size when has icons.
-
-2007-11-05 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #359267
-
- * gui/gnome-cal.c: (update_memo_view):
- Changed memo_sexp to show always memos without start date.
-
-2007-11-05 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #351932
-
- * gui/dialogs/task-page.c: (check_start_before_end), (times_updated),
- (start_date_changed_cb), (due_date_changed_cb), (init_widgets):
- Ensure due date is not before start date.
-
-2007-11-05 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #315101
-
- * drag and drop to other source for multiselect
- * gui/comp-util.h:
- * gui/comp-util.c: (cal_comp_selection_set_string_list),
- (cal_comp_selection_get_string_list): Two new helper functions
- to set and get list of strings into GtkSelectionData.
- * gui/e-tasks.c: (get_selected_components_cb),
- (do_for_selected_components), (obtain_list_of_components),
- (table_drag_data_get):
- * gui/e-memos.c: (get_selected_components_cb),
- (do_for_selected_components), (obtain_list_of_components),
- (table_drag_data_get): Pass list of selected components as data
- for drag and drop instead of focused component from the list.
- * gui/e-tasks.c: (table_drag_data_delete):
- * gui/e-memos.c: (table_drag_data_delete): Obsolete now.
- * gui/tasks-component.c: (selector_tree_drag_data_received):
- * gui/memos-component.c: (selector_tree_drag_data_received):
- Receiving list of components, so made changes here to reflect it.
-
-2007-11-05 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #318604
-
- * Enable source when adding event to disabled source.
- * gui/gnome-cal.h: (gnome_calendar_emit_user_created_signal):
- New helper function which will store used calendar before emitting
- signal "user_created" on the instance to GnomeCalendar for later use
- and unset it right after the emit.
- * gui/gnome-cal.c: (struct _GnomeCalendarPrivate): New member to store
- used ECal before emitting "user_created" signal.
- * gui/gnome-cal.c: (gnome_calendar_emit_user_created_signal),
- (user_created_cb): Implementation of new helper function and enabling
- last used source instead of default one on "user_created" signal.
- * gui/e-day-view.c: (e_day_view_on_editing_stopped):
- * gui/e-week-view.c: (e_week_view_on_editing_stopped):
- * gui/e-calendar-view.c: (object_created_cb): Use our new
- helper function to emit "user_created" signal with proper ECal.
- * gui/e-calendar-table.h: (struct _ECalendarTable):
- * gui/e-memo-table.h: (struct _EMemoTable): New member added.
- * gui/e-calendar-table.c: (e_calendar_table_init):
- * gui/e-memo-table.c: (e_memo_table_init): Initialize member to NULL.
- * gui/tasks-component.c: (object_created_cb), (create_new_todo):
- * gui/memos-component.c: (object_created_cb), (create_new_memo):
- Add new callback function to notice new object created and emit
- "user_created" signal with proper ECal stored in ECalendarTable.
- * gui/e-tasks.c: (user_created_cb):
- * gui/e-memos.c: (user_created_cb): Use previously stored ECal, which
- has been used to create event, instead of using default ECal.
-
-2007-11-05 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #346693
-
- * gui/e-day-view-top-item.h: (EDayViewTopItem):
- New property 'show_dates'.
- * gui/e-day-view-top-item.c: (e_day_view_top_item_draw),
- (e_day_view_top_item_class_init), (e_day_view_top_item_init),
- (e_day_view_top_item_set_arg):
- Always draw background rectangle over whole requested place and
- draw dates or event only, based on new property 'show_dates'.
- * gui/e-day-view.h: (struct _EDayView): New properties 'tc_vscrollbar',
- 'top_dates_canvas', 'top_dates_canvas_item'.
- * gui/e-day-view.c: (E_DAY_VIEW_MAX_ROWS_AT_TOP),
- (e_day_view_top_scroll), (e_day_view_update_top_scroll),
- (e_day_view_on_top_canvas_scroll), (e_day_view_init),
- (e_day_view_style_set), (e_day_view_size_allocate),
- (e_day_view_check_layout), (e_day_view_on_editing_started):
- Added support for scrolling 'top_canvas' when number of items there
- increases over the 'E_DAY_VIEW_MAX_ROWS_AT_TOP'.
- * gui/e-day-view.c: (e_day_view_set_selected_time_range),
- (e_day_view_set_selected_time_range_in_top_visible),
- (e_day_view_set_selected_time_range_visible),
- (e_day_view_set_selected_time_range), (e_day_view_update_query),
- (e_day_view_goto_start_of_work_day), (e_day_view_goto_end_of_work_day),
- (e_day_view_change_duration_to_start_of_work_day),
- (e_day_view_change_duration_to_end_of_work_day),
- (e_day_view_layout_timeout_cb): Redraw top_dates_canvas if necessary.
-
-2007-11-03 Matthew Barnes <mbarnes@redhat.com>
-
- ** Remove dead files from source control. The dates below
- indicate when the file was removed from Makefile.am.
- Fixes part of bug #478704.
-
- * gui/dialogs/calendar-setup.glade (Nov 2004)
- * gui/dialogs/meeting-page.etspec (Sep 2003)
- * gui/dialogs/new-calendar.glade (Jan 2003)
- * gui/dialogs/new-task-list.glade (Jan 2004)
- * gui/dialogs/url-editor-dialog.c (Dec 2005)
- * gui/dialogs/url-editor-dialog.glade (Dec 2005)
- * gui/dialogs/url-editor-dialog.h (Dec 2005)
- * gui/e-pub-utils.c (Dec 2005)
- * gui/e-pub-utils.h (Dec 2005)
- * gui/gnome-calendar-conduit.png (May 2000)
-
-2007-11-02 Damien Carbery <damien.carbery@sun.com>
-
- ** Fixes bug #492058
-
- * gui/e-itip-control.c: Name the anonymous unions to build
- with the Sun Studio compiler.
-
-2007-10-31 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/alarm-notify/alarm-notify.glade:
- Fix spacing between alarm description and buttons.
-
-2007-10-29 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #490538
-
- * gui/dialogs/memo-page.c: (fill_comp_with_recipients):
- * gui/e-meeting-list-view.c: (process_section):
- Free memory properly after call of e_contact_store_get_books.
-
-2007-10-26 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #417999
-
- * gui/dialogs/task-page.c: (init_widgets): Use "changed" signal,
- instead of old "source_changed" to notify change of selected source.
-
-2007-10-26 Matthew Barnes <mbarnes@redhat.com>
-
- * conduits/calendar/calendar-conduit.c (local_record_to_pilot_record):
- * conduits/memo/memo-conduit.c (local_record_to_pilot_record):
- * conduits/todo/todo-conduit.c (local_record_to_pilot_record):
- Zero out the GnomePilotRecord struct to silence a compiler warning.
-
- * gui/dialogs/memo-page.c (memo_page_select_organizer):
- Initialize def_address.
-
- * gui/e-itip-control.c:
- Use unions to avoid strict-aliasing violations.
-
-2007-10-23 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/alarm-notify/alarm-notify-dialog.c:
- * gui/alarm-notify/alarm-notify.c:
- * gui/alarm-notify/alarm-queue.c:
- * gui/alarm-notify/config-data.c:
- * gui/cal-search-bar.c:
- * gui/calendar-commands.c:
- * gui/calendar-config.c:
- * gui/dialogs/alarm-dialog.c:
- * gui/dialogs/alarm-list-dialog.c:
- * gui/dialogs/cal-prefs-dialog.c:
- * gui/dialogs/comp-editor.c:
- * gui/dialogs/event-page.c:
- * gui/dialogs/recurrence-page.c:
- * gui/e-alarm-list.c:
- * gui/e-cal-config.c:
- * gui/e-cal-event.c:
- * gui/e-cal-menu.c:
- * gui/e-cal-popup.c:
- * gui/e-calendar-table.c:
- * gui/e-calendar-view.c:
- * gui/e-date-time-list.c:
- * gui/e-day-view-main-item.c:
- * gui/e-day-view-time-item.c:
- * gui/e-day-view.c:
- * gui/e-itip-control.c:
- * gui/e-meeting-list-view.c:
- * gui/e-memo-table.c:
- * gui/e-select-names-editable.c:
- * gui/e-week-view-event-item.c:
- * gui/e-week-view.c:
- * gui/goto.c:
- * gui/migration.c:
- * gui/print.c:
- * gui/tasks-control.c:
- * importers/icalendar-importer.c:
-
- Warning fixes:
- - NULL vs 0 vs FALSE/TRUE
- - ANSIfication of declarations
- - mixing declarations and code
- - mark some code static
- - remove use of some deprecated Gtk+ apis
-
-2007-10-22 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #417999
-
- * gui/dialogs/event-page.c:
- * gui/dialogs/event-page.glade:
- * gui/dialogs/memo-page.c:
- * gui/dialogs/memo-page.glade:
- * gui/dialogs/task-page.c:
- * gui/dialogs/task-page.glade:
- * gui/e-itip-control.c:
- Use ESourceComboBox instead of ESourceOptionMenu (deprecated).
-
-2007-10-12 Michael Monreal <michael.monreal@gmail.com>
-
- ** New view-calendar icons (bug #479257)
-
- * calendar/gui/calendar-commands.c: Change icon references.
-
-2007-10-12 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #466659
-
- * gui/e-cal-list-view.c: (setup_e_table): Do not allow the user to set
- a 'no-date' for start/end of appointments in list view.
-
-2007-10-11 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/alarm-notify/alarm-queue.c:
- Fix an implicit GTK+ function declaration on x86_64.
-
-2007-10-09 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #437579
-
- * conduits/calendar/calendar-conduit.c:
- * conduits/memo/memo-conduit.c:
- * conduits/todo/todo-conduit.c:
- * gui/dialogs/alarm-dialog.c:
- * gui/dialogs/event-page.c:
- * gui/dialogs/memo-page.c:
- * gui/dialogs/task-page.c:
- * gui/e-day-view-layout.c:
- * gui/e-day-view-layout.h:
- * gui/print.c:
- Fix various compiler warnings. Patch from Milan Crha.
-
-2007-10-09 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #324526
-
- * gui/print.c: (print_week_event): Draw picture with dots to indicate
- that not all events are printed in a day.
-
-2007-10-07 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- ** Fix for bug #455862
- Plugged memory leaks.
-
- * gui/comp-util.c:
- * gui/comp-util.h:(cal_comp_util_get_n_icons): A new function to
- get the number of icons owned by ECalComponent.
-
- * gui/e-day-view-main-item.c:
- * gui/e-day-view.c:
- * gui/e-week-view-event-item.c:
- * gui/e-week-view.c: Use cal_comp_util_get_n_icons.
-
-2007-10-05 Milan Crha <mcrha@redhat.com>
-
- * gui/alarm-notify/alarm-queue.c: (alarm_queue_remove_client):
- Fixed leak caused by my changes in fix for bug #325685.
-
-2007-10-04 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #477045
-
- * gui/calendar-component.c:
- * gui/memos-component.c:
- * gui/tasks-component.c:
- Use "edit-copy" and "document-properties" icons in the pop-up menu.
-
-2007-10-04 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #325685
-
- * gui/print.c: (print_week_day_event): Show end time of the event only
- when printing week view with less than 3 weeks (because of no space).
-
-2007-10-02 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #469657
-
- * gui/comp-editor-factory.c:
- Use destroy functions in GHashTables to simplify memory management.
-
-2007-10-01 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #428402
-
- * gui/e-itip-control.c: (show_current): First move to next component,
- then remove last alarm and then free that last component.
-
- * gui/e-itip-control.c: (update_item): Free component when done.
-
- * importers/icalendar-importer.c: (prepare_events), (prepare_tasks):
- Really go through every component when removing one.
-
-2007-10-01 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #342283
-
- * gui/calendar-commands.h: (calendar_command_print): New function.
- * gui/calendar-commands.c: (calendar_command_print), (file_print_cb),
- (file_print_preview_cb):
- * gui/e-calendar-view.c: (on_print):
- Behaves consistently when printing from File->Print and popup->Print.
-
-2007-10-01 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #230339
-
- * gui/print.c: (print_day_event): Print also location, if present.
-
-2007-09-27 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- ** Fix for bug #461195
-
- * gui/e-calendar-marshal.list: Remove needless marshalers.
- * gui/e-memos.c:
- * gui/e-tasks.c: Use GObject's marshalers.
-
-2007-09-27 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #477045
-
- * gui/calendar-commands.c:
- * gui/calendar-component.c:
- * gui/dialogs/cal-attachment-select-file.c:
- * gui/dialogs/comp-editor.c:
- * gui/dialogs/event-editor.c:
- * gui/dialogs/task-editor.c:
- * gui/e-cal-popup.c:
- * gui/e-calendar-table.c:
- * gui/e-calendar-view.c:
- * gui/e-day-view.c:
- * gui/e-memo-table.c:
- * gui/e-week-view.c:
- * gui/memos-component.c:
- * gui/memos-control.c:
- * gui/tasks-component.c:
- * gui/tasks-control.c:
- Use standard icon names where applicable.
-
-2007-09-27 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #346686
-
- * gui/e-cal-model.h: (e_cal_model_test_row_editable):
- * gui/e-cal-model.c: (e_cal_model_test_row_editable): New helper
- function to check if row is editable or not, based on calendar.
- * gui/e-cal-model-memos.c: (ecmm_is_cell_editable):
- * gui/e-cal-model-tasks.c: (ecmt_is_cell_editable):
- * gui/e-cal-model-calendar.c: (ecmc_is_cell_editable):
- * gui/e-cal-model.c: (ecm_is_cell_editable):
- Uses new helper function to determine if row is editable.
-
-2007-09-27 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #324472
-
- * gui/e-calendar-table.c: (struct AffectedComponents),
- (e_calendar_table_complete_selected), (get_selected_components_cb),
- (do_for_selected_components), (mark_comp_complete_cb),
- (mark_comp_incomplete_cb): Added new helper structure and functions.
- * gui/e-calendar-table.c: (mark_as_complete_cb),
- (mark_as_incomplete_cb): Using new helper functions.
- * gui/e-cal-model-tasks.h: (e_cal_model_tasks_mark_comp_complete),
- (e_cal_model_tasks_mark_comp_incomplete): New functions (replace old).
- * gui/e-cal-model-tasks.c: (commit_component_changes),
- (ecmt_set_value_at), (e_cal_model_tasks_mark_comp_complete),
- (e_cal_model_tasks_mark_comp_incomplete): Added new functions to work
- with components instead of table's rows and using them.
-
-2007-09-27 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #300693
-
- * gui/e-calendar-table.c: (task_compare_cb), (e_calendar_table_init):
- * gui/e-calendar-table.etspec:
- * gui/e-memo-table.c: (task_compare_cb):
- * gui/e-memo-table.etspec:
- Removed obsolete code and references to "task-sort" virtual column.
-
-2007-09-27 Milan Crha <mcrha@redhat.com>
-
- ** Fixes part of bug #228832
-
- * gui/gnome-cal.h: (gnome_calendar_new_task):
- * gui/gnome-cal.c: (gnome_calendar_new_task): Added parameters to
- inherit selected time for 'dtstart' and 'due' of new task.
- * gui/e-calendar-view.c: (on_new_task): Passing selected time to use.
-
-2007-09-21 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #411125
-
- * gui/dialogs/meeting-page.etspec:
- * gui/e-meeting-time-sel.etspec:
- * gui/e-memo-table.etspec:
- * gui/e-calendar-table.etspec:
- * gui/e-cal-list-view.etspec:
- Uses 'compare="collate"' instead of 'compare="string"' to handle UTF
- characters correctly.
-
-2007-09-21 Jedy Wang <jedy.wang@sun.com>
-
- ** Fixes bug #476124.
-
- * calendar/gui/dialogs/comp-editor.c: Handle NULL pointer.
-
-2007-09-14 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #476231
-
- * gui/dialogs/cal-attachment-select-file.c:
- Remove non-USE_GTKFILECHOOSER code.
- GtkFileChooser has been around since 2004.
-
-2007-09-12 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #476040
-
- * gui/e-day-view.c:
- * gui/e-week-view.c:
- * gui/dialogs/comp-editor.c:
- Use "mail-attachment" icon instead of "stock_attach".
-
-2007-09-10 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #300284 (bnc)
-
- * gui/e-cal-list-view.c: (setup_e_table): Do not allow the user to set
- a 'no-date' for start/end of appointments in list view.
-
-2007-09-10 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #368033
-
- * gui/calendar-component.c: (ensure_sources):
- Assign default color for B&A when no color is set.
-
-2007-09-10 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes#332026
- * gui/e-day-view.c: (e_day_view_do_key_press),
- (e_day_view_start_editing_event): Filter the input context
- key events.
-
- Committing on behalf of Mayank <mayank.gnu@gmail.com>
-
-2007-09-10 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #270605
- * gui/dialogs/event-page.c: (event_page_select_organizer),
- (event_page_construct):
- * gui/dialogs/task-page.c: (task_page_select_organizer),
- (task_page_construct): Skip disabled accounts and choose first available address as
- organizer.
-
- Reworked the patch from Milan Crha <mcrha@redhat.com> to apply properly as the previous
- commit made changes in the same area.
-
-2007-09-09 Suman Manjunath <msuman@novell.com>
-
- * gui/dialogs/event-page.c: (event_page_init),
- (event_page_finalize), (clear_widgets),
- (event_page_fill_component), (source_changed_cb),
- (event_page_select_organizer), (event_page_construct):
- * gui/dialogs/memo-page.c: (memo_page_init), (memo_page_finalize),
- (clear_widgets), (memo_page_fill_widgets),
- (memo_page_fill_component), (source_changed_cb),
- (set_subscriber_info_string), (memo_page_select_organizer),
- (memo_page_construct):
- * gui/dialogs/task-page.c: (task_page_init), (task_page_finalize),
- (clear_widgets), (task_page_fill_widgets),
- (task_page_fill_component), (task_page_set_info_string),
- (source_changed_cb), (set_subscriber_info_string),
- (task_page_select_organizer), (task_page_construct): code cleanup.
-
-2007-09-07 Gilles Dartiguelongue <gdartigu@svn.gnome.org>
-
- * gui/e-itip-control.c: (insert_boxes), (insert_ok):
- fix weak references, pointed by Milan Crha <mcrha@redhat.com>
- which fixes one issue of the patch from bug #439122
-
-2007-09-07 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #473903
-
- * gui/e-meeting-store.c: (freebusy_async):
- * gui/cal-search-bar.c: (get_current_category ):
- * gui/itip-utils.c: (comp_limit_attendees):
- * gui/e-tasks.c: (e_tasks_open_task_id):
- * gui/print.c: (struct PrintCompItem), (struct PrintCalItem):
- Fixes serious compiler warnings.
-
-2007-01-08 Wang Xin <jedy.wang@sun.com>
-
- Fixes #470968
-
- * calendar/gui/e-calendar-table.c: Delete the task with attendee if OK button
- of the confirm dialog is clicked.
-
-2007-09-03 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix a build break.
-
- * conduits/common/libecalendar-common-conduit.c:
- (e_pilot_remote_category_to_local):
- * conduits/common/libecalendar-common-conduit.h:
-
-2007-09-03 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #201167 by Nathan Owens
-
- * conduits/todo/Makefile.am:
- * conduits/todo/todo-conduit.c:
- * conduits/common/libecalendar-common-conduit.c:
- * conduits/common/libecalendar-common-conduit.h:
- * conduits/common/Makefile.am:
- * conduits/calendar/Makefile.am:
- * conduits/calendar/calendar-conduit.c:
- * conduits/Makefile.am:
- * conduits/memo/memo-conduit.c:
- * conduits/memo/Makefile.am:
-
-2007-09-03 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #471791 (Move away from asserts to g_ret*)
-
- * gui/alarm-notify/alarm-queue.c: (alarm_trigger_cb),
- (remove_comp), (notify_dialog_cb), (audio_notification),
- (procedure_notification), (remove_cqa), (remove_client_alarms):
- * gui/alarm-notify/notify-main.c: (alarm_notify_factory_fn),
- (init_alarm_service):
- * gui/cal-search-bar.c: (free_categories), (get_current_category),
- (regen_query), (make_suboptions), (cal_search_bar_set_categories):
- * gui/calendar-commands.c: (sensitize_items),
- (calendar_control_sensitize_calendar_commands),
- (sensitize_taskpad_commands), (gcal_calendar_focus_change_cb),
- (gcal_taskpad_focus_change_cb), (calendar_control_activate),
- (calendar_control_deactivate):
- * gui/calendar-component.c: (set_info):
- * gui/calendar-config.c: (units_to_string),
- (calendar_config_get_hide_completed_tasks_sexp):
- * gui/calendar-view-factory.c: (calendar_view_factory_get_title),
- (calendar_view_factory_get_type_code):
- * gui/calendar-view.c: (calendar_view_get_type_code):
- * gui/comp-editor-factory.c: (free_request), (editor_destroy_cb),
- (edit_existing), (edit_new), (queue_edit_existing),
- (queue_edit_new):
- * gui/comp-util.c: (cal_comp_event_new_with_defaults):
- * gui/dialogs/alarm-dialog.c: (repeat_widgets_to_alarm),
- (dialog_to_alarm), (action_selection_done_cb):
- * gui/dialogs/comp-editor-page.c: (comp_editor_page_get_widget),
- (comp_editor_page_focus_main_widget),
- (comp_editor_page_fill_widgets):
- * gui/dialogs/comp-editor-util.c: (comp_editor_strip_categories):
- * gui/dialogs/comp-editor.c: (comp_editor_append_page),
- (raise_and_focus):
- * gui/dialogs/event-page.c: (event_page_fill_component),
- (event_page_set_all_day_event), (times_updated),
- (alarm_custom_clicked_cb):
- * gui/dialogs/recurrence-page.c: (simple_recur_to_comp),
- (fill_component), (make_weekly_special), (make_monthly_special),
- (make_recurrence_special), (make_ending_until_special),
- (make_ending_count_special), (make_ending_special),
- (recurrence_page_fill_widgets), (exception_add_cb):
- * gui/e-cal-model.c: (clear_objects_array), (ecm_value_at),
- (ecm_set_value_at), (e_cal_model_set_default_client),
- (update_e_cal_view_for_client), (cal_opened_cb),
- (remove_client_objects):
- * gui/e-calendar-table.c: (e_calendar_table_get_selected_comp):
- * gui/e-calendar-view.c: (e_calendar_view_add_event):
- * gui/e-day-view.c: (update_row), (model_rows_inserted_cb),
- (e_day_view_convert_event_coords), (e_day_view_update_query),
- (cancel_editing), (e_day_view_on_editing_stopped):
- * gui/e-itip-control.c: (find_cal_opened_cb),
- (write_recurrence_piece), (get_cancel_options), (show_current),
- (ok_clicked_cb):
- * gui/e-meeting-list-view.c: (name_selector_dialog_close_cb):
- * gui/e-meeting-store.c: (refresh_busy_periods):
- * gui/e-memo-table.c: (get_selected_comp):
- * gui/e-memos.c: (e_memos_setup_view_menus),
- (e_memos_discard_view_menus):
- * gui/e-tasks.c: (e_tasks_setup_view_menus),
- (e_tasks_discard_view_menus):
- * gui/e-week-view-event-item.c: (e_week_view_event_item_draw):
- * gui/e-week-view-layout.c: (e_week_view_find_day):
- * gui/e-week-view.c: (update_row), (model_rows_inserted_cb),
- (e_week_view_update_query), (e_week_view_start_editing_event),
- (cancel_editing), (e_week_view_cursor_key_up),
- (e_week_view_cursor_key_down), (e_week_view_cursor_key_left),
- (e_week_view_cursor_key_right):
- * gui/gnome-cal.c: (get_times_for_views), (get_focus_location),
- (update_query), (gnome_calendar_direction), (set_view),
- (display_view), (gnome_calendar_setup_view_menus),
- (gnome_calendar_discard_view_menus), (client_cal_opened_cb),
- (open_ecal), (backend_died_cb),
- (gnome_calendar_remove_source_by_uid):
- * gui/memos-control.c: (memos_control_sensitize_commands),
- (memos_control_activate), (memos_control_deactivate):
- * gui/print.c: (print_calendar_draw_page):
- * gui/tasks-control.c: (sensitize_items),
- (tasks_control_sensitize_commands), (tasks_control_activate),
- (tasks_control_deactivate):
- * gui/weekday-picker.c: (day_event_cb):
- * importers/icalendar-importer.c: (ivcal_import_items):
-
-2007-08-29 Suman Manjunath <msuman@novell.com>
-
- ** Fix for bug #466051
-
- * gui/dialogs/memo-page.c: (memo_page_fill_component): When memo start
- date is set to 'None', do not store DTSTART property.
-
-2007-08-28 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/e-cal-popup.c (e_cal_popup_target_new_source):
- g_strncasecmp() is deprecated; use g_ascii_strncasecmp() instead.
-
-2007-08-27 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- ** Fix for the same issue of week view of bug #330628
-
- * gui/e-week-view.h: Add meeting_icon.
- * gui/e-week-view.c: (e_week_view_realize): Load meeting_icon.
- * gui/e-week-view.c: (e_week_view_unrealize): Dispose meeting_icon.
- * gui/e-week-view-event-item.c: (e_week_view_event_item_draw_icons):
- Show meeting icon.
-
-2007-08-24 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #468440
-
- * gui/e-week-view-event-item.c: Dont popup if the event is destroyed
- (e_week_view_event_item_button_press):
- * gui/e-week-view.c: (e_week_view_init), Init a variable to tell the
- event handler that the event is destroyed
- (e_week_view_on_editing_stopped): Set event_destroyed.
- * gui/e-week-view.h:
-
-2007-08-24 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #468411
-
- * gui/e-week-view.c: (e_week_view_on_text_item_event): Grab focus to
- main view, so that the even gets created.
-
-2007-08-24 Johnny Jacob <jjohnny@novell.com>
-
- ** Fix for bug #466796
-
- * gui/calendar-config.c : adds calendar_config_init() to the beginning of every function
- that uses the 'config' variable.
-
- Committing on behalf of Rouslan Solomakhin
- <rouslan@solomakhin.net>
-
-2007-08-24 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- ** Fix for bug #330628
-
- * gui/e-day-view-top-item.c: (e_day_view_top_item_draw_long_event):
- Show meeting icon.
-
-2007-08-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #385517
-
- * gui/dialogs/cal-prefs-dialog.c: (show_task_list_config):
- Use actual state to sensitive tasks_hide_completed_* widgets.
-
-2007-08-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #329746
-
- * gui/dialogs/comp-editor.c: (make_icon_from_comp):
- Return proper icon for memo components.
- * gui/dialogs/delete-comp.c: (delete_component_dialog),
- (prompt_retract_dialog):
- * gui/dialogs/changed-comp.c: (changed_component_dialog):
- * gui/dialogs/comp-editor.c: (make_title_from_comp),
- (make_title_from_string):
- * gui/dialogs/cancel-comp.c: (cancel_component_dialog):
- * gui/dialogs/delete-error.c: (delete_error_dialog):
- * gui/dialogs/recur-comp.c: (recur_component_dialog):
- * gui/itip-utils.c: (comp_subject), (comp_description):
- * calendar.error.xml:
- Renamed 'Journal' to 'Memo'.
-
-2007-08-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #428110
-
- * gui/memos-component.c: (update_single_object):
- Added parameter to rather fail on adding same object with drag&drop,
- rather than modify and then delete existing one.
- * gui/memos-component.c: (update_objects): Use new parameter above.
- * gui/memos-component.c: (selector_tree_drag_data_received):
- Use result of call 'update_objects' and prevent delete object when
- the call fails.
-
-2007-08-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #201201
-
- * gui/e-week-view.h: (struct _EWeekView): Added properties.
- * gui/e-week-view.c: (e_week_view_init),
- (e_week_view_on_button_press): First click stores actual selection
- in structure and when second click was inside this selection, then
- the selection is restored and used for new appointment.
-
- ** Fix for bug #201202
-
- * gui/e-day-view.h: (struct _EDayView): Added properties.
- * gui/e-day-view.c: (e_day_view_init),
- (e_day_view_on_top_canvas_button_press),
- (e_day_view_on_main_canvas_button_press):
- Same as with week view above.
-
-2007-08-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #338803
-
- * gui/e-meeting-time-sel-item.c:
- (e_meeting_time_selector_item_button_press):
- Keeps actual meeting duration, not reset to half/full hour.
-
- * gui/dialogs/event-page.c: (update_time):
- Updates also duration spin buttons, not only end date/time edits.
-
-2007-08-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #347770
-
- * gui/e-cal-component-memo-preview.c: (write_html):
- Improved description text parsing.
-
-2007-08-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #355864
-
- * gui/e-week-view.c: (e_week_view_remove_event_cb):
- Better remove array item after done with it, not before.
-
-2007-08-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #272167
-
- * gui/e-cal-popup.c: (e_cal_popup_target_new_source):
- Marks both offline flags on local calendars, so both popup menu
- items are hidden.
-
-2007-08-23 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #308636
-
- * gui/dialogs/calendar-setup.c: (eccp_get_source_type):
- Add only source groups without property 'create_source=no'.
- * gui/dialogs/calendar-setup.c: (cs_load_sources):
- New helper function avoids code copying.
- * gui/dialogs/calendar-setup.c: (calendar_setup_edit_calendar),
- (calendar_setup_edit_task_list), (calendar_setup_edit_memo_list):
- Uses 'cs_load_sources'.
- * gui/calendar-component.c: (ensure_sources):
- Sets 'create_source=no' for contacts when not set before.
-
-2007-08-20 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #262226
-
- * gui/e-calendar-view.h:
- * gui/e-calendar-view.c: (e_calendar_view_new_appointment_full):
- Changed meaning of the last parameter: no_past_date to indicate if
- we accept past dates (we do not for File->New->items).
- Also changed behavior: when don't need all_day event and there are
- 24 hours selected, then change start/end to actual time in actual day,
- or to 'day begins' from pereferences for other selected days,
- instead of setting all_day event to TRUE.
- * gui/calendar-component.c: (create_new_event):
- Don't force all day event.
- * gui/e-week-view.c: (e_week_view_on_button_press):
- Changing call of 'e_calendar_view_new_appointment_full'.
-
- * gui/dialogs/event-page.c: (clear_widgets):
- Fixed critical warning when no default_address set.
- * gui/dialogs/event-page.c: (event_page_finalize),
- (event_page_select_organizer): Free memory when no longer needed.
- * gui/dialogs/event-page.c: (event_page_init): There was twice the same.
-
-2007-08-17 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #420492
- * gui/dialogs/event-page.c: (event_page_fill_widgets):
- set the free_busy flag properly.
-
- Committing on behalf of Ebby Wiselyn <ebbywiselyn@gmail.com>
-
-2007-08-17 Suman Manjunath <msuman@novell.com>
-
- reviewed by: Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-day-view.c: (e_day_view_do_key_press):
- * gui/e-week-view.c: (e_week_view_do_key_press):
- Set the free/busy info of events entered directly on the canvas, with
- the editor defaults.
-
-2007-08-17 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #274070 (bnc)
- * gui/e-meeting-attendee.[ch]: (e_meeting_attendee_finalize),
- (e_meeting_attendee_get_fburi), (e_meeting_attendee_set_fburi):
- * gui/e-meeting-list-view.c: (process_section):
- * gui/e-meeting-store.c: (freebusy_async), (start_async_read):
- If the contact has a free busy url specified with it, use it to show
- free busy information.
-
-2007-08-16 Milan Crha <mcrha@redhat.com>
-
- ** Part of fix for bug #350539
-
- * gui/e-cal-popup.c: (ecalp_part_popup_set_background):
- Ensures non-NULL part.
-
-2007-08-16 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #464106
-
- * gui/goto.c: (goto_dialog):
- Set week_view_start with respect to settings.
-
-2007-08-13 Suman Manjunath <msuman@novell.com>
-
- reviewed by: Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/event-page.c: (event_page_init),
- (sensitize_widgets), (get_current_account),
- (event_page_fill_widgets), (event_page_fill_component),
- (existing_attendee), (event_page_set_info_string), (get_widgets),
- (source_changed_cb), (init_widgets), (event_page_select_organizer),
- (event_page_construct):
- * gui/dialogs/event-page.glade:
- * gui/dialogs/memo-page.c: (memo_page_init), (sensitize_widgets),
- (memo_page_fill_widgets), (get_current_account),
- (memo_page_fill_component), (memo_page_set_info_string),
- (get_widgets), (source_changed_cb), (init_widgets),
- (memo_page_select_organizer), (memo_page_construct):
- * gui/dialogs/memo-page.glade:
- * gui/dialogs/task-page.c: (task_page_init), (sensitize_widgets),
- (get_current_account), (task_page_fill_widgets),
- (task_page_fill_component), (existing_attendee),
- (task_page_set_info_string), (get_widgets), (source_changed_cb),
- (init_widgets), (task_page_select_organizer),
- (task_page_construct):
- * gui/dialogs/task-page.glade: Add a label on the top to show information string
- for calendar, task and memo editors. It would be shown while operating on subscribed
- user's folder items.
- * gui/itip-utils.c: (itip_send_comp), (reply_to_calendar_comp): A
- utility function sanitize_component has been removed. The sentby parameter
- is set in the event pages.
-
-2007-08-10 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #351552
-
- * gui/alarm-notify/alarm-queue.h: (alarm_queue_remove_client):
- * gui/alarm-notify/alarm-queue.c: (alarm_queue_remove_client):
- Added new parameter to free immediately, not by thread.
- * gui/alarm-notify/alarm-notify.c: (dequeue_client),
- (alarm_notify_remove_calendar): Using alarm_queue_remove_client.
-
- * gui/alarm-notify/alarm-notify.c: (alarm_notify_add_calendar):
- Fixed critical warning with e_passwords for calendars without
- 'auth-domain' property (will use name instead).
-
-2007-08-06 Milan Crha <mcrha@redhat.com>
-
- ** Partially fix bug #401533
-
- * gui/e-cal-component-memo-preview.c: (write_html):
- Text marked to localize.
-
-2007-08-06 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #463129
-
- * gui/calendar-component.c: (update_task_memo_selection),
- (destroy_component_view): Frees task_source_selection and
- memo_source_selection in destroy_component_view instead of
- immediately after assigning it to the structure.
-
-2007-08-06 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #454253
-
- * gui/alarm-notify/alarm.c: (pop_alarm), (alarm_ready_cb),
- (setup_timeout), (alarm_done): Fail safe instead of crash, when it is
- not really required to crash.
-
-2007-08-03 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- ** Fix for bug #377173
-
- * gui/e-cal-component-memo-preview.c:
- * gui/e-cal-component-preview.c: Show category icon correctly.
-
-2007-08-02 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #322624
-
- * gui/alarm-notify/alarm-queue.c: (has_known_notification),
- (add_component_alarms), (query_objects_changed_async):
- Don't add alarms for types with unknown/none notification method.
-
-2007-07-31 Matthew Barnes <mbarnes@redhat.com>
-
- * common/authentication.c: Include <libedataserver/e-source.h>
- to fix implicit declaration of e_source_get_duped_property().
-
-2007-07-30 Andre Klapper <a9016009@gmx.de>
-
- * gui/dialogs/schedule-page.glade:
- gui/dialogs/memo-page.glade:
- gui/dialogs/meeting-page.glade:
- gui/dialogs/task-page.glade:
- gui/dialogs/task-details-page.glade:
- gui/dialogs/cal-prefs-dialog.glade:
- gui/dialogs/event-page.glade:
- gui/e-itip-control.glade:
- remove "window1" string from translation
-
-2007-07-30 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes a memory corruption.
- * common/authentication.c: (auth_func_cb): Use
- e_source_get_duped_property.
-
-2007-07-30 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #343716
-
- * gui/dialogs/memo-page.c: (memo_page_fill_component):
- Working properly with UTF-8 characters when cutting and
- added ellipsize for longer texts.
-
-2007-07-30 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #453860
- * gui/e-select-names-editable.c:
- (e_select_names_editable_get_emails): Check if contact
- is present before fetching information from it.
-
- Committing on behalf of Xiurong Simon Zheng <simon.zheng@sun.com>
-
-2007-07-29 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #200977
-
- * gui/e-day-view.c: (time_range_changed_cb):
- Ensures selection start row is visible.
-
-2007-07-29 Rob Bradford <rob@robster.org.uk>
-
- Fixes #461474
- * gui/dialogs/task-page.c: (task_page_set_dates):
- Remove redundant code.
-
-2007-07-29 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- ** Fix for bug #455862
-
- * gui/e-memo-table.c: Paste raw text data from clipboard while
- editing column.
-
-2007-07-29 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- ** Fix for bug #335881
-
- * gui/e-calendar-table.c: Paste raw text data from clipboard while
- editing column.
-
-2007-07-27 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- Fixes #460825
- * gui/cal-search-bar.c: (cal_search_bar_class_init): Remove needless
- EFilterBarClass.
-
-2007-07-18 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #326388
-
- * gui/calendar-component.c: (ensure_sources):
- Set 'delete=no' property for birthdays_source if its not set.
-
-2007-07-29 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #444433 from Lucky
-
- * gui/cal-search-bar.c: (make_suboptions):
- * gui/caltypes.xml:
- * gui/memotypes.xml:
- * gui/tasktypes.xml:
-
-2007-07-27 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #457394
-
- * gui/e-calendar-table.c: (hide_completed_rows):
- Properly free component with e_cal_model_free_component_data.
- * gui/e-calendar-table.c: (show_completed_rows):
- Reference 'client' on new component.
-
-2007-07-27 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- * dialogs/cal-prefs-dialog.c: (calendar_prefs_dialog_finalize):
- * dialogs/task-page.c: (task_page_create_source_option_menu):
- * dialogs/e-send-options-utils.c:
- (e_sendoptions_utils_set_default_data):
- * dialogs/url-editor-dialog.c: (init_widgets):
- * dialogs/event-page.c: (event_page_create_source_option_menu):
- * dialogs/memo-page.c: (memo_page_create_source_option_menu):
- * e-week-view-event-item.c: (e_week_view_event_item_draw):
- * e-day-view-top-item.c: (e_day_view_top_item_draw_long_event):
- * e-pub-utils.c: (e_pub_publish): Plugged memory leaks.
-
-2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- * gui/main.c: Do not need to call g_source_remove(). If the callback
- function returns FALSE, the event source is automatically removed.
-
-2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- * gui/alarm-notify/config-data.c, gui/tasks-component.c,
- gui/calendar-component.c, gui/memos-component.c: Plugged memory leaks.
-
-2007-07-26 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #273699
-
- * gui/alarm-notify/notify-main.c: (main):
- Do g_warning instead of g_error when factory could not be created.
-
-2007-07-18 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- * gui/cal-search-bar.c: (cal_search_bar_construct): Remove "/" as
- separator.
-
-2007-07-09 Chenthill Palanisamy <pchenthill@novell.com>
-
- reviewed by: Veerapuram Varadhan <vvaradhan@novell.com>
-
- * gui/dialogs/comp-editor.c: (save_comp), (save_comp_with_send),
- (real_edit_comp): Organizer/Sentby can save/edit components.
- * gui/dialogs/event-editor.c: (event_editor_edit_comp):
- * gui/e-calendar-view.c: (e_calendar_view_add_event),
- (e_calendar_view_cut_clipboard), (delete_event),
- (e_calendar_view_delete_selected_occurrence),
- (set_attendee_status_for_delegate),
- (e_calendar_view_edit_appointment),
- (e_calendar_view_modify_and_send):
- * gui/itip-utils.c: (get_attendee),
- (get_attendee_if_attendee_sentby_is_user), (sanitize_component),
- (itip_get_comp_attendee), (comp_to_list), (comp_subject),
- (comp_limit_attendees), (comp_sentby), (itip_send_comp),
- (reply_to_calendar_comp): Adding the exchange delegation feature.
-
- Committing on behalf of Suman Manjunath <msuman@novell.com>
-
-2007-07-09 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/e-memos.c: (e_memos_setup_view_menus)
- * gui/e-tasks.c: (e_tasks_setup_view_menus)
- * gui/gnome-cal.c: (gnome_calendar_setup_view_menus)
- Abort if ETable specification file fails to load.
-
-2007-06-27 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #234294
-
- * gui/dialogs/cancel-comp.c: (is_past_event): New helper function.
- * gui/dialogs/cancel-comp.c: (cancel_component_dialog):
- Returns FALSE to EVENTs in the past, based on date, not time part.
-
-2007-07-09 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #300584
-
- * gui/e-calendar-view.h: Added public helper
- function e_calendar_view_get_icalcomponent_summary
- * gui/e-calendar-view.c: (e_calendar_view_get_icalcomponent_summary),
- (icalcomp_contains_category), (e_calendar_view_get_tooltips):
- Implementing helper functions and added year number also into tooltip.
- * gui/e-day-view.c: (e_day_view_update_long_event_label):
- * gui/e-week-view.c: (e_week_view_reshape_event_span),
- (cancel_editing): Using e_calendar_view_get_icalcomponent_summary.
-
-2007-07-09 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #438613 and #329594
-
- * gui/dialogs/event-page.c: (sensitize_widgets):
- Disable recurrence and free/busy actions with read only calendars.
- * gui/dialogs/comp-editor.c: (prompt_and_save_changes):
- When clicked "Save", then claim on readonly calendars and didn't
- discard changes silently.
- * gui/dialogs/comp-editor.c: (menu_file_save_cb):
- Claims on readonly calendars before validating form datas.
-
- * gui/e-meeting-list-view.c: (build_table): Fixed runtime warning.
- * gui/dialogs/alarm-list-dialog.glade: Fixed runtime warnings.
-
-2007-07-03 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #321741
-
- * gui/e-calendar-view.h:
- * gui/e-calendar-view.c: (e_calendar_view_new_appointment_full):
- Added new parameter 'actual_day', with true always use actual day.
- * gui/e-calendar-view.c: (on_new_event), (on_new_meeting),
- (e_calendar_view_new_appointment):
- * gui/calendar-component.c: (create_new_event):
- * gui/e-week-view.c: (e_week_view_on_button_press):
- Changing call of 'e_calendar_view_new_appointment_full'.
-
-2007-06-22 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #328484
-
- * gui/calendar-component.c: (source_changed_cb):
- New callback to refresh view after source changed.
- * gui/calendar-component.c: (source_added_cb),
- (source_removed_cb): Connecting and disconnecting
- on change callback to source.
-
-2007-07-02 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #445526
-
- * gui/dialogs/alarm-list-dialog.h: (alarm_list_dialog_set_client):
- * gui/dialogs/alarm-list-dialog.c: (alarm_list_dialog_set_client)
- New function, need to be called when page source changed.
- * gui/dialogs/event-page.c: (struct _EventPagePrivate), (init_widgets),
- (event_page_init), (event_page_finalize), (source_changed_cb):
- New private property alarm_list_dlg_widget points on dialog's box and
- calling new callback in source_changed_cb.
-
-2007-06-18 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #448223 from Gilles Dartiguelongue
-
- * gui/cal-search-bar.c: (generate_viewoption_menu):
-
-2007-06-11 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #325882
-
- * gui/dialogs/e-delegate-dialog.glade:
- * gui/dialogs/schedule-page.glade:
- * gui/goto-dialog.glade:
- * gui/e-itip-control.glade:
- Changed GTK_WIN_POS_NONE to GTK_WIN_POS_CENTER_ON_PARENT.
-
-2007-06-15 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/dialogs/alarm-dialog.c:
- Remove the aalarm_attach widget and retrieve the selected filename
- using the GtkFileChooser API (#440075).
-
-2007-06-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
-
- * Makefile.am:
-
- Reverted automake 1.6 breakage. Fixes bug 444747.
- Patch by Patch by Daniel Gryniewicz <dang@nemesis.fprintf.net>.
-
-2007-06-04 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/Makefile.am: Added the filter flags and the new files.
- * gui/cal-search-bar.c: (cal_search_bar_class_init),
- (cal_search_bar_init), (cal_search_bar_destroy),
- (get_current_category), (get_show_option_sexp),
- (notify_e_cal_view_contains), (notify_category_is), (regen_query),
- (setup_category_options), (make_suboptions),
- (search_menu_activated), (cal_search_bar_construct),
- (cal_search_bar_get_category), (cal_search_bar_get_time_range):
- * gui/cal-search-bar.h:
- * gui/e-cal-model.[ch]:
- (e_cal_model_set_search_query_with_time_range): Set the time range
- and the search query.
- * gui/gnome-cal.c: (set_search_query),
- (search_bar_sexp_changed_cb), (update_memo_view),
- (gnome_calendar_init), (update_view_times), (display_view),
- (display_view_cb), (gnome_calendar_update_date_navigator): Hide
- the date navigator in list view for searches based on date.
- * gui/caltypes.xml:
- * gui/memotypes.xml:
- * gui/tasktypes.xml: Added the Advanced search options.
-
- Committing on behalf of Keshav Upadhyaya <ukeshav@novell.com> and
- Abhishek Parwal <pabhishek@novell.com>.
-
-2007-06-03 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #386503 from Matthew Barnes
-
- * gui/dialogs/comp-editor.c: (comp_editor_show_help):
-
-2007-06-03 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for version removal from Installed files from Gilles Dartiguelongue
-
- * Makefile.am:
- * conduits/calendar/Makefile.am:
- * conduits/memo/Makefile.am:
- * conduits/todo/Makefile.am:
- * gui/Makefile.am:
- * gui/alarm-notify/Makefile.am:
-
-2006-09-08 Ushveen Kaur <kushveen@novell.com>
-
- ** Fixes bug #347767
-
- * gui/dialogs/send-comp.c : (send_component_prompt_subject):
- error id "calendar:prompt-send-no-subject-memo" or
- "calendar:prompt-send-no-subject-memo-to-recipients" is called
- when memo is saved without a summary.
- * calendar.error.xml : error id "prompt-send-no-subject-memo" is
- added.
-
-2007-06-02 Gilles Dartiguelongue <dartigug@esiee.fr>
-
- ** Fixes bug #439122
-
- * conduits/calendar/calendar-conduit.c:
- (local_record_to_pilot_record):
- * conduits/memo/memo-conduit.c: (local_record_to_pilot_record):
- * conduits/todo/todo-conduit.c: (local_record_to_pilot_record):
- * gui/calendar-component.c: (selector_tree_drag_data_received):
- * gui/dialogs/alarm-list-dialog.c: (edit_clicked_cb):
- * gui/dialogs/cal-prefs-dialog.c: (alarms_selection_changed):
- * gui/dialogs/calendar-setup.c: (eccp_commit):
- * gui/dialogs/comp-editor.c: (drop_action),
- (comp_editor_get_mime_attach_list):
- * gui/dialogs/event-page.c: (remove_clicked_cb):
- * gui/dialogs/task-page.c: (remove_clicked_cb):
- * gui/e-day-view.c: (e_day_view_on_drag_data_get):
- * gui/e-itip-control.c: (url_requested_cb), (insert_boxes),
- (insert_ok):
- * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct):
- * gui/e-memos.c: (table_drag_data_get), (backend_error_cb):
- * gui/e-tasks.c: (table_drag_data_get), (e_tasks_open_task_id):
- * gui/e-week-view-event-item.c: (e_week_view_event_item_draw):
- * gui/gnome-cal.c: (backend_error_cb):
- * gui/memos-component.c: (selector_tree_drag_data_received):
- * gui/print.c: (print_calendar):
- * gui/tasks-component.c: (selector_tree_drag_data_received):
- compilation warnings cleanup
-
-2007-06-01 Milan Crha <mcrha@redhat.com>
-
- ** Fix for bug #321741
-
- * gui/e-calendar-view.c: (e_calendar_view_new_appointment_full):
- Default first date for appointment or meeting is changed on actual
- date if have selected start date in past. (This doesn't affect
- double click in calendar view.)
-
-2007-05-27 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #351729 from Milan Crha
-
- * gui/dialogs/event-editor.c: (event_editor_construct):
- * gui/dialogs/event-page.glade:
- * gui/dialogs/task-editor.c: (task_editor_construct):
-
-2007-05-27 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/e-cal-popup.c: Addup missing hooks in the previous commit.
-
-2007-05-27 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #326388 from Raghavendaran
-
- * gui/calendar-component.c: (ensure_sources): Create a popup key for
- readonly calendar.
- * gui/e-cal-popup.c: (e_cal_popup_target_new_source):
- * gui/e-cal-popup.h:
-
-2007-05-25 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/migration.c (create_calendar_sources), (create_task_sources),
- (create_memo_sources):
- * gui/tasks-component.c (ensure_sources):
- * gui/calendar-component.c (ensure_sources):
- * gui/memos-component.c (ensure_sources):
- Don't assume the relative URI is non-NULL (#427232).
-
-2007-05-24 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #424562
-
- * gui/dialogs/recur-comp.c (recur_component_dialog):
- Remove check for obsolete GTK+ version.
-
- * gui/alarm-notify/alarm-queue.c:
- EggTrayIcon is dead; always use GtkStatusIcon.
-
-2007-05-14 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/GNOME_Evolution_Calendar.server.in.in: Fix for bug #407104
-
-2007-05-14 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #330098 from Naresh
-
- * gui/dialogs/select-source-dialog.c: (select_source_dialog):
-
-2007-05-12 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #337616
-
- * gui/Makefile.am: Add $(schema_DATA) to DISTCLEANFILES.
-
-2007-05-12 simon.zheng <simon.zheng@sun.com>
-
- ** Fix for bug #427789
-
- * gui/e-calendar-view.c: (e_calendar_view_copy_clipboard):
- The last arguments in API gtk_clipboard_set_text() should be
- the length of string in bytes rather than in characters.
-
-2007-05-11 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/GNOME_Evolution_Calendar.server.in.in: Add tango icon to
- preference window.
-
-2007-05-04 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Downstream fixes from OpenSUSE
-
- * gui/dialogs/event-page.c: (update_time):
- * gui/e-cal-component-preview.c: (write_html):
-
-2007-05-04 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #415562
-
- * gui/alarm-notify/alarm-queue.c: (tray_icon_clicked_cb),
- (popup_menu), (display_notification):
-
-2007-04-28 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/dialogs/task-page.glade: Fix a mnemonic conflict.
- Patch from Jens Knutson. Closes bug #397463.
-
-2007-04-20 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/calendar-commands.c:
- * gui/dialogs/comp-editor.c:
- * gui/e-calendar-table.c:
- * gui/e-calendar-view.c:
- * gui/e-memo-table.c:
- * gui/memos-control.c:
- * gui/print.c:
- * gui/print.h:
- * gui/tasks-control.c:
- Refactor the printing infrastructure. (#426816)
-
-2007-04-19 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #429422
-
- * gui/e-select-names-renderer.c
- (e_select_names_renderer_editing_done):
- Use gtk_cell_renderer_stop_editing() instead of
- gtk_cell_renderer_editing_canceled().
-
- * gui/dialogs/task-details-page.c (get_widgets):
- * gui/dialogs/schedule-page.c (get_widgets):
- * gui/dialogs/task-page.c (get_widgets):
- * gui/dialogs/recurrence-page.c (get_widgets):
- * gui/dialogs/event-page.c (get_widgets):
- * gui/dialogs/memo-page.c (get_widgets):
- Use g_object_ref() instead of gtk_widget_ref().
-
- * gui/dialogs/task-details-page.c (task_details_page_finalize):
- * gui/dialogs/schedule-page.c (schedule_page_finalize):
- * gui/dialogs/task-page.c (task_page_finalize):
- * gui/dialogs/recurrence-page.c (recurrence_page_finalize):
- * gui/dialogs/event-page.c (event_page_finalize):
- * gui/dialogs/memo-page.c (memo_page_finalize):
- Use g_object_unref() instead of gtk_widget_unref().
-
- * gui/dialogs/event-editor.c (create_schedule_page):
- * gui/dialogs/memo-editor.c (memo_editor_construct):
- * gui/dialogs/task-editor.c (task_editor_construct):
- * gui/print.c (print_table):
- * conduits/todo/todo-conduit.c (todoconduit_load_configuration):
- * conduits/calendar/calendar-conduit.c
- (calconduit_load_configuration):
- * conduits/memo/memo-conduit.c (memoconduit_load_configuration):
- Use g_object_ref_sink() instead of gtk_object_sink().
-
- * gui/dialogs/task-details-page.c (sensitize_widgets):
- * gui/dialogs/task-page.c (sensitize_widgets):
- * gui/dialogs/event-page.c (sensitize_widgets),
- (event_page_fill_widgets):
- * gui/dialogs/memo-page.c (sensitize_widgets),
- (memo_page_fill_widgets):
- * gui/e-timezone-entry.c (e_timezone_entry_init):
- Use gtk_editable_set_editable() instead of gtk_entry_set_editable().
-
- * gui/dialogs/task-details-page.c (get_widgets):
- * gui/dialogs/schedule-page.c (get_widgets):
- * gui/dialogs/task-page.c (get_widgets):
- * gui/dialogs/recurrence-page.c (get_widgets):
- * gui/dialogs/event-page.c (get_widgets):
- * gui/dialogs/memo-page.c (get_widgets):
- Use g_object_ref() instead of gtk_accel_group_ref().
-
- * gui/dialogs/comp-editor-page.c (comp_editor_page_destroy):
- Use g_object_unref() instead of gtk_accel_group_unref().
-
- * gui/dialogs/task-page.c (task_page_new):
- * gui/dialogs/memo-page.c (memo_page_new):
- Use g_object_new() instead of gtk_type_new().
-
- * gui/dialogs/comp-editor.c (save_comp), (obj_modified_cb):
- * gui/dialogs/comp-editor-page.c
- (comp_editor_page_display_validation_error):
- * gui/e-memos.c (backend_error_cb):
- * gui/e-itip-control.c (update_item), (update_attendee_status),
- (send_item), (send_freebusy):
- * gui/gnome-cal.c (backend_error_cb):
- * gui/e-tasks.c (backend_error_cb):
- * gui/e-cell-date-edit-text.c (show_date_warning):
- Use gtk_message_dialog_new() instead of gnome_error_dialog(),
- gnome_warning_dialog(), gnome_question_dialog(), or gnome_ok_dialog().
-
- * gui/dialogs/comp-editor.c (comp_editor_show_page):
- * gui/dialogs/alarm-dialog.c (action_selection_done_cb):
- * gui/gnome-cal.c (display_view):
- * importers/icalendar-importer.c (button_toggled_cb):
- Use gtk_notebook_set_current_page() instead of
- gtk_notebook_set_page().
-
- * gui/dialogs/alarm-dialog.glade:
- * gui/dialogs/alarm-dialog.c:
- Use GtkFileChooserButton instead of GnomeFileEntry.
-
- * gui/e-memos.c (e_memos_class_init):
- * gui/e-tasks.c (e_tasks_class_init):
- Use g_cclosure_marshal_VOID__INT instead of gtk_marshal_NONE__INT.
-
- * gui/e-day-view.c (e_day_view_style_set), (e_day_view_check_layout):
- * gui/e-itip-control.c (e_itip_control_init):
- * gui/gnome-cal.c (gnome_calendar_hpane_resized):
- * gui/e-week-view.c (e_week_view_style_set):
- * gui/e-meeting-time-sel (e_meeting_time_selector_construct),
- (e_meeting_time_selector_style_set):
- Use gtk_widget_set_size_request() instead of gtk_widget_set_usize().
-
- * gui/e-day-view.c (e_day_view_stop_auto_scroll),
- (e_day_view_cancel_layout):
- * gui/e-week-view.c (e_week_view_cancel_layout):
- Use g_source_remove() instead of gtk_timeout_remove().
-
- * gui/tasks-component.c (task_component_peek):
- * gui/calendar-component.c (calendar_component_peek):
- * gui/memos-component.c (memos_component_peek):
- Use g_mkdir_with_parents() instead of e_util_mkdir_hier().
-
- * gui/print.c (range_selector_new):
- * gui/e-day-view-time-item.c (e_day_view_time_item_show_popup_menu):
- Use gtk_radio_button_get_group() instead of gtk_radio_button_group().
-
- * gui/e-day-view-time-item.c (e_day_view_time_item_show_popup_menu):
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
- Use gtk_menu_shell_append() instead of gtk_menu_append().
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
- e_button_new_with_stock_icon() is dead; just do it manually.
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
- Use gtk_radio_menu_item_get_group() instead of
- gtk_radio_menu_item_group().
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct),
- (e_meeting_time_selector_draw_shadow):
- Use gtk_paint_shadow() instead of gtk_draw_shadow().
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_timeout_handler):
- Remove gtk_layout_freeze() and gtk_layout_thaw().
-
-2007-04-10 Andre Klapper <a9016009@gmx.de>
-
- * gui/dialogs/cal-prefs-dialog.glade: add missing mnemonic widgets.
- Fixes bug #329168.
-
-2007-04-06 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/itip-utils.c (reply_to_calendar_comp):
- Use a GString to construct the body contents and also fix several
- memory leaks. (#408423) Based on a patch from Daniel Gryniewicz.
-
-2007-04-06 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/memos-component.c (impl__get_userCreatableItems):
- Fix a duplicate keyboard shortcut. (#353922)
- Patch from Diego Escalante Urrelo
-
-2007-04-05 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/print.c (print_calendar): Fix a crasher. (#401539)
-
-2007-04-01 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #373116
-
- * gui/calendar-component.c (ensure_sources):
- * gui/e-cal-model.c (ecm_get_color_for_component):
- * gui/memos-component.c (ensure_sources):
- * gui/migration.c (create_calendar_contact_source),
- (create_calendar_sources), (create_task_sources),
- (create_memo_sources), (add_gw_esource):
- * gui/tasks-component.c (ensure_sources):
- Use the new ESource color API.
-
- * gui/calendar-component.c
- (calendar_config_get_tasks_due_today_color),
- (calendar_config_get_tasks_overdue_color):
- Return a GdkColor instead of an X color specification.
-
- * gui/calendar-component.c
- (calendar_config_set_tasks_due_today_color),
- (calendar_config_set_tasks_overdue_color):
- Accept a GdkColor instead of an X color specification.
-
- * gui/e-cal-model-tasks.c (ecmt_get_color_for_component):
- Adapt to modified color API in calendar-component.c by converting
- the GdkColor to an X color specification. This is an ugly hack to
- be fixed later.
-
- * gui/dialogs/cal-prefs-dialog.c:
- * gui/dialogs/cal-prefs-dialog.glade:
- * gui/dialogs/calendar-setup.c:
- * gui/dialogs/calendar-setup.glade:
- Migrate from GnomeColorPicker to GtkColorButton.
-
-2007-03-29 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/e-cal-component-memo-preview.c (write_html):
- Use a format string ("%s") when passing uncontrolled data to a
- printf-style function (CVE-2007-1002).
-
-2007-03-29 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/e-day-view.c:
- * gui/e-week-view.c:
- * gui/tasks-control.c:
- Fix "incompatible pointer type" warnings (#360619).
-
-2007-03-27 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/alarm-notify/alarm-queue.c:
- * gui/dialogs/comp-editor.c:
- * gui/dialogs/event-page.c:
- * gui/dialogs/memo-page.c:
- * gui/dialogs/task-page.c:
- * gui/e-cal-popup.c:
- * gui/e-meeting-list-view.c:
- * gui/e-tasks.c:
- * gui/gnome-cal.c:
- Don't mix declarations and code (#405495).
-
-2007-03-20 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #419524
-
- * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.
-
-2007-03-05 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/event-page.c: (event_page_fill_component): Set the
- description only if summary has some value.
- * gui/dialogs/schedule-page.c: (schedule_page_update_free_busy):
- * gui/dialogs/schedule-page.h:
- * gui/e-meeting-time-sel.[ch]: exposed e_meeting_time_selector_refresh_free_busy.
- * gui/dialogs/event-editor.c: (menu_action_freebusy_cb),
- (create_schedule_page), (menu_action_freebusy_cmd),
- (event_editor_construct): Form the FreeBusy dialog only when the button is
- clicked. The FreeBusy queries would not start until the button is clicked. So
- the users can choose the appropriate dates in the editor before the clicking
- the button.
-
-2007-02-12 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/e-meeting-list-view.c: (e_meeting_list_view_init):
- Fix window title. Patch from Matthias Clasen. Closes
- bug #381498.
-
-2007-02-12 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Print migration updates from Ebby Wiselyn
-
- * gui/print.c: (print_day_view), (print_calendar), (print_comp),
- (print_table), (comp_draw_page), (cal_draw_page),
- (table_draw_page), (create_custom_widget), (apply_custom_widget):
-
-2007-01-22 Srinivasa Ragavan <sragavan@novell.com>
-
- Committing GtkPrint migration from Ebby Wiselyn.
-
- * gui/print.c: (evo_calendar_print_cal_data_new),
- (evo_calendar_print_data_new),
- (evo_calendar_print_renderer_get_width),
- (print_border_with_triangles), (print_border_rgb), (print_border),
- (print_rectangle), (print_text), (print_text_size),
- (print_text_size_bold), (titled_box), (print_month_small),
- (bound_text), (print_day_background), (print_day_add_event),
- (print_day_long_event), (print_day_event), (print_day_details),
- (print_week_long_event), (print_week_day_event),
- (print_week_event), (print_week_view_background),
- (print_week_summary), (print_month_summary), (print_todo_details),
- (print_day_view), (print_week_view), (print_month_view),
- (print_year_view), (print_comp_item), (print_calendar),
- (print_comp), (print_title), (print_table), (comp_draw_page),
- (cal_draw_page), (table_draw_page):
-
-2007-01-08 Veerapuram Varadhan <vvaradhan@novell.com>
-
- Patch submitted by Nathan Owens <pianocomp81@yahoo.com> and
- Jerry Yu <jijun.yu@sun.com>
-
- * conduits/calendar/calendar-conduit.c:
- * conduits/todo/todo-conduit.c:
- * conduits/memo/memo-conduit.c:Add pilot-link 0.12
- compatibility
-
-2007-01-08 Matthew Barnes <mbarnes@redhat.com>
-
- Fixes #383027
- * gui/itip-utils.c: (itip_get_comp_attendee): Handle the case
- when there is no default account.
-
-2007-01-08 Matthew Barnes <mbarnes@redhat.com>
-
- Fixes #377511
- * gui/e-meeting-list-view.c: (get_index_from_role):
- Return the default value 1.
- (role_edited_cb): Move the attendee to the right section
- in the name selector.
-
-2007-01-08 Wang Xin <jedy.wang@sun.com>
-
- Fixes #389966
- * gui/e-cal-model-tasks.c: (set_status):
- Do not create the status property if its pointing to None.
-
-2007-01-08 Wang Xin <jedy.wang@sun.com>
-
- Fixes #389961
- * gui/e-cal-model.c: (e_cal_model_set_instance_times):
- Check if the item is a event before processing the end time.
-
-2006-12-04 Matthew Barnes <mbarnes@redhat.com>
-
- Fixes bug #357970
-
- * gui/e-alarm-list.c:
- * gui/e-calendar-table.c:
- * gui/e-day-view.c:
- * gui/e-meeting-attendee.c:
- * gui/e-meeting-store.c:
- * gui/e-meeting-time-sel-item.c:
- * gui/e-meeting-time-sel.c:
- * gui/e-week-view-main-item.c:
- * gui/e-week-view.c:
- * gui/gnome-cal.c:
- * gui/goto.c:
- * gui/dialogs/event-page.c:
- * gui/dialogs/task-page.c:
- Don't call deprecated GLib / GDK functions.
-
-2006-12-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
-
- Fixes #270751.
- Adds support for command line uri in tasks.
- * gui/GNOME_Evolution_Calendar.server.in.in: Added the specification
- for task uri.
- * gui/e-calendar-table.c: (e_calendar_table_open_selected),
- (e_calendar_table_open_task), (open_task_by_row),
- (e_calendar_table_on_open_task), (e_calendar_table_on_assign):
- * gui/e-calendar-table.h:
- * gui/tasks-control.c: (tasks_control_assign_cmd):
- * gui/e-tasks.c: (e_tasks_open_task_id):
- * gui/e-tasks.h: Pass just the required arguments.
- * gui/tasks-component.c: (impl_handleURI),
- (tasks_component_class_init): Implement the uri interface
-
-2006-11-28 Wang Xin <jedy.wang@sun.com>
-
- Fix for bug #380064
-
- * gui/alarm-notify/alarm-queue.c: (mail_notification): Only
- popup the dialog if calendar backend does not support
- email alarm.
-
-2006-12-03 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/calendar-config.c:
- (calendar_config_get_icaltimezone): Fix leaks of
- 'location' at various exit points.
-
-2006-11-28 Srinivasa Ragavan <sragavan@novell.com>
-
- Added support to print/preview from Calendar Editor.
-
- * gui/dialogs/comp-editor.c: (menu_file_print_cb),
- (menu_file_print_preview_cb):
-
-2006-11-28 Daniel Gryniewicz <dang@gentoo.org>
-
- ** Fix for bug #349966
-
- * gui/apps_evolution_calendar.schemas.in.in:
- * gui/calendar-config-keys.h:
- * gui/dialogs/alarm-dialog.c: (action_selection_done_cb):
-
-2006-11-20 Carlos Garcia Campos <carlosgc@gnome.org>
-
- Fixes bug #367183
- * gui/e-cal-model.c: (e_cal_model_set_instance_times): Make end_time a
- valid date for all day events when ical file doesn't provide neither
- DTEND nor DURATION for such events.
-
-2006-11-15 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/gnome-cal.c: (client_cal_opened_cb),
- (default_client_cal_opened_cb): Diplay a warning
- if calendar fails to open.
-
-2006-11-14 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/gnome-cal.c: (gnome_calendar_destroy):
- Disconnect signal handlers before gcal is destroyed.
- Fixes #208959 (bugzilla.novell.com).
-
-2006-11-07 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/alarm-notify/alarm-notify.c: (list_changed_cb),
- (load_calendars), (cal_opened_cb), (alarm_notify_add_calendar):
- * gui/dialogs/cal-prefs-dialog.c: (alarms_selection_changed):
- Disable alarms for subscribed exchange calendars.
- Fixes #208318 (bugzilla.novell.com)
-
-2006-11-06 Chenthill Palanisamy <pchenthill@novell.com>
-
- Committing for Ben Gamari <bgamari@gmail.com>
-
- * recurrence-page.c: Correct recurrence editor default behavior.
- Fixes #354875
-
-2006-10-16 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/cal-search-bar.c: (notify_e_cal_view_contains),
- (regen_query), (generate_viewoption_menu), (make_suboptions):
- Add missing header, #if 0 out some unused code, copy and free
- some data to avoid warnings.
- * gui/dialogs/cal-attachment-select-file.c: (run_selector):
- * gui/dialogs/comp-editor.c: (fill_widgets):
- * gui/dialogs/delete-comp.c: (prompt_retract_dialog):
- Typecasting fixes.
- * gui/dialogs/event-page.c: (init_widgets):
- * gui/dialogs/memo-editor.c: (memo_editor_edit_comp):
- Remove some unused code.
- * gui/dialogs/memo-page.c: (fill_comp_with_recipients):
- More GString changes.
- * gui/e-cal-component-memo-preview.c: (write_html):
- Micro-optimization of GString handling.
- * gui/e-cal-component-preview.c: (write_html):
- Same as above.
- * gui/e-cal-model-tasks.c:
- (e_cal_model_tasks_mark_task_incomplete):
- Remove unused variables.
- * gui/e-cal-model.c: (get_description),
- (e_cal_model_set_instance_times):
- More GString stuff and constification of the timezone arg.
- * gui/e-cal-model.h:
- Constify
- * gui/e-cal-popup.c: (ecalp_standard_menu_factory):
- Remove unused code.
- * gui/e-day-view-config.c: (e_day_view_config_set_view):
- Fix signedness warnings.
- * gui/e-day-view-main-item.c:
- (e_day_view_main_item_draw_day_event):
- Init a variable to NULL to avoid a compiler warning.
- * gui/e-day-view-time-item.c:
- (e_day_view_time_item_get_column_width):
- Remove unused var.
- * gui/e-day-view.c: (e_day_view_update_event_label),
- (e_day_view_on_text_item_event):
- Add braces and a cast to get rid of compiler warnings.
- * gui/e-meeting-list-view.c:
- (e_meeting_list_view_remove_attendee_from_name_selector),
- (attendee_edited_cb), (row_activated_cb), (add_to_list):
- Add some typecasts to avoid compiler warnings and remove an unused var.
- * gui/e-meeting-store.c: (e_meeting_store_get_num_queries):
- Return a value when checking the arguments.
- * gui/e-tasks.c: (setup_widgets):
- Add a cast to fix a compiler warning.
- * gui/e-week-view.c: (tooltip_event_cb),
- (e_week_view_on_text_item_event):
- More typecasting.
- * gui/gnome-cal.c: (gnome_calendar_get_tag),
- (gnome_calendar_cut_clipboard), (gnome_calendar_copy_clipboard):
- More typecasting and fix cutting/copying memos.
- * gui/gnome-cal.h:
- Add a prototype for gnome_calendar_get_tag().
- * gui/itip-utils.c: (comp_to_list):
- Fix shadowed variable.
- * gui/memos-component.c: (set_info):
- * gui/migration.c: (get_source_name):
- * gui/tasks-component.c: (set_info):
- GString fixes.
-
-2006-10-16 Ushveen Kaur <kushveen@novell.com>
-
- ** Fixes bug #347768
-
- * gui/dialogs/memo-page.glade : Label changed from "_Memo Content"
- to "_Description".
-
-2006-10-16 Ushveen Kaur <kushveen@novell.com>
-
- ** Fixes bug #329696
- * gui/e-itip-control.c : (show_current_event),(show_current_todo):
- String change to make it more clear.
-
-2006-10-16 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/e-day-view.c: (e_day_view_init),
- (e_day_view_on_top_canvas_button_press),
- (e_day_view_on_main_canvas_button_press),
- (e_day_view_on_long_event_button_press),
- (e_day_view_on_event_button_press),
- (e_day_view_on_text_item_event): Disable tooltips
- on drag, resize and edit. Fixes #333224. Patch
- submitted by Srinivasa Ragavan.
-
-2006-10-14 Matthew Barnes <mbarnes@redhat.com>
-
- Fixes bug #352546
-
- * gui/dialogs/event-page.c: (init_widgets) Fix typo in a
- translated string ("appointement").
-
-2006-10-03 Francisco Javier F. Serrador <serrador@openshine.com>
-
- * gui/dialogs/recurrence-page.c: Fix to allow translate some
- strings (Closes: #359271)
-
-2006-09-30 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #343369
- * gui/dialogs/comp-editor.c: (attach_message), (drop_action):
- Set the filename as email followed the number of the attachment.
-
-2006-09-28 Ushveen Kaur <kushveen@novell.com>
-
- ** Fixes bug #261082
-
- * gui/e-itip-control.c: (write_recurrence_piece): Translator
- comments added.
-
-2006-08-24 Ushveen Kaur <kushveen@novell.com>
-
- ** Fixes bug #261980, #325611
-
- * gui/e-itip-control.c (write_recurrence_piece) (set_date_label) :
- Translator comment added.
-
-2006-08-24 Ushveen Kaur <kushveen@novell.com>
-
- ** Fixes bug #325613
-
- * gui/dialogs/recurrence-page.c (make_recur_month_menu) :
- Translator comment added.
-
-2006-09-28 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #334692
-
- * gui/e-week-view.c: (e_week_view_on_scroll), (tooltip_destroy),
- (tooltip_event_cb), (e_week_view_on_text_item_event): Remove the
- timers that are left out when using scroll. They seem to trigger
- crashes.
-
-2006-09-21 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #354775
-
- * gui/calendar-component.c: (create_component_view): Fix to restore
- the pane position.
-
-2006-09-18 Matthew Barnes <mbarnes@redhat.com>
-
- Fixes #351332
-
- * gui/cal-search-bar.c:
- * gui/e-cal-model-tasks.h:
- * gui/e-calendar-view.h:
- * gui/gnome-cal.h:
- * gui/dialogs/memo-page.h:
- Fix implicit function declarations.
-
-2006-09-18 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes bug #352450
-
- * gui/calendar-commands.c:
- * gui/e-day-view-main-item.c:
- * gui/e-day-view-top-item.c:
- * gui/e-meeting-list-view.c:
- * gui/e-meeting-time-sel-item.c:
- * gui/e-meeting-time-sel.c:
- * gui/e-week-view-event-item.c:
- Replace deprecated GLib and GDK function calls.
-
-2006-09-11 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #344276
- * gui/e-cal-component-memo-preview.c: (write_html): made
- the memo preview work fine with special char.
- Committing on behalf of Arvind <sa.phoenix@gmail.com>.
-
-2006-09-08 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #343409
- * gui/e-select-names-editable.c:
- (e_select_names_editable_get_emails),
- (e_select_names_editable_get_name),
- (e_select_names_editable_get_names): Reverting the
- fix for the bug 320101 as it breaks delegation feature.
- * gui/e-meeting-list-view.c: (attendee_edited_cb): copy
- the delfrom parameter from the attendee being edited.
-
-2006-09-01 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #353763
- * gui/dialogs/memo-page.c: (sensitize_widgets):
- set sens to TRUE if its not a shared memo.
-
-2006-08-30 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #344463
-
- * gui/alarm-notify/alarm-queue.c: (open_alarm_dialog),
- (tray_icon_clicked_cb): Use unref to remove GtkStatusIcon.
-
-2006-08-29 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-cal-model-memos.c: (ecmm_fill_component_from_model):
- set dtstart while creating memos using quick add.
-
-2006-08-28 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/migration.c: (is_groupwise_account), (add_gw_esource),
- (migrate_memos): Create e-sources for the Groupwise reminder
- notes while migrating to 2.8 from a lower version.
-
-2006-08-28 Andre Klapper <a9016009@gmx.de>
-
- ** Fix for bug #352988
-
- * gui/gnome-cal.c: (setup_widgets): Marking two strings for
- translation.
-
-2006-08-24 Ross Burton <ross@openedhand.com>
-
- * gui/e-week-view-main-item.c:
- Don't manipulate the style's font description and don't use custom
- sizes (#347933).
-
-2006-08-23 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/alarm-notify/alarm-notify-dialog.c: (dialog_response_cb):
- * gui/alarm-notify/alarm-notify.c: (list_changed_cb),
- (dequeue_client), (alarm_msgport_replied),
- (alarm_notify_add_calendar), (alarm_notify_remove_calendar):
- * gui/alarm-notify/alarm-queue.c: (queue_midnight_refresh),
- (add_client_alarms_cb), (midnight_refresh_async),
- (remove_queued_alarm), (add_component_alarms), (cal_opened_cb),
- (remove_alarms), (remove_comp), (query_objects_changed_async),
- (edit_component), (tray_list_remove_cqa_async),
- (tray_list_remove_data_async), (notify_dialog_cb),
- (open_alarm_dialog), (tray_icon_clicked_cb), (tray_list_add_async),
- (free_client_alarms_cb), (alarm_queue_add_async), (remove_cqa),
- (remove_client_alarms):
- * gui/dialogs/alarm-dialog.c: (alarm_to_dalarm_widgets),
- (populate_widgets_from_alarm), (action_selection_done_cb):
- * gui/dialogs/alarm-list-dialog.c: (alarm_list_dialog_peek):
- * gui/dialogs/cal-prefs-dialog.c: (show_alarms_config):
- * gui/dialogs/memo-editor.c: (memo_editor_finalize):
- * gui/dialogs/memo-page.c: (sensitize_widgets):
- * gui/dialogs/task-page.c: (edit_clicked_cb):
- Fix all compiler warnings and correct some other issues.
-
-2006-08-23 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #341691
- * gui/comp-util.c: (cal_comp_is_on_server):
- Do not send the recurrence id for backends which
- support recurrence with master object.
-
-2006-08-23 Matthew Barnes <mbarnes@redhat.com>
-
- * gui/e-itip-control.c:
- fix an uninitialized GError - fixes bug 352423.
-
-2006-02-14 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- **Fixes #325935
-
- * gui/memos-component.c: (selector_tree_drag_motion):
- Edited code to move the memo from one task list to another.
-
-2006-08-22 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #351263
- * gui/dialogs/event-page.c: (init_widgets):
- do not add duplicate items in menu.
-
- Committing the patch from Sebastien Bacher <seb123@debian.org>
-
-2006-08-22 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/calendar-component.c (ensure_sources): Plug a leak.
- * gui/migration.c (create_calendar_sources): Same thing here.
-
-2006-08-21 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #346549
- * gui/dialogs/task-details-page.c (priority_index_to_value):
- set the priority to undefined if its value does not match the cases.
- Removed the assertion so that we don't quit.
-
-2006-08-21 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/cal-search-bar.c: (string_without_underscores),
- (generate_viewoption_menu), (make_suboptions): Fixes few search
- issues.
-
-2006-08-18 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #343369
- * gui/itip-utils.c: (append_cal_attachments):
- Set the file name to empty string in its absence.
-
-2006-08-17 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/e-week-view-event-item.c:
- (e_week_view_event_item_draw_icons): Plug a leak.
-
-2006-08-14 Li Yuan <li.yuan@sun.com>
-
- * gui/alarm-notify/alarm-queue.c: (mail_notification):
- Fixes #351253, make the dialog shows the label and
- can be closed.
-
-2006-08-10 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-cal-model-calendar.c: (ecmc_set_value_at):
- * gui/e-calendar-table.c: (e_calendar_table_on_forward):
- * gui/e-calendar-view.c: (e_calendar_view_add_event),
- (e_calendar_view_cut_clipboard), (delete_event),
- (e_calendar_view_delete_selected_occurrence), (on_forward),
- (e_calendar_view_modify_and_send):
- * gui/e-itip-control.c: (send_item), (send_freebusy),
- (ok_clicked_cb):
- * gui/e-memo-table.c: (e_memo_table_on_forward):
- * gui/tasks-control.c: (tasks_control_forward_cmd):
- * gui/dialogs/task-editor.c: (task_editor_send_comp):
- * gui/dialogs/event-editor.c: (event_editor_send_comp):
- Updated the itip_send_comp.
- * gui/dialogs/memo-page.c: (fill_comp_with_recipients),
- (memo_page_fill_component), (summary_changed_cb), (init_widgets):
- Connect the changed signal to summary, date and group widgets.
- Fill the list of users from the component and send the component.
- * gui/dialogs/send-comp.c: (send_component_dialog):
- * gui/dialogs/comp-editor.c: (save_comp_with_send),
- (get_users_from_memo_comp), (real_send_comp):
- * gui/itip-utils.c: (comp_to_list),
- Fill the recipient list while sharing memos.
- * gui/itip-utils.h (itip_send_comp):
- adding an argument to send the list of users.
-
-2006-08-09 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/alarm-list-dialog.h: Add missing
- declaration. Fixes #350391 (Patch from Øystein Gisnås).
-
-2006-08-08 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes bug #235909
- * gui/e-cal-model-tasks.c (get_due_status): Get the timezone for
- the due date field correctly.
-
- Committing for Mubeen Jukaku <jmubeen@novell.com>
-
-2006-08-07 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #350267
-
- * gui/calendar-component.c: (calcomp_vpane_realized): Fix the
- miscalculation becoz of convertion from float to int.
-
-2006-08-04 Johnny Jacob <jjohnny@novell.com>
-
- * gui/cal-search-bar.h : Changed the CAL_SEARCH items mask for
- tasks, memos, calendar.
-
-2006-07-31 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #335276
- * gui/dialogs/event-editor.c: (event_editor_edit_comp):
- Set the meeting time in the time selector.
- * gui/dialogs/schedule-page.c: (schedule_page_set_meeting_time):
- * gui/dialogs/schedule-page.h: Added a function to set the meeting
- time in the time selector.
-
-2006-07-31 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #344927
- * gui/dialogs/event-page.c:
- (event_page_fill_widgets): Set the classification.
-
-2006-07-31 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #333423
- * gui/alarm-notify/alarm-queue.c:
- (notify_dialog_cb): Need not get the next iter through
- the tree model, as gtk list store would store the next
- valid iter in iter.
-
-2006-07-31 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #323499
- * gui/dialogs/recurrence-page.c: (interval_selection_done_cb),
- (ending_selection_done_cb), (init_widgets): Listen to the
- changed signal from the GtkOptionMenu.
-
-2006-07-27 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #345646
- * gui/dialogs/recurrence-page.c:
- (recurrence_page_finalize): Diconnect the signal handler
- while destroying the page.
-
-2006-07-27 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- * gui/e-calendar-view.h: Removed the hardcoded ENABLE_CAIRO
- * gui/e-day-view.c (e_day_view_style_set) (e_day_view_init)
- (e_day_view_realize) (e_day_view_update_event_label)
- (e_day_view_on_long_event_click) (e_day_view_reshape_resize_long_event_rec)
- (e_day_view_reshape_resize_rect_item) (e_day_view_on_top_canvas_motion)
- (e_day_view_on_main_canvas_motion) (e_day_view_finish_long_event_resize)
- (e_day_view_finish_resize) (e_day_view_abort_resize)
- (e_day_view_reshape_main_canvas_resize_bars) (e_day_view_change_event_time)
- (e_day_view_on_editing_stopped) (e_day_view_on_main_canvas_drag_leave):
- This adds a macro ENABLE_CAIRO to
- disable cairo for slow rendering machines.
-
-2006-07-27 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- * gui/e-day-view.c (e_day_view_update_event_label):
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
- Added code to draw time on top border with cairo, because of text reposition
- when drawn in pango when events are overlapped.
-
-2006-07-26 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- * gui/apps_evolution_calendar.schemas.in.in: Fix for bug #348486.
- Corrected wrong description in /apps/evolution/calendar/display/
- event_transparency GConf key.
-
-2006-07-26 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #347772
- * gui/apps_evolution_calendar.schemas.in.in: Set the adjust
- for daylight savings by default.
-
-2006-07-24 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
- Free the gconf client after use.
- * gui/e-day-view.c (e_day_view_update_event_label)
- (e_day_view_on_text_item_event): Fix the gal tooltip and show the appt
- header if the event spans over minutes per row.
-
-2006-07-22 Chenthill Palanisamy <pchenthill@novell.com>
-
- * calendar.error.xml:
- * gui/calendar-component.c: (update_task_memo_selection),
- (update_primary_task_memo_selection),
- (config_tasks_selection_changed_cb),
- (config_primary_tasks_selection_changed_cb),
- (config_memos_selection_changed_cb),
- (config_primary_memos_selection_changed_cb),
- (create_component_view), (destroy_component_view),
- (calendar_component_init):
- * gui/dialogs/comp-editor-page.h:
- * gui/dialogs/comp-editor.h:
- * gui/dialogs/memo-editor.c: (memo_editor_construct),
- (memo_editor_edit_comp), (memo_editor_new):
- * gui/dialogs/memo-editor.h:
- * gui/dialogs/memo-page.c: (memo_page_init), (memo_page_finalize),
- (memo_page_focus_main_widget), (clear_widgets),
- (sensitize_widgets), (memo_page_fill_widgets),
- (fill_comp_with_recipients), (get_current_account),
- (memo_page_fill_component), (get_widgets), (to_button_clicked_cb),
- (response_cb), (init_widgets), (get_to_entry),
- (memo_page_construct), (memo_page_new),
- (memo_page_create_date_edit):
- * gui/dialogs/memo-page.glade:
- * gui/dialogs/memo-page.h:
- * gui/e-cal-component-memo-preview.c: (timet_to_str_with_zone),
- (write_html):
- * gui/e-cal-model.c: (ecm_value_at):
- * gui/e-memo-table-config.c: (e_memo_table_config_set_table):
- * gui/e-memo-table.c: (date_compare_cb), (e_memo_table_init),
- (open_memo), (e_memo_table_get_current_time):
- * gui/e-memo-table.etspec:
- * gui/e-memo-table.h:
- * gui/gnome-cal.c: (gnome_calendar_class_init),
- (get_focus_location), (memo_canvas_focus_change_cb),
- (memo_selection_change_cb), (update_memo_view), (setup_config),
- (view_progress_cb), (view_done_cb), (setup_widgets),
- (gnome_calendar_init), (gnome_calendar_destroy),
- (gnome_calendar_set_pane_positions), (client_cal_opened_cb),
- (default_client_cal_opened_cb), (open_ecal), (backend_died_cb),
- (gnome_calendar_remove_source_by_uid),
- (gnome_calendar_vpane_realized), (gnome_calendar_vpane_resized),
- (gnome_calendar_cut_clipboard), (gnome_calendar_copy_clipboard),
- (gnome_calendar_paste_clipboard),
- (gnome_calendar_notify_dates_shown_changed),
- (gnome_calendar_delete_selection),
- (gnome_calendar_get_memopad_menu):
- * gui/gnome-cal.h:
- * gui/memos-component.c: (create_new_memo), (create_local_item_cb),
- (impl__get_userCreatableItems), (impl_requestCreateItem): Added support
- shared memos, Gw notes.
-
-2006-07-21 Andre Klapper <a9016009@gmx.de>
-
- * calendar.error.xml: improve calendar read-only error message.
- Fixes bug #342281.
-
-2006-07-19 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- * gui/e-meeting-time-sel.c :(e_meeting_time_selector_construct)
- * gui/e-meeting-time-sel-item.c : Drawn freebusy view in calendar with cairo,
- and changed colors for better look and feel.
-
-2006-07-20 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- * gui/e-day-view.c: Fixed the embossing issue on item selection.
-
-2006-07-19 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- ** Fixes bug #347773
-
- * gui/e-day-view-main-item.c: Bug in Appointment resize preview in calendar
- day/work-week view is fixed.
-
-2006-07-19 Andre Klapper <a9016009@gmx.de>
-
- * gui/dialogs/calendar-setup.c: harmonize strings.
- Fixes bug #346552.
-
-2006-07-18 Andre Klapper <a9016009@gmx.de>
-
- * calendar.error.xml: removing duplicated error messages, fixing
- default answers. Fixes bug #347765.
-
-2006-07-18 Andre Klapper <a9016009@gmx.de>
-
- * gui/dialogs/calendar-setup.glade:
- * gui/dialogs/new-calendar.glade:
- * gui/dialogs/new-task-list.glade:
- * gui/dialogs/url-editor-dialog.glade:
- remove "*" from translation. Fixes bug #331147.
-
-2006-07-17 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/apps_evolution_calendar.schemas.in.in: Corrected the text in the
- schema.
-
-2006-07-17 Li Yuan <li.yuan@sun.com>
-
- * gui/dialogs/task-page.glade:
- Add labelled_by relation to start-date and due-date.
- Fix for #347473.
-
-2006-07-17 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/apps_evolution_calendar.schemas.in.in: Added key for storing tag
- calendar position in the left pane.
- * gui/calendar-component.c: (calcomp_vpane_realized),
- (calcomp_vpane_resized), (create_component_view),
- (calendar_component_init): Added tag calendar in the left pane
- * gui/calendar-config-keys.h: Added keys to fetch conf
- * gui/calendar-config.c: (calendar_config_get_tag_vpane_pos),
- (calendar_config_set_tag_vpane_pos):
- * gui/calendar-config.h:
- * gui/gnome-cal.c: (setup_config), (gnome_calendar_get_tag),
- (setup_widgets), (gnome_calendar_set_pane_positions),
- (gnome_calendar_hpane_realized): Removed code for tag calendar.
-
-2006-07-14 Arvind <sa.phoenix@gmail.com>
-
- ** Fix for bug#330633
- * gui/dialogs/event-page.c : Enabled save button when the timezone
- is changed from an existing meeting/appointment
-
- * gui/e-timezone-entry.c : prevented the shrinking of the timezone
- field when the timezone is set to the default timezone
-
-2006-06-14 Ushveen Kaur <kushveen@novell.com>
-
- ** Fixes bug #329772
-
- * gui/e-cal-model-tasks.c: function added to change status of a task
- as incomplete.
- * gui/e-cal-popup.c: status of task checked and changed to incomplete
- if option selected.
- * gui/e-cal-popup.h: E_CAL_POPUP_SELECT_COMPLETE added
- * gui/e-calendar-table.c: function added to mark the task in selected
- row as incomplete.
-
-2006-07-11 Li Yuan <li.yuan@sun.com>
-
- * gui/e-week-view.c: (e_week_view_remove_event_cb):
- remove week_view->comp_data first, since garray is not thread
- safe and the event's address may be changed.
- Fix for #345969.
-
-2006-07-11 Li Yuan <li.yuan@sun.com>
-
- * gui/dialogs/event-page.c: (sensitize_widgets):
- * gui/dialogs/event-page.glade:
- Add mnemonic widget to widget, and change calendar's shortcut key.
-
- Fix for #345510.
-
-2006-07-11 Li Yuan <li.yuan@sun.com>
-
- * gui/e-week-view.c: (e_week_view_focus):
- Fix for 345923.
- If there is not any event in week view,
- just grab week view itself.
-
-2006-07-10 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- * gui/e-day-view.c:(e_day_view_update_event_label)
- Added code for Day/Work Week view item, top border showing time
- (e_day_view_realize), (e_day_view_on_event_click),
- (e_day_view_on_long_event_click), (e_day_view_reshape_resize_long_event_rect),
- (e_day_view_reshape_resize_rect_item),(e_day_view_on_top_canvas_motion),
- (e_day_view_finish_resize),(e_day_view_abort_resize),
- (e_day_view_reshape_main_canvas_resize_bar):
- Added code for Resize Transparency with Cairo drawing.
-
- (e_day_view_on_text_item_event):
- Fixed crashes because of tooltip during editing and resize.
-
- * gui/e-day-view-main-canvas.c:
- (e_day_view_main_item_draw_day_event):
- Added code for Time displayed on resizing events and for Shadow
- Effect for item selection
-
-2006-07-10 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #332911
- * gui/apps_evolution_calendar.schemas.in.in:
- * gui/calendar-config-keys.h:
- * gui/calendar-config.c: (set_standard_offsets),
- (calendar_config_get_icaltimezone),
- (calendar_config_add_notification_timezone),
- (calendar_config_get_daylight_saving),
- (calendar_config_set_daylight_saving),
- (calendar_config_add_notification_daylight_saving):
- * gui/calendar-config.h:
- * gui/dialogs/cal-prefs-dialog.c: (timezone_changed),
- (daylight_saving_changed), (setup_changes), (show_config),
- (calendar_prefs_dialog_construct):
- * gui/dialogs/cal-prefs-dialog.glade:
- * gui/dialogs/cal-prefs-dialog.h: Added the support
- for optional daylight savings time with timezones.
-
-2006-07-08 Ushveen Kaur <kushveen@novell.com>
-
- Fixes #332230.
- * gui/memos-component.c:
- * gui/tasks-component.c:
- Fixes mnemonic conflicts in the "New" menu.
-
-2006-07-07 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/e-cal-model.c: (e_cal_model_set_instance_times):
- Handle the start_time_zone != end_time_zone scenario.
- Fixes bugzilla.novell.com #190421.
-
-2006-07-07 Wang Xin <jedy.wang@sun.com>
-
- Fixes #345222
-
- * gui/dialogs/alarm-dialog.c: (alarm_to_dialog),
- (alarm_to_malarm_widgets); (populate_widgets_from_alarm):
- Handle mail alarm.
-
-2006-06-30 Johnny Jacob <jjohnny@novell.com>
- * gui/cal-search-bar.c: (get_current_category),
- (get_category_sexp), (notify_e_cal_view_contains),
- (notify_category_is), (regen_query), (regen_view_query),
- (make_suboptions), (cal_search_bar_construct): Added/Removed code
- for new search ui.
- * gui/e-tasks.c: (search_bar_sexp_changed_cb):
- Added/Removed code for search ui.
-
-2006-06-28 Andre Klapper <a9016009@gmx.de>
-
- * gui/e-itip-control.glade: Adding translator comments to the
- "--to--" string. Removing three strings from translations.
- Fixes bug #325126.
-
-2006-06-28 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- **Fixes bug #329305
-
- *gui/dialogs/event-page.glade: Changed mnemonic Atte_ndees to
- Attendee_s
-
-2006-06-19 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/calendar-setup.c: (calendar_setup_edit_calendar):
- Remove GroupWise from the Calendar ESource Groups as it supports
- a single calendar only.
-
-2006-06-19 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/comp-editor.c (fill_widgets):
- Free GSList and its data after calling
- e_cal_component_get_attachment_list.
-
-2006-06-14 Arvind_evo <sa.phoenix@gmail.com>
-
- * gui/dialogs/event-page.c : Enabled save button when the group is
- changed from a previously saved meeting.
-
-2006-06-14 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/calendar-setup.c: (calendar_setup_edit_task_list):
- Remove GroupWise from the list Task ESource Groups as it supports
- a single Task list only. Fixes bug #176596 in bugzilla.novell.com.
-
-2006-06-14 Aishwarya k <aishkalyan@gmail.com>
-
- *Fix for bug #339217
- * gui/dialogs/cal-prefs-dialog.glade:
- Added translator comments for weekdays.
-
-2006-06-14 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/print.c: (evo_calendar_print_data_new),
- (evo_calendar_print_data_free),
- (evo_calendar_print_renderer_get_width), (get_font_size),
- (get_font_for_size), (print_text), (print_text_size),
- (print_text_size_bold), (titled_box), (print_month_small),
- (bound_text), (print_day_background), (print_day_long_event),
- (print_day_event), (print_day_details), (print_week_long_event),
- (print_week_day_event), (print_week_event),
- (print_week_view_background), (print_week_summary),
- (print_year_summary), (print_month_summary), (print_todo_details),
- (print_day_view), (print_week_view), (print_month_view),
- (print_year_view), (print_date_label), (print_comp_item),
- (print_calendar), (print_comp), (print_title), (print_table):
- Use the pango layout for printing. Do not use gnome_print_show
- as it is broken on i18n character set.
-
- Committing the patch from Dave Malcolm <dmalcolm@redhat.com>
- Fixed some compiler warnings.
-
-2006-06-12 Wang Xin <jedy.wang@sun.com>
-
- **Fixes bug #344630
- Change key confirm_expunge to confirm_purge.
- * gui/apps_evolution_calendar.schemas.in.in:
- * gui/migration.c:
-
-2006-06-12 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/alarm-notify/alarm-queue.c: (remove_queued_alarm),
- (alarm_trigger_cb), (tray_list_remove_async): Fixed atleast
- 6 crashes, that were in bnc.
-
-2006-06-08 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- ** Fixes bug #341961.
- * gui/dialogs/event-page.c: (event_page_fill_widgets):
- Removed unnecessary e_cal_component_clone.
-
-2006-06-05 Li Yuan <li.yuan@sun.com>
-
- * gui/dialogs/cal-prefs-dialog.glade:
- add labelled by relationship between label and e-timezone-entry.
- * gui/e-timezone-entry.c: (add_relation),
- (e_timezone_entry_set_timezone):
- add relationship between label and entry.
-
-2006-06-05 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fixed bug #268884
-
- * gui/e-calendar-table.c: (on_new_task): Added a new popup entry.
- * gui/e-tasks.c: (setup_widgets): Added a reference to table
-
-2006-06-01 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/Makefile.am, gui/dialogs/event-editor.c,
- gui/dialogs/task-editor.c: Remove redundant files
- meeting-page.[ch], cal-attachment.glade and references
- in includes.
-
-2006-05-25 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Added support to save calendar/events/attachments to remote
- shares in Calenda/Memo/Tasks components.
-
- * gui/dialogs/cal-attachment-select-file.c: (run_selector),
- (comp_editor_select_file_attachments):
- * gui/dialogs/comp-editor.c: (drop_action), (cab_add),
- (menu_insert_attachment_cb):
- * gui/e-cal-popup.c: (temp_save_part):
- * gui/e-calendar-table.c: (e_calendar_table_on_save_as):
- * gui/e-calendar-view.c: (on_save_as),
- (e_calendar_view_get_tooltips):
- * gui/e-memo-table.c: (e_memo_table_on_save_as):
-
-2006-05-23 Srinivasa Ragavan <sragavan@novell.com>
-
- More alarm fixes
-
- * gui/alarm-notify/alarm-notify-dialog.c: (dialog_response_cb),
- (notified_alarms_dialog_new), (tree_selection_changed_cb):
- * gui/alarm-notify/alarm-queue.c: (query_objects_changed_async),
- (free_tray_icon_data):
-
-2006-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
-
- **Fixes bug #331418
- * gui/memos-component.c: Set mnemonics in popup menu.
-
-2006-05-13 Harish Krishnaswamy <kharish@novell.com>
-
- Patch suggested by Yu-Hui Liu
- * conduits/todo/todo-conduit.c: (pre_sync):
- Check for timezone before passing the context.
-
-2006-04-20 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes the events appearing in different timezone appear in
- right time slot. Partially fixes #332911
- * gui/e-cal-model.c: (e_cal_model_set_instance_times):
- * gui/e-calendar-view.c: (get_label),
- (e_calendar_view_get_tooltips): Get the timezone from the backend
- using the tzid if its not present in the icalcomponent.
-
-2006-05-04 Rajeev Ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- Commited few pending cairo stuff. This adds a macro ENABLE_CAIRO to
- disable cairo for slow performing machines. Also added a patch to
- disable gradient and select foreground color based on the back ground
- color.
-
- * gui/apps_evolution_calendar.schemas.in.in:
- * gui/e-calendar-view.c:
- * gui/e-calendar-view.h:
- * gui/e-day-view-main-item.c: (e_day_view_main_item_draw),
- (e_day_view_main_item_draw_events_in_vbars),
- (e_day_view_main_item_draw_long_events_in_vbars),
- (e_day_view_main_item_draw_day_events),
- (e_day_view_main_item_draw_day_event):
- * gui/e-day-view-time-item.c: (e_day_view_time_item_draw):
- * gui/e-day-view-top-item.c: (e_day_view_top_item_draw),
- (e_day_view_top_item_draw_long_event),
- (e_day_view_top_item_draw_triangle):
- * gui/e-day-view.c: (e_day_view_get_text_color),
- (e_day_view_style_set), (e_day_view_reshape_long_event),
- (e_day_view_reshape_day_event):
- * gui/e-week-view-event-item.c: (e_week_view_event_item_draw),
- (e_week_view_draw_time), (e_week_view_event_item_draw_icons),
- (e_week_view_event_item_draw_triangle):
- * gui/e-week-view-main-item.c: (e_week_view_main_item_draw_day):
- * gui/e-week-view.c: (e_week_view_get_text_color),
- (e_week_view_reshape_event_span):
-
-2006-05-04 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/event-page.glade: Set mnemonic to
- L instead of the conflicting 'i'. Fixes #334056.
-
-2006-05-04 Chenthill Palanisamy <pchenthill novell com>
-
- Fixes #333689
- * gui/dialogs/event-page.c
- (init_widgets): Check if the units is -1 before
- adding the menu item.
-
-2006-05-02 Chenthill Palanisamy <pchenthill@novell.com>
-
- Committing change pointed by Li Yuan <Li.Yuan@Sun.COM>
-
- * gui/e-calendar-table.c: (e_calendar_table_delete_selected): Corrected
- argument passed to delete_component_dialog while deleting multiple
- tasks.
-
-2006-04-27 Tor Lillqvist <tml@novell.com>
-
- * gui/e-day-view-main-item.c
- (e_day_view_main_item_draw_long_events_in_vbars): Fix crash:
- Should use a GdkColor struct as such here, not a pointer.
-
- * gui/dialogs/event-editor.c (event_editor_init): Construct
- pathname to query-free-busy.png at run-time. Fixes Win32 build
- broken by the fix for #321832 below.
-
-2006-04-26 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fixes bug #328194
-
- * gui/dialogs/calendar-setup.c: Added mnemonics.
-
-2006-04-26 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #331510 from Victor
-
- * gui/cal-search-bar.h: Added a new flag for Memo Search
- * gui/e-memos.c: (setup_widgets): Initiate memo search.
-
-2006-04-26 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Patch from PR Suman to add icons missing in menu items.
-
- * gui/tasks-control.c: (tasks_control_activate): Added icon for
- forward task.
-
-2006-04-26 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Patch from PR Suman to add icons missing in menu items.
-
- * gui/dialogs/comp-editor.c: Added Attach icon to menu.
- * gui/dialogs/event-editor.c: Added free/busy and recurrence icons.
-
-2006-04-26 Srinivasa Ragavan <sragavan@novell.com>
-
- Cairo Updates from Rajeev. Now it draws a solid border around the
- event.
-
- * gui/e-day-view-main-item.c:
- (e_day_view_main_item_draw_day_event):
- * gui/e-day-view-top-item.c: (e_day_view_top_item_draw_long_event):
- * gui/e-week-view-event-item.c: (e_week_view_event_item_draw):
-
-2006-04-24 Srinivasa Ragavan <sragavan@novell.com>
-
- Cairo support for Calendar (Rajeev Ramanathan)
-
- * gui/apps_evolution_calendar.schemas.in.in: Added key for
- transparency control.
- * gui/e-calendar-view.c: (draw_curved_rectangle): A common code for
- drawing curved rectangles
- * gui/e-day-view-main-item.c: (e_day_view_main_item_draw),
- (e_day_view_main_item_draw_events_in_vbars),
- (e_day_view_main_item_draw_long_events_in_vbars),
- (e_day_view_main_item_draw_day_event): Used cairo to draw day view events.
- * gui/e-day-view-time-item.c:
- (e_day_view_time_item_get_column_width),
- (e_day_view_time_item_draw): Used cairo to draw day view time items.
- * gui/e-day-view-top-item.c: (e_day_view_top_item_draw),
- (e_day_view_top_item_draw_long_event),
- (e_day_view_top_item_draw_triangle): Used cairo to draw day view long events.
- * gui/e-day-view.c: (e_day_view_init), (e_day_view_destroy),
- (e_day_view_style_set),
- (e_day_view_reshape_main_canvas_resize_bars),
- (e_day_view_get_num_events_selected): Used cairo to draw day controls.
- * gui/e-day-view.h: Added a new font size variable
- * gui/e-week-view-event-item.c: (e_week_view_event_item_draw),
- (e_week_view_draw_time), (e_week_view_event_item_draw_icons),
- (e_week_view_event_item_draw_triangle): Used cairo to draw week view
- controls.
- * gui/e-week-view-main-item.c: (e_week_view_main_item_draw_day): Used
- cairo to draw week view events.
-
-2006-04-24 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #332409
- * gui/calendar-component.c: (setup_create_ecal): Reset the ecal to NULL.
- * gui/e-calendar-view.c:
- (e_calendar_view_new_appointment_for): If the default client does not
- exist do not open the dialog.
-
-2006-04-22 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/event-page.c (attendee_added_cb):
- Added the delfrom property to the delegatee. Fixes
- #165714 (bugzilla.novell.com)
-
-2006-04-22 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fixes bug #326434
-
- * gui/e-calendar-view.c: (e_calendar_view_move_tip),
- (e_calendar_view_get_tooltips): Added New function to move tooltip
- with respect to screen size.
- * gui/e-day-view.c: (e_day_view_on_text_item_event): move the tooltip
- * gui/e-week-view.c: (tooltip_event_cb),
- (e_week_view_on_text_item_event): Move the tooltip
-
-2006-04-22 Srinivasa Ragavan <sragavan@novell.com>
-
- Rewrite of Alarm daemon with EThread to make it thread safe. It also
- fixes a lot of random crashes.
-
- * gui/alarm-notify/alarm-notify.c: (process_removal_in_hash),
- (list_changed_cb), (load_calendars), (alarm_notify_init),
- (dequeue_client), (alarm_notify_finalize), (alarm_channel_setup),
- (alarm_msg_destroy), (alarm_msgport_replied), (alarm_msg_received),
- (alarm_notify_new), (cal_opened_cb), (alarm_notify_add_calendar),
- (alarm_notify_remove_calendar):
- * gui/alarm-notify/alarm-notify.h:
- * gui/alarm-notify/alarm-queue.c: (queue_midnight_refresh),
- (add_client_alarms_cb), (midnight_refresh_async),
- (midnight_refresh_cb), (remove_queued_alarm), (alarm_trigger_cb),
- (add_component_alarms), (load_alarms), (load_alarms_for_today),
- (cal_opened_cb), (remove_alarms), (remove_comp), (duplicate_ical),
- (duplicate_ecal), (query_objects_changed_async),
- (query_objects_changed_cb), (query_objects_removed_async),
- (query_objects_removed_cb), (create_snooze), (edit_component),
- (on_dialog_objs_removed_async), (on_dialog_objs_removed_cb),
- (tray_list_remove_cqa_async), (tray_list_remove_cqa),
- (tray_list_remove_async), (tray_list_remove_icons),
- (tray_list_remove_data_async), (tray_list_remove_data),
- (notify_dialog_cb), (open_alarm_dialog), (tray_icon_clicked_cb),
- (tray_list_add_async), (tray_list_add_new), (display_notification),
- (popup_notification), (audio_notification), (mail_notification),
- (procedure_notification_dialog), (procedure_notification),
- (check_midnight_refresh), (alarm_queue_init),
- (free_client_alarms_cb), (alarm_queue_done), (compare_ids),
- (hash_ids), (alarm_queue_add_async), (alarm_queue_add_client),
- (remove_cqa), (remove_comp_by_id), (remove_client_alarms),
- (alarm_queue_remove_async), (alarm_queue_remove_client),
- (update_cqa), (update_qa):
- * gui/alarm-notify/alarm.c: (alarm_remove):
-
-2006-02-16 Johnny Jacob <johnnyjacob@gmail.com>
-
- ** Fixes #330955
-
- * gui/e-memo-table.etspec : Change the column from summary to
- description.
- * gui/e-cal-model.c : (ecm_duplicate_value) : Dup value for
- description also.
- (e_cal_model_create_component_with_defaults) : create a memo
- component with defaults.
- * gui/e-cal-model-memos.c : (ecmm_is_cell_editable).
-
-2006-04-10 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #163039
- * gui/e-meeting-store.c: (ems_finalize), (ems_init),
- (process_callbacks), (refresh_busy_periods): Removed the
- async queue, updated the gui via the callback function in a
- idle loop as and when we receive the free busy information.
- (e_meeting_store_get_num_queries): Fixed a warning.
- * gui/e-meeting-store.h:
- * gui/e-meeting-time-sel.c:
- (e_meeting_time_selector_refresh_cb): Changed the return type of
- the function to return a boolean variable.
-
-2006-04-05 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #328808
- * gui/dialogs/event-editor.c:
- (event_editor_construct): Set the name selector dialog present in the schedule page
- in event page also.
- * gui/dialogs/event-page.[ch]
- (event_page_get_name_selector): Gets the name selector from the meeting list
- view.
- * gui/dialogs/schedule-page.[ch]
- (schedule_page_set_name_selector): Sets the name selector to the meeting
- list view.
- * gui/e-meeting-list-view.[ch]:
- (e_meeting_list_view_get_name_selector),
- (e_meeting_list_view_set_name_selector): Functions to get and set the name
- selector.
-
-2006-04-06 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-day-view.c: (e_day_view_on_main_canvas_motion):
- Enable drag and drop of recurring appointments.
-
-2006-04-06 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #162005
- * gui/comp-util.c: (cal_comp_is_on_server): Pass the recurrence
- id to find if the object is on the server.
-
-2006-04-05 Simon Zheng <simon.zheng@sun.com>
-
- Fixes bug #333704
- * gui/dialogs/comp-editor-util.c: (comp_editor_strip_categories):
- Because the passing text is in UTF-8 encoding, it should be traversed
- by utf-8 char order rather than one by one byte.
-
-2006-04-04 Irene Huang <Irene.Huang@sun.com>
-
- Fixes bug 335214
-
- * gui/e-cal-model.c: (e_cal_view_objects_added_cb):
- Call e_table_model_pre_change (E_TABLE_MODEL (model)); before
- deleting row.
-
-2006-04-03 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #158107
- * gui/dialogs/delete-comp.c: (delete_component_dialog),
- (cb_toggled_cb), (prompt_retract_dialog):
- * gui/dialogs/delete-comp.h:
- * gui/e-calendar-table.c: (add_retract_data), (check_for_retract),
- (e_calendar_table_delete_selected):
- * gui/e-calendar-view.c: (add_retract_data), (check_for_retract),
- (delete_event), (e_calendar_view_delete_selected_occurrence): Added
- retract support.
-
-2006-03-29 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #160357 [b.n.c]
- * gui/e-meeting-store.c:
- (ems_init): Initialize the num queries.
- (freebusy_async): maintain the num queries count.
- (refresh_busy_periods): Set the store to FreeBusy data.
- * gui/e-meeting-store.[ch]:
- (e_meeting_store_get_num_queries): Get the number of freebusy
- queries currently going on.
- * gui/e-meeting-time-sel-item.c:
- (e_meeting_time_selector_item_init): Added a busy cursor.
- (e_meeting_time_selector_item_destroy):
- * gui/e-meeting-time-sel-item.h: Added a busy cursor and a function
- to reset the normal cursor.
- * gui/e-meeting-time-sel.c:
- * gui/e-meeting-time-sel.h:
- (e_meeting_time_selector_construct): Get the main and top canvas items.
- (e_meeting_time_selector_refresh_cb): Set the normal cursor checking the number
- of FreeBusy queries.
- (e_meeting_time_selector_refresh_free_busy):Set the Busy cursor.
-
-2006-03-28 Jeff Cai <jeff.cai@sun.com>
-
- Fixes #333877
- * gui/e-meeting-list-view.c: (row_activated_cb):
- Use gtk_tree_selection_get_selected_rows instead of
- gtk_tree_selection_get_selected to get selected rows from
- a multi-row selection.
-
-2006-03-28 Harry Lu <harry.lu@sun.com>
-
- Fix for 333693.
- * gui/calendar-component.c: (update_task_selection): need to see if
- source is NULL to avoid a CRITICAL warning.
-
-2006-03-23 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #329502
- * gui/e-meeting-list-view.c: (attendee_edited_cb):
- Include MAILTO: with the email id while adding
- it to the list view.
- * gui/dialogs/task-page.c: (task_page_fill_widgets):
- add the organizer to the name selector dialog.
-
-2006-03-22 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #330842
- * gui/e-cal-model.c:
- (e_cal_view_objects_added_cb): Check if the icalcomp
- is set to ECalComponent.
-
-2006-03-22 Harry Lu <harry.lu@sun.com>
-
- Fix for 333697
- * gui/dialogs/task-page.c: (task_page_init), (sensitize_widgets):
- remove two useless widgets: sendoptions_frame and sendoptions_button.
-
-2006-03-22 Harry Lu <harry.lu@sun.com>
-
- Fix for 333706
-
- * gui/dialogs/alarm-dialog.c: (alarm_to_dalarm_widgets): call
- set_text only when description.value is not NULL.
-
-2006-03-20 Boby Wang <boby.wang@sun.com>
-
- ** Fix for bug #268584
-
- * gui/dialogs/cal-attachment-select-file.c: (run_selector):
- * gui/dialogs/cal-attachment.glade:
- set the accelerate key for "Suggest Suggest automatic display of
- attachment"
-
-2006-03-09 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #334003
- * gui/e-cal-model.c:
- (e_cal_model_set_instance_times): Use the timezone present in
- the appointment.
-
-2006-03-06 Veerapuram Varadhan <vvaradhan@novell.com>
-
- **Fixes #321832
- * gui/dialogs/event-editor.c: Pickup the right-icon for f/b.
- * gui/dialgos/Makefile.am: Define EVOLUTION_ICONSDIR to pickup f/b icon.
-
-2006-03-06 Simon Zheng <simon.zheng@sun.com>
-
- Fixes bug #332140
- * gui/dialogs/comp-editor.c: (get_attachment_list):
- * gui/e-cal-popup.c: (temp_save_part):
- Transfer filenames from utf-8 to glib encoding before really
- saving files.
-
-2006-03-06 Simon Zheng <simon.zheng@sun.com>
-
- Fixes #311482
- * gui/dialogs/comp-editor.c: (set_attachment_list): As uri is
- encaped ASCII-encoded, it can't be recognized when setting
- mime part. Use filename instead of uri.
-
-2006-03-06 Theppitak Karoonboonyanan <thep@linux.thai.net>
-
- ** Fixes bug #328988
-
- * gui/alarm-notify/util.c: (calculate_time):
- * gui/misc.c: (calculate_time): Added code to simplify the function
- calculate_time and made strings translatable.
-
-2006-03-06 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #330448
- * gui/e-meeting-list-view.c: (attendee_edited_cb): Remove
- attendees from the e-name-selector when its removed from
- meeting list view.
-
-2006-03-06 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #329353
- * gui/gnome-cal.c:
- (gnome_calendar_on_date_navigator_selection_changed): If the previous
- selection is not list view, set the view as month view.
-
-2006-03-04 Jeff Cai <jeff.cai@sun.com>
-
- Fixes #333234
- * gui/calendar-config.c: (calendar_config_get_primary_tasks),
- (calendar_config_get_primary_memos):
- Initialize calendar to ensure gconf_client is valid.
-
-2006-03-04 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #331089
- * gui/dialogs/event-page.c: (sensitize_widgets):
- Let the recurrence button in tool bar remain
- active always.
-
-2006-03-03 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #330448
- * gui/e-meeting-list-view.c: (attendee_edited_cb): Remove
- attendees from the e-name-selector when its removed from
- meeting list view.
-
-2006-03-03 Sam Yang <sam.yang@sun.com>
-
- Fixes #324560
- * gui/calendar-config.[ch]:
- (calendar_config_add_notification_preview_state): Request
- notification of changes to show_task_preview.
- * gui/e-tasks.c: (config_preview_state_changed_cb): Callback function.
- (setup_config): Send notification request and store connection ID.
-
-2006-02-17 Johnny Jacob <johnnyjacob@gmail.com>
-
- Fixes #312423, #329749
- * gui/dialogs/event-page.c: (sensitize_widgets): Enable/Disable
- based on read_only status.
- (alarm_store_changed_cb): Added. Changed signal handler for alarm list.
- * gui/dialogs/alamm-list-dialog.c: (edit_clicked_cb): Emit changed
- signal for alarm list.
-
-2006-02-28 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #332726
- * gui/dialogs/recur-comp.c: (recur_component_dialog): Dont
- remove the recurrence id, the backend would remove it.
-
-2006-02-23 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #330677
- * gui/itip-utils.c:
- (comp_content_type): Removed the content setting as text/plain.
- (itip_send_comp): Changed the reply all to FALSE.
- (reply_to_calendar_comp): Set the content type as text/plain.
-
-2006-02-15 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- * gui/dialogs/memo-page.glade: Changed the layout spacing of memo
- editor.
-
-2006-02-14 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- **Fixes #330374
-
- * gui/tasks-control.c: (tasks_control_complete_cmd): Added code
- to disable Edit->Mark as complete for completed events.
-
-2006-02-14 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- **Fixes #326477
-
- * gui/dialogs/task-page.glade: Changed size of the new task popup
- window to display Status Details in its default size.
-
-2006-02-14 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- **Fixes #325935
-
- * gui/dialogs/task-page.c: (source_changed_cb): Added code to
- enable Save button if group is changed in task editor
-
-2006-02-14 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #330931 #331029
-
- * gui/e-calendar-view.c: (e_calendar_view_get_tooltips):
-
-2006-02-13 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/task-page.c: (sensitize_widgets):
- sensitize should be initialized to TRUE since it is
- being ANDed to compute sens.
- Fixes #330957 and #330958.
-
-2006-02-13 Karsten Bräckelmann <guenther@rudersport.de>
-
- * calendar.error.xml: Added mnemonics. Fixes bug #330933.
-
-2006-02-12 Karsten Bräckelmann <guenther@rudersport.de>
-
- * gui/dialogs/recurrence-page.c (make_recur_month_num_menu):
- Marked strings for translation. Fixes bug #330863.
-
-2006-02-12 Andre Klapper <a9016009@gmx.de>
-
- * gui/dialogs/recurrence-page.glade:
- * gui/dialogs/recurrence-page.c:
- added translator comments for some occurrences of heavy sentence
- splitting. Hopefully fixes bug 329695.
-
-2006-02-11 Andre Klapper <a9016009@gmx.de>
- * gui/dialogs/recurrence-page.c:
- * gui/alarm-notify/util.c:
- * gui/misc.c:
- adding translator comments to "second" strings to distinguish
- ordinal numbers and time divisions. Fixes bug 328988.
-
-2006-02-11 Karsten Bräckelmann <guenther@rudersport.de>
-
- * gui/dialogs/comp-editor.c (setup_widgets):
- * gui/e-memo-table.c (e_memo_table_init):
- * gui/e-calendar-table.c (e_calendar_table_init):
- Change a11y names and add description. Fixes part of bug #330723.
-
-2006-02-10 Karsten Bräckelmann <guenther@rudersport.de>
-
- * gui/e-timezone-entry.c (e_timezone_entry_init): Correct the a11y
- string for the Timezone button to not include its role and to be
- more descriptive, fixes bug #330712.
-
-2006-02-12 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #329570
- * gui/e-calendar-view.c: (on_unrecur_appointment):
- Just remove the instances pass the rid. The exception
- date will be set in the backend.
-
-2006-02-09 Johnny Jacob <johnnyjacob@gmail.com>
-
- Fixes #330521
- * gui/dialogs/alarm-dialog.c: (alarm_to_aalarm_widgets),
- (alarm_to_palarm_widgets): use icalattach_unref.
-
-2006-02-09 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/e-cal-model.c: (e_cal_view_objects_added_cb):
- Pass the client along with the id for search to handle
- cases where the same backend source has multiple clients
- in the view. Remove the FIXME.
-
-2006-01-09 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- Fixes #329768
- * gui/dialogs/comp-editor.c: (key_press_event): Corrected problem with
- casting EAttachmentBar.
-
-2006-02-09 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #330465
- * gui/dialogs/event-page.c: (event_page_fill_widgets): Fixes the build
- break.
-
-2006-02-08 Tor Lillqvist <tml@novell.com>
-
- * gui/dialogs/task-editor.c (task_editor_init): Construct the
- pathname to the xml file at run-time to avoid using compile-time
- paths on Windows.
-
-2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/alarm-notify/alarm-notify-dialog.c:
- (add_alarm_to_notified_alarms_dialog):
- * gui/alarm-notify/alarm-queue.c: (remove_queued_alarm),
- (open_alarm_dialog), (menu_item_toggle_callback), (populate):
- * gui/alarm-notify/alarm.c: (pop_alarm), (alarm_remove):
- * gui/alarm-notify/config-data.c:
- (config_data_replace_string_list):
- * gui/cal-search-bar.c: (regen_query):
- * gui/calendar-view-factory.c:
- * gui/calendar-view.c:
- * gui/comp-editor-factory.c: (edit_existing),
- (resolve_pending_requests), (impl_editExisting), (impl_editNew):
- * gui/control-factory.c:
- * gui/dialogs/cal-attachment-select-file.c:
- (comp_editor_select_file_attachments):
- * gui/dialogs/calendar-setup.c: (eccp_get_source_type):
- * gui/dialogs/comp-editor.c: (comp_editor_class_init),
- (commit_all_fields), (delete_event_cb), (editor_key_press_event),
- (menu_file_save_cb), (menu_file_close_cb), (make_icon_from_comp),
- (comp_editor_focus), (needs_send_cb):
- * gui/dialogs/delete-comp.c: (delete_component_dialog):
- * gui/dialogs/e-delegate-dialog.c:
- * gui/dialogs/event-editor.c:
- * gui/dialogs/event-page.c: (event_page_fill_widgets),
- (popup_delete_cb), (list_key_press):
- * gui/dialogs/meeting-page.c: (remove_clicked_cb),
- (popup_delete_cb), (button_press_event), (list_key_press),
- (meeting_page_construct):
- * gui/dialogs/memo-editor.c: (init_widgets),
- (memo_editor_set_e_cal), (memo_editor_edit_comp),
- (memo_editor_send_comp):
- * gui/dialogs/memo-page.c:
- * gui/dialogs/recurrence-page.c: (fill_exception_widgets),
- (exception_add_cb):
- * gui/dialogs/schedule-page.c: (clear_widgets),
- (schedule_page_fill_component):
- * gui/dialogs/task-details-page.c:
- (task_details_page_fill_timezones), (complete_date_changed):
- * gui/dialogs/task-editor.c:
- * gui/dialogs/task-page.c: (task_page_fill_widgets),
- (popup_delete_cb), (list_key_press):
- * gui/e-alarm-list.c: (get_alarm_string):
- * gui/e-cal-component-memo-preview.c: (write_html):
- * gui/e-cal-component-preview.c: (write_html):
- * gui/e-cal-list-view-config.c:
- (e_cal_list_view_config_set_property),
- (e_cal_list_view_config_get_property),
- (e_cal_list_view_config_dispose):
- * gui/e-cal-list-view.c:
- * gui/e-cal-model-calendar.c: (ecmc_value_at):
- * gui/e-cal-model-memos.c: (ecmm_value_at):
- * gui/e-cal-model-tasks.c: (get_due_status), (ecmt_value_at),
- (ecmt_set_value_at), (ecmt_is_cell_editable),
- (ecmt_value_is_empty), (e_cal_model_tasks_mark_task_complete),
- (e_cal_model_tasks_update_due_tasks):
- * gui/e-cal-model.c: (get_classification),
- (ecm_get_color_for_component), (e_cal_model_set_default_client),
- (e_cal_view_objects_modified_cb), (e_cal_model_add_client),
- (e_cal_model_remove_client), (e_cal_model_set_instance_times):
- * gui/e-cal-popup.c: (ecalp_part_popup_saveas):
- * gui/e-calendar-table-config.c:
- (e_calendar_table_config_set_property),
- (e_calendar_table_config_get_property),
- (e_calendar_table_config_dispose):
- * gui/e-calendar-table.c: (e_calendar_table_class_init):
- * gui/e-calendar-table.h:
- * gui/e-calendar-view.c: (e_calendar_view_set_property),
- (e_calendar_view_get_property), (open_event_with_flags),
- (e_calendar_view_get_tooltips):
- * gui/e-cell-date-edit-config.c:
- (e_cell_date_edit_config_set_property),
- (e_cell_date_edit_config_get_property),
- (e_cell_date_edit_config_dispose):
- * gui/e-cell-date-edit-text.c:
- * gui/e-comp-editor-registry.c:
- * gui/e-date-edit-config.c: (e_date_edit_config_set_property),
- (e_date_edit_config_get_property), (e_date_edit_config_dispose):
- * gui/e-day-view-config.c: (e_day_view_config_set_property),
- (e_day_view_config_get_property), (e_day_view_config_dispose):
- * gui/e-day-view-main-item.c: (e_day_view_main_item_set_arg),
- (e_day_view_main_item_draw_day_event),
- (e_day_view_main_item_event):
- * gui/e-day-view-time-item.c: (e_day_view_time_item_set_arg),
- (e_day_view_time_item_get_column_width):
- * gui/e-day-view-top-item.c: (e_day_view_top_item_set_arg),
- (e_day_view_top_item_draw_long_event),
- (e_day_view_top_item_draw_triangle), (e_day_view_top_item_event):
- * gui/e-day-view.c: (process_component), (e_day_view_style_set),
- (e_day_view_recalc_cell_sizes), (e_day_view_foreach_event),
- (e_day_view_reshape_resize_long_event_rect_item),
- (e_day_view_update_long_event_resize), (e_day_view_update_resize),
- (e_day_view_reshape_long_event), (e_day_view_reshape_day_event),
- (e_day_view_change_duration_to_start_of_work_day),
- (tooltip_destroy), (e_day_view_on_text_item_event),
- (e_day_view_on_editing_stopped):
- * gui/e-itip-control.c: (e_itip_control_class_init),
- (find_cal_opened_cb), (find_server), (set_date_label),
- (ok_clicked_cb):
- * gui/e-meeting-attendee.c:
- * gui/e-meeting-list-view.c:
- (e_meeting_list_view_remove_attendee_from_name_selector):
- * gui/e-meeting-store.c: (role_to_text), (partstat_to_text),
- (e_meeting_store_set_value):
- * gui/e-meeting-time-sel-item.c:
- (e_meeting_time_selector_item_set_arg),
- (e_meeting_time_selector_item_paint_all_attendees_busy_periods):
- * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct),
- (e_meeting_time_selector_recalc_date_format):
- * gui/e-memo-table-config.c: (e_memo_table_config_set_property),
- (e_memo_table_config_get_property), (e_memo_table_config_dispose):
- * gui/e-memo-table.c: (e_memo_table_class_init), (task_compare_cb):
- * gui/e-memos.c: (update_view), (backend_error_cb), (open_ecal):
- * gui/e-mini-calendar-config.c:
- (e_mini_calendar_config_set_property),
- (e_mini_calendar_config_get_property),
- (e_mini_calendar_config_dispose):
- * gui/e-pub-utils.c: (is_publish_time), (e_pub_publish):
- * gui/e-tasks.c: (process_completed_tasks), (backend_error_cb):
- * gui/e-timezone-entry.c: (e_timezone_entry_destroy):
- * gui/e-week-view-config.c: (e_week_view_config_set_property),
- (e_week_view_config_get_property), (e_week_view_config_dispose):
- * gui/e-week-view-event-item.c: (e_week_view_event_item_draw),
- (e_week_view_event_item_draw_icons):
- * gui/e-week-view-main-item.c: (e_week_view_main_item_set_arg):
- * gui/e-week-view-titles-item.c: (e_week_view_titles_item_set_arg),
- (e_week_view_titles_item_draw):
- * gui/e-week-view.c: (process_component), (tooltip_destroy),
- (tooltip_event_cb), (e_week_view_reshape_event_span),
- (e_week_view_on_text_item_event), (e_week_view_event_move),
- (e_week_view_on_editing_stopped), (e_week_view_do_key_press):
- * gui/gnome-cal.c: (dn_e_cal_view_objects_modified_cb),
- (dn_e_cal_view_done_cb), (table_selection_change_cb),
- (gnome_calendar_goto), (focus_current_view), (backend_error_cb),
- (gnome_calendar_set_selected_time_range),
- (gnome_calendar_get_current_time_range),
- (gnome_calendar_get_visible_time_range),
- (gnome_calendar_delete_selected_occurrence):
- * gui/goto.c: (goto_dialog):
- * gui/itip-utils.c: (comp_fb_normalize):
- * gui/memos-component.c: (create_new_memo),
- (impl_requestCreateItem):
- * gui/migration.c: (migrate_memos):
- * gui/print.c: (print_month_small), (print_day_details),
- (print_todo_details), (print_comp_item):
- * gui/tasks-component.c: (create_new_todo),
- (impl_requestCreateItem):
- * gui/weekday-picker.c: Cleanups:
- - remove unused vars
- - remove extraneous semi-colons
- - add some comments where assignments were done without using
- the results later
- - remove break; statements after return foo;
- - add casts in some places to be more type correct
- - rename variables with name clashes
- - s/if/ifdef in some cases
- - mark some code static
- - remove some unused functions
- - use guint for 1-bit bitfields
-
-2006-02-01 Johnny Jacob <johnnyjacob@gmail.com>
-
- ** Fixes #326997
- * gui/dialogs/event-page.c (sensitize_widgets):
- set/unset the editability of description.
-
-2006-01-17 Ranjan Somani <sranjan@novell.com>
-
- ** Fixes #322009
- * gui/e-meeting-time-sel.c: line 431: Changed Label "Contacts..." to "Attendees..."
-
-2006-01-06 Johnny Jacob <johnnyjacob@gmail.com>
-
- ** Fixes #325941
-
- * gui/dialogs/event-page.c (sensitize_widgets) : Handle the
- sensitivity of hour_selector and minute_selector.
-
-2006-01-31 Johnny Jacob <johnnyjacob@gmail.com>
-
- ** Fixes #327723
-
- * gui/dialogs/event-page.c (init_widgets): Handle the
- delete-event for alarm dialog.
-
-2006-01-31 Oswald Rodrigues <ozzy_rodrigues@yahoo.com>
-
- ** Fixes #328515
-
- * gui/dialogs/comp-editor.c (attachment_bar_changed_cb):Changed Attachment
- bar behaivour to expand when attachment is present and collapse when no
- attachment is present.
-
-2006-02-03 Johnny Jacob <johnnyjacob@gmail.com>
-
- ** Fixes bug #329775
-
- * gui/dialogs/task-editor.c (task_editor_construct): Handle
- delete-event signal for task_details_window.
-
-2006-02-05 Karsten Bräckelmann <guenther@rudersport.de>
-
- * gui/dialogs/event-page.glade: Correct typo, fixes bug #329748.
-
-2006-01-31 Tor Lillqvist <tml@novell.com>
-
- * gui/alarm-notify/alarm-queue.c (open_alarm_dialog,
- tray_icon_clicked_cb): Fix compilation against HEAD gtk and on
- Win32, where we use the GtkStatusIcon API and there is no
- tray_image variable.
-
-2006-01-31 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/cal-prefs-dialog.c: (show_alarms_config):
- Show the widget.
-
-2006-01-30 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/e-week-view.c : Reverting Chakravarthi's
- commit on Jan 17 to fix miscellaneous problems
- manifesting in the week/month views.
-
-2006-01-30 Johnny Jacob <johnnyjacob@gmail.com>
-
- * gui/dialogs/event-page.c: (sensitize_widgets),
- (alarm_changed_cb):
- * gui/dialogs/event-page.glade:
- * gui/dialogs/task-page.c: (sensitize_widgets):
- * gui/dialogs/task-page.glade:
-
- Fixed the page layouts as per HIG spacing.
-
-2006-01-30 Johnny Jacob <johnnyjacob@gmail.com>
-
- Fixes #328285
- * gui/dialogs/memo-page.c (widget_focus_out_cb),
- (widget_focus_out_cb) : Added. Handle focus in and out
- events.
- (init_widgets): Connect focus in and out signals for
- memo_content .
-
- Committed to HEAD on behalf of johnny since he does not
- have commit rights - partha
-
-2006-01-18 Johnny Jacob <johnnyjacob@gmail.com>
-
- Fixes #225816
- * gui/dialogs/alatm-list-dialog.glade : Added edit button.
- * gui/dialogs/alarm-list-dialog.c (init_widgets), (get_widgets) :
- Get and connect signals for edit button.
- (sensitize_buttons) : Handle the sesitivity of edit button.
- (edit_clicked_cb) : Added. Handle edit button click event.
- * gui/dialogs/alarm-dialogs.c (populate_widgets) : Added. Extract data
- from alarm and fill in the widgets.
- (alarm_to_repeat_widgets): Added. Alarm data to repeat widgets.
- (alarm_to_aalarm_widgets): Added. Alarm data to audio alarm widgets.
- (alarm_to_dalarm_widgets): Added. Alarm data to display alarm widgets.
- (alarm_to_palarm_widgets): Added. Alarm data to procedure alarm widgets.
- (alarm_to_dialog): call populate_widgets.
-
-2006-01-28 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- ** Fixes Bug #327347
-
- * calendar/gui/dialogs/cal-prefs-dialog.glade:
- Changed W_eek starts mnemonic to Wee_k starts on and added a
- translation string to that.
-
-2006-01-30 Johnny Jacob <johnnyjacob@gmail.com>
-
- Fixes #327344
- * gui/dialogs/cal-prefs-dialog.c: (cal_prefs_dialog_create_time_edit):
- Show date edit component.
- * gui/main.c: (factory): changed gtk_widget_ahow_all to
- gtk_widget_show.
-
-2006-01-29 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- ** Fixes Bug #327304
-
- * gui/calendar-commands.c :Next" and "Previous" buttons in toolbar for
- calendar and mail are made same.
-
-2006-01-28 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
-
- ** Fixes bug #328510, #328885
-
- * calendar.error.xml: Added error for saving memos.
- * gui/dialogs/event-editor.c: (menu_class_public_cb),
- (menu_class_private_cb), (menu_class_confidential_cb):
- Added change notification for event page.
- * gui/dialogs/memo-editor.c: (menu_show_categories_cb),
- (menu_class_public_cb), (menu_class_private_cb),
- (menu_class_confidential_cb), (memo_editor_init),
- (memo_editor_construct), (memo_editor_set_e_cal),
- (memo_editor_finalize): Added menus to memo.
- * gui/dialogs/memo-page.c: (memo_page_init), (memo_page_finalize),
- (set_classification_menu), (memo_page_get_widget),
- (memo_page_focus_main_widget), (clear_widgets),
- (memo_page_set_classification), (sensitize_widgets),
- (memo_page_fill_widgets), (memo_page_fill_component),
- (memo_page_set_show_categories), (get_widgets),
- (categories_clicked_cb), (field_changed_cb), (source_changed_cb),
- (init_widgets), (memo_page_construct), (memo_page_new): Added code to
- handle memos.
- * gui/dialogs/memo-page.glade:
- * gui/dialogs/memo-page.h:
- * gui/dialogs/save-comp.c: (save_component_dialog):
- * gui/dialogs/task-editor.c: (menu_class_public_cb),
- (menu_class_private_cb), (menu_class_confidential_cb): Added code to
- change notification for task page.
-
-2006-01-27 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/dialogs/alarm-list-dialog.c (get_widgets),
- (alarm_list_dialog_run), (alarm_list_dialog_peek): Added a function to
- peek parts of a dialog.
- * gui/dialogs/alarm-list-dialog.glade: Changed the layout of the alarm
- dialog.
- * gui/dialogs/event-page.c (event_page_init), (clear_widgets),
- (sensitize_widgets), (event_page_fill_widgets),
- (event_page_fill_component), (get_widgets), (alarm_changed_cb),
- (alarm_store_inserted_cb), (alarm_store_deleted_cb),
- (alarm_custom_clicked_cb), (init_widgets): Added code to handle the
- new alarm dialog layout.
- * gui/dialogs/event-page.glade: Changed the alarm dialog layout.
-
-2006-01-23 Tino Meinen <a.t.meinen@chello.nl>
- Fixes #325831
- * calendar.error.xml: Corrected a grammatical error in a message
- for saving changed appointments, and changed the corresponding
- message for tasks correspondingly
-
-2006-01-25 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/alarm-notify/alarm-queue.c: (popup_notification):
- Removed the unsed variable filename. Do not set the icon
- from pixbuf. Just pass the icon name to notification_new.
-
-2006-01-25 Srinivasa Ragavan <sragavan@novell.com>
-
- Fixes #325762
- * gui/alarm-notify/alarm-notify.c: (process_removal_in_hash),
- (list_changed_cb), (load_calendars), (alarm_notify_init):
- * gui/alarm-notify/alarm-queue.c: (open_alarm_dialog),
- (tray_icon_clicked_cb), (icon_activated), (tray_icon_blink_cb),
- (display_notification), , (alarm_queue_init),
- (alarm_queue_remove_client):
- * gui/dialogs/cal-prefs-dialog.c: (alarms_selection_changed),
- (setup_changes), (initialize_selection), (show_alarms_config),
- (show_config), (calendar_prefs_dialog_construct):
- * gui/dialogs/cal-prefs-dialog.glade:
- * gui/dialogs/cal-prefs-dialog.h: The alarms icon is show in the
- notification tray only when there is an alarm. The selection
- of calendars for alarms is moved to preferences.
-
-2006-01-25 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #327879
-
- * gui/dialogs/recurrence-page.c: (clear_widgets):
- Use make_ending_special to fill the ending fields
- properly.
-
-2006-01-24 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #323700
- * gui/gnome-cal.c:
- (gnome_calendar_on_date_navigator_selection_changed),
- (gnome_calendar_purge): For clients which have no master object
- for recurrences need not call generate instances. Pass the
- recurrence id to remove the detached instances.
-
-2005-09-17 Jon Ander Hernandez <hernandez@movimage.com>
-
- ** Fixes bug #313118
-
- * calendar/gui/alarm-notify/alarm-notify-dialog.c
- (add_alarm_to_notified_alarms_dialog): Don't use mark-up for
- translatable strings.
-
-2006-01-24 Andre Klapper <a9016009@gmx.de>
-
- * gui/dialogs/meeting-page.c: removed surrounding
- markup. Fixes bug 313120. Committing on behalf of
- Pablo Arroyo.
-
-2006-01-23 Andre Klapper <a9016009@gmx.de>
-
- * gui/e-day-view-time-item.c: added translator comment
- to a string. Fixes bug 328006.
-
-2006-01-23 Andre Klapper <a9016009@gmx.de>
-
- * gui/print.c: added translator comments to workday
- abbreviations. Fixes bug 328007.
-
-2006-01-23 Pavithran <pavithran@gmx.de>
-
- ** Fixes bug #327713 , #327730
-
- * gui/dialogs/event-editor.c: (event_editor_construct):
- * gui/dialogs/task-editor.c: (task_editor_construct):
- Removes extra seperator.
-
-2006-01-23 Irene Huang <Irene.Huang@sun.com>
-
- Fixes #327958
-
- * gui/e-calendar-view.c: (e_calendar_view_get_tooltips):
- Check if ptr==NULL, for special occassion with SunOne
- accouts.
-
-2006-01-16 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #326478
- * gui/dialogs/cal-prefs-dialog.c: (spec_from_picker),
- (tasks_due_today_set_color), (tasks_overdue_set_color),
- (set_color_picker):
- * gui/dialogs/cal-prefs-dialog.glade: Changed the gtk color
- button to gnome color picker.
-
-2006-01-20 Andre Klapper <a9016009@gmx.de>
- * gui/dialogs/task-page.c (field_changed_cb):
- Removed wrong parameter to be able compile again.
-
-2006-01-17 Johnny Jacob <johnnyjacob@gmail.com>
-
- * gui/dialogs/event-page.c (edit_button_cb): Added.
- edit the selected attendee.
- (sensitize_widgets): enable/disable edit button and
- Attendee list view.
- (button_press_event): don't popup the menu if editing is
- disabled.
- (get_widgets): get and connect signals for edit button
-
-2006-01-19 Johnny Jacob <johnnyjacob@gmail.com>
-
- Fixes #327487
- * gui/dialogs/cal-prefs-dialog.c (default_reminder_units_changed),
- (time_divisions_changed), (week_start_day_changed) : Use
- e_dialog_combo_box functions to access the widgets.
- (default_reminder_interval_changed): Hack to update the spin
- button value
-
-2006-01-19 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #327293
- * gui/dialogs/event-editor.c: (window_delete_event),
- (event_editor_construct): handle delete event to just
- hide the window.
-
-2006-01-17 P S Chakravarthi <pchakravarthi@novell.com>
-
- * gui/e-week-view.c : added some code in e_week_view_on_button_press ()
- to handle double click on an event in week and month view.
-
-2006-01-16 Johnny Jacob <johnnyjacob@gmail.com>
-
- * gui/dialogs/event-page.c (edit_button_cb): Added.
- edit the selected attendee.
- (sensitize_widgets) : enable/disable edit button and
- Attendee list view.
- (button_press_event) : don't popup the menu if editing is
- disabled.
- (get_widgets) : get and connect signals for edit button
- * gui/e-meetings-list-view.ch (e_meeting_list_view_set_editable ) :
- Added. set/unset the editable property of list view.
-
-2006-01-16 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/calendar-component.c: (impl__get_userCreatableItems):
- * gui/memos-component.c: (impl__get_userCreatableItems):
- * gui/tasks-component.c: (impl__get_userCreatableItems):
- remove shortcut keys (UI Hackfest -
- See http://go-evolution.org/Shortcut_Keys_Review).
-
-2006-01-16 Srinivasa Ragavan <sragavan@novell.com>
-
- Fixes #324739
- * gui/e-calendar-view.c: (tooltip_grab),
- (e_calendar_view_get_tooltips):
- * gui/e-day-view.c: (e_day_view_convert_event_coords),
- (e_day_view_on_time_canvas_scroll), (tooltip_get_view_event),
- (tooltip_destroy), (e_day_view_on_text_item_event),
- (e_day_view_on_editing_stopped):
- * gui/e-week-view.c: (e_week_view_on_scroll), (tooltip_destroy),
- (tooltip_event_cb), (e_week_view_on_text_item_event),
- (e_week_view_on_editing_stopped):
-
-2006-01-16 Chenthill Palanisamy <pchenthill@novell.com>
-
- Patch submitted by Sebastien Bacher <seb128@debian.org>
-
- Fixes #325629
- * gui/alarm-notify/alarm-queue.c: (popup_notification): Use the new
- apis in libnotify.
-
-2006-01-16 P S Chakravarthi <pchakravarthi@novell.com>
-
- Fixes #324816 #324889
-
- * gui/alarm-notify/alarm-queue.c : menu_item_toggle_callback :
- revised the code to use only e_source_group_add_source and
- e_source_group_remove_source alone to update gconf rather than
- explicit updating of the gconf xml
- [along with a patch in e-source-list.c]
-
-
-2006-01-16 P S Chakravarthi <pchakravarthi@novell.com>
-
- Minor Feature: Reply and Reply all for calendar items of clients
- that support such facility (personal, exchange).
-
- * gui/e-cal-popup.[ch] : added a definition for
- E_CAL_POPUP_SELECT_NOSAVESCHEDULES which separates out calendar items
- of clients without the static capability of saving schedules.
- * gui/itip-utils.c:
- reply_to_calendar_comp (), html_new_lines_for (): added.
- comp_to_list (): added another boolean parameter called reply_all which
- indicates if reply to everyone is wanted or not.
- added code for E_CAL_COMPONENT_METHOD_REPLY
- itip_get_comp_attendee () : added code for E_CAL_COMPONENT_METHOD_REPLY
- comp_content_type () : added code for E_CAL_COMPONENT_METHOD_REPLY
- * gui/e-calendar-view.c on_reply (), on_reply_all (): added.
- modified E_CAL_POPUP_* menu items to include Reply and Reply All
-
-
-2006-01-16 P S Chakravarthi <pchakravarthi@novell.com>
-
- Fixes a crash in alarm-daemon on selecting "Quit" in panel options
- * gui/alarm-notify/alarm-queue.c (remove_client_alarms):
- Removed the code loops through a list of ids generated.
- used g_hash_table_foreach instead.
- * gui/alarm-notify/alarm-queue.c (add_id_cb) : removed.
- * gui/alarm-notify/alarm-queue.c (remove_comp_by_id) : added
- * gui/alarm-notify/alarm-queue.c (alarm_queue_add_client) :
- replaced g_str_equal with g_direct_equal in g_hash_table_new
- to consider structure pointers rather than strings for keys.
-
-
-2006-01-13 Johnny Jacob <johnnyjacob@gmail.com>
-
- Fixes #213660
- * gui/dialogs/alarm-dialog.c (check_custom_sound):
- Save the directory path in gconf.
- (action_selection_done_cb) : Read from gconf and set
- the default path for the file entry.
- * gui/dialogs/calendar-config.ch (calendar_config_set_dir): Added.
- save the path in gconf.
- (calendar_config_get_dir_path): Added. Retrive the path from gconf.
-
-2006-01-13 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #320101
- * gui/e-select-names-editable.c:
- (e_select_names_editable_get_emails),
- (e_select_names_editable_get_names): Append the list of email ids
- and names.
-
-2006-01-13 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #311888
- * gui/dialogs/recurrence-page.c: (recurrence_page_set_dates):
- Set the selection based on the start date of the appointment.
-
-2006-01-13 Johnny Jacob <johnnyjacob@gmail.com>
-
- * gui/dialogs/comp-editor-page.c: (comp_editor_page_class_init),
- (comp_editor_page_unset_focused_widget),
- (comp_editor_page_set_focused_widget):
- * gui/dialogs/comp-editor-page.h:
- * gui/dialogs/comp-editor.c: (menu_edit_copy_cb),
- (menu_edit_paste_cb), (menu_edit_selectall_cb), (menu_edit_cut_cb),
- (comp_editor_init), (comp_editor_append_page),
- (page_focus_out_widget_cb), (page_focus_in_widget_cb):
- * gui/dialogs/event-page.c: (widget_focus_in_cb),
- (widget_focus_out_cb), (init_widgets):
- * gui/dialogs/task-page.c: (widget_focus_in_cb),
- (widget_focus_out_cb), (init_widgets): Implementation for the edit button.
-
-2006-01-13 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #313112
- * gui/e-calendar-view.c: (on_unrecur_appointment):
- Remove the old instance if its a detached instance.
-
-2006-01-13 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #259505
- * gui/gnome-cal.c:
- (gnome_calendar_on_date_navigator_selection_changed): Check
- the previous selection before setting the view.
-
-2006-01-13 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #271810
- * gui/dialogs/comp-editor.c: (comp_editor_class_init), (save_comp):
- * gui/dialogs/comp-editor.h: Added to signal to indicate the object
- has been created.
- * gui/e-calendar-view.c: (user_created_cb),
- (open_event_with_flags): Emit the user_created signal if object
- is created to ensure the calendar is selected.
-
-2006-01-13 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fixes bug #274234
-
- * gui/e-week-view-main-item.c: (e_week_view_main_item_draw_day): Bolds
- the date if drawing Today.
- * gui/gnome-cal.c (gnome_calendar_goto)
- (gnome_calendar_on_date_navigator_selection_changed): Call the parent
- views to update the selection.
-
-2006-01-13 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #271541
- * calendar.error.xml: Added a new message for displaying
- error message while trying to create a new event in read only
- calendars
- * gui/e-calendar-view.c: (e_calendar_view_new_appointment_for):
- Run the error dialog using the message.
-
-2006-01-13 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #326735
- * gui/dialogs/event-page.c: (event_page_fill_widgets): If
- the user is not the organizer, set the orignal organizer in
- the combobox and make it non-editable.
-
-2006-01-12 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/GNOME_Evolution_Calendar.server.in.in:
-
- Changes accels for Calendar (C+F3 -> C+3), Tasks (C+F4 ->C+4) and
- Memo (C+F6 to C+5).
-
-2006-01-12 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/gnome-cal.c: (gnome_calendar_class_init):
- Re-define keyboard shortcuts for switching between views.
- UI Hackfest - Refer http://go-evolution.org/Shortcut_Keys_Review
-
-2006-01-10 Simon Zheng <simon.zheng@sun.com>
-
- * gui/calendar-component.c: (calendar_component_peek):
- * gui/calendar-config.c:
- * gui/e-cal-model-tasks.c:
- * gui/e-cal-popup.c:
- * gui/e-cell-date-edit-text.c:
- * gui/e-meeting-store.c:
- * gui/memos-component.c: (memos_component_peek):
- * gui/print.c:
- * gui/tasks-component.c: (tasks_component_peek):
- Use e_util_mkdir_hier() instead of e_mkdir_hier().
-
- Use e_util_strstrcase() instead of e_strstrcasea().
-
- use e_strftime() in evolution-data-server/
- libedataserver/e-data-server-util.c instead of the copy in
- evolution/e-util/e-util.c.
-
- use e_filename_make_safe() in evolution-data-server/
- libedataserver/e-data-server-util.c instead of the copy in
- evolution/e-util/e-util.c.
-
- use e_utf8_strftime() in evolution-data-server/
- libedataserver/e-data-server-util.c instead of the copy in
- evolution/e-util/e-util.c.
-
-2006-01-08 Tor Lillqvist <tml@novell.com>
-
- * gui/migration.c: Bypass most of this file on Win32, as there are
- no 1.x installations on Win32 to migrate from. Use
- g_filename_to_uri() in a couple places instead of just prefixing
- file://.
-
-2006-01-08 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/dialogs/alarm-dialog.glade: Added code to hscroll the custom
- message of alarm. Fixes bug #325446
-
- * gui/dialogs/task-page.glade: Added code to expand the description
- scrolled window when the parent window is dragged. Fixes bug #325502
-
-2005-01-06 Andre Klapper <a9016009@gmx.de>
- * gui/e-alarm-list.c: added translator comments to several strings.
- Fixes bug 325612.
-
-2006-01-06 Andre Klapper <a9016009@gmx.de>
- * evolution/calendar/calendar.error.xml:
- * evolution/calendar/gui/e-itip-control.c:
- * evolution/calendar/gui/dialogs/task-details-page.glade:
- * evolution/calendar/gui/e-cal-component-preview.c:
- * evolution/calendar/gui/e-cal-model-tasks.c:
- * evolution/calendar/gui/e-calendar-table.c:
- * evolution/calendar/gui/print.c:
- changing "cancelled" (British English)
- to "canceled" (American English). Fixes bug 325334.
-
-2005-01-06 Andre Klapper <a9016009@gmx.de>
- * calendar.error.xml: changed "RSVP" to "reply". Fixes bug 261071.
-
-2006-01-06 Simon Zheng <simon.zheng@sun.com>
-
- * gui/itip-utils.h: use libedataserver/e-account-list.h instead
- of e-util/e-account-list.h.
-
-2006-01-06 Johnny Jacob <johnnyjacob@gmail.com>
-
- * gui/dialog/event-page.c: (set_all_day), (sensitize_widgets)
- (time_sel_changed), (update_end_time_selector), (hour_minute_changed),
- (event_page_set_all_day_event), (alarm_changed_cb), (init_widgets) :
- Fixed warnings.
-
-2005-01-06 Boby Wang <boby.wang@sun.com>
-
- * gui/e-day-view.c: (e_day_view_on_text_item_event):
- Change the keys which need to be pressed to alter the end time
- of the event selected. Now: Ctrl+Shift+Up(or Down)
- Before: Ctrl+Alt+Shift+Up(or Down) conflict with switching
- the workspace in Gnome Desktop.
-
-2006-01-05 Johnny Jacob <johnnyjacob@gmail.com>
-
- * gui/dialogs/event-page.c (init_widgets): Set alarm-dialog as
- modal.
-
-2006-01-05 Johnny Jacob <johnnyjacob@gmail.com>
-
- Fixes #216535
- * gui/dialogs/event-page.c (end_date_changed_cb ): Added. Signal
- handler for end_time.
- (start_date_changed_cb) : Added. Changes the end_time according to
- the duration.
-
-2006-01-05 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/alarm-notify/alarm-notify-dialog.c:
- Include the e-time-utils.h from libedataserver
- as it has been removed from e-util. Fixes a build
- break.
- (snooze_pressed_cb):Fixed a warning.
-
-2006-01-05 Johnny Jacob <johnnyjacob@gmail.com>
-
- Fixes #258786
- * gui/e-cal-popup.c (e_cal_popup_target_new_select) : When more than
- one event is selected, check for ICAL_COMPLETED_PROPERTY and set the bit
- accordingly.
- * gui/e-calendar-table.c (tasks_popup_items) : Enable "b0.markmanycomplete" menu item
- only if E_CAL_POPUP_SELECT_NOTCOMPLETE is set.
-
-2006-01-05 Johnny Jacob <johnnyjacob@gmail.com>
-
- Fixes #303193
- * gui/alarm-notify/alarm-notify-dialog.c (notified_alarms_dialog_new):
- Changed events handled for edit_btn, snooze_btn from pressed to
- clicked
- (snooze_pressed_callback) : Grab keyboard focus to snooze_btn.
-
-2006-01-05 P S Chakravarthi <pchakravarthi@novell.com>
-
- Fixes 317808
-
- * gui/alarm-notify/alarm-notify.glade : added hours as a
- spin button for snooze
- * gui/alarm-notify/alarm-notify-dialog.c : added code to
- include hours in calculation of snooze time.
-
-2006-01-04 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-day-view.c: (e_day_view_convert_event_coords),
- (tooltip_get_view_event), (tooltip_destroy),
- (e_day_view_on_text_item_event): Reverting the patch as it
- causes crash while viewing the tooltip in top canvas.
-
-2006-01-04 Tor Lillqvist <tml@novell.com>
-
- * gui/dialogs/cal-prefs-dialog.c: Reinstate the run-time glade
- file pathname lookup change from 2005-11-26. It had been
- overwritten on 2005-12-19.
-
-2006-01-03 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #325416
-
- * gui/e-day-view.c: (e_day_view_convert_event_coords),
- (tooltip_get_view_event), (tooltip_destroy),
- (e_day_view_on_text_item_event): Read the event num from the position
- of x,y.
-
-2006-01-02 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fix for bug #325414
-
- * gui/e-calendar-view.c: (e_calendar_view_get_tooltips): Added null
- check for the string before creating the tooltips and stopped showing
- it.
- * gui/e-day-view.c: (e_day_view_on_editing_stopped):
- * gui/e-week-view.c: (e_week_view_on_editing_stopped): Added code to
- hide tooltips window when start/stop hiding
-
-2006-01-02 Harish Krishnaswamy <kharish@novell.com>
-
- reviewed by: Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-tasks.c: (open_ecal): The timezone should be set on
- the task we are trying to open - not on the default.
- Fixes #325489.
-
-2006-01-02 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/cal-prefs-dialog.c: (show_fb_config):
- Fixes #325468 (critical warning crasher).
-
-2005-12-30 Andre Klapper <a9016009@gmx.de>
-
- * icalendar-importer.c: removed a duplicated exclamation mark.
- Fixes bug 325123.
-
-2005-12-30 Andre Klapper <a9016009@gmx.de>
-
- * gui/apps_evolution_calendar.schemas.in.in:
- harmonized "URL", "Url" and "url". Fixes bug 325125.
-
-2005-12-30 Andre Klapper <a9016009@gmx.de>
-
- * calendar.error.xml:
- changing "canceled" to "cancelled" to stay consistant to the rest.
- Fixes bug 325116.
-
-2005-12-20 Andre Klapper <a9016009@gmx.de>
-
- * calendar.error.xml: Adding punctation to some error messages.
- Fixes bug 313144.
-
-2005-12-20 Andre Klapper <a9016009@gmx.de>
-
- * gui/dialogs/recur-comp.c: fixing string bug 308851
-
-2005-12-23 Harish Krishnaswamy <kharish@novell.com>
-
- * conduits/calendar/calendar-conduit.c
- (calconduit_load_configuration): Fix a build breaker.
- g_filename_to_uri takes 3 arguments.
-
-2005-12-21 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #306150
- * gui/apps_evolution_calendar.schemas.in.in: Changed the
- message id to be gramatically correct.
-
-2005-12-21 P S Chakravarthi <pchakravarthi@novell.com>
-
- Fixes #248133
- * gui/e-meeting-time-sel.c :
- modified the code in options and autopick call backs
- so that the menu that drops is at appropriate position
- as suggested in the bug report.
-
-2005-12-21 Johnny Jacob <johnnyjacob@gmail.com>
-
- * gui/memos-component.c (impl_createControls): -> createView for
- new shell apis.
-
-2005-12-21 Not Zed <NotZed@Ximian.com>
-
- * gui/tasks-component.c (impl_createControls): same.
-
- * gui/calendar-component.c (impl_createControls): ->createView for
- new shell apis.
-
-2005-12-20 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #324525
- * calendar.error.xml: Set the default response while deleting a
- calendar item to Cancel. Reverting fix for #320210.
-
-2005-12-20 Veerapuram Varadhan <vvaradhan@novell.com>
-
- Fixes #323125, #323126
- * gui/cal-search-bar.c: Re-order the search-bar menu items and
- make "Summary contains", which is what most people use to search
- for an item (be it a calendar/task/memo), as default.
- (cal_search_bar_construct): Do not set "Category is" as default
- option in search-bar menu.
-
- * gui/cal-search-bar.h: Re-order the bit-values in accordance to
- re-ordered search-bar menu items.
-
-2005-12-20 P S Chakravarthi <pchakravarthi@novell.com>
-
- Fixes #323955
-
- * gui/alarm-notify/notify-main.c main (), init_alarm_service (),
- alarm_notify_factory_fn ():
- Removed the mutex code for creating alarm_notify_service and
- made init_alarm_service a simple function call rather than in
- a g_idle_add () to avoid evolution hang.
-
-2005-12-19 Johnny Jacob <johnnyjacob@gmail.com>
-
- Fixes Bug #324196
-
- * gui/dialogs/comp-editor.c: (prompt_and_save_changes) :
- Renamed from prompt_to_save_changes. Check wheather the
- summary is empty and prompt.
-
-2005-12-21 Sam Yang <sam.yang@sun.com>
-
- Fixes #323984
- * gui/dialogs/task-page.c: (task_page_fill_widgets): Invoke
- task_page_set_show_timezone() to check whether to show timezone
- widgets on task page. Just like what we did in init_widgets().
- (init_widgets): Since we have called task_page_set_show_timezone()
- before, remove its duplicate code. Invoke
- task_page_set_show_categories() directly other than copy its code here.
-
-
-2005-12-19 Chenthill Palanisamy <pchenthill@novell.com>
-
- Committing for David Trowbridge <trowbrds cs colorado edu>
-
- * gui/Makefile.am, gui/calendar-commands.c,
- gui/calendar-componet.[hc], gui/calendar-config-keys.h,
- gui/calendar-config.c, gui/e-calendar-view.c: remove references to the
- old f/b publishing code
-
- * gui/e-cal-config.[hc]: add 'prefs' target
-
- * gui/main.c: remove calls to publishing, use new EConfig-based
- preferences dialog
-
- * gui/dialogs/Makefile.am, gui/dialogs/cal-prefs-dialog.[ch]: Convert
- to use EConfig
-
- * gui/dialogs/cal-prefs-dialog.glade: reorganize for EConfig and clean
- up UI for better HIG compliance
-
-2005-12-19 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #324195
- * gui/e-cal-model.c: (e_cal_model_set_instance_times): If the
- start and end times are same dates, increment the enddate by one.
-
-2005-12-17 Tor Lillqvist <tml@novell.com>
-
- * conduits/calendar/calendar-conduit.c
- * gui/e-cal-component-memo-preview.c
- * gui/e-cal-component-preview.c: Use GLib to construct
- filenames from URIs and vice versa.
-
- * gui/e-cal-list-view.c
- * gui/e-calendar-table.c
- * gui/e-calendar-view.c
- * gui/e-itip-control.c
- * gui/e-memo-table.c: Use gstdio wrappers.
-
- * gui/e-cal-model-tasks.c
- * gui/e-meeting-store.c: Use e_util_utf8_strcasecmp() to do
- proper casefolded comparison of translated (UTF-8) strings.
-
- * gui/migration.c: Use gstdio wrappers. Use GDir API instead of
- dirent. Use g_filename_{to,from}_uri(). Open files in binary
- mode. Use e_xml_parse_file() instead of xmlParseFile().
-
- * gui/alarm-notify/alarm-queue.c: When building against GTK+ 2.9.0
- or later, and always on Win32, use the GtkStatusIcon API instead
- of EggTrayIcon.
-
- * gui/dialogs/cal-attachment.h
- * gui/dialogs/cal-attachment.c
- * gui/dialogs/cal-attachment-bar.h
- * gui/dialogs/cal-attachment-bar.c: Remove unused files from CVS.
-
- * gui/dialogs/comp-editor.c: : Use gstdio wrappers. Use
- g_filename_from_uri().
-
- * importers/icalendar-importer.c: Use g_build_filename(),
- g_filename_from_uri(), g_usleep().
-
-2005-12-15 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Fixes bug #324094
-
- * gui/e-calendar-view.c: (e_calendar_view_get_tooltips): Added
- comments to few strings for translation.
-
-2005-12-15 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/e-week-view.c: (e_week_view_reshape_event_span),
- (e_week_view_on_text_item_event): Added event-num to the
- CanvasItem to be picked up by the event handler. This causes
- crash in the tooltip in the week/month view.
-
-2005-12-15 Srinivasa Ragavan <sragavan@novell.com>
-
-
- * gui/e-calendar-view.c: (e_calendar_view_get_tooltips): Removed
- markup from translatable strings.
-
-2005-12-15 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #324058
- * gui/dialogs/comp-editor.c: (key_press_event),
- (editor_key_press_event), (real_send_comp): Removed the
- obsolete code which caused the crash. Corrected an invalid type
- cast.
-
-2005-12-15 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #321739
- * gui/dialogs/event-page.c: (event_page_fill_widgets),
- (remove_attendee): Add/remove attendee from e-name-selector also.
- * gui/e-meeting-list-view.h:
- * gui/e-meeting-list-view.c: (get_index_from_role),
- (e_meeting_list_view_add_attendee_to_name_selector),
- (e_meeting_list_view_remove_attendee_from_name_selector),
- (attendee_edited_cb), (process_section), (add_to_list),
- (name_selector_dialog_close_cb): Syncronize the adding/removing
- attendees between EMeetingListView and ENameSelector dialog.
-
-2005-12-15 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/e-calendar-view.c: (e_calendar_view_get_tooltips): Added
- code to make the tooltips strings translatable. Also picked up
- the color from the theme for the tooltip instead of hardcoded
- colors.
-
-2005-12-09 Johnny Jacob <johnnyjacob@gmail.com>
-
- * gui/dialogs/event-page.c :
- (hour_sel_changed) : Added. Event handler for hour_selector
- (minute_sel_changed) : Added. Event handler for minute_selector
- (update_end_time_selector) : Added. Updates hour_selector
- & minute_selector
- (hour_minute_changed) : Added. Updates DateEdit based on hour
- and minute selectors
- (sensitize_widgets) : Handle end_time_selector's sensitivity.
- (get_widgets) : Get minute_selector.
- (init_widgets) : Initialize hour_selector and minute_selector.
- gui/dialogs/event-page.glade : minute_selector GtkSpinButton added.
-
- * gui/dialogs/event-page.glade: Added the widgets to the glade
-
-2005-11-27 Johnny Jacob <johnnyjacob@gmail.com>
-
- ** Fixes bug #324060
-
- * gui/dialogs/comp-editor.c (menu_file_close_cb):
- Check wheather the summary is empty and prompt accordingly,
-
-2005-11-28 Srinivasa Ragavan <sragavan@novell.com>
-
- ** Refixes the bug #320210
-
- * calendar.error.xml : Default button is changed to GTK_RESPONSE_YES
- in "prompt-delete-appointment". It was missed out in the earlier
- patch.
-
-2005-11-28 Johnny Jacob <johnnyjacob@gmail.com>
-
- ** Fixes the bug #320210
-
- * calendar.error.xml : Default button is changed to GTK_RESPONSE_YES
- in "prompt-delete-titled-appointment".
-
-2005-12-09 Srinivasa Ragavan <sragavan@novell.com>
-
- reviewed by: Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/comp-editor.c: (editor_key_press_event),
- (setup_widgets):
- * gui/dialogs/event-page.c: (event_page_init),
- (create_image_event_box), (sensitize_widgets), (get_widgets),
- (alarm_changed_cb), (init_widgets),
- (event_page_create_source_option_menu), (make_status_icons):
- * gui/dialogs/event-page.glade:
- * gui/e-calendar-view.c: (e_calendar_view_get_tooltips):
- * gui/e-calendar-view.h:
- * gui/e-day-view.c: (e_day_view_reshape_long_event),
- (e_day_view_reshape_day_event), (tooltip_get_view_event),
- (tooltip_destroy), (e_day_view_on_text_item_event):
- * gui/e-timezone-entry.c: (e_timezone_entry_init):
- * gui/e-week-view.c: (tooltip_get_view_event), (tooltip_destroy),
- (tooltip_event_cb), (e_week_view_on_text_item_event): Fixes tooltip
- crash while editing a component in view. Fixes for layout issues
- and added the alarm icon in the editor.
-
-2005-12-06 Veerapuram Varadhan <vvaradhan@novell.com>
-
- * conduits/todo/todo-conduit.c (start_calendar_server):
- Authenticate by reading the stored-password for tasks that has
- "auth" property set.
- (pre_sync): Moved setting of timezone to start_calendar_server as
- per the current e-d-s requirements.
- ** Fixes #316315
-
-2005-12-06 Veerapuram Varadhan <vvaradhan@novell.com>
-
- * conduits/calendar/calendar-conduit.c (start_calendar_server):
- Authenticate by reading the stored-password for calendar that has
- "auth" property set.
- (pre_sync): Moved setting of timezone to start_calendar_server as
- per the current e-d-s requirements.
- ** Fixes #316315
-
-2005-12-06 Tor Lillqvist <tml@novell.com>
-
- * gui/e-cal-config.c (ecph_class_init)
- * gui/memos-component.c (memos_component_init): Remove stray
- leftover debugging output.
-
- * gui/memos-component.c (ensure_sources): Use g_filename_to_uri()
- instead of just prefixing "file://".
-
-2005-11-29 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #322616
- * gui/e-cal-model-calendar.c: (get_dtend): Convert to
- proper time zone.
-
-2005-11-28 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #317322
- * gui/e-calendar-view.c:
- (e_calendar_view_delete_selected_occurrence): Do not
- set a new rid if the component already has it. If an
- instance is removed from master component, send a modify
- request setting the exception for that instance. Cleaned
- up the code.
-
-2005-11-28 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #314639
- * gui/e-calendar-view.c:
- (e_calendar_view_new_appointment_for): Check if the default
- client is loaded before creating the appointment.
-
-2005-11-28 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #318777
- * gui/e-cal-model.c:
- (add_instance_cb): Set the instance start as the started date for
- the recurring instance.
- (e_cal_view_objects_added_cb):
- (e_cal_view_objects_removed_cb): Check if the comp_data is removed
- from the array before freeing the data.
-
-2005-11-26 Tor Lillqvist <tml@novell.com>
-
- * gui/calendar-commands.c
- * gui/e-cal-list-view.c
- * gui/e-calendar-table.c
- * gui/e-memo-table.c
- * gui/e-memos.c
- * gui/e-tasks.c
- * gui/gnome-cal.c
- * gui/goto.c
- * gui/memos-control.c
- * gui/tasks-control.c
- * gui/alarm-notify/alarm-notify-dialog.c
- * gui/alarm-notify/notify-main.c
- * gui/dialogs/alarm-dialog.c
- * gui/dialogs/alarm-list-dialog.c
- * gui/dialogs/cal-attachment.c
- * gui/dialogs/cal-prefs-dialog.c
- * gui/dialogs/comp-editor.c
- * gui/dialogs/e-delegate-dialog.c
- * gui/dialogs/event-editor.c
- * gui/dialogs/event-page.c
- * gui/dialogs/meeting-page.c
- * gui/dialogs/memo-page.c
- * gui/dialogs/recurrence-page.c
- * gui/dialogs/schedule-page.c
- * gui/dialogs/task-details-page.c
- * gui/dialogs/task-page.c
- * gui/dialogs/url-editor-dialog.c: Include e-util-private.h to get
- redefinition of compile-time pathnames as calls to functions on
- Windows. Construct the pathnames of files and directories under
- the installation prefix at run-time to enable install-anywhere on
- Windows. No effect on functionality on Unix.
-
-2005-11-25 Tor Lillqvist <tml@novell.com>
-
- * gui/calendar-component.c (ensure_sources)
- * gui/tasks-component.c (ensure_sources): Use g_filename_to_uri()
- instead of just prefixing "file://" for Win32 portability.
-
- * gui/e-itip-control.c
- * gui/itip-utils.c: Use g_ascii_strcasecmp() instead of
- strcasecmp() for portability.
-
-2005-11-24 Srinivasa Ragavan and P.S.Chakravarthi <sragavan@novell.com>, <pchakravarthi@novell.com>
-
- (simultaneously a patch for configure.in in evolution source dir is
- applied to include libnotify, if present)
- * gui/alarm-notify/alarm-notify.c (alarm_notify_get_selected_calendars):
- added a field in _AlarmNotifyPrivate called selected_calendars and relevant
- code elsewhere for use in disabling and enabling alarms for particular calendars.
- * gui/alarm-notify/alarm-queue.c (free_tray_icon_data):added
- (notify_dialog_cb): modified to free the non snoozed alarms on close.
- (open_alarm_dialog): code added to set up tooltip on the panel icon if there
- are alarms present.
- (alarm_quit): added. Call back when "Quit" option is chosen on right click of the
- panel icon.
- (alarms_configure): added. The call back function for generating the "Configure Alarms"
- dialog on right click on the panel icon.
- (menu_item_toggle_cb): added. Call back when a particular calendar is selected
- or deselected in the "Configure Alarms" dialog.
- (populate): added. Function to populate the view in the dialog that appears when
- "Configure Alarms" option is chosen on right click of the panel icon.
- (alarm_preference_response):added. Called when the "Configure Alarms" dialog is
- closed.
- (tray_icon_clicked_cb): modified to get tooltip, giving alarm summary on mouse over
- the panel icon, to have the panel icon blink in case of active alarms.
- (display_notification): modified the code to change the strings shown in the alarm
- dialog.
- (popup_notification): added. Compiles if there is libnotify. If present, gives
- a small notification bubble on alarm trigger giving necesary information on the
- appointment.
- (alarm_queue_init): modified to add the panel icon that is being used in above
- functions.
- * gui/alarm-notify/config-data.[ch](config_data_get_calendars):added. Gets calendar
- information for notification from a gconf key.
- (config_data_replace_string_list): added. To replace an old gconf key with a new one.
- * gui/alarm-notify/util.[ch] (calculate_time):added. An utility function which
- gives a time difference between two time_t instances in hours, minutes and seconds.
-
-
-2005-11-24 Tor Lillqvist <tml@novell.com>
-
- * gui/e-alarm-list.c
- * gui/e-cal-component-memo-preview.c
- * gui/e-cal-component-preview.c
- * gui/e-cal-model.c
- * gui/e-cell-date-edit-text.c
- * gui/e-date-time-list.c
- * gui/e-itip-control.c
- * gui/e-memos.c
- * gui/e-tasks.c
- * gui/itip-utils.c
- * gui/print.c
- * gui/alarm-notify/alarm-notify-dialog.c
- * gui/alarm-notify/util.c
- * gui/e-calendar-view.c
- * gui/dialogs/alarm-dialog.c
- * gui/dialogs/alarm-list-dialog.c
- * gui/dialogs/comp-editor-util.c
- * gui/dialogs/recurrence-page.c: Include e-time-utils.h from
- libedataserver instead of using evolution's copy which is going
- away.
-
-2005-11-23 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/e-calendar-view.c (tooltip_grab), (get_label),
- (e_calendar_view_get_tooltips): Added a function to get tooltip
- tooltip widget
- * gui/e-calendar-view.h:
- * gui/e-day-view.c (e_day_view_add_event),
- (e_day_view_reshape_long_event), (e_day_view_reshape_day_event),
- (e_day_view_on_text_item_event): Added tooltip for day/work week
- view.
- * gui/e-week-view.c (e_week_view_add_event), (tooltip_event_cb),
- (e_week_view_reshape_event_span), (e_week_view_on_text_item_event):
- Added tooltip for week/month view.
- * gui/e-week-view.h:
- * gui/misc.c (get_position_in_array), (calculate_time): Added a
- function for converting time to string.
- * gui/misc.h:
-
-2005-11-22 Boby Wang <boby.wang@sun.com>
- Fixes #321237
- * gui/dialogs/event-page.glade: Add the categories' name
- The name of categories in new appointment dialog was missed.
-
-2005-11-17 P. S. Chakravarthi <pchakravarthi@novell.com>
-
- Fixes #314550
- * gui/alarm-notify/alarm-notify.glade: modified the
- description widget to a scrolled window.
- * gui/alarm-notify/alarm-notify-dialog.c (fill_in_labels):
- modified the way in which description needs to be filled
- to reflect the change of the description from a GtkLabel
- to a GtkScrolledWindow.
-
-2005-11-16 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/task-editor.c: (menu_option_status_cmd):
- Modified the body of the function to show the details page.
-
-2005-11-16 Chenthill Palanisamy <pchenthill@novell.com>
-
- Reviewed/Edited the patch from Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/apps_evolution_calendar.schemas.in.in:
- * gui/calendar-config.c:
- * gui/calendar-config.h: Removed the view_attendee function and its
- gconf keys.
- * gui/dialogs/event-editor.c: (menu_action_recurrence_cb),
- (menu_action_recurrence_cmd), (event_editor_init),
- (event_editor_construct):
- * gui/dialogs/event-page.c: (sensitize_widgets): Do not sensitize
- labels.
- (set_classification_menu), (event_page_set_classification),
- (event_page_fill_widgets), (event_page_fill_component),
- (init_widgets):
- * gui/dialogs/event-page.h:Corrected the spelling of recurrence and
- removed the printf's.
- * gui/dialogs/task-editor.c: (menu_view_role_cb),
- (menu_view_status_cb), (menu_view_type_cb), (menu_view_rsvp_cb),
- (menu_show_time_zone_cb), (menu_show_categories_cb),
- (menu_class_public_cb), (menu_class_private_cb),
- (menu_class_confidential_cb), (menu_option_status_cb),
- (menu_insert_send_options_cmd), (menu_show_time_zone_cmd),
- (menu_option_status_cmd), (task_editor_init),
- (task_editor_construct), (task_editor_edit_comp),
- (task_editor_send_comp), (task_editor_finalize), (show_assignment),
- (task_editor_show_assignment):
- * gui/dialogs/task-page.c: (task_page_init), (cleanup_attendees),
- (task_page_finalize), (set_classification_menu), (clear_widgets),
- (task_page_set_view_role), (task_page_set_view_status),
- (task_page_set_view_type), (task_page_set_view_rsvp),
- (task_page_set_classification), (sensitize_widgets),
- (task_page_hide_options), (task_page_show_options),
- (task_page_set_assignment), (get_current_account),
- (task_page_fill_widgets), (set_attendees),
- (task_page_fill_component), (add_clicked_cb), (existing_attendee),
- (remove_attendee), (remove_clicked_cb), (invite_cb),
- (attendee_added_cb), (popup_add_cb), (popup_delete_cb),
- (context_popup_free), (button_press_event), (list_view_event),
- (list_key_press), (task_page_set_show_timezone),
- (task_page_set_show_categories), (task_page_fill_timezones),
- (get_widgets), (date_changed_cb), (timezone_changed_cb),
- (task_page_sendoptions_clicked_cb), (init_widgets),
- (task_page_construct), (task_page_new),
- (task_page_get_cancel_comp):
- * gui/dialogs/task-page.glade:
- * gui/dialogs/task-page.h: UI changes for task editor.
-
-2005-11-16 Irene Huang <Irene.Huang@sun.com>
-
- * gui/e-cal-model-memos.c: struct _ECalModelMemosPrivate
- should not be zero sized.
-
-2005-11-16 Irene Huang <Irene.Huang@sun.com>
-
- * gui/dialogs/cal-prefs-dialog.c:
- (cal_prefs_dialog_url_add_clicked): Use strcmp instead of !=.
- (cal_prefs_dialog_url_remove_clicked):
- When new a dialog of confirm, set parent to
- PREFS_WINDOW (dialog_data->page)
- instead of using PREFS_WINDOW (dialog_data).
-
-2005-11-14 Srinivasa Ragavan <sragavan@novell.com>
-
- reviewed by: Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/apps_evolution_calendar.schemas.in.in:
- * gui/calendar-config-keys.h:
- * gui/calendar-config.h:
- * gui/calendar-config.c: (calendar_config_get_show_attendee),
- (calendar_config_set_show_attendee),
- (calendar_config_get_show_rsvp), (calendar_config_set_show_rsvp),
- (calendar_config_get_show_role), (calendar_config_set_show_role),
- (calendar_config_get_show_type), (calendar_config_set_show_type),
- (calendar_config_get_show_status),
- (calendar_config_set_show_status),
- (calendar_config_get_show_timezone),
- (calendar_config_set_show_timezone),
- (calendar_config_get_show_categories),
- (calendar_config_set_show_categories): Gconf keys to store the last
- modified state.
- * gui/dialogs/Makefile.am: Added the evolution UI directory.
- * gui/dialogs/comp-editor.h:
- * gui/dialogs/comp-editor.c: (menu_file_save_cb),
- (menu_file_close_cb), (menu_edit_copy_cb), (menu_edit_paste_cb),
- (menu_edit_cut_cb), (menu_insert_attachment_cb), (menu_help_cb),
- (setup_widgets), (comp_editor_init), (comp_editor_set_changed),
- (comp_editor_append_page), (comp_editor_notify_client_changed):
- Add only the event page into the notebook.
- * gui/dialogs/event-editor.c: (menu_view_attendee_cb),
- (menu_view_role_cb), (menu_view_status_cb), (menu_view_type_cb),
- (menu_view_rsvp_cb), (menu_action_alarm_cb),
- (menu_show_time_busy_cb), (menu_all_day_event_cb),
- (menu_show_time_zone_cb), (menu_show_categories_cb),
- (menu_class_public_cb), (menu_class_private_cb),
- (menu_class_confidential_cb), (menu_action_recurrance_cb),
- (menu_action_freebusy_cb), (menu_action_alarm_cmd),
- (menu_all_day_event_cmd), (menu_show_time_zone_cmd),
- (menu_action_recurrance_cmd), (menu_action_freebusy_cmd),
- (menu_insert_send_options_cmd), (event_editor_init),
- (event_editor_construct), (event_editor_edit_comp),
- (event_editor_send_comp), (event_editor_finalize), (show_meeting),
- (event_editor_show_meeting): Added the menu and tool bar. Schedule
- page and recurrence page are shown as dialogs.
- * gui/dialogs/event-page.h:
- * gui/dialogs/event-page.c: (event_page_init), (cleanup_attendees),
- (event_page_finalize), (set_classification_menu),
- (set_busy_time_menu), (enable_busy_time_menu),
- (set_all_day_event_menu), (set_all_day), (update_time),
- (clear_widgets), (event_page_set_view_attendee),
- (event_page_set_view_role), (event_page_set_view_status),
- (event_page_set_view_type), (event_page_set_view_rsvp),
- (event_page_set_classification), (sensitize_widgets),
- (event_page_hide_options), (event_page_show_options),
- (event_page_set_meeting), (event_page_set_delegate),
- (get_current_account), (event_page_fill_widgets),
- (event_page_fill_component), (time_sel_changed), (add_clicked_cb),
- (existing_attendee), (remove_attendee), (remove_clicked_cb),
- (invite_cb), (attendee_added_cb), (popup_add_cb),
- (popup_delete_cb), (context_popup_free), (button_press_event),
- (list_view_event), (list_key_press),
- (event_page_set_all_day_event), (event_page_set_show_time_busy),
- (event_page_show_alarm), (event_page_set_show_timezone),
- (event_page_set_show_categories), (get_widgets),
- (summary_changed_cb), (notify_dates_changed), (times_updated),
- (start_timezone_changed_cb), (event_page_sendoptions_clicked_cb),
- (init_widgets), (event_page_construct), (event_page_new),
- (event_page_create_source_option_menu), (set_attendees),
- (event_page_get_cancel_comp):
- * gui/dialogs/event-page.glade: UI Changes to have the event
- page alone.
- * gui/dialogs/task-editor.c: (task_editor_construct),
- (task_editor_edit_comp), (show_assignment):
- * gui/dialogs/memo-editor.c: (memo_editor_construct): Make changes
- for append page function.
- * gui/dialogs/schedule-page.c: (schedule_page_construct): Set the
- size of the meeting time selector.
-
-2005-11-09 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #313538
- * gui/dialogs/event-editor.c:
- (event_editor_edit_comp): Do not remove the attendees. Removed
- the obsolete code as scheduling and meeting pages will be created
- only for meetings now.
-
-2005-11-10 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #321088
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
- (e_meeting_time_selector_style_set),
- (e_meeting_time_selector_ensure_meeting_time_shown): Set the
- scroll_increment to days width. Show only 35 days in the canvas
- since we query freebusy only for those. Set the canvas view to
- meetings day start instead of time.
-
-2005-11-09 Veerapuram Varadhan <vvaradhan@novell.com>
-
- Committing for Nathan Owens <pianocomp81@yahoo.com>
-
- * calendar/conduit/todo/todo-conduit.c (local_record_from_comp)
- (comp_from_remote_record) (post_sync) (add_category_if_possible):
- Category syncing in todo-conduits.
-
-2005-11-09 Dinesh Layek <LDinesh@novell.com>
-
- Fixes #273322
- * gui/e-pub-utils.c
- (e_pub_publish): removed the source from uri->calendars when the
- calendar backend no longer exists.
-
-2005-11-08 P. S. Chakravarthi <pchakravarthi@novell.com>
-
- Fixes #316710
- * gui/alarm-notify/alarm-notify.c
- (alarm_notify_add_calendars): modified the code to
- generate the correct key for obtaining the password
- for an authenticated calendar.
-
-2005-11-08 P. S. Chakravarthi <pchakravarthi@novell.com>
-
- Fixes 319217
- * gui/alarm-notify/alarm-queue.c (load_alarms_for_today):
- changed the code to load alarms from current day beginning if
- last notification time is beyond current day's begin time and
- * gui/alarm-notify/alarm.c (setup_timeout):
- removed the check which sees if the alarm's trigger time has
- got past current time so that alarms missed in current day are
- always shown.
-
-2005-10-21 Mubeen Jukaku <jmubeen@novell.com>
-
- Sankar Committting for Mubeen
-
- Fixes #310495
- * gui/e-calendar-table.etspec: Do string case comparison for Summary
- and Categories field
-
-2005-10-21 Viren.L <lviren@novell.com>
-
- Sankar committing for Viren
-
- Fixes #272920
-
- * gui/gnome-cal.c (setup_widgets):
- Connect signal to catch the scroll-event on the widget of date navigator
- and handle the GDK_SCROLL_UP,GDK_SCROLL_DOWN in the callback.
-
-
-2005-10-19 Harish Krishnaswamy <kharish@novell.com>
-
- Committing for Nathan Owens <pianocomp81@yahoo.com>
-
- * calendar.error.xml: Added strings for memos
- * calendar/conduits/Makefile.am: added 'memo' to SUBDIRS
- * calendar/conduits/memo/*: initial memo conduit
- * calendar/gui/calendar-config.[ch]: (calendar_config_get_memos_selected)
- (calendar_config_set_memos_selected) (calendar_config_add_notification_memos_selected):
- gconf get/set for memos lists
- * calendar/gui/calendar-config-keys.h: added gconf keys for Memos component
- * calendar/gui/comp-util.[ch] (cal_comp_memo_new_with_defaults): added function
- to create memo component with defaults
- * calendar/gui/e-cal-component-memo-preview.[ch]: initial file for preview of a memo
- * calendar/gui/e-cal-model-memos.[ch]: initial model for the memos component.
- * calendar/gui/e-memos.[ch]: initial memos base
- * calendar/gui/e-memo-table.[ch]: initial view for memos component
- * calendar/gui/e-memo-table.etspec: etspec for memos e-table
- * calendar/gui/e-memo-table-config.[ch]: initial configuration for memos e-table view
- * calendar/gui/GNOME_Evolution_Calendar.server.in.in: added Memos component
- * calendar/gui/main.c: added initialization code for Memos component
- * calendar/gui/Makefile.am: added entries for new files for Memos component
- * calendar/gui/memos-component.[ch]: Memos component base code
- * calendar/gui/memos-control.[ch]: initial user control code. Used for printing,
- copying, etc.
- * calendar/gui/migration.c: added migration for memos component - also takes care
- of initialization for the first time the Memos component is run.
- * calendar/gui/dialogs/calendar-setup.[ch]: added code to create a new Memo List
- * calendar/gui/dialogs/Makefile.am: added files for build
- * calendar/gui/dialogs/memo-editor.[ch]: initial memo editor
- * calendar/gui/dialogs/memo-page.[ch]: page in editor for editing a memo
- * calendar/gui/dialogs/memo-page.glade: glade file for memo-editor-page
- * calendar/gui/dialogs/send-comp.c: added E_CAL_COMPONENT_JOURNAL support for Memo
- component
-
-2005-10-18 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #308802
- * gui/calendar-component.c: (setup_create_ecal):
- * gui/dialogs/event-page.c: (source_changed_cb):
- * gui/dialogs/task-page.c: (source_changed_cb):
- * gui/e-itip-control.c: (cal_opened_cb), (start_calendar_server),
- (find_cal_opened_cb):
- * gui/e-tasks.c: (set_timezone), (client_cal_opened_cb),
- (default_client_cal_opened_cb), (open_ecal):
- * gui/gnome-cal.c: (client_cal_opened_cb),
- (default_client_cal_opened_cb), (open_ecal),
- (gnome_calendar_set_default_source):
- * gui/tasks-component.c: (setup_create_ecal): Set the default
- timezone in the ecal once its created and before opening ecal.
-
-2005-10-18 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/dialogs/comp-editor.c: (open_attachment)
- (attachment_bar_icon_clicked_cb), (cab_open), (cab_popup),
- (button_press_event): Handles the popup menu on the attachment
- bar.
- * gui/e-cal-popup.c: (temp_save_part), (ecalp_part_popup_saveas),
- (ecalp_part_popup_save_selected),
- (ecalp_part_popup_set_background), (ecalp_apps_open_in),
- (ecalp_apps_popup_free), (ecalp_standard_items_free),
- (ecalp_standard_menu_factory), (ecalp_class_init),
- (e_cal_popup_target_new_attachments): Provides the background
- image setting, open with application for each attachment.
- * gui/e-cal-popup.h:
- * gui/e-calendar-table.c: (e_calendar_table_on_save_as)
- * gui/e-calendar-view.c: (on_save_as): Change the parameters to
- e_file_dialog_save.
-
-2005-10-17 Irene Huang <Irene.Huang@sun.com>
-
- * gui/e-tasks.c: (e_tasks_show_preview): Should not return a value, so,
- change all the g_return_val_if_fail to g_return_if_fail.
-
-2005-10-10 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #266144, 317575, 313725.
- * gui/alarm-notify/alarm-queue.c: (remove_queued_alarm),
- (add_component_alarms), (lookup_comp_queued_alarms), (remove_comp),
- (query_objects_changed_cb), (compare_ids),
- (alarm_queue_add_client), (add_id_cb), (remove_client_alarms),
- (update_cqa):
- * gui/e-cal-model.c (search_by_id_and_client):Use ECalComponentId.
- (e_cal_view_objects_added_cb), (e_cal_view_objects_modified_cb),
- (e_cal_view_objects_removed_cb),
- (e_cal_model_get_component_for_uid),
- (e_cal_model_set_instance_times): set the proper timezone.
- * gui/e-cal-model.h:
- * gui/e-calendar-view.c: (delete_event): Do not remove the
- recurrence id.
- * gui/e-calendar-table.c (hide_completed_rows),
- (show_completed_rows): Use ECalComponentId to get a component
- for model.
- * gui/gnome-cal.c: (dn_e_cal_view_objects_removed_cb):
-
-2005-10-06 Srinivasa Ragavan <sragavan@novell.com>
-
- * calendar.error.xml: Added accels to the Disard new event/
- task dialog.
-
- * gui/apps_evolution_calendar.schemas.in.in: Added new key
- for storing the presence of preview.
-
- * gui/calendar-config-keys.h: Added key for preview status
-
- * gui/calendar-config.[ch] (calendar_config_set_vpane_pos): Added
- functions to get preview status.
-
- * gui/e-meeting-list-view.c (build_table): makes the invites
- tab list view tabs resizable and reorderable.
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Made
- the recursive not show status and type.
-
- * gui/e-tasks.[ch] (setup_widgets) (e_tasks_new_task): made a provsion
- to show/hide the preview.
-
- * gui/tasks-control.c (tasks_control_activate)
- (tasks_control_forward_cmd): Added bonobo interface to show/hide
- preview pane.
-
- * gui/dialogs/comp-editor.c (attachment_bar_changed_cb) (setup_widgets)
- (comp_editor_append_page) (set_attachment_list): Added expander
- for attachment bar.
-
- * gui/dialogs/event-editor.c (event_editor_construct) (event_editor_edit_comp)
- (show_meeting): Added accelerators for the comp editor dialogs for
- tasks, event, meeting etc.
-
- * gui/dialogs/event-page.glade: key accelerator for 'busy'
-
- * gui/dialogs/meeting-page.c (remove_clicked_cb) (client_changed_cb)
- (popup_delete_cb) (button_press_event) (meeting_page_construct)
-
- * gui/dialogs/meeting-page.glade: key accelerators for dialog.
-
- * gui/dialogs/task-details-page.glade: key accelerators for dialog.
-
- * gui/dialogs/task-editor.c (task_editor_construct) (task_editor_edit_comp)
- (show_assignment): Key accelerators for task tab
-
- * gui/dialogs/task-page.glade: key accelerators for task dialog
-
-
-2005-10-02 Srinivasa Ragavan <sragavan@novell.com>
-
- Provides across calendars keyboard accelerators for popup menus
-
- * gui/calendar-component.c (ecc_source_popups):
- * gui/e-calendar-view.c (ecv_main_items) (ecv_main_items):
- * gui/gnome-cal.c (gc_popups):
- * gui/tasks-component.c (etc_source_popups):
- Added Keybinding for popup menu.
-
-2005-09-30 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #315095
- * gui/e-pub-utils.c: Added a global variable to check
- if the publish time is modified in gconf and removed
- just_published function.
- (is_publish_time): cleaned up the code.
- (e_pub_publish): send the list of users in the get_freebusy
- information.
-
-2005-10-03 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #271480
- * gui/alarm-notify/notify-main.c: (alarm_notify_factory_fn),
- (init_alarm_service): Added a global static mutex to ensure
- the alarm_notify object is created only once.
-
-2005-10-03 Mubeen Jukaku <jmubeen@novell.com>
-
- Fixes #264449
- * gui/e-tasks.c: (update_view_cb),
- (config_process_completed_tasks_changed_cb): Use process_completed_tasks
- instead of update_view
- * gui/gnome-cal.c (update_todo_view_cb),
- (config_process_completed_tasks_changed_cb): ditto
- * gui/e-calendar-table.[ch]:
- (e_cal_model_process_completed_tasks): New function to hide
- completed tasks
- * gui/calendar-config.[ch]:
- (calendar_config_get_process_completed_tasks_sexp): Added a parameter
- get_completed to get completed or not completed tasks
- * gui/misc.[ch]:
- (get_position_in_array): Moved from gui/e-cal-model.c
- * gui/e-cal-model.[ch]:
- (e_cal_model_set_instance_times): Renamed from static function
- set_instance_times
- (search_by_uid_and_client): fix for client is NULL
- * gui/e-cal-model-tasks.[ch]:
- (e_cal_model_tasks_update_due_tasks): Update due tasks
-
-2005-10-01 Viren.L <lviren@novell.com>
-
- Fixes #257649
- * gui/e-calendar-view.h:
- Added E_CAL_VIEW_MOVE_PAGE_UP & E_CAL_VIEW_MOVE_PAGE_DOWN to ECalViewMoveDirection.
- * gui/e-week-view.c (e_week_view_do_key_press), (e_week_view_scroll_a_step):
- Handled PageUp & PageDown cases and compute new value for
- adjustment using the current page size value.
-
-2005-10-01 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #244981
- * gui/print.c: (print_week_day_event): Add the end date
- while printing in the week view.
-
-2005-10-01 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #316954
- * gui/e-calendar-view.c: (e_calendar_view_edit_appointment): Set
- the USER_ORG flag if the appointment is converted to a meeting.
-
-2005-10-01 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #301391
- * gui/e-calendar-view.c: (clipboard_get_text_cb):
- Remove the X-EVOLUTION-ENDDATE property, so that
- the copy/paste of recurrence event expands properly in
- the view.
-2005-10-01 P. S. Chakravarthi <pchakravarthi@novell.com>
-
- Fixes #269685
- * gui/alarm-notify/alarm-queue.c:
- (update_cqa): added.
- (update_qa): added. Invoked by update_cqa ()
- (query_objects_changed_cb): Modified to invoke update_cqa ()
- inorder to update the local alarm structures whenver any
- non time related modifications are made to an existing calendar
- component.
-
-2005-09-30 Veerapuram Varadhan <vvaradhan@novell.com>
-
- Fixes #303702
- * calendar/conduits/calendar/calendar-conduit.c:
- (process_multi_day): Call e_cal_component_commit_sequence() after
- modifying the properties of an ECalComponent and before fetching
- its icalcomponent.
-
- Reworked the patch from Dave Malcolm <dmalcolm@redhat.com>
-
-2005-09-30 Viren.L <lviren@novell.com>
-
- Fixes #258786
- * gui/e-cal-popup.[ch] (e_cal_popup_target_new_select) : Added
- E_CAL_POPUP_SELECT_NOTCOMPLETE flag.
- * gui/e-cal-menu.[ch] (e_cal_menu_target_new_select) : Added
- E_CAL_MENU_SELECT_NOTCOMPLETE flag.
- * gui/tasks-control.c (tasks_sensitize_table):
- * gui/e-calendar-table.c (tasks_popup_items): Added the NOT_COMPLETE
- flag.
-
-2005-09-30 Viren.L <lviren@novell.com>
-
- Fixes #314599.
- * gui/dialogs/recurrence-page.c (clear_widgets):
- Changed parameter ENDING_FOREVER to ENDING_FOR while invoking
- e_dialog_option_menu_set, invoked make_ending_count_special ().
-
-2005-09-30 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #273781
- * gui/alarm-notify/alarm-notify-dialog.c:
- (notified_alarms_dialog_new): Set the alarm window to
- appear on the top.
-
-2005-09-30 P. S. Chakravarthi <pchakravarthi@novell.com>
-
- Fix #274188
- * gui/e-cal-model.c
- (get_dtstart): make use of internal zone information so that
- previous date is not shown in list view for an all-day event.
-
-2005-09-30 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #273847
- * gui/dialogs/comp-editor.c: (comp_editor_get_mime_attach_list): set
- the disposition from the attachment.
- * gui/itip-utils.c: (append_cal_attachments): Send the right disposition
- value.
- * gui/itip-utils.h: Adding variable dipostion to CalMimeAttach structure.
-
-2005-09-30 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #246480
- * gui/e-calendar-view.c: (e_calendar_view_add_event): Remember
- the time if the event is copy pasted in week or month views.
-
-2005-08-30 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #270036
- (init_widgets): added the missing signal handler when
- the list selection changes.
-
- Reworked the patch from Dinesh Layek <ldinesh@novell.com>
-
-2005-08-29 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-calendar-table.c (e_calendar_table_open_task): Set the
- USER_ORG flag while converting a personal task to assigned one.
-
-2005-09-28 Viren.L <lviren@novell.com>
-
- Fixes #317014
- * gui/e-calendar-table.c (e_calendar_table_open_task):
- Set the flags in e_calendar_table_open_task.
- * gui/gnome-cal.c (gnome_calendar_new_task):set the NEW_ITEM flag.
- * gui/tasks-component.c (create_new_todo),
- * gui/e-tasks.c (e_tasks_new_task): set NEW_ITEM & USER_ORG flag.
- * gui/comp-editor-factory.c (edit_existing):check itip_organizer_is_user
- for tasks as well.
- * gui/dialogs/comp-editor.h: Added COMP_EDITOR_IS_ASSIGNED to CompEditorFlags.
- * gui/dialogs/comp-editor-page.h: Added COMP_EDITOR_PAGE_IS_ASSIGNED to page flags.
- * gui/dialogs/task-editor.[ch]: Changed parameters for task_editor_new and
- task_editor_construct.
-
-2005-09-28 Tor Lillqvist <tml@novell.com>
-
- * gui/e-cal-model-calendar.c (set_transparency)
- * gui/e-cal-model.c (set_classification)
- * gui/itip-bonobo-control.c (pstream_load, pstream_save): Use
- g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to
- literal ASCII strings, just casefolding ASCII is enough. Also
- better for portability.
-
-2005-09-08 P. S. Chakravarthi <pchakravarthi@novell.com>
-
- Fix #261625
- * gui/alarm-notify/alarm.c
- (queue_alarm): add the alarm in the queue only when the
- the alarm trigger time is after the current time.
-
-2005-09-01 Dinesh Layek <ldinesh@novell.com>
-
- Fixes #314922, 311694, 314918
- * calendar-component.c (create_new_event): Set the USER_ORG and MEETING flag properly.
-
-2005-08-24 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #313705
- * gui/alarm-notify/Makefile.am: Added CAMEL_LIBS.
- * gui/alarm-notify/notify-main.c: (main): Initialize
- the camel object.
-
-2005-08-23 Not Zed <NotZed@Ximian.com>
-
- * gui/e-cal-config.h: source-type is an enum not a pointer!
-
- * gui/tasks-component.c (selector_tree_drag_data_received):
- constify uid.
-
- * gui/itip-utils.c (comp_sentby): use the right list type for
- attendees.
-
- * gui/gnome-cal.c (config_categories_changed_cb): fix cast.
- (setup_widgets): fix casts.
-
- * gui/e-tasks.c: add missing e-categories.h include.
- (config_categories_changed_cb): fix cast.
-
- * gui/e-week-view.c (e_week_view_realize): remove unused.
-
- * gui/e-select-names-editable.c
- (e_select_names_editable_get_emails): remve unused.
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set):
- remove/comment unused.
-
- * gui/e-meeting-store.c (freebusy_async): g* strikes again, use
- the right lock/unlock function for the g-spastic-mutex.
- (process_callbacks_main_thread): fix signature to match usage.
- (refresh_queue_add): cast off warning
-
- * gui/e-itip-control.c (cleanup_ecal): fix signature to match use
-
- * gui/e-day-view.c (process_component): remove unused vars.
- (e_day_view_realize): more.
- (e_day_view_on_event_double_click): cast
- (e_day_view_update_calendar_selection_time): define out unused
-
- * gui/e-calendar-table.c (e_calendar_table_init): more a11y
- related casts.
-
- * gui/e-calendar-view.c (on_edit_appointment): proper boolean
- conversion of a pointer.
- (transfer_selected_items): cast
- (on_unrecur_appointment): remove unused prop
- (e_calendar_view_open_event): proper boolean conversion of pointer.
-
- * gui/e-cal-popup.c (needs_to_accept): remove unused.
-
- * gui/e-cal-model.c (set_instance_times): remove unused.
- :include missing calendar-config.
-
- * gui/dialogs/meeting-page.c (clear_widgets): yawn, another
- gtklabel wawrning.
- (meeting_page_fill_component): constify attendees.
-
- * gui/dialogs/e-send-options-utils.c: remove unused global sod,
- add missing string.h
-
- * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct):
- remove unused.
-
- * gui/dialogs/comp-editor.c (response_cb): wtf, this can't use
- em_utils!!! #if 0 it out and add a build warning.
- (cab_popup_position): pointer cast.
- (set_attachment_list): remove unused.
-
- * gui/dialogs/calendar-setup.c (eccp_general_offline): change very
- incorrect N_ macro to _.
- (CalendarSourceDialog): Umm, source_type is an enum, not a
- pointer.
- (eccp_get_source_color): remove unused.
-
-2005-08-19 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/comp-editor.h: Remove unwanted include of
- header that also borks the build.
-
-2005-08-02 Viren.l <lviren@novell.com>
-
- * gui/dialogs/meeting-page.c:(meeting_page_fill_widgets):
- Removed sensitizing of Add, Remove & Invite buttons.
- Assigned user_org using CompEditorPageFlags.
- * gui/dialogs/recurrence-page.c: (sensitize_button):
- Added a check for COMP_EDITOR_PAGE_MEETING.
- * gui/dialogs/event-page.c: (sensitize_widgets):
- Added sensitize boolean variable to store the && operation of
- user_org,!read_only.
- * gui/dialogs/event-editor.c: (show_meeting):
- If user is not organizer dont allow the widget to receive
- notification of drags.
- * gui/e-cal-popup.[ch]: (e_cal_popup_target_new_attachments):
- Added a flag E_CAL_POPUP_ATTACHMENTS_MODIFY and set it in the
- e_cal_popup_target_new_attachments function.
- * gui/dialogs/comp-editor.c: Added visibility mask
- to Remove and Add attachments popup menus.
- Removed function comp_editor_sensitize_attachment_bar which
- is no longer required.
- * gui/dialogs/task-editor.c: (task_editor_construct):
- Removed call made to comp_editor_sensitize_attachment_bar.
-2005-08-16 Not Zed <NotZed@Ximian.com>
-
- ** See bug #312668.
-
- * gui/calendar-offline-handler.[ch]: removed. Not even used
- anyway, god knows how it works.
-
-2005-08-17 Carsten Guenther <carsten.guenther@scalix.com>
-
- Fixes http://bugzilla.gnome.org/show_bug.cgi?id=313555
- * gui/dialogs/comp-editor.c:
- (get_attachment_list): Only save attachment to file
- if file does not exist yet.
-
-2005-08-17 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #311904
- * gui/dialogs/task-details-page.c:
- (task_details_page_fill_component): Check if the date is
- set before comparing it with current day for validation.
-
-2005-08-12 Viren.L <lviren@novell.com>
-
- Fixes #312739
- * gui/e-day-view.c: (e_day_view_on_event_double_click):
- Removed the checks for event_num, editing_event_day and ical_component_get_current_property.
-
-2005-08-12 Viren.L <lviren@novell.com>
-
- Fixes #310338
- * gui/alarm-notify-dialog.c:(notified_alarms_dialog_new),
- (edit_pressed_cb),(snooze_pressed_cb),(dialog_response_cb):
- Get the widget and connected "pressed" signal.
- Removed AN_ALARM_EDIT and AN_ALARM_SNOOZE enums.
- Removed check of these enums in dialog_response_cb and
- moved the code to it's associated call backs.
- * gui/alarm-notify/alarm-notify.glade:
- Changed the button name to button-edit and button-snooze.
- * gui/comp-editor-factory.c: (edit_existing):
- Added CompEditorFlags and used to invoke event_editor_new.
-
-2005-08-11 Carsten Guenther <carsten.guenther@scalix.com>
-
- * gui/dialogs/comp-editor.c: (get_attachment_list),
- (attachment_bar_icon_clicked_cb): Use g_build_path
- instead of g_strconcat to build the pathname to the
- attachment file.
- (set_attachment_list): Fixed how mime filename gets
- extracted from attachments pathname.
-
-2005-08-10 Tor Lillqvist <tml@novell.com>
-
- * importers/Makefile.am: Use privsolib instead of privlib (they
- are the same on Unix, on Win32 privsolibdir is libdir). Use
- NO_UNDEFINED.
-
-2005-08-10 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/comp-editor.c: (get_attachment_list),
- (set_attachment_list), (comp_editor_get_mime_attach_list):
- Removed the warnings.
-
-2005-08-10 Dinesh Layek < LDinesh@novell.com >
-
- Fixes #310438
- * gui/e-tasks.c:
- (table_drag_data_delete): removing e_cal_object only when the
- success flag is true
- * gui/tasks-component.c:
- (selector_tree_drag_data_received): made the success flag FALSE
- when the data is already present in the destination calendar,
- and TRUE otherwise.
-
-2005-08-05 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-cal-component-preview.c: (write_html): Using format
- specifier with gtk_html_stream_printf ().
- * gui/e-calendar-table.c: (e_calendar_table_on_save_as):
- * gui/e-calendar-view.c: (on_save_as): Using format
- specifier for fprintf.
- Vulnerability patch submitted by
- "Sitic Vulnerability Advisory <sitic@pts.se>"
-
-2005-08-05 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #311686
- * gui/e-meeting-list-view.c (row_activated_cb):Added
- a null check for path.
-
-2005-08-05 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #312460
- * gui/itip-utils.c (itip_get_comp_attendee): Removed
- a double free.
-
-
-2005-08-04 Viren.l <lviren@novell.com>
-
- Fixes #302460
- * gui/e-day-view.c (e_day_view_on_event_double_click):
- use icalcomponent_get_current_property and invoke
- e_calendar_view_edit_appointment with appropriate
- parameters.
-
-2005-08-03 Harry Lu <harry.lu@sun.com>
-
- Fix for #312447.
-
- * gui/gnome-cal.c: (notify_selected_time_changed): new function
- to emit "selected_time_changed" signal for all views.
- (gnome_calendar_goto_date): call notify_selected_time_changed
- after date changing.
-
-2005-08-03 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #309601
- * gui/e-day-view.c (e_day_view_on_top_canvas_drag_data_received):
- (e_day_view_on_main_canvas_drag_data_received):
- (e_day_view_finish_long_event_resize):
- (e_day_view_finish_resize):
- (e_day_view_change_event_time): Allow modification of the item only
- for organizer.
- * gui/itip-utils.c (itip_organizer_is_user): added the check for the
- static capability "no-organizer".
-
- commiting for viren.l <lviren@novell.com>
-
-2005-08-03 P. S. Chakravarthi <pchakravarthi@novell.com>
-
- Fixes #306017
- * gui/e-calendar-view.c: (e_calendar_view_delete_selected_occurrence):
- Obtain the default zone information from cal-view and eventually use it to
- determine the correct rid for an all-day event.
-
-2005-08-01 Shakti Sen <shprasad@novell.com>
-
- * gui/tasks-control.c (tasks_control_sensitize_commands): Added support
- for the Target selection for 'Tasks'.
- * gui/e-calendar-table.c (e_calendar_table_open_selected): Resolved
- one undefined symbol.
- * gui/e-tasks.c: Renamed the function name from 'e_tasks_get_tasks_menu'
- to 'e_tasks_get_tasks_menu'
- * gui/e-tasks.h: Added the declaration for 'e_tasks_get_tasks_menu'.
- Thus fixes few warning messages.
- * gui/e-cal-menu.c (e_cal_menu_target_new_select): Set the mask for
- E_CAL_MENU_SELECT_ASSIGNABLE.
-
- Fixes bug #231968
-
-2005-07-29 Chenthill Palanisamy <pchenthill@novell.com>
-
-
- * gui/e-day-view.c: (e_day_view_update_event_label),
- (e_day_view_update_long_event_label):
- * gui/e-week-view.c: (e_week_view_reshape_event_span):
- Commenting the code for marking the summary of unaccepted
- meetings as bold, since pango crashes for some meetings.
-
-2005-07-27 Mengjie Yu <meng-jie.yu@sun.com>
-
- * gui/e-cal-model-calendar.c:
- Add reserved field for an empty structure.
- * gui/e-cal-model-tasks.c:
- Add reserved field for an empty structure.
-
- Fixes #310198
-
-2005-07-25 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-cal-popup.c:
- (e_cal_popup_target_new_select): send the comp_data->client
- to itip_get_comp_attendee.
-
-2005-07-25 Viren.l <lviren@novel.com>
-
- Fixes:248126
- * gui/tasks-control.c (tasks_control_assign_cmd)
- (tasks_control_forward_cmd): Added 2 Bonobo UI verbs for Assign Task and Forward as iCalendar
- and the definitions to commands.
- * gui/e-calendar-table.[ch] (e_calendar_table_open_task)
- (e_calendar_table_get_selected_comp): renamed static functions open_task and get_selected_comp
- and made them public.
-
-2005-07-23 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-cal-popup.[ch]: (needs_to_accept),
- (e_cal_popup_target_new_select): Added a mask
- to check if the meeting needs to be accepted.
- * gui/e-calendar-view.c: Increased the index of the
- labels.
- * gui/e-day-view.c: (set_text_as_bold):
- * gui/e-week-view.c: (set_text_as_bold): Show as bold
- even if the attendee property is not found, since it might
- be a mailing list. The attendee will be added once he accepts
- meeting.
-
-2005-07-22 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #309991
- * gui/e-cal-model.c: (ensure_dates_are_in_default_zone),
- (e_cal_view_objects_added_cb):
- * gui/gnome-cal.c: (ensure_dates_are_in_default_zone),
- (dn_e_cal_view_objects_added_cb): If the start date and end
- date are in UTC convert them to default zone while displaying.
-
-2005-07-21 Shakti Sen <shprasad@novell.com>
-
- * gui/e-tasks.c (e_tasks_init): Creating the tasks-menu.
- * gui/tasks-control.c (tasks_control_activate,
- tasks_control_deactivate): Activated/deactivated the menu.
- In brief, added support for 'Tasks' menu creation.
-
- Fixes bug #310985.
-
-2005-07-21 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #309602
- * gui/e-day-view.c: (set_text_as_bold),
- (e_day_view_update_event_label),
- (e_day_view_update_long_event_label),
- (e_day_view_ensure_rows_visible):
- * gui/e-week-view.c: (set_text_as_bold),
- (e_week_view_update_event_cb): Check if the backend
- allows to adding the unaccepted appointments to calendar
- and show its summary as bold text.
-
-2005-07-21 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/gnome-cal.c (gnome_calendar_class_init),
- (adjust_e_cal_view_sexp), (display_view),
- (gnome_calendar_change_view):
- * gui/gnome-cal.h:
- Fixes #245331. Keybindings for switching b/w
- calendar views.
-
-2005-07-20 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #310340
- * gui/e-calendar-view.c:
- (e_calendar_view_delete_selected_occurrence): Check if the
- backend supports having master object for recurrences and set
- the recurrence id accordingly.
-
-2005-07-20 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/dialogs/comp-editor.c: (get_attachment_list) (comp_editor_get_mime_attach_list)
- made it use e_attachment_bar_get_parts instead of the old api
-
-2005-07-20 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #309680
- * gui/e-calendar-view.c (on_unrecur_appointment): Remove
- the recurrence id only from e_cal_comp.
-
-2005-07-08 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/alarm-notify/alarm-notify.c: (alarm_notify_add_calendar):
- Free the uri to the source in a few cases.
- * gui/calendar-config.c: (calendar_config_get_icaltimezone):
- Free the timezone location.
-
-2005-07-12 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-meeting-list-view.c:
- (process_section): Expand the mailing list into list of email
- ids if the server has not expanded them while autocompletion.
-
-2005-07-12 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/dialogs/comp-editor.c: (get_attachment_list) (attachment_guess_mime_type)
- (comp_editor_close) (comp_editor_get_mime_attach_list): Fixed some compiler
- warning and checked some negative cases
-
-2005-07-11 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/dialogs/comp-editor.c:(get_attachment_list) (attachment_bar_changed_cb)
- (attachment_bar_icon_clicked_cb) (cab_popups_free) (setup_widgets)
- (set_attachment_list) (comp_editor_get_mime_attach_list)
- Fixed huge memory leak, and come compile warnings. Also fixed
- a crash, when double click on attachments.
-
-2005-07-11 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/itip-utils.[ch]: Added a structure.
- * gui/dialogs/Makefile.am: Removed cal-attachment*
- * gui/dialogs/comp-editor.[ch]: (attach_message) (drop_action)
- (send_timezone) (save_comp) (response_cb) (delete_event_cb)
- (attachment_bar_changed_cb) (attachment_bar_icon_clicked_cb)
- (setup_widgets) (set_icon_from_comp) (fill_widgets) (real_edit_comp)
- Removed the attachment bar specific to calendar and made a merged
- one at widgets/misc/e-attachment*
-
-2005-07-11 Chenthill Palanisamy <pchenthill@novell.com>
-
- * conduits/calendar/calendar-conduit.c: (process_multi_day),
- (delete_record):
- * gui/dialogs/comp-editor.c: (save_comp), (delete_comp):
- * gui/e-calendar-view.c: (e_calendar_view_cut_clipboard),
- (delete_event), (transfer_item_to):
- * gui/e-itip-control.c: (remove_item):
- * gui/gnome-cal.c: (gnome_calendar_purge):
- * gui/dialogs/meeting-page.c: (meeting_page_construct): Use
- e_cal_remove_with_mod for removing recurring apppointment and call
- e_cal_remove_object for non-recurring ones.
- * gui/itip-utils.c: (itip_organizer_is_user),
- (itip_get_comp_attendee): Fixed some memory leaks.
-
-2005-07-07 Veerapuram Varadhan <vvaradhan@novell.com>
-
- * gui/calendar-component.c: (impl_handleURI): Added support for
- opening a calendar-item in the editor when its source-UID and UID/RID
- is passed in the command-line.
- * gui/gnome-cal.[c,h]: (gnome_calendar_edit_appointment): Newly added
- for the above functionality.
-
-2005-07-06 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/event-page.c: (sensitize_widgets): Enable alarms
- even if we are not organizer.
-
-2005-07-06 Sankar P <psankar@novell.com>
-
- * gui/dialogs/comp-editor.c (response_cb):
- Changed the way in which calendars having null summary are handled.
- Fixes #237844
-
- * calendar-errors.xml:
- Changed the button label from Send to Save
-
-2005-07-05 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/e-cal-popup.c: Created new target type
- * gui/e-cal-popup.h: Added #define for the new target type
- * gui/dialogs/cal-attachment-bar.c: (cab_popup) Poped e-cal instead of
- em_*. Removed mailer code from calendar
- * gui/dialogs/comp-editor.c: (drag_data_received) Poped e-cal instead of
- em_*. Removed mailer code from calendar.
-
-2005-07-04 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/calendar-component.c: (create_new_event): Set
- the new item flag.
- * gui/dialogs/event-editor.c: (event_editor_construct):
- Check the new item flag and create the scheduling page.
-
-2005-07-04 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/dialogs/meeting-page.c: (meeting_page_construct) Added
- vertical scrollbar policy of list view to always so that it does
- not extend the view when there are more contacts.
-
-2005-07-02 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-meeting-list-view.c: (process_section):
- * gui/e-select-names-editable.c:
- (e_select_names_editable_get_emails): If the contact list
- does not have all the mail ids, use the name of the contact
- list as the email id.
-
-2005-07-01 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-cal-model.c: (e_cal_model_class_init),
- (e_cal_view_progress_cb), (e_cal_view_done_cb):
- * gui/e-cal-model.h: Added two new signals to notify
- the progress information from the model to UI.
- * gui/e-calendar-marshal.list: Added a new item to marshal
- the string,int,int arguments.
- * gui/e-calendar-table.h:
- * gui/e-calendar-table.c: (delete_selected_components),
- (clipboard_get_text_cb), (e_calendar_table_set_status_message):
- * gui/e-calendar-view.h:
- * gui/e-calendar-view.c: (e_calendar_view_set_status_message),
- (e_calendar_view_cut_clipboard), (clipboard_get_text_cb),
- (transfer_selected_items):
- * gui/e-tasks.c: (view_progress_cb), (view_done_cb),
- (setup_widgets), (set_status_message), (backend_died_cb):
- * gui/gnome-cal.c: (update_query), (view_progress_cb),
- (view_done_cb), (setup_widgets), (client_cal_opened_cb),
- (default_client_cal_opened_cb), (open_ecal), (backend_died_cb),
- (gnome_calendar_purge): Added a new variable to
- e_calendar_view_set_status_message and
- e_calendar_table_set_status_message methods to show the progress
- information.
-
-2005-06-27 Mark G. Adams <mark.g.adams@sympatico.ca>
-
- * conduits/todo/todo-conduit.c: (add_record): Fix leak of uids
- * conduits/calendar/calendar-conduit.c: (process_multi_day): Fix leak of uids
-
-2005-07-01 Praveen Kumar <kpraveen@novell.com>
-
- * gui/e-cal-config.h : Added the source type field in
- _ECalConfigTargetSource
- * gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar) : Set
- the source type as calendar
- (calendar_setup_edit_task_list) : Set the source type as tasks.
-
-2005-06-25 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/event-editor.c
- (event_editor_construct): Do not desensitize the attachment
- bar as there will be no way to open an attachement.
-
-2005-07-06 Not Zed <NotZed@Ximian.com>
-
- * importers/icalendar-importer.c (ivcal_getwidget): fix a missing
- init on sd.
- (ivcal_getwidget): pack the notebook with fill on.
-
- * importers/Makefile.am: remove -module flags.
-
- * Makefile.am: build importers before the gui.
-
- * gui/main.c (initialize): register the inbuild calendar importers.
-
- * importers/icalendar-importer.c: Converted to eplugin, cleaned up
- some stuff as well. Put the selectors in scrolledwindows so they
- dont grow unbounded.
- (gnome_calendar_getwidget): set the default actions based on
- wether we've run or not.
- (update_single_object): removed dead code?
-
-2005-07-05 Not Zed <NotZed@Ximian.com>
-
- * importers/icalendar-importer.c: start work on e-plugin importer.
-
-2005-06-27 Tor Lillqvist <tml@novell.com>
-
- * */Makefile.am: Prune unnecessary and nonexistent directories
- from the -I options. Prune pathname macros not used in the sources
- in that directory from the -D options. Use NO_UNDEFINED. Link with
- all necessary libraries. On Win32 link with bootstrap libraries
- where necessary.
-
- * common/Makefile.am: As this is a noinst library, no use for
- LDFLAGS or LIBADD.
-
- * gui/Makefile.am: Use Win32-specific hack to work around MSYS
- feature in the gconftool invokation.
-
- * gui/calendar-commands.c: Remove superfluous inclusion of <pwd.h>.
-
- * gui/e-cal-list-view.c
- * gui/e-day-view.c: Remove superfluous inclusion of <gdk/gdkx.h>.
-
- * gui/gnome-cal.c: Remove superfluous inclusion of <sys/wait.h>.
-
- * importers/icalendar-importer.c: Use g_usleep() instead of sleep().
-
-2005-06-25 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/comp-editor.c:
- (real_send_comp): check save schedules before sending
- the comp through send_comp.
-
-2005-06-23 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/event-page.c: (sensitize_widgets):
- desensitize the source selector if a meeting is
- delegated.
-
-2005-06-22 viren.l <viren@novell.com>
-
- Fixes #305590
- * gui/e-meeting-store.c: (freebusy_async):
- Lock the mutex before invoking e_cal_get_free_busy(),
- unlock the mutex after the function call.
-
-2005-06-22 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/comp-editor.c: (real_edit_comp): Do
- not sensitize the attachment bar here.
- * gui/dialogs/event-editor.c (event_editor_construct):
- Do not construct the scheduling page for non organizer
- and sensitize the attachment bar.
- * gui/dialogs/event-page.c: (event_page_fill_widgets): Need
- not call the e_cal_get_object to find if the event is existing
- one or not.
- * gui/e-calendar-view.c: (e_calendar_view_new_appointment_for),
- (e_calendar_view_edit_appointment): Set the user org flags
- here itslef.
-
-2005-06-22 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/comp-editor.c
- (save_comp): Commit the sequence all the fields event if
- the delegator is delegating a paticular instance.
- (prompt_to_save_changes): Send FALSE to recur_comp_dialog
- for last argument.
- (response_cb): Send the delegate as true if the
- event is being delegated.
- (delete_event_cb),(set_attendees_for_delegation): removed the warning.
- * gui/dialogs/event-page.c: (sensitize_widgets),
- (event_page_fill_widgets): Do not sensitize the send options
- button if the item is being delegated.
- * gui/dialogs/recur-comp.c: (recur_component_dialog):
- * gui/dialogs/recur-comp.h: Added a new boolean argument
- to recurrence dialog to indicate the item is delegated.
- * gui/e-cal-model-calendar.c: (ecmc_set_value_at):
- * gui/e-day-view.c: (e_day_view_finish_long_event_resize),
- (e_day_view_finish_resize), (e_day_view_change_event_time),
- (e_day_view_on_editing_stopped),
- (e_day_view_on_top_canvas_drag_data_received),
- (e_day_view_on_main_canvas_drag_data_received):
- * gui/e-week-view.c: (e_week_view_change_event_time),
- (e_week_view_on_editing_stopped): Send FALSE to delegate
- if the delegate in the call recur_component_dialog.
-
-2005-06-20 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/comp-editor.c (save_comp_with_send),
- (real_edit_comp), (set_attendees_for_delegation), (real_send_comp):
- If a meeting is delegated. Send a Request to the delegate and a
- reply to the organizer.
- * gui/dialogs/event-editor.c: (event_editor_edit_comp): Add the
- delegator alone in the meeting editor for personal calendar.
- (event_editor_send_comp), (show_meeting): Show the scheduling
- page if the meeting is being delegated.
- * gui/dialogs/meeting-page.c: (clear_widgets),
- (meeting_page_fill_widgets), (meeting_page_fill_component),
- (add_clicked_cb), (remove_attendee), (remove_clicked_cb),
- (init_widgets), (attendee_added_cb), (meeting_page_construct):
- Do not allow only non-attendees to be added as delegatees.
- While sending the delegated item remove the other attendees.
- Allow only one delegate to be added for personal calendar.
- * gui/e-cal-popup.c: (get_attendee_prop), (is_delegated)
- (e_cal_popup_target_new_select):Disabled
- the popup menu item if the meeting is already delegated.
- * gui/e-cal-popup.h: Added a new mask to check if the meeting
- is already delegated.
- * gui/e-calendar-view.c: (set_attendee_status_for_delegate),
- (on_delegate): Change the status of the attendee to delegated.
- Set the new mask for the delegate popup menu item.
- * gui/e-meeting-list-view.c: (e_meeting_list_view_class_init),
- (attendee_edited_cb): Added a new signal to identify the attendee
- added in meeting page. Do not remove the attendee if the user
- modifies the existing email id to NULL value.
- * gui/e-meeting-list-view.h: Added the notification signal.
- * gui/itip-utils.h: Added a new function to get our email id
- from the list of attendees.
- * gui/itip-utils.c (get_attendee), (itip_get_comp_attendee),
- (comp_from), (comp_to_list), (comp_subject), (comp_sentby),
- (itip_send_comp): Send udpates to delegator only
- if the rsvp is enabled. Set the status of the attendee
- properly in the REPLY method, since there will two attendees
- unlike the updating attendee status.
-
-2005-06-18 Tor Lillqvist <tml@novell.com>
-
- * gui/GNOME_Evolution_Calendar.server.in.in
- * importers/GNOME_Evolution_Calendar_Importer.server.in.in: Use SOEXT.
-
-2005-06-13 Jedy Wang <jedy.wang@sun.com>
-
- We need compare backend for long events too.
-
- * gui/e-day-view.c: (e_day_view_find_event_from_uid):
-
-2005-06-08 viren.l <viren@novell.com>
-
- * gui/dialogs/event-editor.c (event_editor_edit_comp): set COMP_EDITOR_PAGE_USER_ORG
- flag. sensitizing attachment bar if user is organizer.
- * gui/dialogs/event-page.c, gui/dialogs/recurrencepage.c,
- gui/dialogs/meeting-page.c
- (fill_widgets)
- (sensitize_widget)
- (sensitize_button):
- sensitizing widgets if user is not an organizer.Boolean check
- for user_org is achieved by using the flags in CompEditorPage structure.
- check that variable while sensitizing widgets.Remove the scheduling page
- if user is not organizer.Retrive values based on a key using hash table.
- Added a call back for row_activation. Enabling and disabling the
- "editing" property of the renderers based E_MEETING_STORE_EDIT_STATUS.
- Also check whether user is creating new meeting or openning an existing
- meeting and hence disable widgets appropriate.
- * gui/e-meeting-list-view.c (build_table, edit_col_for_user,
- edit_col_for_organizer, row_activation_cb): store renderers in hash table
- using direct hashing since we can to enable/disable only column-wise since
- tree view is used here.
-
-2005-06-07 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/calendar-component.c: (create_new_event):
- call the event_editor_new with comp editor flags.
- * gui/dialogs/comp-editor-page.h:
- * gui/dialogs/comp-editor.c: (comp_editor_set_flags),
- (comp_editor_get_flags), (comp_editor_append_page):
- * gui/dialogs/comp-editor.h: Set the comp editor
- flags, to indicate whether the item is a meeting, appointment,
- a new event, or a delegated item etc.
- * gui/dialogs/event-editor.c: (event_editor_construct),
- (event_editor_edit_comp): Do not show the existing attendees
- while delegating.
- (event_editor_new): Replaced the meeting variable with
- the comp editor flags
- (show_meeting): Show the delegate page while delegating a
- meeting.
- * gui/dialogs/event-editor.h: Modified the event_editor_new
- function.
- * gui/dialogs/meeting-page.c:
- (set_attendees):
- (meeting_page_finalize),(clear_widgets),
- (sensitize_widgets),(meeting_page_fill_widgets),
- (meeting_page_fill_component), (get_widgets),
- (add_clicked_cb), (meeting_page_construct): Set the label
- for the meeting page to Delegatee. Changed the organizer label
- to From since groupwise does have a concept of organizer.
- Enabled Add, remove buttons for delegation. Added the delegte's
- to the exiting attendee list while filling the component. Added
- a boolean variable to the private structure to store the user's
- address. Modified the label for meeting page as Attendees. If
- the meeting is delegated, then to delegatees.
- * gui/dialogs/meeting-page.glade: Added a reference to organizer
- widget as org-label.
- * gui/e-cal-popup.c: (e_cal_popup_target_new_select):
- * gui/e-cal-popup.h: Added new masks for supporring delegation.
- * gui/e-calendar-view.c: (set_attendee_status_for_delegate),
- (on_delegate), (e_calendar_view_new_appointment_for),
- (open_event_with_flags), (e_calendar_view_edit_appointment):
- Call the event editor with comp editor flags. Set the users
- partstat to delegated.
-
-2005-05-30 Thouis R. Jones <thouis@csail.mit.edu>
-
- Fixes #272301
-
- * gui/apps_evolution_calendar.schemas.in.in:
- * gui/calendar-config-keys.h:
- * gui/calendar-config.c: (calendar_config_get_marcus_bains,
- calendar_config_add_notification_marcus_bains):
- * gui/calendar-config.h:
- * gui/e-day-view-config.c: (set_marcus_bains,
- marcus_bains_changed_cb, e_day_view_config_set_view):
- * gui/e-day-view-main-item.c: (e_day_view_main_item_draw):
- * gui/e-day-view-time-item.c: (e_day_view_time_item_draw):
- * gui/e-day-view.c: (e_day_view_init, e_day_view_set_colors,
- e_day_view_get_show_marcus_bains, e_day_view_set_marcus_bains,
- e_day_view_update_marcus_bains):
- * gui/e-day-view.h:
- * gui/gnome-cal.c: (update_marcus_bains_line_cb, setup_widgets,
- gnome_calendar_destroy): Added Marcus Bains Line to main item
- view and time bar.
-
-2005-05-30 Harry Lu <harry.lu@sun.com>
-
- * gui/itip-utils.c: (itip_send_comp): check whether backend could
- handle sending resuests/updates, and if so, just return.
-
-2005-05-24 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #272114
- * gui/dialogs/calendar-setup.c: (eccp_commit),
- (calendar_setup_edit_calendar): Check if the color is
- present in the source before setting it.
-
-2005-05-24 Srinivasa Ragavan <sragavan@novell.com>
- * gui/dialogs/cal-attachment-bar.c, gui/dialogs/cal-attachment-bar.h,
- gui/dialogs/cal-attachment.c, gui/dialogs/cal-attachment.h,
- gui/dialogs/comp-editor.c, calendar.error.xml: Added the support to DnD
- remote URL to the attachment window. It downloads asynchronously and
- attaches.
-
-2005-05-16 Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/dialogs/comp-editor.c (attachment_bar_changed_cb)
- (attachment_bar_icon_clicked_cb) (setup_widgets)
- (comp_editor_sensitize_attachment_bar) (fill_widgets):
- Removed the expander in calendar attachment. It keeps showing
- now, to ease DnD.
-
-2005-05-16 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/gnome-cal.c: (client_cal_opened_cb),
- (default_client_cal_opened_cb): Removed the debug
- messages.
-
-2005-05-16 Not Zed <NotZed@Ximian.com>
-
- * moved e-error to e-util/
-
-2005-05-16: Srinivasa Ragavan <sragavan@novell.com>
-
- * gui/GNOME_Evolution_Calendar.server.in.in: Added tooltips
-
-2005-05-13 Sushma Rai <rsushma@novell.com>
-
- * gui/dialogs/recurrence-page.c (make_ending_until_special): Setting
- two weeks after the start date as default "until" date.
- Fixes #268906
-
-2005-05-12 Harish Krishnaswamy <kharish@novell.com>
-
- on behalf of jack jia <jack.jia@sun.com>
- fixes #229794
-
- * gui/dialogs/recurrence-page.c: (make_weekly_special):
- Allow deselection of the current day while scheduling
- recurrences based on weeek days.
-
-2005-05-12 Sushma Rai <rsushma@novell.com>
-
- * gui/e-cal-model-tasks.c (get_geo): Not marking geographical locations
- for translation.
- Fixes #261080
-
-2005-05-12 Vivek Jain <jvivek@novell.com>
-
- Fixes #271523
-
- * gui/dialogs/calendar-setup.c:
- (CalendarSourceDialog): included an ECalSourceType member in
- the structure
- (calendar_setup_edit_calendar): set source_type as EVENT
- (calendar_setup_edit_task_list): set source_type as TODO
- (eccp_general_offline): Change the label according to the type
-
-2005-05-12 Srinivasa Ragavan <sragavan@novell.com>
- * gui/task-component.c (selector_tree_drag_motion): Fixes the bug 269416
- It makes the DnD to move tasks instead copying.
-
-
-2005-05-09 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #301350
-
- * gui/alarm-notify/alarm-queue.c (alarm_queue_init): install a timeout
- handler to check, every 30 minutes, for not losing the midnight refresh.
- (check_midnight_refresh): check the midnight refresh and if we missed it,
- reload alarms.
- (queue_midnight_refresh): made the midnight value be global.
-
-2005-05-09 Philip Van Hoof <pvanhoof@gnome.org>
-
- * gui/alarm-notify/*: Made the alarm-notify dialog
- multi-alarm aware
-
-2005-05-09 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/migration.c (migrate_ical_folder_to_source): cover the case when
- there is no calendar.ics/tasks.ics file in the folder to migrate.
-
-2005-05-06 Vivek Jain <jvivek@novell.com>
-
- **Fixes #261079
- * gui/e-alarm-list.c:(get_alarm_string)
- Added translator comments.
-
-2005-05-06 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/apps_evolution_calendar.schemas.in.in: Fixing a
- grammar mistake.
- See 301459
-
-2005-05-06 Changwoo Ryu <cwryu@debian.org>
-
- * gui/apps_evolution_calendar.schemas.in.in: added a missing
- period in long description. and fixed an invalid tag.
-
-2005-05-06 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #272464
- * calendar-errors.xml:
- * calendar-errors.xml.h: Changed the primary and secondary
- messages to make it more clear.
-
-2005-05-06 Vivek Jain <jvivek@novell.com>
-
- **Fixes #272566
- * gui/dialogs/event-page.glade:
- removed unwanted space in button label
-
-2005-05-06 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-cal-model.c (e_cal_view_objects_added_cb): uncomment code that
- shouldn't be.
-
-2005-05-06 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #271679
-
- * gui/dialogs/comp-editor.c (save_comp):
- * gui/e-week-view.c (e_week_view_on_editing_stopped,
- e_week_view_change_event_time): set correct start/end times for
- individual instances and remove all rules and exceptions.
- (e_week_view_reshape_event_span): show recurrence icons for
- detached instances also.
-
- * gui/e-day-view.c (e_day_view_finish_resize,
- e_day_view_finish_long_event_resize, e_day_view_on_editing_stopped,
- e_day_view_on_top_canvas_drag_data_received,
- e_day_view_on_main_canvas_drag_data_received,
- e_day_view_change_event_time): set the correct start/end times when
- modifying individual instances and remove all rules and exceptions.
- (e_day_view_on_top_canvas_motion, e_day_view_on_main_canvas_motion):
- disable D&D for recurring events.
- (e_day_view_reshape_long_event, e_day_view_reshape_day_event):
- check for detached instances and show recurrence icons for them also.
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
- check for detached instances and show recurrence icons for them also.
-
- * gui/e-cal-model.c (set_instance_times): don't use the RECURRENCE-ID
- to get the datetime.
-
- * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence):
- exceptions need to be date only.
- (e_calendar_view_copy_clipboard): remove RECURRENCE-IDs from components
- we copy to the clipboard.
- (e_calendar_view_cut_clipboard): when cutting instances, remove only
- the selected instances.
- (on_unrecur_appointment): use MOD_ALL to modify the master object and
- remove recurrence-id from detached event.
-
- * gui/dialogs/recur-comp.c (recur_component_dialog): re-enabled.
-
-2005-05-05 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/event-page.c:
- * gui/dialogs/task-page.c: removed GAL's e-categories.h include.
-
-2005-05-01 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #274406
- * gui/alarm-notify/alarm-notify.c: (cal_opened_cb): Removed the
- additional unref present.
-
-2005-04-18 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #274476
- * gui/e-calendar-view.c: (e_calendar_view_open_event): Send the
- right value boolean variable meeting to e_calendar_view_edit_appointment
- method.
-
-2005-04-08 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #70035
-
- * importers/icalendar-importer.c (support_format_fn, load_file_fn):
- use e_cal_util_parse_ics_string instead of icalparser_parse_string.
-
-2005-04-05 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-cal-model.c: (cal_opened_cb): If the status
- is busy call open method again, do not remove the
- client.
- * gui/gnome-cal.c: (client_cal_opened_cb),
- (default_client_cal_opened_cb): IF the status is busy
- and the load_state is not loaded call open method.
-
-2005-04-04 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #68423
-
- * gui/migration.c (migrate_ical):
- * gui/e-tasks,c (e_tasks_expunge):
- * gui/gnome-cal.c (gnome_calendar_purge): fixed huge (in some cases)
- memory leaks.
-
-2005-04-01 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #41740
-
- * gui/calendar-errors.xml:
- * gui/calendar-errors.xml.h: added editor error.
-
- * gui/alarm-notify/alarm-queue.c (edit_component): display error messages
- when we can't load the component in the editor.
-
- * gui/alarm-notify/Makefile.am: linked against libemiscwidgets.la.
-
-2005-04-01 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #73879
- * gui/dialogs/comp-editor.[ch]:
- (comp_editor_sensitize_attachment_bar): Added a function
- to sensitize/desensitize the attachment bar.
- (comp_editor_notify_client_changed): When client changes
- sensitize the attachment bar.
- * gui/dialogs/event-editor.c: (event_editor_construct):
- * gui/dialogs/task-editor.c: (task_editor_construct): Sensitize
- the attachment bar.
-
-2005-03-31 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #73969
- * gui/e-calendar-view.c: (delete_event): Remove the
- recurrence id property if its present.
-
-2005-03-30 Li Yuan <li.yuan@sun.com>
-
- Fixes #73914
-
- * gui/dialogs/cal-prefs-dialog.glade:
- add a11y name to Publishing Table.
-
-2005-03-28 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #44719
-
- * gui/alarm-queue.c (display_notification): make the alarm dialog sticky
- when not using the system tray.
-
-2005-03-24 JP Rosevear <jpr@novell.com>
-
- Fixes #69272
-
- * gui/comp-util.c (cal_comp_event_new_with_defaults): ensure we
- always return a valid comp
-
- * gui/comp-util.c (cal_comp_task_new_with_defaults): ditto; fix
- obvious pasto that would cause a leak
-
-2005-03-24 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #73320
- * gui/e-meeting-list-view.c: (attendee_edited_cb): Check if
- we are editing the same row and if so do not remove the attendee.
-
-2005-03-24 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #73508
- * gui/dialogs/meeting-page.c: (meeting_page_fill_widgets): Set the
- organizers status as NEEDS ACTION, checking for the static capability.
-
-2005-03-16 Li Yuan <li.yuan@sun.com>
-
- * gui/calendar-view.c: (calendar_view_class_init):
- remove the edit function.
-
- Fixes # 40762
-
-2005-03-22 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/calendar-component.c: (popup_event_cb): Popup all the
- menu items when clicked on the source.
-
-2005-03-21 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #73031
- * gui/dialogs/event-editor.c: (event_editor_finalize):
- * gui/dialogs/task-editor.c: (task_editor_finalize): Added
- a check for the presence of the object before unreffing it.
-
-2005-03-21 JP Rosevear <jpr@novell.com>
-
- * gui/gnome-cal.c (default_client_cal_opened_cb): if its busy, try
- again
- (client_cal_opened_cb): ditto
-
-2005-03-21 JP Rosevear <jpr@novell.com>
-
- * gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received):
- abort sequence
- (e_day_view_on_top_canvas_motion): prevent drag of recurring events
- (e_day_view_on_main_canvas_motion): ditto
-
- * gui/e-calendar-view.c (on_unrecur_appointment): clear recur id
-
-2005-03-21 JP Rosevear <jpr@novell.com>
-
- * gui/tasks-component.c (ensure_sources): ensure the color and
- primary config are set on the personal source
-
- * gui/calendar-component.c (ensure_sources): ditto
-
-2005-03-21 Li Yuan <li.yuan@sun.com>
-
- * gui/print.c: (print_comp_item):
- Fixes #44579
-
-2005-03-17 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #68525, 68580
- * gui/gnome-cal.c (update_query), (gnome_calendar_init):
- Added a boolean variable to avoid crash when a race condition
- occurs.
-
-2005-03-16 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #73101
-
- * calendar-errors.xml:
- * calendar-errors.xml.h: removed unnecessary leading space.
-
-2005-03-16 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #72983
-
- * gui/e-cal-list-view.c (e_cal_list_view_new): set EXPAND_RECURRENCES
- flag on the model.
-
-2005-03-15 JP Rosevear <jpr@novell.com>
-
- * gui/itip-utils.c (itip_send_comp): when publishing, the to_list
- will always be null so don't error out then
-
-2005-03-13 JP Rosevear <jpr@novell.com>
-
- Fixes #73563
-
- * gui/alarm-notify/alarm-queue.c (notify_dialog_cb): make sure in
- the snooze case the tray (and via callbacks then) the dialog is
- destroyed
-
-2005-03-14 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #72979
- * gui/e-cal-list-view.c (find_meeting),
- (e_cal_list_view_on_table_double_click): Check whether its a
- meeting and send appropriate boolean variable.
-
-2005-03-11 Sushma Rai <rsushma@novell.com>
-
- * gui/dialogs/event-page.c (event_page_show_options): Removed the check
- for general options page static capability. Send options dialog will
- not be created at this point.
- (e_sendoptions_clicked_cb): Checking for the general options page
- static capability, when used clicks send options button.
-
- * gui/dialogs/task-page.c (task_page_show_options)
- (e_sendoptions_clicked_cb): Similar.
- Fixes #73501
-
-2005-03-09 Not Zed <NotZed@Ximian.com>
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
- * gui/e-day-view.c (e_day_view_reshape_day_event): free the ecalcomponent
- after using it.
-
-2005-03-08 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #73141
- * gui/dialogs/comp-editor.c:
- (comp_editor_notify_client_changed):Assign the updated client
- to priv->client and unref the old one.
-
-2005-03-07 JP Rosevear <jpr@novell.com>
-
- * gui/alarm-notify/alarm-queue.c: add remove_client_alarms prototype
-
-2005-03-06 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/recur-comp.c (recur_component_dialog): disable dialog for
- asking user which instance(s) to modify.
-
-2005-03-04 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #72835
-
- * gui/alarm-notify/alarm-notify-dialog.[ch] (alarm_notify_dialog):
- changed to return the dialog we create, and to run in the background.
- (dialog_response_cb): response callback for the dialog.
-
- * gui/alarm-notify/alarm-queue.c (alarm_queue_done): don't g_assert,
- just check for midnight_refresh pointer, and clear it up if not NULL.
- Also, traverse all clients with g_hash_table_foreach_remove.
- (free_client_alarms_cb, alarm_queue_remove_client, load_alarms): added
- missing cleanup code.
- (queue_midnight_refresh): don't g_assert, just check for midnigh_refresh
- pointer and clear it up if not NULL.
- (open_alarm_dialog): store the dialog returned by alarm_notify_dialog().
- (tray_icon_destroyed_cb): destroy the dialog if still around.
-
-2005-02-28 Harish Krishnaswamy <kharish@novell.com>
-
- Fixes #69556
- * gui/dialogs/cal-attachment-bar.c:
- (cal_attachment_bar_attach_mime_part): Add missing call to
- attach_mime_part.
-
-2005-02-28 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #72928
-
- * gui/alarm-notify/notify-main.c (main): don't call alarm_queue_done...
-
- * gui/alarm-notify/alarm-notify.c (alarm_notify_finalize): ...do it at
- the same level than alarm_queue_init.
-
-2005-02-28 JP Rosevear <jpr@novell.com>
-
- * gui/gnome-cal.c (gnome_calendar_goto_today): revert fix for
- 70000, its a ui change
-
-2005-02-28 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/comp-editor.c: (attachment_bar_icon_clicked_cb),
- (setup_widgets): Connect the signal to "event", and open the attachment
- only if its a double click from the cal attachment bar.
-
-2005-02-28 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #72958
- * gui/dialogs/comp-editor.c: (save_comp): If the backend
- returns success, if the delay delivery is set, do not
- show them in the view, since it will not be created in the
- server.
-
-2005-02-25 Sivaiah Nallagatla <snallagatla@novell.com>
-
- * gui/calendar-component.c (ensure_sources) :
- Make sure the base uri is same as the one
- migration code uses. Avoids two "On This Computer"
- groups when both migration and this code runs.
-
-2005-02-23 Hans Petter Jansson <hpj@novell.com>
-
- * common/authentication.c:
- * gui/e-pub-utils.c:
- * gui/alarm-notify/alarm-notify.c:
- * gui/alarm-notify/notify-main.c:
- * gui/dialogs/url-editor-dialog.c:
- Include <libedataserverui/e-passwords.h>.
- * gui/itip-utils.c: Remove e-passwords.h include, it's not
- needed.
-
-2005-02-23 JP Rosevear <jpr@novell.com>
-
- Fixes #70000
-
- * gui/gnome-cal.c (gnome_calendar_goto_today): set the view type
- to day view
-
-2005-02-23 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #72006
- * gui/dialogs/comp-editor.c: (real_edit_comp):
- * gui/dialogs/event-editor.c: (show_meeting):
- * gui/dialogs/task-editor.c: (show_assignment): Reset
- the changed state, to suppress the promt_to_changes
- dialog when the fields are not changed.
-
-2005-02-21 JP Rosevear <jpr@novell.com>
-
- Fixes #63866, #67714, #62089, #47747, #61495, #28947
-
- * gui/e-select-names-renderer.h: update signal
-
- * gui/e-select-names-renderer.c
- (e_select_names_renderer_editing_done): emit the cancelled signal
- properly and don't update if it was cancelled
- (e_select_names_renderer_focus_out_event): if the cell loses focus
- the editing is done
- (e_select_names_renderer_start_editing): listen for focus out
- event, and only set the address if appropriate
- (e_select_names_renderer_get_property): handle name/email props
- (e_select_names_renderer_set_property): ditto
- (e_select_names_renderer_finalize): free name/email
- (e_select_names_renderer_class_init): install name/email props;
- cell_edited returns lists now
-
- * gui/e-select-names-editable.h: update protos
-
- * gui/e-select-names-editable.c: don't really override any of the
- gtkentry editable cell routines since we directly inherit from
- ENameSelectorEntry
- (e_select_names_editable_get_emails): get all the email addresses
- (e_select_names_editable_get_names): get all the names
- (e_select_names_editable_set_address): set the destination
- correctly for editing
-
- * gui/e-meeting-list-view.c (attendee_edited_cb): handle a blank
- entry by removing it and don't allow an entry that already exists
- to be entered
- (attendee_editing_canceled_cb): if the item editing is cancelled
- and it has no name or email address, remove it
- (process_section): if the contact has multiple addresses (ie a
- mailing list), expand the entries
-
- * gui/e-calendar-marshal.list: add new marshaller
-
-2005-02-19 Sivaiah Nallagatla <snallagatla@novell.com>
-
- * gui/calendar-component.c (ensure_sources) :
- Make sure all the default source groups and sources
- are present by adding missing ones. Also update the
- base uri of "On This Computer" group to take care
- of change in user home dir.
- (calendar_component_init) : call ensure_sources
-
- * gui/tasks-component.c (ensure_sources)
- (tasks_component_init) : ditto
-
- Takes care of #67411 & #67724 for
- calendar and tasks components.
-
-
-2005-02-18 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/alarm-notify/alarm-notify.c (cal_opened_cb): if opening
- the calendar failed, disconnect signals and unref it.
-
-2005-02-18 Chenthill Palanisamy <pchenthill@novell.com>
-
- * _EventPagePrivate: added a boolean variable is_meeting.
- * _TaskPagePrivate: added a boolean variable is_assignment.
- * gui/dialogs/task-page.h:
- * gui/dialogs/event-page.h: Added a function to set
- the is_meeting boolean variable.
- * gui/dialogs/event-editor.c: (show_meeting):
- * gui/dialogs/task-editor.c: (show_assignment): Called
- the function to set the boolean variable.
- * gui/dialogs/event-page.c: (event_page_init),
- (event_page_set_meeting), (source_changed_cb):
- * gui/dialogs/task-page.c: (task_page_init),
- (task_page_set_assignment), (source_changed_cb):
- If the source is changed and only if its a group
- event show the send options frame.
- * gui/gnome-cal.c: (client_cal_opened_cb): Do not
- popup the offline error dialog for tasks.
-
-2005-02-15 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/migration.c (migrate_ical_folder_to_source): check return value
- from e_cal_new, to display a better warning message.
-
-2005-02-11 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #72038
-
- * gui/itip-utils.c (itip_send_comp): when we get no recipients, don't
- send the message and return an error.
-
-2005-02-10 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-cal-model.c: (e_cal_view_objects_added_cb): Remove
- the component from the view, if its already present before
- adding it.
-
-2005-02-09 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/event-editor.c: (event_editor_edit_comp):
- Always remove the meeting and scheduling pages when there are no
- attendees. This allows the sender to be added to the attendees list
- by default while creating new meetings.
-
-2005-02-08 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-cal-model.c (set_instance_times): set instance times correctly.
-
-2005-02-07 JP Rosevear <jpr@novell.com>
-
- Fixes #61075
-
- * gui/apps_evolution_calendar.schemas.in.in: add long descriptions
- and clean up short items
-
-2005-02-05 Harish Krishnaswamy <kharish@novell.com>
-
- * calendar-errors.xml:
- * calendar-errors.xml.h:
- * gui/e-tasks.c: (client_cal_opened_cb):
- * gui/gnome-cal.c: (client_cal_opened_cb),
- (default_client_cal_opened_cb): add messages for
- calendar/tasks not marked for offline usage.
-
-
-2005-02-05 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/comp-editor.c (attach_message), (drop_action),
- (drop_popup_copy), (drop_popup_move), (drop_popup_cancel),
- (drop_popup_free), (drag_data_received), (drag_motion),
- (comp_editor_class_init), (comp_editor_init), (real_edit_comp):
- fix the dnd woes on calendar attachments.
- * gui/dialogs/cal-attachment-bar.c (add_from_file): reuse
- mail composer's error message.
-
-2005-02-04 Harry Lu <harry.lu@sun.com>
-
- Add a11y name for attachment button and bars.
-
- * gui/dialogs/cal-attachment-bar.c: (cal_attachment_bar_new):
- * gui/dialogs/comp-editor.c: (setup_widgets):
-
-2005-02-04 Rodney Dawes <dobey@novell.com>
-
- * gui/dialogs/comp-editor.[ch]: Add a string to CompEditorPrivate to
- store the name of the help section we need to refer for derived dialogs
- (response_cb): Handle the GTK_RESPONSE_HELP response and show help
- (setup_widgets): Add a button to the dialog for Help
- (comp_editor_init): Default to the "usage-calendar" help section
- (comp_editor_finalize): Free the help_section variable
- (comp_editor_show_help): Add a new method to actually open the help
- (comp_editor_set_help_section): Add a method for derivatives to set the
- help section they want to open
-
- * gui/dialogs/event-editor.c (event_editor_init): Set the help section
- we want to open for the event editor to "usage-calendar-apts"
-
- * gui/dialogs/task-editor.c (task_editor_init): Set the help section
- we want to open for the event editor to "usage-calendar-todo"
-
-2005-02-04 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-tasks.c (update_view): clear the component preview when we
- update the view.
-
- * gui/e-cal-model.c (set_instance_times): use the correct timezone.
- Removed commented code.
-
-2005-02-04 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #71265
-
- * gui/e-week-view.c (e_week_view_remove_event_cb):
- * gui/e-day-view.c (e_day_view_remove_event_cb): if we remove the
- event we were editing, update internal pointers.
-
-2005-02-04 Vivek Jain <jvivek@novell.com>
-
- * calendar-errors.xml.h
- * calendar-errors.xml : changed the warning message string for
- server-version
-
-2005-02-04 Yong Sun <yong.sun@sun.com>
-
- Fix for #56901
-
- * gui/print.c: (bound_text): When the width>maxwidth, the
- pointer 'p' should also be backwarded, same as 'o'.
-
-2005-02-03 Rodney Dawes <dobey@novell.com>
-
- * calendar-errors.xml.h: Update to include new strings from the
- calendar-errors.xml file
-
-2005-02-03 Li Yuan <li.yuan@sun.com>
-
- * gui/dialogs/task-details-page.c: (get_widgets):
- add a11y name to url.
- * gui/dialogs/task-details-page.glade:
- add a11y name to date completed.
- * gui/dialogs/task-page.glade:
- add a11y names to due date and start date.
-
-2005-02-03 Vivek Jain <jvivek@novell.com>
-
- * calendar-errors.xml : added a warning message for invalid server
- version
- * gui/gnome-cal.c (default_client_cal_opened_cb)
- (client_cal_opened_cb): added a case to check the
- call status and display warning
-
-2005-02-02 Rodney Dawes <dobey@novell.com>
-
- * gui/dialogs/alarm-dialog.c (alarm_dialog_run): Set the border width
- for the internal dialog containers to be HIG compliant
-
- * gui/dialogs/alarm-dialog.glade: Remove the separator in the dialog
- and fix some spacing/padding issues to be HIG compliant
-
- * gui/dialogs/alarm-list-dialog.c (alarm_list_dialog_run): Set the
- border width for the internal dialog containers to be HIG compliant
-
- * gui/dialogs/alarm-list-dialog.glade: Remove the separator in the
- dialog and fix some spacing/padding issues to be HIG compliant
-
-2005-02-02 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #72090
-
- * gui/calendar-component.c (impl_handleURI): don't assume the URI is
- always correct.
-
-2005-02-01 Rodney Dawes <dobey@novell.com>
-
- * gui/dialogs/comp-editor.c (setup_widgets): Clean up the spacing
- and padding, and shove the notebook and expander arrow into a vbox
- so that we can be HIG compliant
- (comp_editor_init): Remove the separator from the "dialog" and set
- the border width for the internal dialog widgets appropriately to
- be compliant with the HIG for dialog borders
-
-2005-02-01 JP Rosevear <jpr@novell.com>
-
- * gui/e-tasks.c (e_tasks_destroy): fix typo
-
- * gui/gnome-cal.c (gnome_calendar_destroy): ditto
-
-2005-02-01 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-cal-menu.c (e_cal_menu_target_new_select):
- * gui/e-cal-popup.c (e_cal_popup_target_new_select): add correct mask
- for detached recurrences.
-
-2005-02-01 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/calendar-commands.c
- (calendar_control_sensitize_calendar_commands): only add real data
- to the array.
-
-2005-02-01 JP Rosevear <jpr@novell.com>
-
- Fixes #71944
-
- * gui/e-tasks.c: declare config_categories_changed_cb before its
- used
-
-2005-01-31 Hans Petter Jansson <hpj@novell.com>
-
- * common/Makefile.am (libevolution_calendarprivate_la_LDFLAGS):
- Remove the -module flag, this isn't supposed to be a module.
-
-2005-01-31 Hans Petter Jansson <hpj@novell.com>
-
- * idl/evolution-calendar.idl: Remove definition of CalObjUID and
- include that from Evolution-DataServer-Calendar.idl instead. This
- prevents the typecode from being defined twice.
-
-2005-01-31 Hans Petter Jansson <hpj@novell.com>
-
- * gui/e-cal-config.c (_ECalConfigPrivate): Use guint instead of ulong
- for signal ID.
-
-2005-01-31 Priit Laes <amd@tt.ee>
-
- Fixes #61078
-
- * gui/dialogs/task-page.glade: use consistent style for markup.
-
-2005-01-31 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #64682
- * gui/e-calendar-view.c: (transfer_item_to): Added an
- X property to identify if the appointment is moved from
- another calendar.
-
-2005-01-28 JP Rosevear <jpr@novell.com>
-
- Fixes #71452
-
- * gui/dialogs/comp-editor.c (setup_widgets): listen for
- delete_event signal and handle it outside of the response signal
- so that cancel works properly
-
-2005-01-28 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-tasks.c (setup_widgets):
- * gui/gnome-cal.c (setup_widgets): use correct key name.
-
-2005-01-28 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #33078
-
- * gui/gnome-cal.c: deal now with categories entirely here, no more
- "categories_changed" signal from the backends.
- (free_categories, add_categories, append_category_cb,
- client_categories_changed_cb, copy_categories): removed.
- (gnome_calendar_add_source): don't connect to removed signal.
- (gnome_calendar_destroy): destroy the config listener.
- (gnome_calendar_init): create a listener for the categories list
- GConf key.
- (config_categories_changed_cb): callback for configuration changes
- in category list.
- (setup_widgets): initialize the search bar with categories from
- the configuration.
-
- * gui/e-tasks.c (client_categories_changed_cb, e_tasks_add_todo_source,
- e_tasks_init, config_categories_changed_cb, e_tasks_destroy,
- setup_widgets): same as gnome-cal.c.
-
-2005-01-26 JP Rosevear <jpr@novell.com>
-
- Fixes #71485
-
- * calendar-errors.xml: fix paste-o
-
-2005-01-27 Harry Lu <harry.lu@sun.com>
-
- Fix a runtime invalid cast warning.
-
- * gui/e-calendar-table.c: (e_calendar_table_init): only set
- a11y name if atk is enabled.
-
-2005-01-26 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/recurrence-page.c (sensitize_buttons): objects returned
- from e_cal_get_objects_for_uid are ECalComponent's, so use
- g_object_unref to free them, not icalcomponent_free.
-
-2005-01-26 Li Yuan <li.yuan@sun.com>
-
- * gui/dialogs/cal-prefs-dialog.glade:
- use full name for the weekday checkbox.
-
- Fixes #71729.
-
-
-2005-01-26 JP Rosevear <jpr@novell.com>
-
- * gui/itip-utils.c (itip_send_comp): make sure we free the user
- list
-
-2005-01-25 Li Yuan <li.yuan@sun.com>
-
- * gui/e-calendar-table.c: (e_calendar_table_init):
- add a11y name to task table.
-
-2005-01-24 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/recurrence-page.c (sensitize_buttons): if there are
- detached instances, disable recurrence date widgets.
-
-2005-01-21 JP Rosevear <jpr@novell.com>
-
- Fixes #46404
-
- * gui/tasks-control.c (tasks_control_print_cmd): just call print
- tasks, we don't do the dialog here
-
- * gui/print.h: update protos
-
- * gui/print.c (print_calendar): use e_print routines for config
- and dialog and make copies and range settings properly available
- (print_comp): ditto
- (print_table): bring up dialog here so that printing for calendar
- list view works correctly
-
- * gui/calendar-commands.c (print): pass extra params to print
- table
-
-2005-01-19 Rodrigo Moya <rodrigo@novell.com>
-
- * importers/icalendar-importer.c (update_objects): use receive_objects
- method instead of individually updating objects. Set the method on the
- VCALENDAR object we create.
-
-2005-01-18 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #71407
-
- * gui/e-week-view.c (process_component): killed warnings.
- (e_week_view_start_editing_event): do nothing if the calendar is
- read only.
-
- * gui/e-day-view.c (e_day_view_start_editing_event): ditto.
-
-2005-01-18 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/cal-attachment-bar.c
- (cal_attachment_bar_get_attachment_list): handle error conditions more
- gracefully.
-
-2005-01-17 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/calendar-component.c:
- * gui/calendar-offline-handler.c:
- * gui/comp-editor-factory.c:
- * gui/e-tasks.c:
- * gui/gnome-cal.c:
- * gui/misc.c:
- * gui/alarm-notify/alarm-notify.c: use libedataserver's e-url.
-
-2005-01-17 Nat Friedman <nat@novell.com>
-
- * gui/dialogs/url-editor-dialog.glade: Changed the title for the
- free/busy publishing settings dialog to "Free/Busy Publishing
- Settings" (away from "Free/Busy Editor" which made no sense).
-
-2005-01-17 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-calendar-view.c (on_unrecur_appointment): removed the
- e_day_view_... prefix in warning messages.
-
-2005-01-17 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/cal-attachment-bar.c (destroy):
- fixed a kludge.
-
-2005-01-12 JP Rosevear <jpr@novell.com>
-
- Fixes #65820
-
- * gui/weekday-picker.c (get_day_text): add translator comment
-
-2005-01-08 Not Zed <NotZed@Ximian.com>
-
- * gui/e-day-view.c (e_day_view_finish_resize): set
- last_Edited_comp_string to NULL, not test it for null.
-
-2005-01-12 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/cal-attachment-bar.c:
- (cal_attachment_bar_set_attachment_list):
- reverting the offset 'hyphen' fix - not required anymore.
-
-2005-01-10 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-day-view.c (e_day_view_on_editing_stopped): remove the
- temporary object from the view when stopping editing.
-
- * gui/e-week-view.c (e_week_view_on_editing_stopped): ditto.
-
-2005-01-10 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/cal-attachment-bar.c:
- (cal_attachment_bar_set_attachment_list):
- offset the file name to account for the 'hyphen'.
-
-2005-01-10 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/event-page.glade
- * gui/dialogs/task-page.glade: Showed the send options
- button and label. Hided the Send options Frame.
-
-2005-01-10 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/cal-attachment-bar.[ch]: (destroy), (init),
- (cal_attachment_bar_set_local_attachment_store),
- (cal_attachment_bar_get_attachment_list),
- (cal_attachment_bar_get_nth_attachment_filename),
- (cal_attachment_bar_set_attachment_list):
- Modified cal-attachment-bar to allow the path to
- the local attachment store be set externally, thereby
- hiding the storage policy of different backends from it.
- * gui/dialogs/comp-editor.c: (real_edit_comp):
- set the local attachment store after obtaining it from
- the calendar.
-
-2005-01-09 JP Rosevear <jpr@novell.com>
-
- * gui/calendar-component.c (impl_handleURI): handle calendar://
- uris
-
-2005-01-07 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/event-editor.c (event_editor_edit_comp): clear the
- attendees, somehow I remove this in an earlier commit
-
-2005-01-07 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/event-page.glade:
- * gui/dialogs/task-page.glade: put a name to the 'Send options' frame.
-
- * gui/dialogs/event-page.c (event_page_init): initialize reference to
- the 'Send options' frame.
- (get_widgets): get the 'Send options' frame from the .glade file.
- (event_page_hide_options): just hide the frame.
- (event_page_show_options): just show the frame.
-
- * gui/dialogs/task-page.c (task_page_init): initialize reference to the
- 'Send options' frame.
- (get_widgets): get the 'Send options' frame from the .glade file.
- (task_page_hide_options): just hide the frame.
- (task_page_show_options): just show the frame.
-
-2005-01-06 David Trowbridge <trowbrds@cs.colorado.edu>
-
- * gui/e-cal-event[hc]: initial import of ECalEvent targets
-
- * gui/migration.c (migrate_calendars): add component.migration event
-
-2005-01-06 JP Rosevear <jpr@novell.com>
-
- * gui/Makefile.am: install schemas properly
-
-2005-01-06 Chenthill Palanisamy <pchenthill@novell.com>
-
- merging send options
- * gui/dialogs/Makefile.am: Added two new files for send options.
- * gui/dialogs/e-send-options-utils.{ch}:
- (e_sendoptions_utils_set_default_data),
- (e_sendoptions_utils_fill_component): For setting and gettings the
- send options.
- * gui/dialogs/event-editor.c (event_editor_construct): Check for the static
- capabilities before showing send options.
- * gui/dialogs/event-page.c: (event_page_show_options),
- (event_page_fill_component), (e_sendoptions_clicked_cb):
- * gui/dialogs/event-page.glade:
- * gui/dialogs/event-page.h: Added function to show/hide the send options button
- and label and run the send options dialog.
- * gui/dialogs/task-editor.c: (task_editor_construct),
- (task_editor_edit_comp):
- * gui/dialogs/task-page.c: (task_page_init), (task_page_finalize),
- (sensitize_widgets), (task_page_hide_options),
- (task_page_show_options), (task_page_fill_widgets),
- (task_page_fill_component), (get_widgets), (source_changed_cb),
- (e_sendoptions_clicked_cb), (init_widgets): Same as event-page.
- * gui/dialogs/task-page.glade: Added the send options button
- * gui/dialogs/task-page.h: Added functions hiding and showing send
- options button
-
-2005-01-05 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-day-view.c (e_day_view_find_event_from_uid): added a new
- argument to pass the calendar client, since it might happen to have
- events with the same UID on different calendars.
- (e_day_view_do_key_press, model_rows_deleted_cb): added new argument
- to e_day_view_find_event_from_uid.
-
- * gui/e-week-view.c (e_week_view_find_event_from_uid): same as
- e-day-view.c.
- (e_week_view_do_key_press, model_rows_deleted_cb): added new argument
- to e_week_view_find_event_from_uid.
-
-2005-01-04 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-cal-component-preview.c (write_html): use the new e-categories
- API in e-d-s.
-
-2005-01-04 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-week-view.c (model_rows_deleted_cb): search our internal data
- for the correct event.
-
-2005-01-04 Harry Lu <harry.lu@sun.com>
-
- * gui/calendar-component.c: (create_component_view): add a11y name
- to calendar sidebar selector.
- * gui/tasks-component.c: (create_component_view): add a11y name
- to task sidebar selector.
-
-2005-01-03 JP Rosevear <jpr@novell.com>
-
- Fixes #69663
-
- * gui/e-cal-model-tasks.c (is_complete): look at the percent
- complete and status properties as well for completeness clues
-
-2005-01-03 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-cal-model.c (e_cal_model_set_time_range): redo the queries
- after emitting the 'time_range_changed' signal, since now the
- views will only update their internal data but not redraw the
- events on that signal.
-
- * gui/e-day-view.c (model_changed_cb): removed, no longer needed.
- (e_day_view_recalc_day_starts): no need to call e_day_view_update_query.
- (e_day_view_init): no need to connect to 'model_changed' signal
- on the model, we already connect to the row/cell_changed ones.
-
- * gui/e-week-view.c (time_range_changed_cb): no need to call
- e_week_view_update_query.
- (model_changed_cb): removed, no longer needed.
- (e_week_view_init): no need to connect to 'model_changed' signal
- on the model, we already connect to the row/cell_changed ones.
-
-2004-12-31 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/schedule-page.c: add necessary include
-
- * gui/dialogs/meeting-page.c (sensitize_widgets): kill warning
-
- * gui/dialogs/cal-prefs-dialog.c (template_url_changed): kill warning
-
- * gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm): kill warnings
- (init_widgets): ditto
-
- * gui/main.c (initialize): no need to init the config system now
-
- * gui/e-cell-date-edit-config.h: include date edit text header
-
- * gui/e-cal-config.c (ecp_target_free): kill warning
-
- * gui/calendar-config.c: clean up includes, internally initialize
- the config setup to make it easier for others; kill dead functions
-
-2004-12-26 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-cal-model.c (search_by_uid_and_client): removed superfluous if
- check.
- (e_cal_view_objects_modified_cb): add all objects at once.
-
- * gui/e-day-view.c (e_day_view_remove_event_cb): set fields we
- free to NULL.
-
-2004-12-24 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/event-editor.c (event_editor_edit_comp):
- Check for the existence of the meet/sched pages before
- attempting to remove them.
-
-2004-12-23 Chenthill Palanisamy <pchenthill@novell.com>
-
- Part of merge from offline branch
-
- * gui/dialogs/calendar-setup.c
- (eccp_general_offline): function to add the check box for
- folder offline settings.
- (offline_status_changed_cb): call back function for the same.
- (ECalConfigItem eccp_items[]), (ECalConfigItem ectp_items[]):
- Added the check box function call in both the structures.
-
-2004-12-23 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-cal-model.c (set_instance_times): get instance times using
- the correct timezone.
- (redo_queries): emit signals before clearing the array.
-
- * gui/e-day-view.c (process_component):
- * gui/e-week-view.c (process_component): no need to try to update,
- always add.
-
-2004-12-23 Hans Petter Jansson <hpj@novell.com>
-
- * gui/e-select-names-editable.c: Correct bad include.
-
- * gui/dialogs/Makefile.am (IDL_GENERATED_H)
- (IDL_GENERATED)
- (BUILT_SOURCES): No longer needed, removed.
-
-2004-12-22 Hans Petter Jansson <hpj@novell.com>
-
- * gui/Makefile.am (IDLS)
- (SELECT_NAMES_IDL_GENERATED_H)
- (SELECT_NAMES_IDL_GENERATED_C)
- (SELECT_NAMES_IDL_GENERATED)
- (IDL_GENERATED): Remove the addressbook IDL.
-
- * gui/e-meeting-list-view.c (e_meeting_list_finalize)
- (add_section)
- (e_meeting_list_view_init)
- (process_section)
- (name_selector_dialog_close_cb)
- (get_select_name_dialog): Adapt to new ENameSelector.
-
- * gui/e-select-names-editable.c (esne_start_editing)
- (esne_finalize)
- (esne_init)
- (e_select_names_editable_get_type)
- (entry_activate)
- (e_select_names_editable_construct)
- (e_select_names_editable_get_address)
- (e_select_names_editable_get_name)
- (e_select_names_editable_set_address): Adapt to new ENameSelector.
-
- * gui/e-select-names-renderer.c (e_select_names_renderer_editing_done)
- (e_select_names_renderer_activated)
- (e_select_names_renderer_start_editing): Adapt to new ENameSelector.
-
- * gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm)
- (addressbook_clicked_cb)
- (addressbook_response_cb)
- (setup_select_names)
- (check_custom_email)
- (malarm_addresses_changed_cb): Adapt to new ENameSelector.
-
- * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_finalize)
- (e_delegate_dialog_construct)
- (addressbook_clicked_cb)
- (addressbook_response_cb)
- (e_delegate_dialog_get_delegate)
- (e_delegate_dialog_get_delegate_name): Adapt to new ENameSelector.
-
-2004-12-22 JP Rosevear <jpr@novell.com>
-
- * gui/e-meeting-store.c (freebusy_async): prevent compare against
- null default_fb_uri and fix thinko
-
-2004-12-22 JP Rosevear <jpr@novell.com>
-
- * gui/e-cal-model.c: Change copyright from ximian to novell
-
-2004-12-17 Not Zed <NotZed@Ximian.com>
-
- * gui/e-calendar-table.c (e_calendar_table_show_popup_menu):
-
- * gui/tasks-component.c (popup_event_cb):
-
- * gui/gnome-cal.c (gnome_calendar_view_popup_factory):
-
- * gui/e-calendar-view.c (e_calendar_view_create_popup_menu):
-
- * gui/alarm-notify/alarm-queue.c (tray_icon_clicked_cb):
-
- * gui/dialogs/meeting-page.c (button_press_event):
-
- * gui/calendar-component.c (popup_event_cb):
-
-2004-12-22 JP Rosevear <jpr@novell.com>
-
- Fixes #61077
-
- * gui/dialogs/task-details-page.glade: remove extraneous tab
-
- * gui/dialogs/alarm-dialog.c: ditto
-
-2004-12-22 JP Rosevear <jpr@novell.com>
-
- Fixes #61076
-
- * gui/comp-editor-factory.c (open_client): don't translate command
- line warnings
-
- * gui/calendar-offline-handler.c (backend_go_online): ditto
- (backend_go_offline): ditto
-
-2004-12-21 JP Rosevear <jpr@novell.com>
-
- Fixes #41624
-
- * conduits/calendar/calendar-conduit.c (local_record_from_comp):
- append the exceptions, don't keep overwriting the first
-
-2004-12-21 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-cal-model.c (set_instance_times): no need to convert times now.
- (add_instance_cb): no need to convert here.
-
-2004-12-21 Rodrigo Moya <rodrigo@novell.com>
-
- Merge from recurrences-work-branch
-
- * gui/e-cal-model.c (free_comp_data): renamed to
- e_cal_model_free_component_data and made it public.
- (clear_objects_array, e_cal_view_objects_removed_cb,
- remove_client_objects): use e_cal_model_free_component_data.
- (get_dtstart): get the DTSTART correctly for recurrences.
- (add_instance_cb): initialize all members of ECalModelComponent, and
- use the correct icalcomponent when setting the field.
- (set_instance_times): new function to set the instance_* fields of
- the ECalModelComponent when not expanding recurrences.
- (e_cal_view_objects_added_cb): expand recurrences for all objects when
- the model is set to expand. Call set_instance_times when not
- expanding recurrences.
- (e_cal_view_objects_modified_cb): made it remove objects and re-add
- them.
- (copy_ecdv): check values before using them.
- (e_cal_model_copy_component_data): Added code to copy the instance_* and
- color fields.
-
- * gui/e-cal-model-calendar.c (get_dtend): get the DTEND correctly for
- recurrences.
- (ecmc_set_value_at): ask user which instances to modify.
-
- * gui/e-day-view.c (e_day_view_find_event_from_uid): changed to search
- by UID and RID if given.
- (process_component): changed to not expand recurrences at all, this is
- now done on the model.
- (row_deleted_check_cb, remove_uid_cb): removed these functions.
- (model_rows_deleted_cb): changed to just remove the rows signalled from
- the model, which is the responsible for the recurrence expansion.
- (e_day_view_new): set the model to expand recurrences.
- (e_day_view_remove_event_cb): check the value searched in the array.
- (e_day_view_do_key_press): use e_day_view_find_event_from_uid correctly.
-
- * gui/e-week-view.c (e_week_view_find_event_from_uid): changed to search
- by UID and RID if given.
- (process_component_recur_cb): removed.
- (process_component): changed to not expand recurrences at all, this is
- now done on the model.
- (row_deleted_check_cb, remove_uid_cb): removed these functions.
- (model_rows_deleted_cb): changed to just remove the rows signalled from
- the model, which is the responsible for the recurrence expansion.
- (e_week_view_new): set the model to expand recurrences.
- (e_week_view_remove_event_cb): check the value searched in the array.
- Set the ECalModelComponent field to NULL after freeing it.
- (e_week_view_do_key_press): use e_week_view_find_event_from_uid
- correctly.
-
- * gui/dialogs/recur-comp.c (recur_component_dialog): remove the
- RECURRENCE-ID from the object when modifying all instances.
-
-2004-12-18 James Bowes <bowes@cs.dal.ca>
-
- * gui/apps_evolution_calendar.schemas.in.in: Add schema for Free/Busy
- template uri.
- * gui/calendar-config-keys.h:
- * gui/calendar-config.c: (calendar_config_get_free_busy_template),
- (calendar_config_set_free_busy_template),
- (calendar_config_add_notification_free_busy_template):
- * gui/calendar-config.h: Functions to get, set and monitor the
- Free/Busy template uri gconf setting.
- * gui/dialogs/cal-prefs-dialog.c: (template_url_changed),
- (setup_changes), (get_widgets), (show_fb_config):
- * gui/dialogs/cal-prefs-dialog.glade:
- * gui/dialogs/cal-prefs-dialog.h: Change 'Free/Busy Publish' tab to
- 'Free/Busy'. Add an entry for setting the default Free/Busy uri.
- Only change the gconf setting on 'focus out' event
- * gui/e-meeting-store.c: (refresh_queue_remove): Check the hash using
- the attendee's mailto: address, rather than the memory address of the
- attendee object as the key.
- (e_meeting_store_get_fb_uri), (e_meeting_store_set_fb_uri): Get and set
- the EMeetingStore's Free/Busy template string.
- (process_callbacks_main_thread), (process_callbacks): Process callbacks
- in the main thread, so that widgets can be redrawn properly.
- (replace_string): Utility function for replacing wildcards in the
- default Free/Busy uri.
- (ems_finalize), (ems_init), (freebusy_async), (refresh_busy_periods),
- (refresh_queue_add), (e_meeting_store_refresh_busy_periods): Add the
- ability to check for Free/Busy information from a default location,
- if all else fails.
- (start_async_read): Use gnome-vfs to read the Free/Busy information.
- * gui/e-meeting-store.h: Add function prototypes for get and set fb_uri
- * gui/e-meeting-time-sel.c: (e_meeting_time_selector_init),
- (e_meeting_time_selector_destroy), (free_busy_timeout_refresh),
- (free_busy_template_changed_cb): Watch for a change in the Free/Busy
- template gconf setting, and check for new Free/Busy data if it occurs.
- * gui/e-meeting-time-sel.h: Include variable for notification function
- id on changes to the Free/Busy uri in the EMeetingTimeSelector .
-
-2004-12-17 Rodney Dawes <dobey@novell.com>
-
- * gui/alarm-notify/alarm-notify-dialog.c (an_minutes_update_label):
- Add callback function for doing ngettext on the "minutes" label
- (alarm_notify_dialog): Get the "minutes" label from the glade file
- and set the callback for its "value_changed" signal
-
- Fixes #47535
-
-2004-12-13 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/dialogs/calendar-setup.c : Correct some white space
- ugliness in the previous commit.
-
-2004-12-13 Vivek Jain <jvivek@novell.com>
-
- * gui/dialogs/calendar-setup.c : Changed the window title based upon
- the source.
-
-2003-12-09 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-calendar-view.c (on_unrecur_appointment): keep a local copy
- of the ECal.
-
-2004-12-08 Hans Petter Jansson <hpj@novell.com>
-
- * gui/e-meeting-list-view.c
- * gui/e-select-names-editable.c
- * gui/dialogs/alarm-dialog.c
- * gui/dialogs/e-delegate-dialog.c: Include <libebook/e-destination.h>
- from evolution-data-server.
-
-2004-12-08 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/e-week.c (time_range_changed_cb, e_week_view_set_first_day_shown):
- update the query so currently held events can be cleared off.
-
-2004-12-08 David Mosberger <davidm@napali.hpl.hp.com>
-
- * gui/main.c: include plugin headers to fix 64 bit problems.
-
-2004-12-06 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #67403
-
- * gui/dialogs/event-page.c (sensitize_widgets): don't unsensitize
- the 'Customize' button, to allow users to look at the alarm list
- for read only events.
-
- * gui/dialogs/alarm-list-dialog.c (sensitize_buttons): unsensitize
- buttons if the event is read only.
-
-2004-12-02 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/task-editor.[ch] (task_editor_new), (task_editor_construct),
- (show_assignment):
- Add a boolean variable to denote assigned task and construct the
- meeting page only for the assigned task. Set it as a group item
- in component editor.
- (_TaskEditorPrivate): added the boolean variable (is_assigned).
- (task_editor_init): initialized the variable.
- * gui/dialogs/comp-editor.[ch]: Added functions to set and get whether comp
- is a group item or individual item.
- * gui/comp-editor.c (make_title_from_string), (make_title_from_comp):
- Set the Title for the appointment editor window as "Meeting" or "Assigned
- Task" if its a group calendar/task item.
- (_CompEditorPrivate): added a boolean variable (is_group_item).
- (comp_editor_init): initialized the same.
- * gui/dialogs/event-editor.c (event_editor_construct), (show_meeting): Set whether
- the component is a group item or not in comp editor.
- * gui/e-calendar-table.c (e_calendar_table_open_task), (e_calendar_table_open_selected),
- (open_task_by_row): Check whether the component being opened is an assigned task by
- checking for attendees and call open_task with proper value for boolean variable assign.
- * gui/comp-editor-factory.c (edit_existing):
- * gui/e-calendar-table.c (open_task):
- * gui/e-tasks.c (e_tasks_new_task):
- * gui/gnome-cal.c (gnome_calendar_new_task):
- * gui/tasks-component.c (create_new_todo):
- Called the function task_editor_new with a added argument.
-
-2004-12-02 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-day-view.c (e_day_view_finish_resize), (e_day_view_reshape_day_event)
- (e_day_view_change_event_time): Free the string day_view->last_edited_comp_string
- before changing assigning it another value.
- * gui/e-week-view.c (e_week_view_change_event_time): Free the string
- week_view->last_edited_comp_string for the same reason above.
-
-2004-11-29 Chenthill Palanisamy <pchenthill@novell.com>
-
- * calendar-errors.xml.h: committng this file. Missed to
- commit this one.
-
-2004-11-29 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/comp-editor.c (response_cb): Moved the call
- for the warning dialog (send_component_prompt_subject) after
- the component is saved (save_comp_with_send).
-
-2004-11-26 JP Rosevear <jpr@novell.com>
-
- * gui/alarm-notify/alarm-queue.c (display_notification): ditto
-
- * gui/e-timezone-entry.c (e_timezone_entry_init): get the image
- directly from the icon factory
-
-2004-11-26 JP Rosevear <jpr@novell.com>
-
- * gui/alarm-notify/alarm-queue.c (display_notification): prevent
- crash if there is no description
-
-2004-11-25 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/calendar-component.c:
- (new_calendar_cb), (edit_calendar_cb): Use modified_setup_edit_calendar call.
- (popup_event_cb): If source is null (Rt click on a source group), show the new
- calendar popup menu item. Else, do not show the new calendar option.
- * gui/dialogs/calendar-setup.[ch] (eccp_get_source_type): Compare the
- source_groups by their uid and not the pointers, so that the correct option
- is activated on the combo box.
- (calendar_setup_edit_calendar) : add a source_group parameter to the function.
- (calendar_setup_new_calendar): Use modified signature of the above function.
- * gui/e-calendar-view.c (on_edit_appointment): check the icalcomponent
- to see if it is a meeting and set the argument to e_calendar_view_edit_appointment
- correctly.
-
-2004-11-25 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/dialogs/event-deitor.c (show_meeting): removed the
- call for comp_editor_show_page, so that the event page
- shows up at first instead of meeting page when a meeting
- is opened.
-
-2004-11-25 Chenthill Palanisamy <pchenthill@novell.com>
-
- * calendar-errors.xml: Added two error ids to display use
- it when the meeting is created without a summary.
- * gui/dialogs/send-comp.[ch] (send_component_prompt_subject): Added a
- function to prompt for a dialog when a meeting/assigned task is sent
- without a summary.
- * gui/dialogs/comp-editor.c (response_cb): Called the above mentioned
- function when the summary is not present.
-
-2004-11-23 Rodney Dawes <dobey@novell.com>
-
- * gui/alarm-notify/alarm-notify-dialog.[ch]:
- Add gtkimage.h to includes, and remove gtkhtml headers
- Add and remove some widgets in the AlarmNotify struct
- (dialog_destroy_cb, delete_event_cb, close_clicked_cb):
- (snooze_clicked_cb, edit_clicked_cb, url_requested_cb):
- (make_html_display, write_times, write_html_heading):
- (alarm_notify_dialog_disable_buttons):
- Remove all these unneeded functions (no more GtkHTML in the dialog)
- (alarm_notify_dialog): Add description and location arguments
- Rename message argument to summary
- Update gtk-doc comment block to reflect API changes
- Clean up code to use gtk_dialog_run () and use a HIG compliant dialog
-
- * gui/alarm-notify/alarm-notify.glade: Update the alarm notify
- dialog to be HIG compliant and not use GtkHTML, and display more
- information that is relevant to the appointment we are alerting of
-
- * gui/alarm-notify/alarm-queue.c: Add new variables to the
- TrayIconData structure so we can access the description and location
- (on_dialog_objs_removed_cb): Remove alarm_dialog bits
- (notify_dialog_cb): Remove alarm_dialog bits
- (tray_icon_destroyed_cb): Free the description and location as well
- (open_alarm_dialog): alarm_notify_dialog does all the work now, we
- don't need to trap the dialog widget here
- (display_notification): Add code to get the description and location
- information from the cal component
- Avoid using an alarm component which has less useful API
- Fix a warning when creating the tray_icon widget
-
-2004-11-15 Not Zed <NotZed@Ximian.com>
-
- * gui/dialogs/Makefile.am (libcal_dialogs_la_LIBADD): add
- libeabutil, since we use e-destination.
-
-2004-11-08 Rodney Dawes <dobey@novell.com>
-
- * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading):
- Don't try to convert the results of timet_to_str_with_zone to UTF-8,
- since the return value is already encoded in UTF-8
-
- Fixes #47529
-
-2004-11-04 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/event-page.glade:
- * gui/dialogs/task-page.glade: expand the horizontal box so that it
- fills all available space.
-
-2004-11-03 David Trowbridge <trowbrds@cs.colorado.edu>
-
- * gui/e-cal-config.c: added EConfig subclass for calendars
- * gui/calendar-component.c, gui/tasks-component.c: initialize
- plugin hooks on component startup.
- * gui/dialogs/calendar-setup.c: Converted to use EConfig
-
-2004-11-04 Li Yuan <li.yuan@sun.com>
-
- Fixes #6767
-
- * gui/e-day-view-main-item.c:
- (e_day_view_main_item_draw_day_event):
- use widget->style instead of hard code colors.
- * gui/e-day-view.c: (e_day_view_realize), (e_day_view_set_colors),
- (e_day_view_style_set), (e_day_view_reshape_long_event),
- (e_day_view_reshape_day_event):
- ditto.
- * gui/e-week-view.c: (e_week_view_realize),
- (e_week_view_set_colors), (e_week_view_style_set),
- (e_week_view_reshape_event_span):
- ditto.
-
-2004-11-02 JP Rosevear <jpr@novell.com>
-
- * gui/e-day-view-config.c (set_twentyfour_hour): make sure the day
- view times redraw themselves if we switch 24/12 hour modes
-
-2004-11-02 JP Rosevear <jpr@novell.com>
-
- Fixes #68707
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw):
- restrict the range to 0-23 (midnight end times became '24')
-
-2004-10-28 Not Zed <NotZed@Ximian.com>
-
- * gui/tasks-component.c (popup_event_cb):
- * gui/e-calendar-view.c (e_calendar_view_create_popup_menu):
- * gui/e-calendar-table.c (e_calendar_table_show_popup_menu):
- * gui/calendar-component.c (popup_event_cb): added hook doco.
-
-2004-10-27 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-cal-list-view.c (e_cal_list_view_new): don't expand recurrences
- for the list view.
-
-2004-10-21 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/e-cal-popup.[ch]: (e_cal_popup_target_new_source):
- Add status bits to denote if the calendar source is available offline
- so that plugins to calendar popups can use the status qualifier to denote
- their visibility preferences.
-
-2004-10-21 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/select-source-dialog.c: use the new source selector
- dialog in libedataserverui.
-
-2004-10-20 JP Rosevear <jpr@novell.com>
-
- * gui/calendar-component.c: put an icon on the properties menu item
-
- * gui/tasks-component.c: ditto
-
- * gui/main.c (initialize): register plugin hooks for tasks and
- calendar
-
-2004-10-20 JP Rosevear <jpr@novell.com>
-
- * gui/e-cal-popup.c (ecalph_class_init): correct classid
-
-2004-10-19 JP Rosevear <jpr@novell.com>
-
- * gui/calendar-component.c, gui/e-cal-menu.c, gui/e-cal-popup.c,
- gui/e-calendar-table.c, gui/e-calendar-view.c, gui/gnome-cal.c,
- gui/tasks-component.c, gui/alarm-notify/alarm-queue.c,
- gui/dialogs/meeting-page.c: convert to org.gnome hook names
-
-2004-10-19 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/comp-editor-factory.c: (edit_existing):
- Use e_cal_component_has_attendees to test if it is a meeting.
- * gui/dialogs/event-editor.c: (event_editor_init):
- By default, the event is not a meeting.
- (event_editor_construct): Do not add the invitation, scheduling pages
- to the editor if it is not a meeting.
- * gui/e-day-view.c: (e_day_view_on_event_double_click):
- check the icalproperty to test if the event is a meeting.
-
-2004-10-19 JP Rosevear <jpr@novell.com>
-
- * gui/gnome-cal.c (connect_list_view_focus): listen to the canvas
- for focus events
- (setup_widgets): listen for listen view selection changes
-
- * gui/e-cal-list-view.c (setup_e_table): listen for the cursor to
- move
- (e_cal_list_view_cursor_change_cb): indicate the selection changed
-
-2004-10-19 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/calendar-component.c (create_new_event):
- * gui/e-calendar-view.c: (e_calendar_view_edit_appointment):
- * gui/comp-editor-factory.c (edit_existing), (edit_new):
- * gui/dialogs/event-editor.c (event_editor_edit_comp),
- (event_editor_new): updated the calls to event_editor_new
- with additional argument.
- * gui/dialogs/event-editor.h: add parameter is_meeting to
- distinguish between events and meetings.
- * gui/dialogs/meeting-page.c: (sensitize_widgets):
- use explicit GError variable so that BUSY_ERROR
- conditions do not lead us to think the calendar is readonly.
- * gui/e-meeting-store.c: (refresh_queue_remove), (ems_init),
- (e_meeting_store_remove_attendee), (freebusy_async),
- (refresh_busy_periods), (refresh_queue_add): Make free-busy calls
- to backends async. Fixed the problem of spurious attendees getting
- added to the refresh_data.
-
-2004-10-14 Not Zed <NotZed@Ximian.com>
-
- * gui/e-cal-menu.c (e_cal_menu_target_new_select): dont access a
- NULL client.
-
- * gui/gnome-cal.c (gnome_calendar_get_taskpad_menu)
- (gnome_calendar_get_calendar_menu): accessors to get the menu
- managers.
- (gnome_calendar_init): setup menu managers.
-
-2004-10-13 Not Zed <NotZed@Ximian.com>
-
- * gui/calendar-commands.c (calendar_control_activate)
- (calendar_control_deactivate): activate and deactivate the
- calendar and taskpad menu handlers.
- (sensitize_items): helper to sensitise items based on target
- masks.
- (calendar_control_sensitize_calendar_commands): update the
- calendar menu manager target appropriately.
- (sensitize_taskpad_commands): same for the taskpad.
-
- * gui/e-cal-menu.[ch]: Targets for main menu management.
-
- * gui/e-cal-popup.c (e_cal_popup_target_new_select): fix cast.
- Also include the tasks stuff in the hook metadata.
-
-2004-10-15 JP Rosevear <jpr@novell.com>
-
- * gui/calendar-commands.c (calendar_control_activate): remove
- useless ifdef'd out statement (its been unused for 3+ years)
-
-2004-10-15 JP Rosevear <jpr@novell.com>
-
- * gui/calendar-commands.h (calendar_goto_today): remove prototype
-
- * gui/calendar-commands.c: remove dead function
-
-2004-10-14 JP Rosevear <jpr@novell.com>
-
- * gui/e-meeting-attendee.c: convert to G_DEFINE_TYPE
-
- * gui/e-meeting-list-view.c: ditto
-
- * gui/e-meeting-time-sel.c: ditto
-
- * gui/e-meeting-time-sel-item.c: ditto
-
- * gui/e-select-names-renderer.c: ditto
-
- * gui/e-timezone-entry.c: ditto
-
- * gui/e-tasks.c: ditto
-
- * gui/gnome-cal.c: ditto
-
- * gui/weekday-picker.c: ditto
-
-2004-10-14 JP Rosevear <jpr@novell.com>
-
- * gui/e-cell-date-edit-config.c: convert to G_DEFINE_TYPE
-
- * gui/e-cell-date-edit-text.c: ditto
-
- * gui/e-comp-editor-registry.c: ditto
-
- * gui/e-date-edit-config.c: ditto
-
- * gui/e-mini-calendar-config.c: ditto
-
-2004-10-14 JP Rosevear <jpr@novell.com>
-
- * gui/e-cal-list-view-config.c: convert to G_DEFINE_TYPE
-
- * gui/e-cal-list-view.c: ditto
-
- * gui/e-cal-model-calendar.c: ditto
-
- * gui/e-cal-model-tasks.c: ditto
-
- * gui/e-cal-model.c: ditto
-
- * gui/e-calendar-table-config.c: ditto
-
- * gui/e-calendar-table.c: ditto
-
- * gui/e-calendar-view.c: ditto
-
-2004-10-14 JP Rosevear <jpr@novell.com>
-
- * gui/calendar-view.c: convert to G_DEFINE_TYPE
-
- * gui/calendar-view-factory.c: ditto
-
- * gui/cal-search-bar.c: ditto
-
- * gui/e-cal-component-preview.c: ditto
-
-2004-10-14 JP Rosevear <jpr@novell.com>
-
- * gui/e-week-view-config.c: convert to G_DEFINE_TYPE
-
- * gui/e-week-view-event-item.c: ditto
-
- * gui/e-week-view-main-item.c: ditto
-
- * gui/e-week-view-titles-item.c: ditto
-
- * gui/e-week-view.c: ditto
-
-2004-10-14 JP Rosevear <jpr@novell.com>
-
- * gui/e-day-view.c: convert to G_DEFINE_TYPE
-
- * gui/e-day-view-config.c: ditto
-
- * gui/e-day-view-main-item.c: ditto
-
- * gui/e-day-view-time-item.c: ditto
-
- * gui/e-day-view-top-item.c: ditto
-
-2004-10-14 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/comp-editor.c: convert to G_DEFINE_TYPE
-
- * gui/dialogs/meeting-page.c: ditto
-
- * gui/dialogs/recurrence-page.c: ditto
-
- * gui/dialogs/schedule-page.c: ditto
-
- * gui/dialogs/e-delegate-dialog.c: ditto
-
- * gui/dialogs/event-editor.c: ditto
-
- * gui/dialogs/task-editor.c: ditto
-
- * gui/dialogs/task-details-page.c: ditto
-
- * gui/dialogs/select-source-dialog.c
- (primary_selection_changed_cb): fix warning
-
-2004-10-13 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/task-page.c: ditto
-
- * gui/calendar-component.h: remove e-source-selector include
-
- * gui/tasks-component.h: ditto
-
- * gui/calendar-component.c: update include to libedataserverui for
- source selector and option menus
-
- * gui/e-cal-popup.c: ditto
-
- * gui/dialogs/url-editor-dialog.h: ditto
-
- * gui/dialogs/select-source-dialog.c: ditto
-
- * gui/tasks-component.c: ditto
-
- * importers/icalendar-importer.c: ditto
-
- * gui/e-itip-control.c: ditto; use G_DEFINE_TYPE instead of
- E_MAKE_TYPE
-
- * gui/dialogs/event-page.c: ditto
-
- * gui/dialogs/task-page.c: ditto
-
-2004-10-12 Li Yuan <li.yuan@sun.com>
-
- * gui/e-day-view.c: (e_day_view_on_main_canvas_button_press):
- * gui/e-week-view.c: (e_week_view_on_button_press):
- If main_canvas has focus, do not grub it. Emit the
- selected_time_changed signal after the selection day changed.
-
-2004-10-12 Not Zed <NotZed@Ximian.com>
-
- * gui/dialogs/meeting-page.c (button_press_event): convert menu to
- epopup.
-
-2004-10-12 Not Zed <NotZed@Ximian.com>
-
- * gui/e-calendar-table.c (setup_popup_icons): removed.
- (e_calendar_table_show_popup_menu): convert to use e-popup for
- pluggable popup menu.
- (e_calendar_table_on_open_task, e_calendar_table_on_save_as)
- (e_calendar_table_on_print_task, e_calendar_table_on_cut)
- (e_calendar_table_on_copy, e_calendar_table_on_paste)
- (e_calendar_table_on_assign, e_calendar_table_on_forward)
- (delete_cb):
- (mark_as_complete_cb, open_url_cb): convert to epopup callbacks.
- Moved all of the callbacks above the table rather than maintaining
- forward declarations for some of them.
-
- * gui/e-cal-popup.c (e_cal_popup_target_new_select): add the task
- required masks, and make one vs many mutally exclusive.
-
- * gui/e-calendar-view.c (e_calendar_view_create_popup_menu):
- copy/setup the event list here.
-
- * gui/e-cal-popup.c (e_cal_popup_target_new_select): take model +
- events rather than the calendar view.
-
-2004-10-12 Li Yuan <li.yuan@sun.com>
-
- * gui/calendar-commands.c:
- (calendar_get_text_for_folder_bar_label):
- When the start year and the end year are the same, the num should
- be displayed in start time.
- * gui/dialogs/alarm-dialog.glade:
- Add names to comboxes in alarm-dialog page.
- * gui/dialogs/cal-prefs-dialog.glade:
- Add labbled_by relation for e_date_edit.
- Add names to comboxes in general tab and display tab.
- Add shortcut keys to start_of_day_label and end_of_day_label.
- * gui/dialogs/event-page.c: (init_widgets):
- Use the default text_buffer of gtk_text_view instead of
- creating one.
- * gui/dialogs/event-page.glade:
- Add labbled_by relation for e_date_edit.
- * gui/dialogs/meeting-page.glade:
- Set an atk name for organizer widget.
- * gui/dialogs/task-page.c: (init_widgets):
- Use the default text_buffer of gtk_text_view instead of
- creating one.
- * gui/dialogs/task-page.glade:
- Add labbled_by relation for e_date_edit.
- Add a11y names to task description and categories.
- * gui/e-alarm-list.c: (e_alarm_list_iter_n_children):
- Remove the iter checker. The iter can't have a valid value at this time.
- * gui/e-date-time-list.c: (e_date_time_list_iter_n_children):
- Remove the iter checker. The iter can't have a valid value at this time.
- * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct):
- Add labbled_by relation for e_date_edit.
- * gui/e-timezone-entry.c: (e_timezone_entry_class_init),
- (e_timezone_entry_init), (e_timezone_entry_mnemonic_activate),
- (e_timezone_entry_focus):
- Add a focus handler for e-timezone-entry. Set an atk name for the
- button.
- * gui/e-week-view.c: (e_week_view_do_cursor_key_up),
- (e_week_view_do_cursor_key_down), (e_week_view_do_cursor_key_left),
- (e_week_view_do_cursor_key_right), (e_month_view_do_cursor_key_up),
- (e_month_view_do_cursor_key_down),
- (e_month_view_do_cursor_key_left),
- (e_month_view_do_cursor_key_right):
- Emit the selected_time_changed signal after the selection day changed.
-
-2004-10-11 Not Zed <NotZed@Ximian.com>
-
- * gui/alarm-notify/alarm-queue.c (tray_icon_clicked_cb): convert
- to epopup.
- (add_popup_menu_item): removed, now redundant.
-
-2004-10-08 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #45951
-
- * gui/dialogs/event-page.glade:
- * gui/dialogs/task-page.glade: attach the description field correctly
- to the table so that it scrolls correctly instead of making the dialog
- bigger as you write.
-
- * gui/dialogs/comp-editor.c (setup_widgets): no need to create an extra
- GtkVBox, just use the GtkDialog's one.
-
-2004-10-07 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/cal-prefs-dialog.c: remove useless include
-
- * gui/dialogs/url-editor-dialog.c: ditto
-
-2004-10-07 JP Rosevear <jpr@novell.com>
-
- * gui/print.c: guard config.h
-
- * gui/tasks-control.c: guard config.h, remove useless include
-
- * gui/migration.c: remove useless include
-
- * gui/main.c: remove useless include
-
- * gui/e-calendar-view.h: #define the type
-
- * gui/calendar-offline-handler.c: remove useless include
-
- * gui/calendar-config.c: tidy header
-
-2004-10-07 JP Rosevear <jpr@novell.com>
-
- * gui/calendar-commands.c: guard config.h include, kill warning
- and remove useless include
-
-2004-10-06 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #65932
-
- * common/authentication.c: keep a hash table of all the source lists.
- (auth_new_cal_from_uri): do a search in the source list for the given
- URI, and use that ESource if we find it. Also, keep the hash table of
- source lists up to date.
-
- * gui/comp-editor-factory.c (cal_opened_cb): don't assert on error
- cases, just display an error dialog.
-
-2004-10-06 Not Zed <NotZed@Ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_setup_view_popup): rename to
- view_popup_factory. Make it build an epopup item list directly.
- Can't re-use the galview cruft :-/
- (gnome_calendar_discard_view_popup): no longer needed.
- (gc_set_view, gc_save_custom_view, gc_define_views_response)
- (gc_define_views): implement the gal-view popup menu items.
-
- * gui/gnome-cal.h:
- * gui/e-week-view.h:
- * gui/e-day-view.h:
- * gui/e-cal-list-view.h: removed old e-popup-menu header.
-
- * gui/e-calendar-view.c (setup_popup_icons): removed.
- (e_calendar_view_create_popup_menu): converted to use e-popup.
- (on_paste, on_copy, on_cut, on_delete_occurrence)
- (on_unrecur_appointment, on_delete_appointment, on_publish)
- (on_forward, on_meeting, on_move_to, on_copy_to, on_print_event)
- (on_save_as, on_print, on_edit_appointment, on_goto_today)
- (on_goto_date, on_new_task, on_new_meeting, on_new_event)
- (on_new_appointment): convert to use e-popup stuff.
-
- * gui/tasks-component.c (popup_event_cb): e-popup api changes.
-
- * gui/e-cal-popup.c (e_cal_popup_target_new_select): implement the
- selection target.
- (ecalp_target_free): and free it.
-
- * gui/e-cal-model.h: Make the ECalModel struct non-anonymous so it
- can be forward-declared.
-
- * gui/calendar-component.c (popup_event_cb): e-popup api changes.
-
-2004-10-06 Rodrigo Moya <rodrigo@novell.com>
-
- Revert fix for #60551
-
- * gui/dialogs/task-page.c (task_page_fill_component): start date
- can be after the due date, no need to compare.
-
-2004-10-02 Iván Frade <frade@asturlinux.org>
-
- Fixes #48116
-
- * gui/dialogs/task-details.page.c (task_details_page_fill_component):
- Validation: completed date is not a future date.
-
-2004-10-01 Not Zed <NotZed@Ximian.com>
-
- * gui/tasks-component.c (create_component_view): cast warning
- away.
- (create_component_view): connect to popup_event rather than
- fill_popup_menu.
-
- * gui/calendar-component.c (create_component_view): cast a warning
- away.
-
- * calendar-errors.xml: add prompt-delete-task-list.
-
- * gui/tasks-component.c (fill_popup_menu_cb): renamed to
- popup_event_cb, make use e-cal-popup.
- (edit_task_list_cb, new_task_list_cb, delete_task_list_cb)
- (copy_task_list_cb): deja-vu. update for api.
- (add_popup_menu_item): killed. murdered. drawn and quatered.
- (delete_task_list_cb): use e-error for the delete prompt.
-
- * gui/calendar-component.c (create_component_view): hook onto
- popup event instead of fill_popup_menu.
-
- * calendar-errors.xml: added prompt-delete-calendar.
-
- * gui/calendar-component.c (fill_popup_menu_cb): rename to
- popup_event_cb, make use e-cal-popup.
- (edit_calendar_cb, new_calendar_cb, delete_calendar_cb)
- (copy_calendar_cb): fix for api changes.
- (add_popup_menu_item): removed.
- (delete_calendar_cb): use e-error for the delete thing.
-
- * gui/e-cal-popup.[ch]: calendar popup driver.
-
-2004-09-29 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #64683
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): create
- a scrolled window for the attendees list, and synchronize it with the
- scrolling in the F/B area.
-
-2004-09-28 Not Zed <NotZed@Ximian.com>
-
- ** See bug #66736.
-
- * gui/e-itip-control.c (e_itip_control_set_data): noop if we were
- destroyed (priv == null).
-
-2004-09-28 JP Rosevear <jpr@novell.com>
-
- Fixes #61766
-
- * gui/migration.c (create_calendar_contact_source): set a color
- for the contacts
- (create_calendar_sources): set a color for the personal source and
- make in primary and default if nothing else is either
- (create_task_sources): ditto for tasks personal source
-
-2004-09-24 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #65599
-
- * gui/itip-utils.c (comp_fb_normalize): don't use NULL properties.
-
- * gui/e-pub-utils.c (e_pub_publish): use auth_new_cal_from_source()
- instead of auth_new_cal_from_uri().
-
-2004-09-24 JP Rosevear <jpr@novell.com>
-
- Fixes #64955, Vincent Noel <vnoel@cox.net>
-
- * libecal/e-cal.c (e_cal_get_alarms_in_range): fix c99-ism
-
-2004-09-24 JP Rosevear <jpr@novell.com>
-
- Fixes #66344
-
- * gui/e-cal-model-calendar.c (get_dtend): check for existence of
- property and null time instead of sending through bad data
-
- * gui/e-cal-model.c (get_dtstart): ditto
-
- * gui/e-cal-model-tasks.c (get_completed): ditto
- (get_due): ditto
-
-2004-09-24 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #63513
- * gui/e-itip-control.c
- (ok_clicked_cb): Now the myaddress can be set to ecal address
- since ok will be sentized only when ecal is loaded.
-
-2004-09-22 JP Rosevear <jpr@novell.com>
-
- * gui/calendar-component.c (fill_popup_menu_cb): ditto
-
- * gui/tasks-component.c (fill_popup_menu_cb): don't allow a delete
- of the system calendar
-
-2004-09-21 JP Rosevear <jpr@novell.com>
-
- Fixes #60904
-
- * gui/gnome-cal.c (set_week_start): update the view
- (get_times_for_views): mimic the work week guessing code exactly
- for calculating the time range needed instead of hardcoding 5 days
- (set_working_days): new routine to update the view
- (working_days_changed_cb): use above when getting config change
- notification
- (setup_config): set working days and add notification
-
-2004-09-21 JP Rosevear <jpr@novell.com>
-
- Fixes #66158
-
- * gui/e-cal-model-tasks.c (e_cal_model_tasks_mark_task_complete):
- notify of change so completion status updates immediately
-
-2004-09-21 JP Rosevear <jpr@novell.com>
-
- Fixes #59194
-
- * gui/e-cal-model-calendar.c (get_location): return "" instead of
- NULL
-
-2004-09-21 Chenthill Palanisamy <pchenthill@novell.com>
-
- Fixes #65682
- * gui/itip-utils.c
- (itip_send_comp): check the static capability before
- booking the deletion.
-
-2004-09-15 JP Rosevear <jpr@novell.com>
-
- Fixes #55172
-
- * conduits/calendar/calendar-conduit.c (local_record_from_comp):
- handle -1 (last) for monthly recurrences and check both by_set_pos
- and by_day since either can indicate this type of recurrence
-
-2004-09-20 Tony Tsui <ttsui9@gmail.com>
-
- Fixes #66174
-
- * gui/dialogs/meeting-page.c (existing_attendee): fixed memory leak.
-
-2004-09-10 Hannah & Fazlu <hannah_lins@yahoo.co.in>
-
- Fixes bug #65051
-
- * calendar/gui/dialogs/task-page.c (task_page_fill_component):
- Compared the dates and time
-
-2004-09-10 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #62374
-
- * gui/alarm-notify/alarm-queue.c (load_missed_alarms): removed this
- function.
- (cal_opened_cb): no need to call load_missed_alarms,
- load_alarms_for_today will do everything.
- (alarm_queue_add_client): ditto.
- (load_alarms_for_today): take into account the last saved notification
- time.
- (load_alarms): unref the previous query, this function should now
- only be called once per time range.
-
-2004-09-09 JP Rosevear <jpr@novell.com>
-
- Fixes #65454
-
- * gui/e-itip-control.c (class_init): only use a destroy function,
- no finalize
- (cleanup_ecal): util function
- (init): use above for hash table and killed destroyed flag
- (weren't using it anywhere)
- (destroy): collapse finalize work into here and guard against
- multiple destroy calls
-
-2004-09-08 JP Rosevear <jpr@novell.com>
-
- Fixes #62728
-
- * gui/e-week-view.c (e_week_view_set_week_start_day): trigger a
- redraw when changing the start day
-
-2004-09-05 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-calendar-table.c
- (e_calendar_table_show_popup_menu): Check the
- static capability to enable or disable the assign
- tasks in the popup menu.
-
- * gui/dialogs/recurrence-page.c
- (sensitize_buttons): Check for the static capability
- to convert a existing appointment to recurrence appointment
- for enabling or diabling the recurrence widgets.
-
-2004-08-31 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #62392
-
- * gui/alarm-notify/alarm-queue.c (display_notification): ref the
- client's query object so that it doesn't disappear on us.
- (tray_icon_destroyed_cb): unref the query previously ref'ed.
-
-2004-08-31 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-cal-model-tasks.c: include missing string.h, to avoid
- problems in 64 bit builds.
-
-2004-08-27 Not Zed <NotZed@Ximian.com>
-
- * common/authentication.c (auth_func_cb): constify the strings to
- remove a warning.
-
- ** See bug #64856 (workaround).
-
- * common/authentication.c (auth_func_cb):
- * gui/e-pub-utils.c(e_pub_publish): add ONLINE flag to password
- request.
-
-2004-08-28 JP Rosevear <jpr@novell.com>
-
- * gui/e-itip-control.c (rsvp_clicked_cb): get the active state
- (insert_rsvp): set inital rsvp state
-
- * gui/alarm-notify/alarm-queue.c (alarm_queue_add_client): load
- immediately if they are loaded
-
-2004-08-27 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/alarm-notify/alarm-queue.c (load_alarms): use the
- new 'has-alarms-in-range' query.
- (alarm_queue_add_client): make sure we don't add twice the same alarm.
-
-2004-08-27 JP Rosevear <jpr@novell.com>
-
- Fixes #62911, #54101
-
- * gui/e-itip-control.c (set_ok_sens): util routine to set
- sensitivity of OK button
- (cal_opened_cb): cal back when calendar opens, sensitize ok button
- (start_calendar_server): open async and take call back arg
- (source_selected_cb): desensitize ok button until calendar is
- loaded
- (find_cal_opened_cb): check to see if the calendar contains the
- object we are looking for, if none do show the source selector
- option menu
- (find_server): search async for the server
- (destroy): clean up html widget
- (finalize): instead of here
- (get_publish_options): use only object tag
- (get_request_options): ditto
- (get_request_fb_options): ditto
- (get_reply_options): ditto
- (get_refresh_options): ditto
- (get_cancel_options): ditto
- (show_current_event): use new options, remove groupwise NEEDS
- ACTION check, handle async loading
- (show_current_todo): use new options, handle async loading
- (option_activated_cb): record action
- (add_option): add action item
- (insert_boxes): layout widgets
- (insert_label): insert label
- (rsvp_clicked_cb): record rsvp status
- (insert_rsvp): insert rsvp check box
- (insert_ok): insert ok button
- (publish_options_object): spit out relevant options
- (request_options_object): ditto
- (freebusy_options_object): ditto
- (reply_options_object): ditto
- (refresh_options_object): ditto
- (cancel_options_object): ditto
- (object_requested_cb): handle object requests
- (ok_clicked_cb): use recorded actions
-
-2004-08-27 JP Rosevear <jpr@novell.com>
-
- * gui/alarm-notify/alarm-notify.h: update proto
-
- * gui/alarm-notify/alarm-notify.c (list_changed_cb): use per
- source type client hash
- (alarm_notify_init): ditto
- (alarm_notify_finalize): ditto
- (cal_opened_cb): ditto
- (alarm_notify_add_calendar): ditto
- (alarm_notify_remove_calendar): ditto, take source_type arg
- (load_calendars_cb): don't call list_changed if the source list is
- NULL
-
-2004-08-26 Christian Neumair <chris@gnome-de.org>
-
- * gui/GNOME_Evolution_Calendar.server.in.in:
- Don't mark component menu accels for translation.
-
-2004-08-25 JP Rosevear <jpr@novell.com>
-
- * conduits/todo/todo-conduit.c (for_each): prepare the local
- record correctly, should fix copy to/from problems when syncing
-
- * conduits/calendar/calendar-conduit.c (for_each): ditto
-
-2004-08-25 Frederic Crozat <fcrozat@mandrakesoft.com>
-
- * gui/dialogs/recur-comp.c: (recur_component_dialog):
- Don't call gtk_dialog_set_has_separator on Gtk Message Dialog
- with GTK+ >= 2.4.0.
-
-2004-08-25 Chenthill Palanisamy <pchenthill@novell.com>
-
- * gui/e-tasks.c
- (default_client_cal_opened_cb): Reset the Status Bar message to
- NUll, if the status of the Calendar is returned OK.
-
-2004-08-24 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #58824
-
- * gui/gnome-cal.c (open_ecal): Only try to open the calendar if not
- loaded yet.
- (update_query, client_cal_opened_cb, default_client_cal_opened_cb,
- backend_died_cb): use always the same view for status messages.
- (gnome_calendar_set_activity_handler): set the activity handlers on
- all views, not just the current one.
- (display_view): no need to set the activity handler here.
-
-2004-08-13 Jeffrey Stedfast <fejj@novell.com>
-
- * gui/dialogs/event-page.glade: Make the description scrolled
- window scroll policy "automatic" rather than "never". Fixes bug
- #62063.
-
-2004-08-18 Sivaiah Nallagatla <snallagatla@novell.com>
-
- * gui/alarm-notify/alarm-notify.c (alarm-notify_init) :
- initialize the mutext needed to prevent concurrect access
- priv->uri_clients_hash. Also install a timeout handler for
- loading sources which requires auth later
- (alarm_notify_finalize) : free the new mutex
- (load_calendars_cb) : call back which adds sources again after
- one minute
- (alarm_notify_add_calendar) : lock ad unlock the new mutex
- before and after accessing uri_clients_hash
-
-2004-08-16 JP Rosevear <jpr@ximian.com>
-
- Fixes #62706
-
- * gui/e-cal-model.c (e_cal_model_set_timezone): set the default
- timezone on the server
-
-2004-08-16 Sivaiah Nallagatla <snallagatla@novell.com>
-
- * gui/alarm-notify/alarm-notify.h : change the prototype of
- alarm_notify_add_calendar to take Esource instead of uri
-
- * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar) :
- use auth_new_cal_from_source instead of _from_uri to create cal
- client also do not try to load the cal backend which require auth
- and for which there is no password availble in e-password seesion
- (list_changed_cb) (load_calendars) : pass Esource insted of uri to
- alarm_notify_add_calendar
-
-2004-08-14 Sivaiah Nallagatla <snallagatla@novell.com>
-
- * gui/e-tasks.c (e_tasks_init) : initialize priv->default_lcient
- (default_client_cal_opened_cb) : unref priv->default_client and
- make it NULL
- (client_cal_opened_cb) : don't unref client explicitly as removing
- from priv->clients already does that. Remove client based on uid
- instead of uri
- (backend_died_cb) : Remove client based on uid insted of uri Fixes
- #62869
-
-2004-08-12 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/calendar-setup.glade: make the button say Add Task
- List instead of Add Group (matches menu item)
-
-2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org>
-
- * gui/dialogs/alarm-dialog.glade: added the property
- "use_filechooser" to the GnomeFileEntry
-
-2004-08-10 Not Zed <NotZed@Ximian.com>
-
- * gui/e-pub-utils.c (e_pub_publish):
- * common/authentication.c (auth_func_cb): epasswords api change.
-
-2004-08-11 JP Rosevear <jpr@ximian.com>
-
- Fixes #61555
-
- * gui/dialogs/meeting-page.c (existing_attendee): check if an
- attendee was pre-existing
- (remove_attendee): only add the attendee to the cancel comp if it
- was pre-existing
-
-2004-08-10 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-cal-model.c (e_cal_model_set_search_query): guard against
- re-running the same query.
-
-2004-08-10 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/alarm-notify/alarm-queue.c (tray_icon_destroyed_cb): disconnect
- from signals also when using only the system tray. Fixes a crash when
- removing an event that had an alarm popup recently.
-
-2004-08-09 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-calendar-view.c: re-added 'Make this occurrence movable' menu
- item, gone by mistake.
- (on_unrecur_appointment): new callback for the new menu item.
-
-2004-08-06 JP Rosevear <jpr@ximian.com>
-
- Fixes #62452
-
- * gui/e-itip-control.c (find_my_address): take option to retrieve
- current status as well, actually look for the delegator in the
- list so we can retrieve status there as well
- (show_current_event): use find_my_address to get the status so we
- properly handle not finding the address in the list of attendees
- (show_current): pass extra param
- (ok_clicked_cb): ditto
-
-2004-08-06 JP Rosevear <jpr@ximian.com>
-
- Fixes #62021
-
- * gui/dialogs/event-page.c (source_changed_cb): set the default
- timezone
-
- * gui/e-itip-control.c (start_calendar_server): set the default
- timezone
-
- * gui/calendar-component.c (setup_create_ecal): set the default
- timezone, as the component view is not alive and hence has not set
- it
-
- * gui/tasks-component.c (setup_create_ecal): ditto
-
-2004-08-05 Parthasarathi S A <sparthasarathi@novell.com>
-
- Fix for bug #61673.
- * calendar/gui/dialogs/save_comp.c(save_component_dialog):
- The function takes two arguments now, instead of one. The second
- argument is the pointer to the ECalComponent from which the component
- type can be determined. Based on the component type the corresponding
- error message is displayed.
- * calendar/gui/dialogs/save_comp.h:
- Function definition updated for save_component_dialog.
- * calendar/gui/dialogs/comp_editor.c(prompt_to_save_changes):
- passing the ECalComponent pointer to the 'save_component_dialog' function
- * calendar/calendar-errors.xml: New error message string for task included
- * calendar/calendar-errors.xml.h
-
-2004-08-05 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #62030
-
- * gui/alarm-notify/alarm-queue.c (tray_icon_destroyed_cb):
- only remove the tray icon blinking timeout if we installed
- it.
- (display_notification): only install the tray icon blinking
- timeout if using the system tray.
- (tray_icon_blink_cb): use g_object_unref instead of the
- deprecated gdk_pixbuf_unref.
-
- * gui/alarm-notify/alarm.c (alarm_add): added missing argument
- documentation.
-
-2004-08-03 JP Rosevear <jpr@novell.com>
-
- * gui/gnome-cal.c (gnome_calendar_destroy): clean up all the
- default clients
- (default_client_cal_opened_cb): change the if statement to a
- switch to be consistent with the other code bits and set the
- default client for the source type
- (gnome_calendar_add_source): look at the default based on the
- source type
- (gnome_calendar_set_default_source): set the default for the
- source type
- (gnome_calendar_new_task): bail out if we have no ecal
-
- * gui/gnome-cal.c (set_timezone): set the timezone for all the
- default clients
-
- * gui/calendar-component.c (update_primary_task_selection): look
- in the task source list, not the plain source list
-
-2004-08-05 JP Rosevear <jpr@novell.com>
-
- * gui/tasks-control.c (tasks_control_sensitize_commands): kill
- warning by checking if there is a default client first (can happen
- when first starting up)
-
-2004-08-05 JP Rosevear <jpr@novell.com>
-
- Fixes #62363
-
- * gui/calendar-component.c (create_new_event):
- commit the sequence
-
-2004-08-04 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/e-itip-control.c: (ok_clicked_cb): Handle decline request by
- using update_item rather than remove_item, so the backend receives
- the notification and can handle it. Also, do not rsvp if the backend
- has the 'save_schedule' capability.
-
-2004-08-01 JP Rosevear <jpr@novell.com>
-
- * conduits/todo/todo-conduit.c (todoconduit_load_configuration):
- get source list and source
- (todoconduit_dupe_configuration): copy source list and source
- (todoconduit_destroy_configuration): unref source list and source
- (start_calendar_server): open the source that was set earlier
- (fill_widgets): set the source option menu value
- (create_settings_window): pass source list to pilot settings
- (save_settings): mark source with pilot-sync property
-
- * conduits/calendar/calendar-conduit.c: as above
-
- * conduits/todo/Makefile.am: link to and include misc. widgets
-
- * conduits/calendar/Makefile.am: ditto
-
-2004-07-30 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #57622
-
- * gui/e-cal-model.h: added ECalModelFlags enum type.
-
- * gui/e-cal-model.c (e_cal_model_set_flags, e_cal_model_get_flags):
- new functions.
- (e_cal_model_init): initialize the new internal field to keep the flags.
- (e_cal_view_objects_added_cb): expand recurrences if the model flags
- contain the EXPAND_RECUR bit.
- (e_cal_view_objects_modified_cb): if EXPAND_RECUR is on, remove all
- recurrences and regenerate them.
- (e_cal_view_objects_removed_cb): remove all instances for given UIDs.
- (add_new_client): killed warning.
- (get_dtstart): use the instance_start time when dealing with recurrences.
-
- * gui/e-cal-model-calendar.c (get_dtend): use the instance_end time
- when dealing with recurrences.
-
- * gui/e-cal-list-view.c (e_cal_list_view_new): set the EXPAND_RECUR
- flag on the model for the list view.
-
- * gui/e-week-view.c (e_week_view_add_event):
- * gui/e-day-view.c (e_day_view_add_event): fill in the instance's
- start and end times in the ECalModelComponent struct.
-
- * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence):
- use the instance_start field to retrieve the RECUR-ID, now that all the
- views fill it in.
-
-2004-07-29 JP Rosevear <jpr@novell.com>
-
- * gui/e-calendar-view.c: creating new items no longer needs to be
- disabled since the user can switch to a writable calendar and the
- editor ui is disabled properly
-
-2004-07-31 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/event-editor.c (show_meeting): use Invitations not
- Meetings
- (event_editor_edit_comp): ditto
-
-2004-07-31 JP Rosevear <jpr@novell.com>
-
- * gui/e-day-view.c (e_day_view_finish_long_event_resize): guard
- with is_instance instead of has_recurrences because most of the
- backends don't support this yet
- (e_day_view_finish_resize): ditto
- (e_day_view_change_event_time): 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/e-week-view.c (e_week_view_change_event_time): ditto
- (e_week_view_on_editing_stopped): ditto
-
-2004-07-30 Harish Krishnaswamy <kharish@novell.com>
-
- * gui/e-tasks.c: (client_cal_opened_cb),
- (default_client_cal_opened_cb):
- * gui/gnome-cal.c: (client_cal_opened_cb),
- (default_client_cal_opened_cb):
- Handle E_CALENDAR_STATUS_BUSY conditions and do not
- remove the source from the gnome-calendar. The fix
- for #59335 exposed this problem.
-
-2004-07-28 Larry Ewing <lewing@novell.com>
-
- * gui/dialogs/calendar-setup.c (dialog_hide_unused_options): hide
- dialog items that don't apply when editing properties.
- (general_update_dialog): check to make sure we have a source
- before checking its state.
-
-2004-07-27 JP Rosevear <jpr@novell.com>
-
- Fixes #62006
-
- * gui/e-cal-model.c (add_new_client): don't load the events if we
- are already doing the query
-
-2004-07-25 JP Rosevear <jpr@ximian.com>
-
- Fixes #61058
-
- * gui/e-week-view.c (process_component_recur_cb): add but don't
- prepend
- (process_component): use above as call back so we can pass the
- prepend bool
- (e_week_view_add_event): take a prepend bool and prepend to the
- events array if asked so the event will be shown first when drawn
- (e_week_view_do_key_press): If the event can't be fit on the
- screen, ie not even one event can be shown in the day, don't try
- to edit it
-
-2004-07-26 Rodney Dawes <dobey@novell.com>
-
- * gui/dialogs/event-page.glade: Fix mnemonic for "Location" to not
- be duplicated with "OK"
-
- * gui/dialogs/meeting-page.c (get_widgets): Get the "Attendees" label
- (meeting_page_construct): Fix padding of GtkScrolledWindow widget
- Set the mnemonic widget for the "Attendees" label
-
- * gui/dialogs/meeting-page.glade: Fix HIG spacing to be correct
- Fix the mnemonic for "Organizer" to not conflict
- Add mnemonic for "Attendees"
-
- * gui/dialogs/task-page.glade: Add mnemonic for "Description"
-
-2004-07-26 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar): set
- a different title if we are editing; de-sensitize option menu if
- we are editing
- (calendar_setup_edit_task_list): set a different title if we are editing
-
- * gui/dialogs/calendar-setup.glade: use task list instead of tasks
- group
-
- * gui/tasks-component.c (impl__get_userCreatableItems): add
- assigned task as an item, use task list instead of tasks group
-
- * gui/calendar--component.c (impl__get_userCreatableItems): fiddle
- with shortcuts
-
-2004-07-25 pchenthill <pchenthill@novell.com>
-
- Fixes #59983
- If the ecal component is already loaded, check for the participation
- status of the attendee and display the menu for selecting the
- calendar.
-
-2004-07-23 JP Rosevear <jpr@ximian.com>
-
- Fixes #61571
-
- * gui/e-week-view.c (e_week_view_start_editing_event): if the
- event moves, find it again using the model data as the invariant
- and then find the span again
-
-2004-07-23 JP Rosevear <jpr@novell.com>
-
- Fixes #61760
-
- * gui/e-cal-model.c (add_new_client): don't check against the URI,
- just against the client
-
-2004-07-23 pchenthill <pchenthill@novell.com>
-
- * Retracting the commit made below for #59983 as it has
- results in crash some cases
-
-2004-07-23 pchenthill <pchenthill@novell.com>
-
- Fixes #59983
- * gui/e-itip-control.c (show_current_event):
- If the ecal component is already loaded, check for the participation
- status of the attendee and display the menu for selecting the
- calendar.
-
-2004-07-22 Larry Ewing <lewing@ximian.com>
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set):
- fix the row heights and tweek the offsets so that things come out
- OK.
-
-2004-07-21 JP Rosevear <jpr@novell.com>
-
- Fixes #61776
-
- * gui/e-calendar-table.c (clipboard_get_text_cb): make sure the
- text is not NULL
-
-2004-07-21 JP Rosevear <jpr@novell.com>
-
- Fixes #61738
-
- * gui/dialogs/meeting-page.c (clear_widgets): by default we have a
- user as organizer
- (sensitize_widgets): use user_org to determine widget sensitivity
- (meeting_page_fill_widgets): set user_org value appropriately
- (change_clicked_cb): set user_org to TRUE
-
-2004-07-21 JP Rosevear <jpr@novell.com>
-
- Fixes #61779
-
- * gui/dialogs/task-page.c (init_widgets): listen for changes on
- start and due dates
-
- * gui/dialogs/task-details-page.c (init_widgets): listen for
- changes on completion date
-
-2004-07-20 Not Zed <NotZed@Ximian.com>
-
- * gui/e-cal-model.c:
- * importers/icalendar-importer.c:
- * gui/dialogs/select-source-dialog.c:
- * gui/dialogs/copy-source-dialog.c:
- * gui/alarm-notify/util.c:
- * common/authentication.c:
- * gui/migration.c: include config.h. See #61395.
-
-2004-07-16 JP Rosevear <jpr@novell.com>
-
- Fixes #61451
-
- * gui/e-itip-control.c (get_cancel_options): don't give a cancel
- option if the event is no where to be found
- (show_current_event): pass in kind
- (show_current_todo): ditto
-
-2004-07-16 Larry Ewing <lewing@ximian.com>
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set):
- fix the row heights and tweek the offsets so that things come out
- OK.
-
-2004-07-16 Larry Ewing <lewing@ximian.com>
-
- * gui/calendar-component.c (set_info): use short month forms to
- limit the maximum width of the label.
-
-2004-07-15 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #57142
-
- * gui/e-day-view.c (e_day_view_on_editing_stopped): commit the
- sequence on the object before sending it to the backend.
- (e_day_view_add_event): s/abort_sequence/commit_sequence.
-
- * gui/e-week-view.c (e_week_view_on_editing_stopped): commit the
- sequence here also.
- (e_week_view_add_event): s/abort_sequence/commit_sequence.
-
- * gui/comp-util.c (cal_comp_event_new_with_current_time): don't
- commit the sequence here.
-
-2004-07-14 JP Rosevear <jpr@novell.com>
-
- Fixes #61572
-
- * gui/dialogs/schedule-page.c (times_changed_cb): call notify
- changed
-
- * gui/dialogs/comp-editor.c (page_summary_changed_cb): no need to
- mark the editor changed here, it doesn't do the right thing anyhow
- (page_dates_changed_cb): ditto
-
-2004-07-14 JP Rosevear <jpr@novell.com>
-
- Fixes #60678
-
- * gui/dialogs/cancel-comp.c (cancel_component_dialog): flip the
- messages around, the "deleting" flag means something else is doing
- the deleting
-
-2004-07-12 JP Rosevear <jpr@novell.com>
-
- Fixes #57287, 58748
-
- * gui/tasks-component.c (source_added_cb): if the source was
- added in the main calendar, select it because the user caused this
- to happen by creating a task
- (create_component_view): listen for source_added signal on the
- tasks
-
- * gui/gnome-cal.c (view_selection_changed_cb): if the user created
- a task, make sure we are displaying the relevant event list
- (set_timezone): set the default zone of the default client
- (setup_widgets): listen for the user_created signal
- (gnome_calendar_destroy): clean up default client
- (client_cal_opened_cb): disconnect from the open signal
- (default_client_cal_opened_cb): set the default client on the
- models
- (open_ecal): make the callback function a param
- (gnome_calendar_add_source): include the default client when
- searching for an existing client
- (gnome_calendar_set_default_source): make the default client
- independent of the rest of the clients
-
- * gui/e-week-view.c (e_week_view_on_editing_stopped): emit
- user_created signal
-
- * gui/e-tasks.c (user_created_cb): if the user created a task,
- make sure we are displaying the relevant task list
- (set_timezone): set the timezone on the client
- (setup_widgets): listen for user_created signal
- (e_tasks_destroy): unref default client
- (default_client_cal_opened_cb): set the default on the model when
- it opens
- (open_ecal): open a task list
- (e_tasks_add_todo_source): include the default client when
- searching for an existing client
- (e_tasks_set_default_source): make the default client independent
- of the rest of the clients
-
- * gui/e-day-view.c (e_day_view_on_editing_stopped): emit
- user_created signal
-
- * gui/e-calendar-view.h: add signal proto
-
- * gui/e-calendar-view.c (e_calendar_view_class_init): add
- user_created signal
-
- * gui/e-calendar-table.h: add signal proto
-
- * gui/e-calendar-table.c (e_calendar_table_class_init): add
- user_created signal
- (row_appended_cb): if row is appended, emit user_created signal
- (e_calendar_table_init): listen for row_appended signal
-
- * gui/e-cal-model.h: add signal proto
-
- * gui/e-cal-model.c (e_cal_model_class_init): add row_appended
- signal
- (ecm_append_row): don't leak, emit row appended signal
- (e_cal_model_set_default_client): remove the existing default if
- it was only used as the default
- (update_e_cal_view_for_client): short circuit query create
- (add_new_client): look for an existing client and update its
- record if found, handle opening things here
- (e_cal_model_add_client): just call add_new_client
- (remove_client_objects): just remove a client's objects
- (remove_client): use above, handle removal of client if its
- default
-
- * gui/calendar-component.c (source_added_cb): if the source was
- added in the main calendar, select it because the user caused this
- to happen by creating an appointment
- (create_component_view): listen for source_added signal on the
- calendar
-
-2004-07-08 Radek Doulik <rodo@ximian.com>
-
- * gui/e-cal-model.c (e_cal_model_date_value_to_string): as below
-
- * gui/e-cal-model-calendar.c (ecmc_value_to_string): as below
-
- * gui/e-cal-model.c (ecm_value_to_string): as below
-
- * gui/e-cal-model-tasks.c (ecmt_value_to_string): dup the string
- value, it's free-ed later. instead of returning NULL return
- g_strdup ("") as gal does
-
- Fixes #56271
-
-2004-07-12 Rodney Dawes <dobey#novell.com>
-
- * gui/e-tasks.c (pane_realized): Add this callback so we can set the
- paned position on realize
- (setup_widgets): Move the paned widget to the priv structure so that
- we can access it elsewhere
- (display_view_cb): Set the paned position when the view gets displayed
-
- Fixes #55653
-
-2004-07-12 Rodney Dawes <dobey@novell.com>
-
- * gui/dialogs/recur-comp.c (recur_component_dialog):
- Update the layout of the dialog to be more usable
-
- Partially fixes #56171
-
-2004-07-11 Jürg Billeter <j@bitron.ch>
-
- * gui/dialogs/event-page.c (event_page_fill_component):
- busy should be opaque, not transparent
-
-2004-07-09 Rodrigo Moya <rodrigo@novell.com>
-
- Revert my patches from July 5th and 6th.
-
- * gui/gnome-cal.c (gnome_calendar_init): call setup_config/widgets
- in the previous order.
- (setup_widgets): set the timezone on the views when creating them.
- (set_timezone): no need to set the timezone on the views here.
- (client_cal_opened_cb): removed call to set_timezone().
-
-2004-07-09 Rodney Dawes <dobey@novell.com>
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw_triangle):
- Add an argument for the event_num so we can get the event object
- Draw the left/right triangles with the right color for the event
- Fix a small alignment bug with the triangle points
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw_triangle):
- Draw the left/right triangles with the right color for the event
- Fix a small alignment bug with the triangle points
-
-2004-07-09 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #60289
-
- * gui/dialogs/select-source-dialog.c (select_source_dialog): set the
- absolute URI on the selected source, so that the ESource we keep
- around has a valid URI.
-
- * gui/e-calendar-view.c (transfer_item_to): when copying appointments,
- change the UID.
- (transfer_selected_items): don't pass hardcoded values to transfer_item_to.
-
-2004-07-08 Frederic Crozat <fcrozat@mandrakesoft.com>
-
- * gui/Makefile.am:
- tarball should ship .schemas.in.in files, not generated files.
-
-2004-07-06 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/gnome-cal.c (gnome_calendar_init): setup the widgets before
- the configuration.
-
-2004-07-06 JP Rosevear <jpr@novell.com>
-
- Fixes #60645
-
- * gui/e-calendar-view.c (e_calendar_view_new_appointment_full):
- guess when an item should be all day based on the selection time
-
-2004-07-05 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/gnome-cal.c (setup_widgets): don't set the timezone on the views
- here.
- (set_timezone): do it here.
- (client_cal_opened_cb): call set_timezone() here.
-
-2004-07-02 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/gnome-cal.c (set_view): update the internal current_view_type
- field and focus the newly selected view.
-
-2004-07-02 Rodney Dawes <dobey@novell.com>
-
- * gui/dialogs/url-editor-dialog.c (get_widgets):
- Get the label for the calendar list header also
- (init_widgets): Set the border widths for the dialog's vbox and
- action area to be more compliant with the HIG
- Set the mnemonic widget for the calendar label, to the Source Selector
- Remove the unneeded settings for the scrolled window, these are in the
- glade xml for the widget
- Set the icon list on the correct dialog widget, not the settings dialog
-
- * gui/dialogs/url-editor-dialog.h:
- Add the calendar_list_label widget here so we can access it
-
- * gui/dialogs/url-editor-dialog.glade:
- Change the dialog's layout to be HIG compliant and fix some strings
- to do the same
- Add mnemonics to all the labels that are associated with widgets
-
-2004-06-29 Sivaiah Nallagatla <snallagatla@novell.com>
-
- * gui/e-tasks.c (e_tasks_add_todo_source)
- (e_tasks_remove_todo_source) : store and lookup clients
- based on ESource uid instead of uri in priv->clients
-
-2004-06-28 Not Zed <NotZed@Ximian.com>
-
- * gui/tasks-component.c (impl__get_userCreatableItems): same.
-
- * gui/calendar-component.c (impl__get_userCreatableItems): fix up
- shortcuts. #56746.
-
-2004-06-25 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/alarm-dialog.glade: don't show option tabs
-
-2004-06-25 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/task-editor.c (task_editor_construct): use "Task"
- instead of "Basic"
-
- * gui/dialogs/event-editor.c (event_editor_construct): use
- "Invitations" instead of "Meeting"
-
-2004-06-25 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/e-delegate-dialog.glade: use "Contacts..."
-
- * gui/dialogs/alarm-dialog.glade: add custom message email toggle
-
- * gui/dialogs/alarm-dialog.c (get_widgets): get custom email
- message toggle
- (check_custom_email): check the custom message when setting
- sensitivity of OK button
- (malarm_message_toggled_cb): check custom email
- (malarm_description_changed_cb): ditto
- (action_selection_done_cb): ditto
-
-2004-06-25 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/alarm-dialog.c (alarm_to_dialog): set the default
- address here if possible
- (dialog_to_alarm): don't set it here
- (check_custom_email): check for To: entries
- (malarm_addresses_changed_cb): update when the text in the to
- entry changes
- (action_selection_done_cb): for the custom email settings
- (init_widgets): listen for email To: changes
- (alarm_dialog_run): only save the alarm if the response was "OK"
-
-2004-06-25 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/event-page.c (event_page_init): init alarm interval
- to -1
- (clear_widgets): give the alarm time option menu a sensible
- default
- (is_custom_alarm): account for the user defined alarm time if it
- doesn't match the default set
- (event_page_fill_widgets): default the option menu to the 15
- minute or user define alarm if no alarm is currently set
- (event_page_fill_component): account for the user defined alarm
- tme
- (init_widgets): add in the user defined alarm time if it doesn't
- match the default set
-
-2004-06-25 JP Rosevaer <jpr@novell.com>
-
- * gui/dialogs/alarm-dialog.c (palarm_widgets_to_alarm): the args
- are optional, don't store them if they aren't there
- (check_custom_sound): sensitize the ok button based on whether or
- not there needs to be input
- (check_custom_message): ditto
- (check_custom_program): ditto
- (dalarm_message_toggled_cb): check custom message
- (dalarm_description_changed_cb): ditto
- (aalarm_sound_toggled_cb): check custom sound
- (aalarm_attach_changed_cb): ditto
- (palarm_program_changed_cb): check custom program
- (action_selection_done_cb): use above checks as appropriate
- (init_widgets): listen for changed signals
-
-2004-06-25 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/event-page.c (event_page_finalize): free old_summary
- (is_custom_alarm): take description into account when checking for
- custom alarm
- (is_custom_alarm_uid_list): pass old_summary
- (is_custom_alarm_store): ditto
- (is_custom_alarm_store): ditto
- (sensitize_widgets): ditto
- (event_page_fill_component): ditto
- (event_page_fill_widgets): store the initial summary
- (alarm_changed_cb): make sure the needs description property gets
- set on the default alarm
- (alarm_custom_clicked_cb): copy the current store in case the user
- hits cancel, if all the alarms are erased uncheck the alarm toggle
-
- * gui/dialogs/alarm-dialog.glade: add toggles for custom messages
- and sound
-
- * gui/dialogs/alarm-dialog.c (aalarm_widgets_to_alarm): store
- custom sound only if the toggle is checked
- (dalarm_widgets_to_alarm): store custom message only if toggle is
- checked
- (get_widgets): load new widgets
- (aalarm_sound_toggled_cb): sensitize sound entry
- (dalarm_message_toggled_cb): sensitize message entry
- (init_widgets): listen for toggle signals
-
-2004-06-24 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/alarm-list-dialog.c (selection_changed_cb):
- sensitize the buttons
- (init_widgets): listen for selection changes so we can delete
- alarms
-
-2004-06-24 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/event-page.c (event_page_fill_component): store all
- the custom alarms
- (alarm_custom_clicked_cb): emit changed signal if necessary
-
- * gui/dialogs/alarm-list-dialog.c (alarm_list_dialog_run): return
- true/false based on button pushed
-
- * gui/dialogs/alarm-dialog.c: move repeat options and per alarm
- type options here
-
- * gui/dialogs/alarm-dialog.glade: ditto
-
- * gui/dialogs/Makefile.am: remove alarm options dialog
-
-2004-06-24 Rodney Dawes <dobey@novell.com>
-
- * gui/calendar-component.c (create_component_view):
- * gui/tasks-component.c (create_component_view):
- Add a call to e_source_selector_set_select_new here so that we can
- select new sources when we create them
-
-2004-06-23 Jeffrey Stedfast <fejj@novell.com>
-
- * conduits/todo/todo-conduit.c: Bump the version to 0.1.5 to help
- track down bug #59726.
-
-2004-06-23 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/comp-editor.c (comp_editor_init): set the window
- type hint to normal so it can go below the shell window
-
-2004-06-23 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/comp-editor.c (comp_editor_notify_client_changed):
- fixed gtk-doc comments and made it enable/disable the dialog's
- OK button depending on the selected source.
-
-2004-06-23 Rodney Dawes <dobey@novell.com>
-
- * gui/calendar-component.c: Revert previous change to add the
- callbacks for notification of calendar selection changes
- (create_new_view): Update the comment for watching notification on
- the tasks selection to state it is for the mini tasks view
-
-2004-06-23 JP Rosevear <jpr@novell.com>
-
- Fixes #57862
-
- * gui/gnome-cal.c (connect_day_view_focus): connect after the
- focus events happen so the day view knows what is selected
-
-2004-06-23 JP Rosevear <jpr@novell.com>
-
- * gui/e-itip-control.c (update_attendee_status): tidy up to work
- again
- (ok_clicked_cb): use above when replying
-
-2004-06-23 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/meeting-page.c (remove_attendee): util function to
- do the actual removal
- (remove_attendee_at_row): ditto based on row number
- (remove_clicked_cb): make the remove button work
- (popup_delete_cb): use utility routines to do removal
- (button_press_event): do the icon properly
-
-2004-06-22 Rodney Dawes <dobey@novell.com>
-
- * gui/calendar-component.c (config_calendars_selection_changed_cb):
- (config_primary_calendar_selection_changed_cb):
- Add these two callbacks so that we can update the selection in the
- calendar when the gconf key changes, like we do for tasks
-
- (create_component_view): Register the two callbacks that we created
- for updating the selection in the view, and their notification IDs
-
-
-2004-06-22 JP Rosevear <jpr@novell.com>
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
- clean up mnemonic handling and put the proper icon in the contacts
- button
-
-2004-06-22 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/recurrence-page.glade: fix mnemonics
-
- * gui/dialogs/event-page.glade: ditto
-
-2004-06-22 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/comp-editor.c: kill warnings
-
-2004-06-22 JP Rosevear <jpr@novell.com>
-
- * gui/calendar-component.c (create_new_event): kill warning
-
-2004-06-22 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/Makefile.am: removed alarm-page.*.
-
-2004-06-22 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/Makefile.am, gui/dialogs/alarm-dialog.c,
- gui/dialogs/alarm-dialog.glade, gui/dialogs/alarm-dialog.h,
- gui/dialogs/alarm-list-dialog.c,
- gui/dialogs/alarm-list-dialog.glade,
- gui/dialogs/alarm-list-dialog.h, gui/dialogs/alarm-options.c,
- gui/dialogs/alarm-options.h, gui/dialogs/alarm-page.c,
- gui/dialogs/alarm-page.glade, gui/dialogs/alarm-page.h,
- gui/dialogs/comp-editor.c, gui/dialogs/comp-editor.h,
- gui/dialogs/event-editor.c, gui/dialogs/event-page.c,
- gui/dialogs/event-page.glade, gui/dialogs/meeting-page.c,
- gui/dialogs/meeting-page.glade, gui/dialogs/recurrence-page.c,
- gui/dialogs/recurrence-page.glade,
- gui/dialogs/task-details-page.c,
- gui/dialogs/task-details-page.glade, gui/dialogs/task-editor.c,
- gui/dialogs/task-page.c, gui/dialogs/task-page.glade: HIGify and
- newer design; alarm page is gone, Cancel/OK buttons for the
- dialog, no more menus; slightly improve read-only workings for
- entry areas
-
-2004-06-22 JP Rosevear <jpr@novell.com>
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
- rename widgets to be consistent with those else where
- (e_meeting_time_selector_set_read_only): cast properly
- (e_meeting_time_selector_on_invite_others_button_expose): remove,
- the widget sensitization is taken care of elsewhere
-
-2004-06-22 Larry Ewing <lewing@ximian.com>
-
- Fixes #59824
-
- * gui/e-week-view.h: increase some of the passing so that the text
- does not appear to run together. Ideally this would be based on
- the font size but this will work for now.
-
-2004-06-21 Rodney Dawes <dobey@novell.com>
-
- Fixes #56892
-
- * gui/dialogs/select-source-dialog.c (row_activated_cb): Add this
- callback to activate the OK button when we double-click or press
- the Enter key on a row
- (select_source_dialog): Change the default size to be reasonable
- Use ensure_style instead of realize on the dialog
- Set the default response for the dialog to OK
- Fix the packing of the group label to not have extraneous padding
- Connect up the callback for row_activated
-
-2004-06-18 Jeffrey Stedfast <fejj@novell.com>
-
- Fixes bug #57592
-
- * conduits/calendar/calendar-conduit.c (pre_sync): Same as below.
-
- * conduits/todo/todo-conduit.c (pre_sync):
- s/wombat/evolution-data-server/g
-
-2004-06-18 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #58747
-
- * gui/dialogs/comp-editor.c (prompt_to_save_changes): if the source
- is read only, don't prompt the user.
-
-2004-06-18 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #56323
-
- * gui/calendar-component.c (create_new_event): removed read-only
- check, just call the editor with the currently selected client and
- let it do the job.
-
- * gui/tasks-component.c (create_new_todo): ditto.
-
-2004-06-18 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #60293
-
- * gui/dialogs/recurrence-page.c (type_toggled_cb): make sure
- we enable/disable correctly the 'Add' button.
-
-2004-06-17 Sivaiah Nallagatla <snallagatla@novell.com>
-
- * gui/itip-utils.c (itip_publish_comp) : check for
- host being non-NULL in soup uri. host can be null
- for uri's of the form file:/foo or http:/foo etc
-
-2004-06-17 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #60309
-
- * gui/meeting-page.c (sensitize_widgets): moved up in the file, to
- be declared before any use.
-
-2004-06-16 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-itip-control.c: use e-util's HTML conversion function,
- instead of camel's.
- (write_html): use e_text_to_html_full().
-
-2004-06-15 JP Rosevear <jpr@novell.com>
-
- Fixes #56197
-
- * gui/e-cal-list-view.etspec: add back categories
-
- * gui/e-calendar-table.etspec: ditto
-
-2004-06-15 JP Rosevear <jpr@novell.com>
-
- Fixes #59401
-
- * gui/e-week-view.c (e_week_view_on_text_item_event): if we are
- editing the event, don't ignore the right click, stop editing the
- event and continue on
-
-2004-06-15 JP Rosevear <jpr@novell.com>
-
- Fixes #57393
-
- * gui/e-week-view.c (e_week_view_set_compress_weekend): redraw the
- titles as well since the spacing is different
-
-2004-06-15 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/meeting-page.c (meeting_page_construct): connect
- to "client_changed" signal on the page.
- (client_changed_cb): new callback.
- (sensitize_widgets): new function.
- (meeting_page_fill_widgets): call sensitize_widgets().
-
- * gui/e-meeting-time-sel.[ch]
- (e_meeting_time_selector_set_read_only): new function.
- (e_meeting_time_selector_construct): store some missing buttons
- in the EMeetingTimeSelector structure.
-
- * gui/dialogs/schedule-page.c (schedule_page_construct):
- connect to "client_changed" signal on the page.
- (client_changed_cb): new callback.
- (sensitize_widgets): new function.
- (schedule_page_fill_widgets): call sensitize_widgets().
-
-2004-06-10 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-cal-model.c (e_cal_view_objects_modified_cb): removed
- g_assert call, since we shouldn't crash when getting wrong
- notifications from a backend.
-
-2004-06-10 JP Rosevear <jpr@novell.com>
-
- * gui/gnome-cal.c
- (gnome_calendar_on_date_navigator_selection_changed): only do the
- range selected hack in one case
-
-2004-06-10 JP Rosevear <jpr@novell.com>
-
- * gui/gnome-cal.c (setup_widgets): set 6 weeks shown
- (display_view): ditto
-
-2004-06-10 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #58748
-
- * gui/gnome-cal.c (setup_widgets): set the timezone on all views
- when creating them.
-
-2004-06-10 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-calendar-table.c (e_calendar_table_init): don't set
- the "bg_color_column" property on the ECellToggle class.
-
-2004-06-10 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #58799
-
- * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence):
- Use the timezone for getting the RECUR-ID from the instance start
- date if available. Also, use dates only as the recurrence ID, and
- do nothing if not a recurrent appointment.
-
-2004-06-09 JP Rosevear <jpr@novell.com>
-
- Fixes #59242, #57404, ##55394
-
- * gui/gnome-cal.c (get_times_for_views): calculate the work week,
- week, and month views more exactly
- (update_adjustment): update the view based on week view scrolling
- (setup_widgets): listen for the scroll bar moving on the week
- views
- (gnome_calendar_update_date_navigator): adjust for compressed
- weekends in the month view
- (gnome_calendar_on_date_navigator_selection_changed): ditto
-
- * gui/e-week-view.h: add protos
-
- * gui/e-week-view.c (time_range_changed_cb): calculate the
- base_date and first_day_shown more simply, allows multi-week
- selection to work better; update the base date when told to do so
- (e_week_view_init): init update_base_value var
- (e_week_view_get_update_base_date): accessor
- (e_week_view_set_update_base_date): ditto
-
-2004-06-08 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #57578
-
- * gui/e-calendar-view.c (on_move_to, on_copy_to): simplified to
- just call transfer_selected_items() with the approppriate
- arguments.
- (transfer_selected_items): new function to transfer all selected
- items to another calendar.
- (transfer_item_to): added missing implementation.
-
-2004-06-08 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #57579
-
- * gui/dialogs/select-source-dialog.c (select_source_dialog): start
- with the OK button disabled.
- (primary_selection_changed_cb): enable/disable the OK button depending
- on the selection on the ESourceSelector.
-
-2004-06-08 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/comp-editor.[ch] (comp_editor_notify_client_changed):
- new function for notifying all pages of the client change.
- (page_client_changed_cb): no need for this callback.
- (comp_editor_append_page): no need to connect to "client_changed"
- signal on the pages.
-
- * gui/dialogs/comp-editor-page.c
- (comp_editor_page_notify_client_changed): re-added the call to
- comp_editor_page_set_e_cal(), the client was not being set anywhere.
-
- * gui/dialogs/event-page.c (source_changed_cb): use
- comp_editor_notify_client_changed() so that all pages get informed
- of the client change.
-
- * gui/dialogs/task-page.c (source_changed_cb): ditto.
-
-2004-06-08 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/comp-editor-page.c
- (comp_editor_page_notify_client_changed): do not set the private
- client here, it is set in comp-editor.c.
-
- * gui/dialogs/event-page.c (sensitize_widgets): new function.
- (source_changed_cb): call sensitize_buttons().
-
- * gui/dialogs/recurrence-page.c (sensitize_buttons): new
- function, to deal correctly with the sensitivity of all widgets
- in the page.
- (recurrence_page_fill_widgets, type_toggled_cb, client_changed_cb):
- call sensitize_buttons() instead of sensitize_recur_widgets().
- (recurrence_page_construct): g_signal_connect_after for
- "client_changed", to get notifications after CompEditorPage
- gets his.
-
- * gui/dialogs/alarm-page.c (sensitize_buttons): sensitize the missing
- widgets in the page.
- (alarm_page_construct): g_signal_connect_after for "client_changed",
- to get notifications after CompEditorPage gets his.
-
-2004-06-08 JP Rosevear <jpr@novell.com>
-
- * gui/e-week-view.c (e_week_view_do_key_press): cast week view
- correctly
-
-2004-06-08 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/recurrence-page.c (recurrence_page_construct): connect
- to "client_changed" signal on the page.
- (client_changed_cb): new callback.
-
- * gui/dialogs/alarm-page.c (sensitize_buttons): fixed missing stuff
- in last commit.
-
-2004-06-08 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #59650
-
- * gui/dialogs/alarm-page.c (alarm_page_construct): connect to
- "client_changed" signal on the page.
- (client_changed_cb): new callback.
- (sensitize_buttons): added code for dealing with read only calendars
- and disable/enable buttons approppriately.
-
-2004-06-07 Dan Winship <danw@novell.com>
-
- * gui/dialogs/comp-editor.c (pixmaps): s/stock_save_as/stock_save-as/
-
-2004-06-07 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-tasks.c (e_tasks_add_todo_source): open task lists
- asynchronously.
- (client_cal_opened_cb): callback from the client when opened.
-
- * gui/gnome-cal.c (client_cal_opened_cb): disconnect from all
- signals of the client when opening it fails. Clean up the status
- messages correctly, based on source type.
- (open_ecal): for tasks, use e_calendar_table_set_status_message
- not e_calendar_view_set_status_message.
- (gnome_calendar_remove_source_by_uid): call update_query only when
- removing calendars, not tasks lists.
- (update_query): set meaningful status messages.
-
-2004-06-06 Vardhman Jain <vardhman@students.iiit.net>
-
- * Bug #36247
- * gui/e-itip-control.c (write_html, set_date_label):
- Changes to improve the performance of _(str) function call on strings
- str of the type <tar>str</tag> to avoid translation of tag.
-
-2004-06-04 <jpr@novell.com>
-
- * gui/gnome-cal.c: define G_MAXINT32 if it isn't already
-
-2004-06-04 JP Rosevear <jpr@novell.com>
-
- Fixes #58739
-
- * gui/migration.c (migrate_calendars): guard against NULL
- gconf_val
-
-2004-06-04 JP Rosevear <jpr@novell.com>
-
- Fixes #59058
-
- * gui/gnome-cal.c (gnome_calendar_purge): make purging actually
- work
-
-2004-06-04 JP Rosevear <jpr@novell.com>
-
- * gui/dialogs/task-page.c (task_page_fill_widgets): guard
- against the text value being NULL
-
- * gui/dialogs/event-page.c (event_page_fill_widgets): add guards
- here as well
-
-2004-06-03 Jeffrey Stedfast <fejj@novell.com>
-
- * conduits/calendar/calendar-conduit.c
- (calconduit_load_configuration): If the last_uri string value is
- the Evolution 1.4 URI, change it to the new URI. Fixes bug #54134.
-
-2004-06-03 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #59481
-
- * gui/e-tasks.c (set_status_message): don't use vsprintf with
- NULL strings, crashes on FreeBSD.
-
-2004-06-03 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/dialogs/comp-editor-page.c
- (comp_editor_page_notify_client_changed): update the internal client
- when it changes.
-
-2004-06-03 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #56875
-
- * gui/dialogs/event-editor.c (event_editor_construct): connect to
- "client_changed" signal on the EventPage.
- (client_changed_cb): set menu sensibility when the client changes.
-
- * gui/dialogs/task-editor.c (task_editor_construct): connect to
- "client_changed signal on the TaskPage.
- (client_changed_cb): set menu sensibility when the client changes.
-
-2004-06-02 JP Rosevear <jpr@novell.com>
-
- * gui/alarm-notify/alarm-notify.c (process_removal_in_hash): free
- the correct uri, preventing bad memory corruption
- (list_changed_cb): track the removals in a list so we don't
- clobber the hash table data during the foreach loop
-
-2004-06-02 Chris Toshok <toshok@ximian.com>
-
- * gui/migration.c (migrate_calendars): remove absolute_uri from
- ESource's.
- (migrate_tasks): same.
-
-2004-06-02 Rodrigo Moya <rodrigo@novell.com>
-
- * gui/e-meeting-list-view.c (start_addressbook_server): removed
- pre-completion code, not needed anymore.
- (emlv_finalize): no need to unref the book anymore.
- (emlv_init): don't call start_addressbook_server.
-
- * gui/dialogs/copy-source-dialog.c (copy_source): fixed
- leak and pass the correct icalcomponent to e_cal_modify_object.
-
-2004-06-02 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #59333
-
- * gui/dialogs/task-page.c (task_page_fill_widgets): guard against
- list items being NULL.
-
-2004-06-02 Larry Ewing <lewing@ximian.com>
-
- * gui/e-tasks.c (table_drag_data_delete): add a drag delete handler.
- (table_drag_data_get): support text/vcard drags.
- (setup_widgets): setup the etable as a drag source.
-
- * gui/tasks-component.c: add source selector Drag & Drop handlers.
-
-2004-06-01 Larry Ewing <lewing@ximian.com>
-
- * gui/dialogs/calendar-setup.c: rename can_add to is_mutable, add
- sensitivity logic for both readonly and mutable cases. The
- esource attributes are a complete mess and need discussion.
-
- * gui/dialogs/calendar-setup.glade: remove edit dialogs and name
- the tables.
-
-
-2004-06-01 Rodrigo Moya <rodrigo@novell.com>
-
- Fixes #59369
-
- * gui/e-calendar-view.c (clipboard_get_text_cb): don't pass NULL strings
- to libical functions.
-
-2004-05-31 Priyanshu Raj <Priyanshu@students.iiit.net>
-
- * Bug #51968 "Invite others.." button confusing in Appointment
- editor dialog(Fixed)"
-
-2004-05-29 Priyanshu Raj <priyanshu@students.iiit.net>
-
- * Bug #48134: Menu items in Scheduling tab should have sentence
- capitalization (Fixed)
-
-2004-05-28 Kidd Wang <kidd.wang@sun.com>
-
- * gui/e-week-view.c: (e_week_view_event_move),
- (e_week_view_get_day_offset_of_event): a more straightforward way
- to calculate the offset of a day within the week.
-
-2004-05-26 Jeffrey Stedfast <fejj@novell.com>
-
- Fix for bug #57818.
-
- * gui/e-tasks.c (setup_widgets): Same.
-
- * gui/gnome-cal.c (setup_widgets): Updated to pass a set of
- bitflags to cal_search_bar_new().
-
- * gui/cal-search-bar.c (cal_search_bar_new): Now takes a bit flag
- argument specifying which search options to present.
- (cal_search_bar_construct): Same as above. Construct the search
- menu to use based on the bit flags.
-
- * gui/apps_evolution_calendar.schemas.in.in: Changed the default
- "Tasks due today" colour to be a light-blue (one of the default
- colour values in the colour picker dialog). Fixes bug #53412.
-
-2004-05-26 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #57759
-
- * gui/gnome-cal.c (gnome_calendar_remove_source_by_uid): remove all
- queries we've got for the removed source.
-
-2004-05-26 Kidd Wang <kidd.wang@sun.com>
-
- * gui/e-week-view.c: (e_week_view_event_move),
- (e_week_view_get_day_offset_of_event): a more straightforward way
- to calculate the offset of a day within the week.
-
-2004-05-26 Kidd Wang <kidd.wang@sun.com>
-
- * gui/e-week-view.c: (e_week_view_event_move),
- (e_week_view_change_event_time): In week view all-day events should
- keep all-dayness when moved around.
-
-2004-05-25 Larry Ewing <lewing@ximian.com>
-
- * gui/dialogs/calendar-setup.c: remove now unused functions.
- (source_group_can_add): fix can add logic, remove more unused
- functions.
-
- * gui/dialogs/calendar-setup.c (calendar_setup_edit_task_list):
- use the new dialog.
- (calendar_setup_edit_calendar): use the new dialog.
- (key_press_event): look for escape press and destroy dialog.
-
-2004-05-25 Jeffrey Stedfast <fejj@novell.com>
-
- * gui/dialogs/url-editor-dialog.c (init_widgets): Use
- gtk_window_set_icon_list() here instead of gtk_window_set_icon().
-
- * gui/dialogs/select-source-dialog.c (select_source_dialog): Use
- gtk_window_set_icon_list() here instead of gtk_window_set_icon().
-
- * gui/dialogs/calendar-setup.c (source_to_dialog): Huh?? Why are
- integer colours in an array of char*? Fixed to be an array of
- guint32.
-
- * gui/dialogs/changed-comp.c (changed_component_dialog): Use
- gtk_window_set_icon_list() here instead of gtk_window_set_icon().
-
- * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar):
- Don't bother calling tk_window_set_icon() if we are gonna call
- gtk_window_set_icon_list a few lines later.
- (calendar_setup_edit_calendar): Same.
- instead.
- (calendar_setup_new_task_list): Same.
- (calendar_setup_edit_task_list): Same.
-
- * gui/dialogs/alarm-options.c (alarm_options_dialog_run): Use
- gtk_window_set_icon_list() instead of gtk_window_set_icon() so gtk
- can do the Right Thing (tm).
-
-2004-05-25 Jeffrey Stedfast <fejj@novell.com>
-
- * Makefile.am: Make calendar-errors.xml.h and install the xml
- file.
-
- * calendar-errors.xml: New error definitions file.
-
- * gui/gnome-cal.c (backend_died_cb): Use e-error
-
- * gui/e-tasks.c (backend_died_cb): Use e-error
-
- * gui/dialogs/send-comp.c (send_component_dialog): Use e-error
-
- * gui/dialogs/save-comp.c (save_component_dialog): Use e-error
-
- * gui/dialogs/delete-comp.c (delete_component_dialog): Use e-error
-
- * gui/dialogs/cancel-comp.c (cancel_component_dialog): Use e-error
-
-2004-05-25 Sivaiah Nallagatla <snallagatla@novell.com>
-
- * common/authentication.c (auth_func_cb): read the "auth-domain"
- property to use as component name for e-password calls instead of
- hard coded component name
-
-2004-05-25 Trent Lloyd <lathiat@bur.st>
-
- Fixes: #57472
-
- * gui/dialogs/alarm-options.c:
- * gui/dialogs/calendar-setup.c:
- * gui/dialogs/cancel-comp.c:
- * gui/dialogs/changed-comp.c:
- * gui/dialogs/delete-comp.c:
- * gui/dialogs/delete-error.c:
- * gui/dialogs/save-comp.c:
- * gui/dialogs/select-source-dialog.c:
- * gui/dialogs/send-comp.c
- * gui/dialogs/url-editor-dialog.c:
- - Add include of e-icon-factory.h
- - Set icon on window to be calendar/tasks icon rather than mail icon
-
-2004-05-21 Larry Ewing <lewing@ximian.com>
-
- * gui/dialogs/calendar-setup.c: set the dialog icons appropriately
- for add task and calendar dialogs.
-
-2004-05-21 Larry Ewing <lewing@ximian.com>
-
- * gui/dialogs/calendar-setup.c: remove references to the uri
- buttons.
-
- * gui/dialogs/calendar-setup.glade: remove uri buttons, make add
- task window wider and make the button spacing larger.
-
-2004-05-21 H P Nadig <hpnadig@pacific.net.in>
-
- * gui/dialogs/calendar-setup.glade: Adjusted the default size of
- New Calendar Dialog. Fixes 57469.
-
-2004-05-20 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (find_server): proper look for figuring out
- if the object is on the server
-
-2004-05-20 JP Rosevear <jpr@novell.com>
-
- * gui/tag-calendar.c (tag_calendar_by_comp): pass the client
- properly
-
-2004-05-19 Chris Toshok <toshok@ximian.com>
-
- * gui/e-meeting-store.c (start_addressbook_server): use the new
- e_book_new_* and e_book_open apis.
-
- * gui/e-meeting-list-view.c (start_addressbook_server): use the
- new e_book_new_* and e_book_open apis.
-
-2004-05-19 William Jon McCann <mccann@jhu.edu>
-
- * gui/GNOME_Evolution_Calendar.server.in.in: Add menu_label and
- menu_accelerator.
-
-2004-05-18 JP Rosevear <jpr@novell.com>
-
- * idl/evolution-calendar.idl: add arg
-
- * gui/alarm-notify/alarm-queue.c (edit_component): send a mode
- type
-
- * gui/alarm-notify/alarm-notify.c: add fixme note
-
- * gui/comp-editor-factory.c (impl_editExisting): take a editor
- mode and twist it into a source type
- (impl_editNew): ditto
- (open_client): take a source type for creating the client
- (lookup_open_client): ditto
-
-2004-05-18 JP Rosevear <jpr@novell.com>
-
- * gui/alarm-notify/notify-main.c (init_alarm_service): just set up
- the alarm notify object
-
- * gui/alarm-notify/alarm-notify.h: update proto
-
- * gui/alarm-notify/alarm-notify.c (process_removal_in_hash):
- process removals using the source list
- (list_changed_cb): when the list changes, update
- (load_calendars): initially load the calendars
- (alarm_notify_init): load the calendars here and don't listen for
- a selection notification
- (alarm_notify_add_calendar): get the source type when adding a
- calendar
-
- * gui/alarm-notify/notify-main.c (main): no need to init/shutdown
- gnome vfs
-
- * gui/alarm-notify/config-data.h: new proto
-
- * gui/alarm-notify/config-data.c
- (config_data_get_notify_with_tray): routine to get schema value
-
- * gui/alarm-notify/alarm.c (alarm_ready_cb): no timeout checking
- here, setup_timeout does that
- (queue_alarm): ditto
- (setup_timeout): calculate the timeout better
-
- * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): tidy
- (edit_component): clean up exception handling
- (display_notification): don't show the tray icon if we aren't
- notifying with the tray
-
- * gui/apps_evolution_calendar.schemas.in.in: add notify_with_tray
- option
-
-2004-05-18 Kidd Wang <kidd.wang@sun.com>
-
- * gui/e-week-view.c: (e_week_view_do_cursor_key_up),
- (e_week_view_do_cursor_key_down), (e_week_view_do_cursor_key_left),
- (e_week_view_do_cursor_key_right), (e_month_view_do_cursor_key_up),
- (e_month_view_do_cursor_key_down),
- (e_month_view_do_cursor_key_left),
- (e_month_view_do_cursor_key_right), (e_week_view_cursor_key_up),
- (e_week_view_cursor_key_down), (e_week_view_cursor_key_left),
- (e_week_view_cursor_key_right), (e_week_view_do_key_press): make
- the focus movable in week/month view when no events are selected.
-
-2004-05-17 Jeffrey Stedfast <fejj@novell.com>
-
- * gui/dialogs/event-editor.c: Same.
-
- * gui/dialogs/comp-editor.c: Change E_PIXMAP size args
- over to E_ICON_SIZE_* values.
-
- * gui/alarm-notify/alarm-queue.c (tray_icon_blink_cb): Use
- E_ICON_SIZE enum here.
- (display_notification): Same.
-
- * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Use
- E_ICON_SIZE_DIALOG here.
-
- * gui/e-week-view.c (e_week_view_realize): Same as below.
-
- * gui/e-day-view.c (e_day_view_realize): Use E_ICON_SIZE_MENU for
- the icon sizes rather than using pixel values.
-
- * gui/calendar-commands.c (pixmaps): Change E_PIXMAP size args
- over to E_ICON_SIZE_* values.
-
- * gui/tasks-component.c (add_popup_menu_item): Use
- E_ICON_SIZE_MENU
-
- * gui/e-timezone-entry.c (e_timezone_entry_init): Use
- E_ICON_SIZE_BUTTON
-
- * gui/e-itip-control.c (write_error_html): Use E_ICON_SIZE enums.
- (write_html): Same.
-
- * gui/e-calendar-view.c (e_calendar_view_set_status_message): Use
- E_ICON_SIZE_STATUS
- (setup_popup_icons): Use E_ICON_SIZE_MENU
-
- * gui/e-calendar-table.c (e_calendar_table_init): Use
- E_ICON_SIZE_LIST rather than a hard-coded value of 16 pixels.
- (e_calendar_table_set_status_message): Use E_ICON_SIZE_STATUS
-
- * gui/calendar-component.c (add_popup_menu_item): Use
- E_ICON_SIZE_MENU rather than hard-coding the pixel size.
-
-2004-05-17 JP Rosevear <jpr@novell.com>
-
- Fixes #56373
-
- * gui/comp-editor-factory.c (open_client): guess its an event for
- now
-
-2004-05-17 V Ravi Kumar Raju <vravikr@yahoo.co.uk>
-
- * gui/e-alarm-list.c (get_alarm_string):
- * gui/dialogs/alarm-page.glade: Change dropdown list item 'Display
- a message' for reminder types to 'Pop up an alert'
-
-2004-05-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence):
- if we don't have a RECURRENCE-ID, remove nothing, and use the instance
- start time for the RECURRENCE-ID as the default.
-
-2004-05-17 H P Nadig <hpnadig@pacific.net.in>
-
- Fixes #56885
-
- * gui/dialogs/select-source-dialog.c (select_source_dialog): Changed
- the window size of source dialog and a minor naming issue.
-
-2004-05-14 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.c (process_component):
- * gui/e-week-view.c (process_component):
- * gui/gnome-cal.c (gnome_calendar_purge):
- * gui/tag-calendar.c (tag_calendar_by_comp):
- * gui/e-cal-model.c (e_cal_model_generate_instances): use
- e_cal_generate_instances_for_object instead of
- e_cal_recur_generate_instances.
-
-2004-05-14 Nicel KM <mnicel@novell.com>
-
- * gui/dialogs/alarm-page.c (button_options_clicked_cb): invoke options
- dialog even if backend does not support email alarms and get email
- address only if supported.
-
-2004-05-13 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/alarm-page.c (add_clicked_cb): only get the email address
- for alarms if the backend supports email alarms.
-
-2004-05-13 Not Zed <NotZed@Ximian.com>
-
- Fixes #57644.
-
- * gui/e-day-view.c (row_deleted_check_cb): strdup the uid, as
- below.
- (remove_uid_cb): and free it.
-
- * gui/e-week-view.c (row_deleted_check_cb): strdup the uid, 'cause
- otherwise it can go away later as we delete stuff.
- (remove_uid_cb): free the uid.
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw): add
- some array bounds checking as an attempt to isolate the crash in
- #57644.
-
-2004-05-11 Not Zed <NotZed@Ximian.com>
-
- * gui/migration.c (migrate_calendars, migrate_tasks): add GError
- return for error details & return errors.
-
- * gui/calendar-component.c (impl_upgradeFromVersion): fix for api
- change, and erturn exception if we need to.
-
-2004-05-11 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-itip-control.c (update_item): get error information from
- the call to e_cal_receive_objects, and use that as the error message.
-
-2004-05-11 Dan Winship <danw@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.server.in.in: Remove the calendar
- and task list controls
-
- * gui/main.c (factory): Remove support for the calendar and task
- list controls
-
- * gui/control-factory.c: Remove the property-bag stuff
-
- * gui/tasks-control.c: Likewise
-
-2004-05-11 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #53137
-
- * gui/dialogs/schedule-page.c (schedule_page_fill_widgets): check dates
- from the ECalComponent before using them.
-
-2004-05-11 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-model-tasks.c (set_due): use/set the DUE date, not
- the DTEND date.
-
-2004-05-07 Umeshtej <umeshtej@gawab.com>
-
- Fixes #58014
-
- * gui/e-meeting-list-view.c (process_section):Run the for loop
- for the number of elements in cards.
-
-2004-05-10 Trent Lloyd <lathiat@bur.st>
-
- * gui/dialogs/select-source-dialog.c: Include gtkhbox.h and gtkvbox.h
- to fix implicit declaration
- * gui/dialogs/meeting-page.c: (get_current_page) Cast GTK_ENTRY from
- GTK_COMBO to fix compiler warning
- * gui/dialogs/cal-prefs-dialog.c: Remove lvalue casts, produces
- compiler warnings and are not necessary
-
-2004-05-07 JP Rosevear <jpr@ximian.com>
-
- Fixes #52294
-
- * gui/e-cal-model.c (set_dtstart): set the tzid properly
- (ecm_is_cell_editable): set check properly
-
- * gui/e-cal-model-tasks.c (set_due): set the tzid properly
- (ecmt_is_cell_editable): set check properly
-
- * gui/e-cal-model-calendar.c (set_dtend): set the tzid properly
- (ecmc_is_cell_editable): kill fixme and set check properly
-
-2004-05-07 JP Rosevear <jpr@ximian.com>
-
- * gui/e-cal-model.c (ecm_is_cell_editable): fix comment and check
-
- * gui/e-cal-model-tasks.c (ecmt_set_value_at): set a parent field
- properly
- (ecmt_is_cell_editable): fix comment and check
-
-2004-05-06 Larry Ewing <lewing@ximian.com>
-
- * gui/dialogs/calendar-setup.c (source_to_dialog): use random
- color for calendar default.
-
-2004-05-05 JP Rosevear <jpr@ximian.com>
-
- Fixes #58025
-
- * gui/gnome-cal.c (set_search_query): kill warning
- (setup_config): don't set time out here
- (setup_widgets): set it here
- (gnome_calendar_destroy): clear the time out
-
- * gui/e-tasks.c (search_bar_sexp_changed_cb): kill warning
- (setup_config): don't set time out here
- (setup_widgets): set it here and remember the time out id
- (e_tasks_destroy): clear the time out
-
-2004-05-05 Larry Ewing <lewing@ximian.com>
-
- * gui/dialogs/calendar-setup.c: make sure that we don't crash if
- there are no sources.
- (calendar_setup_new_task_list): fix the previous fix to work if
- there are sources.
-
-2004-05-04 Larry Ewing <lewing@ximian.com>
-
- * gui/dialogs/calendar-setup.c: fix logic error.
- (source_group_can_add): helper function to fix groupwise case.
- I'm still not happy with this but it will work for now.
-
- * gui/dialogs/calendar-setup.c (source_to_dialog): convert units.
- (dialog_to_source): convert time units.
-
- * gui/dialogs/calendar-setup.glade. name the unit option menus.
-
-2004-05-03 Rodney Dawes <dobey@ximian.com>
-
- * gui/dialogs/select-source-dialog.c (select_source_dialog):
- Make this dialog be HIG-compliant and accessible
-
-2004-05-03 Edgar Luna Díaz <eald@linuxuanl.org>
-
- * gui/dialogs/select-source-dialog.c (select_source_dialog):
- Set the default window size to 276 x 320
-
- Fixes #57298
-
-2004-05-03 Larry Ewing <lewing@ximian.com>
-
- * gui/dialogs/calendar-setup.glade: rename the cancel button.
-
-2004-04-29 Larry Ewing <lewing@ximian.com>
-
- * gui/e-cal-model.c (ecm_get_color_for_component): use the source
- color if it is set. Yay for ugly colors.
-
- * gui/e-cal-model.h: add a color holder to the ECalModelComponent
- since the return value of the color stuff is const.
-
-2004-05-03 JP Rosevear <jpr@ximian.com>
-
- Fixes #51714
-
- * gui/e-cal-list-view.c (setup_e_table): listen for double click
- signal
- (e_cal_list_view_on_table_double_click): edit the appointment that
- was double clicked on
-
-2004-05-03 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-component.c (set_info): set the info label
- (calendar_dates_changed_cb): call back for when the dates of the
- calendar change
- (create_component_view): store the info label for later use;
- listen for date changes to set the info label
-
-2004-05-03 JP Rosevear <jpr@ximian.com>
-
- Fixes #57897
-
- * gui/e-tasks.c (setup_widgets): no need to listen for the deleted
- signal, the cursor will change in that case
-
-2004-05-03 JP Rosevear <jpr@ximian.com>
-
- * gui/e-cal-model-tasks.c (set_completed): remove useless debug
- statement
-
-2004-05-03 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.c (set_info): set the info label message
- (model_changed_cb): call above
- (table_selection_change_cb): ditto
- (model_rows_inserted_cb): ditto
- (model_rows_deleted_cb): ditto
- (create_component_view): remember the info in the view struct;
- listen for events that require the info label to be updated
-
-2004-05-03 JP Rosevear <jpr@ximian.com>
-
- Fixes #57899
-
- * gui/e-day-view.c (e_day_view_do_key_press): bail if the client
- is read only (or we get an error trying to find out)
-
- * gui/e-week-view.c (e_week_view_do_key_press): ditto
-
-2004-05-03 JP Rosevear <jpr@ximian.com>
-
- Fixes #57894
-
- * gui/gnome-cal.c (gnome_calendar_new_task): make sure we use the
- default component of the correct model
-
-2004-04-30 Rodney Dawes <dobey@ximian.com>
-
- * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog):
- * gui/alarm-notify/alarm-notify.glade:
- Update the alarm notify dialog to be HIG compliant
-
- Fixes #41224
-
-2004-04-30 Gary Ekker <gekker@novell.com>
-
- * gui/e-tasks.c: (e_tasks_init): Set up the model to use the correct
- query. Setup callbacks for gconf changes. Add an idle timeout to hide
- completed items.
- Add update_view, update_view_cb, and
- config_hide_completed_tasks_changed_cb to update the model view.
-
- * gui/gnome-cal.c: ditto
-
- * gui/calendar-config.h: Add notifications for hide_completed_tasks
- settings.
-
- * gui/calendar-config.c: ditto
-
-2004-04-30 Not Zed <NotZed@Ximian.com>
-
- * gui/dialogs/meeting-page.c (get_widgets): make the entry
- non-editable. Quick fix for #48132 (could convert to optionmenu
- but then we need to change again for gnome >?2.6).
-
-2004-04-29 Rodney Dawes <dobey@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.glade: Update the prefs dialog pages
- for the calendar and tasks components to be HIG compliant
-
-2004-04-29 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.h (tasks_component_peek_source_list): remove
- prototypes
-
- * gui/tasks-component.c (source_removed_cb): unselect the
- source in the selector if source removed from calendar
- (create_component_view): create the activity handler and listen to
- source remove signal
-
- * gui/gnome-cal.h: add signals, protos
-
- * gui/gnome-cal.c (gnome_calendar_class_init): add source added
- and removed signals
- (client_cal_opened_cb): emit source removed signal
- (open_ecal): set the status message
- (backend_died_cb): emit source removed signal
- (gnome_calendar_set_activity_handler): allow an activity handler
- to be set
- (gnome_calendar_add_source): emit source added signal
- (gnome_calendar_remove_source): emit source removed signal
- (display_view): update the active activity handler
-
- * gui/e-tasks.h: add signal prototypes
-
- * gui/e-tasks.c (e_tasks_class_init): add source added and removed
- signals
- (backend_died_cb): emit source removed signal
- (e_tasks_add_todo_source): emit source added/removed signals
- (e_tasks_remove_todo_source): emit source removed signal
-
- * gui/e-calendar-view.h: add proto
-
- * gui/e-calendar-view.c (e_calendar_view_set_activity_handler):
- allow an activity handler to be set
- (e_calendar_view_set_status_message): use private activity handler
- (if any) to set status message
-
- * gui/e-calendar-table.h: add data member and proto
-
- * gui/e-calendar-table.c (e_calendar_table_set_activity_handler):
- allow an activity handler to be set
- (e_calendar_table_set_status_message): use private activity
- handler (if any) to set status message
-
- * gui/e-calendar-marshal.list: add extra marshallers
-
- * gui/calendar-component.h: kill protos
-
- * gui/calendar-component.c (source_removed_cb): unselect the
- source in the selector if source removed from calendar
- (create_component_view): create the activity handler and listen to
- source remove signal
-
-2004-04-29 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor.c (send_timezone): ditto
-
- * gui/dialogs/task-page.c (task_page_fill_component): kill warning
-
-2004-04-29 JP Rosevear <jpr@ximian.com>
-
- * gui/e-cal-model.c (e_cal_model_set_default_client): kill warning
-
-2004-04-29 Jeffrey Stedfast <fejj@ximian.com>
-
- * gui/migration.c (migrate_pilot_data): Removed the terminating
- NULL vararg since we don't need it for g_strdup_printf, it was
- only needed when it was g_build_filename(). Gets rid of a gcc
- warning.
-
-2004-04-29 Not Zed <NotZed@Ximian.com>
-
- * gui/e-itip-control.c (e_itip_control_set_data): check we find
- any usable components of the icalendar entry before dereferncing
- it. Fixes crash in #57264.
-
-2004-04-28 Not Zed <NotZed@Ximian.com>
-
- * gui/e-itip-control.c (object_requested_cb): dont shadow source
- with another source in the fallback case. Related to #54094.
-
-2004-04-27 JP Rosevear <jpr@ximian.com>
-
- * gui/cal-search-bar.c: disable comment searching which is
- currently useless
-
-2004-04-27 JP Rosevear <jpr@ximian.com>
-
- Fixes #52270 and #57593
-
- * gui/e-cal-model-tasks.c (ecmt_set_value_at): remove checks for
- start after due
- (ecmt_duplicate_value): copy the completed and due dates properly
- (ecmt_fill_component_from_model): only set the percent and status
- if the completion isn't set
- (ensure_task_partially_complete): ensure the task is not complete,
- in progress and make the percentage sensible if its 0 or 100
- (set_status): make sure the status and related vars are set
- properly
- (ecmt_set_value_at): handle status
- (ecmt_fill_component_from_model): make sure the click to add
- fields don't clobber each other
- (ecmt_is_cell_editable): status is editable
-
- * gui/e-cal-model-calendar.c (ecmc_duplicate_value): copy the
- dtend correctly
-
-2004-04-27 Larry Ewing <lewing@ximian.com>
-
- * gui/dialogs/calendar-setup.c: hook up the color picker and test
- buttons in the new task dialog.
-
- * gui/dialogs/calendar-setup.glade: fix visibility and color
- picker names.
-
-2004-04-27 Larry Ewing <lewing@ximian.com>
-
- * gui/dialogs/calendar-setup.c (new_calendar_test_uri): add
- handler for test button.
- (calendar_setup_new_calendar): connect test button, fill in color
- picker member.
- (source_to_dialog): set the color picker color if the source has
- one.
- (dialog_to_source): set the source color.
-
-2004-04-27 Jeffrey Stedfast <fejj@ximian.com>
-
- * gui/migration.c (migrate_tasks): Fixed the version checks for
- migrating pilot data.
- (migrate_calendars): Same.
- (migrate_pilot_data): Doh. Take a third argument to specify what
- component we are migrating ("todo" vs "calendar") so that we can
- compare against the correct filename. Might help :-)
- (migrate_pilot_db_key): Just set an empty value for the data since
- there's no way to actually get it and I don't think it really
- matters anyway.
-
-2004-04-27 Kidd Wang <kidd.wang@sun.com>
-
- * gui/e-cal-model-tasks.c: (ecmt_set_value_at): compare the start
- time and the due time only when both are not null.
-
-2004-04-26 Jeffrey Stedfast <fejj@ximian.com>
-
- * gui/migration.c (migrate_pilot_data): New function to migrate
- pilot data.
- (migrate_calendars): Migrate pilot data if upgrade version <=1.5.9
- (migrate_tasks): Same.
-
-2004-04-23 Rodney Dawes <dobey@ximian.com>
-
- * gui/alarm-notify/notify-main.c (main): Call e_icon_factory_init ()
-
- Fixes #57497
-
-2004-04-22 Jeffrey Stedfast <fejj@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (start_calendar_server):
- Use e_cal_open_default() instead of e_cal_open().
- (map_name): Changed the path for the pilot map filename.
- (pre_sync): Changed the query to "#t" instead of "(#t)" and
- removed a duplicate block of code (seems to have been a paste-o?).
-
- * conduits/todo/todo-conduit.c (start_calendar_server): Use
- e_cal_open_default() instead of e_cal_open().
- (map_name): Changed the path for the pilot map filename.
- (pre_sync): Changed the query to "#t" instead of "(#t)" and
- removed a duplicate block of code (seems to have been a paste-o?).
-
-2004-04-22 JP Rosevear <jpr@ximian.com>
-
- Fixes #56092
-
- * gui/e-day-view.c (e_day_view_show_popup_menu): weak ref for the
- menu to be destroyed
- (popup_destroyed_cb): reset popup_event_num and popup_event_day
-
- * gui/e-week-view.c (e_week_view_show_popup_menu): weak ref for
- the menu to be destroyed
- (popup_destroyed_cb): reset the popup_event_num
-
-2004-04-21 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-component.c (create_new_event): make sure we don't
- deref a NULL pointer
-
-2004-04-21 JP Rosevear <jpr@ximian.com>
-
- Fixes #56504
-
- * gui/gnome-cal.c (gnome_calendar_destroy): no need to destroy the
- creatable item handler
- (gnome_calendar_set_ui_component): don't do the creatable
- item stuff here
-
- * gui/e-tasks.c (e_tasks_set_ui_component): don't do the creatable
- item stuff here
- (e_tasks_destroy): no need to destroy creatable item handler
-
- * gui/e-calendar-table.c (e_calendar_table_set_status_message):
- comment out temporarily
-
- * gui/e-calendar-view.c (e_calendar_view_set_status_message): ditto
-
- * gui/calendar-component.c: switch to using per component view
- information; don't listen for config changes to the primary
- selection and selection so that different windows can have
- different calendar selections; use a local creatable items handler
- so that the new button is associated with the right window when
- setting the default times
-
- * gui/tasks-component.c: ditto
-
-2004-04-21 JP Rosevear <jpr@ximian.com>
-
- * gui/e-tasks.c (set_timezone): only set the preview zone if the
- preview has been created
- (setup_widgets): set the default zone for the preview pane
-
-2004-04-21 JP Rosevear <jpr@ximian.com>
-
- Fixes #55797
-
- * gui/calendar-component.c (create_new_event): force an all day
- event if we are viewing the week, month or list view, which mimics
- double click in the view
-
-2004-04-21 Frederic Crozat <fcrozat@mandrakesoft.com>
-
- * gui/migration.c: (migrate_calendars):
- Fix crash when gconf value are not existing in the gconf
- database.
-
-2004-04-21 Not Zed <NotZed@Ximian.com>
-
- ** Fixes #57034.
-
- * gui/dialogs/calendar-setup.c (create_new_source_with_group):
- NULL out source if we can't open the calendar.
- (source_group_menu_add_groups): if the group is readonly, then
- desensitise it.
- (source_group_menu_add_groups): return the first non-readonly
- calendar index.
- (calendar_setup_new_calendar): set the group history to the first
- non-readonly group.
- (calendar_setup_new_task_list): same.
-
- * gui/gnome-cal.c (gnome_calendar_set_ui_component): fix for
- user_creatable_items api changes.
-
- * gui/e-tasks.c (e_tasks_set_ui_component): fix for
- user_creatable_items api changes.
-
-2004-04-19 Michael Terry <mike@mterry.name>
-
- * gui/GNOME_Evolution_Calendar.server.in.in:
- * gui/calendar-commands.c:
- * gui/calendar-component.c:
- * gui/e-calendar-table.c:
- * gui/e-calendar-view.c:
- * gui/e-day-view-main-item.c:
- * gui/e-day-view-top-item.c:
- * gui/e-day-view.c:
- * gui/e-day-view.h:
- * gui/e-itip-control.c:
- * gui/e-timezone-entry.c:
- * gui/e-week-view-event-item.c:
- * gui/e-week-view.c:
- * gui/e-week-view.h:
- * gui/tasks-component.c:
- * gui/alarm-notify/alarm-notify-dialog.c:
- * gui/alarm-notify/alarm-queue.c:
- * gui/dialogs/comp-editor.c:
- * gui/dialogs/event-editor.c: Update the calendar to use the icon theme
- through the EIconFactory object in e-util
-
-2004-04-19 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (set_view): take a range_selected boolean for
- internal use
- (gnome_calendar_set_view): use above
- (display_view): use priv->range_selected, we'll set it correctly
- before this
- (display_view_cb): only pass focus boolean
- (gnome_calendar_on_date_navigator_selection_changed): set the view
- so the view menu is accurate
-
-2004-04-18 JP Rosevear <jpr@ximian.com>
-
- Fixes #54021
-
- * importers/icalendar-importer.c (update_single_object): ensure
- UID exists
-
-2004-04-18 JP Rosevear <jpr@ximian.com>
-
- Fixes #53124
-
- * gui/e-tasks.c: remove preview pieces, they are in their own
- class now; use the new class for preview
-
- * gui/e-cal-component-preview.[hc]: implement a preview area for
- tasks and events
-
-2004-04-17 Trent Lloyd <lathiat@sixlabs.org>
-
- * gui/e-calendar-view.c: include libecal/e-cal-component.h to kill
- implicit declaration of e_cal_component_get_recur_id_as_string at line
- 869.
-
-2004-04-15 Gary Ekker <gekker@novell.com>
-
- Fixes #52271
-
- * gui/e-cal-model-tasks.c: (set_percent): shouldn't call
- ensure_task_not_complete here, it removes the percent property that
- we just set.
-
-
-2004-04-15 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-page.c (task_page_fill_component): don't
- actually check if start date is after due date, its perfectly
- valid for that to occur
-
-2004-04-15 JP Rosevear <jpr@ximian.com>
-
- Fixes #53903
-
- * gui/dialogs/meeting-page.c (meeting_page_fill_widgets):
- show/hide add button properly
- (change_clicked_cb): ditto
-
- * gui/dialogs/comp-editor.c (needs_send_cb): call back when "needs_send"
- (page_changed_cb): use accessor
-
-2004-04-15 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor.c (save_comp): stop listening to changes
- since we are just going to save and close
- (save_cmd): remove, its ok since we are toasting menus shortly
- anyhow
- (obj_modified_cb): no need to look at update flag
- (obj_removed_cb): ditto
-
-2004-04-15 Gary Ekker <gekker@novell.com>
-
- * gui/calendar-component.h: move the calendar publishing initialization
- from createControls to main.c
-
- * gui/calendar-component.c: (create_controls): Ditto
-
- * gui/main.c: (initialize): Ditto
-
- * gui/dialogs/cal-prefs-dialog.c: (url_list_changed): remove a gfree
- that was freeing a before it should have been. Also removed cruft from
- a previous attempt to fix the crash.
-
-2004-04-15 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/select-source-dialog.c (select_source_dialog): added some
- spacing.
-
- * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence):
- use the DTSTART for the recur-id if it's not available.
-
-2004-04-14 Larry Ewing <lewing@ximian.com>
-
- * gui/calendar-component.c (selector_tree_drag_motion): fix
- missing parameters, wow that was a mess.
-
- * gui/dialogs/calendar-setup.glade: add the new "new" dialogs,
- remove the old druids.
-
- * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar): use
- the new dialogs, colors are still not functional.
- (calendar_setup_new_task_list): use the new dialogs, with no colors.
-
-2004-04-14 JP Rosevear <jpr@ximian.com>
-
- Fixes #56613
-
- * gui/gnome-cal.h: add proto
-
- * gui/gnome-cal.c (client_cal_opened_cb): key the clients by uid
- (backend_died_cb): ditto
- (gnome_calendar_add_source): ditto
- (gnome_calendar_remove_source): use remove_source_by_uid
- (gnome_calendar_remove_source_by_uid): new function to remove a
- source by uid
- (gnome_calendar_set_default_source): key the clients by uid
-
- * gui/calendar-component.c (update_task_selection): the source
- could be NULL if the source was deleted rather than unchecked
- (update_primary_task_selection): look at the task source list
-
-2004-04-14 JP Rosevear <jpr@ximian.com>
-
- Fixes #56553
-
- * importers/icalendar-importer.c (prepare_events): don't double
- free or continue, we need to move to the next item
- (prepare_tasks): don't continue, move to the next item
-
-2004-04-14 Not Zed <NotZed@Ximian.com>
-
- * gui/tasks-component.c (impl_createControls): Same as below for
- the tasks component.
-
- * gui/calendar-component.c (impl_createControls): add the info
- area label widget to the sidebar control (c&p the addressbook
- code).
-
-2004-04-12 Gary Ekker <gekker@novell.com>
-
- Fixes #56628
-
- * gui/calendar-component.c (create_new_event): Add informational dialog
- when user attempts event creation in read-only calendar.
-
-
-2004-04-09 Gary Ekker <gekker@novell.com>
-
- * gui/dialogs/url-editor-dialog.c: Fixed to use e-passwords.
-
- * gui/dialogs/cal-prefs-dialog.c: Fixed crash and bugs created by
- changes made for instant apply.
-
- * gui/itip-utils.c: Fixed to use e-passwords.
-
- * gui/e-pub-utils.c: Fixed to use e-passwords.
- (just_published): Fixed error in logic.
- (e_pub_publish): Fixed crash if ESource is NULL.
-
-
-2004-04-09 Chris Toshok <toshok@ximian.com>
-
- * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct):
- EABDestination -> EDestination.
- (e_delegate_dialog_get_delegate): same.
- (e_delegate_dialog_get_delegate_name): same.
-
- * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets):
- EABDestination -> EDestination.
- (malarm_widgets_to_alarm): same.
-
- * gui/e-select-names-editable.c
- (e_select_names_editable_get_address): EABDestination ->
- EDestination.
- (e_select_names_editable_get_name): same.
-
- * gui/e-meeting-list-view.c (process_section): EABDestination ->
- EDestination.
- (select_names_ok_cb): same.
-
-2004-04-09 Dan Winship <danw@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_set_ui_component): Create an
- EUserCreatableItemsHandler for the view if there isn't one yet,
- and then activate it.
- (gnome_calendar_destroy): destroy it.
-
- * gui/calendar-component.c (impl__get_userCreatableItems): add
- object/folder flags to items.
-
- * gui/e-tasks.c (e_tasks_set_ui_component): Create an
- EUserCreatableItemsHandler for the view if there isn't one yet,
- and then activate it.
- (e_tasks_destroy): destroy it.
-
- * gui/tasks-component.c (impl__get_userCreatableItems): add
- object/folder flags. Change "Task List" to "Tasks Group" per new
- specs.
-
- * gui/calendar-commands.c (calendar_control_deactivate): clear the
- GnomeCal's ui_component rather than setting it again
-
-2004-04-07 Jeffrey Stedfast <fejj@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.c: Fixed to be instant-apply.
-
-2004-04-07 JP Rosevear <jpr@ximian.com>
-
- * gui/e-cal-model.c (e_cal_model_set_default_client): just add the
- client, we have protection against re-adding it any how
- (cal_opened_cb): stop listening to the open signal
-
-2004-04-07 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_dayjump): remove extra set view
- params
- (gnome_calendar_set_view): simplify, just set the current view id
- and let the gal view stuff do the rest
- (display_view): modify from set_view, don't set the view id here
- or update the default view config setting
- (display_view_cb): update the date navigator
- (gnome_calendar_construct): kill the default view stuff, gal view
- handles that
- (gnome_calendar_on_date_navigator_selection_changed): use display_view
-
- * gui/e-week-view.c (time_range_changed_cb): ditto
- (e_week_view_set_selected_time_range): just set the selection,
- don't fool with the base date
- (e_week_view_on_button_press): do a full day event if double
- clicked on
-
- * gui/e-day-view.c (time_range_changed_cb): only set the selection
- if we can't preserve an existing selection
-
- * gui/control-factory.c (set_prop): allow list view, remove
- default view usage
-
- * gui/calendar-config.h: remove protos
-
- * gui/calendar-config.c: remove default view calls
-
- * gui/calendar-commands.c (show_day_view_clicked): remove extra
- params to gnome_calendar_set_view
- (show_work_week_view_clicked): ditto
- (show_week_view_clicked): ditto
- (show_month_view_clicked): ditto
- (show_list_view_clicked): ditto
-
- * gui/apps_evolution_calendar.schemas.in.in: remove default view
- setting, gal view remembers this for us
-
-2004-04-05 JP Rosevear <jpr@ximian.com>
-
- * gui/e-week-view.c (time_range_changed_cb): only select one day
-
-2004-04-05 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-queue.c: removed commented code.
-
- * gui/alarm-notify/notify-main.c (main): removed useless call to set
- the POA after construction.
-
-2004-04-05 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #56316
-
- * gui/dialogs/comp-editor-page.[ch]: added "fill_timezones" virtual
- method to CompEditorPage class.
- (comp_editor_page_fill_timezones): new function.
- (comp_editor_page_class_init): initialize new virtual method.
-
- * gui/dialogs/event-page.c (event_page_fill_timezones,
- event_page_class_init):
- * gui/dialogs/task-page.c (task_page_fill_timezones,
- task_page_class_init):
- * gui/dialogs/task-details-page.c (task_details_page_fill_timezones,
- task_details_page_class_init): implemented new virtual method for pages
- dealing with timezones.
-
- * gui/dialogs/comp-editor.c (save_comp): call the "fill_timezones"
- method on all pages, and call...
- (send_timezone): ...this function for each hash table item.
-
-2004-04-01 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (client_cal_opened_cb): set the default timezone
- on all clients when opened.
-
-2004-04-01 Radek Doulik <rodo@ximian.com>
-
- * gui/e-calendar-view.c
- (e_calendar_view_delete_selected_occurrence): fix small typo
-
-2004-04-01 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/recur-comp.c (recur_component_dialog): return correct
- values (boolean).
-
-2004-03-31 JP Rosevear <jpr@ximian.com>
-
- * gui/migration.c (migrate_calendars): make sure we unset the
- float value for the panes if converting from 1.4 and earlier
-
-2004-03-31 JP Rosevear <jpr@ximian.com>
-
- Fixes #56120
-
- * gui/gnome-cal.c (append_category_cb): update the correct element
- (client_categories_changed_cb): pass the array, not a reference to
- it
-
-2004-03-31 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c: fixed documentation typos.
-
-2004-03-31 Sarfraaz Ahmed <asarfraaz@novell.com>
-
- * gui/config-control.c (set_prop) : Replaced add_event_source
- with add_source and passed the VEVENT type as argument.
-
-2004-03-30 William Jon McCann <mccann@jhu.edu>
-
- * gui/dialogs/calendar-setup.glade:
- * gui/dialogs/calendar-setup.c (new_task_list_finish)
- (calendar_setup_new_task_list, calendar_setup_edit_task_list):
- add remote calendar setup page to task list setup assistant and
- edit dialog. Remove separators from dialog.
-
-2004-03-29 Larry Ewing <lewing@ximian.com>
-
- * gui/calendar-component.c (selector_tree_drag_data_received):
- deal with the action type a properly. in the normal case.
-
- * gui/calendar-component.c (selector_tree_drag_data_received):
- call drag_finish properly, change the uid.
- (selector_tree_drag_motion): set drag status properly.
-
-2004-03-29 William Jon McCann <mccann@jhu.edu>
-
- * gui/tasks-component.c (delete_task_list_cb):
- * gui/calendar-component.c (delete_calendar_cb):
- don't require client to be loaded in order to remove the source
-
- * gui/migration.c (create_task_sources, migrate_tasks): create
- On The Web source group for tasks.
-
-2004-03-29 Hari Prasad Nadig <hp@ndeepak.info>
-
- * gui/goto-dialog.glade: Naming issue, Go to Date -> Select Date,
- Go to Today -> Select today. Solves 48293
-
- * gui/e-calendar-view.c: gives aid to the above change.
-
-2004-03-29 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): removed
- misplaced return statement that prevented the rest of the objects list
- to be processed.
-
-2004-03-29 Kidd Wang <kidd.wang@sun.com>
-
- * gui/e-calendar-view.c: (e_calendar_view_class_init): remove the
- EVENT_MOVE signal which was binded to Alt + Arrows.
- * gui/e-calendar-view.h: ditto.
- * gui/e-day-view.c: (e_day_view_class_init),
- (e_day_view_do_key_press), (e_day_view_event_move): handle Alt + Arrows
- in the more general place e_day_view_do_key_press so that we can avoid
- the conflicting accessible key. When an appointment is selected,
- pressing Alt + Arrows causes it to be moved around. Otherwise, pressing
- Alt + LEFT/RIGHT will move the focus to the same day in the
- previous/next week.
- * gui/e-week-view.c: (e_week_view_class_init),
- (e_week_view_event_move), (e_week_view_do_key_press): ditto.
-
-2004-03-26 JP Rosevear <jpr@ximian.com>
-
- * gui/e-cal-model.c (update_e_cal_view_for_client): guard against
- the case that we redo queries while still waiting for a client to
- open
-
-2004-03-26 JP Rosevear <jpr@ximian.com>
-
- Fixes #53134
-
- * gui/e-cal-model.c (get_description): make sure to set the string
- to NULL so that if this component doesn't have a description we
- don't double free next time we are called
-
-2004-03-26 JP Rosevear <jpr@ximian.com>
-
- * gui/migration.c (migrate_calendars): no need to explicitly add
- the contacts group, the create function does this properly
-
-2004-03-26 JP Rosevear <jpr@ximian.com>
-
- * gui/migration.c (migrate_calendars): make sure we always sync
- the source list and just do it once; unref the sources we get
- (migrate_tasks): make sure we always sync
- the source list and just do it once
-
-2004-03-26 JP Rosevear <jpr@ximian.com>
-
- Fixes #55648
-
- * gui/print.c (print_todo_details): get the default from the model
-
- * gui/gnome-cal.h: remove and update protos
-
- * gui/gnome-cal.c (update_query): the clients and client_list
- members are now arrays of source types
- (setup_widgets): default the query to everything for tasks, cast
- the config items
- (gnome_calendar_init): init all the client hashs
- (gnome_calendar_destroy): clean them up, clean up all categories
- (client_cal_opened_cb): handle based on source type
- (append_category_cb): don't track the size in the closure
- (client_categories_changed_cb): do all the merging here
- (backend_died_cb): handle based on source type
- (gnome_calendar_construct): we don't special case the task stuff
- any more
- (gnome_calendar_get_default_client): return the default of the
- current view
- (gnome_calendar_add_source): take a source type argument and
- append accordingly
- (gnome_calendar_remove_source): similar, but remove accordingly
- (gnome_calendar_set_default_source): take a source type argument and
- set the default accordingly
- (gnome_calendar_new_task): use the default of the task model
-
- * gui/e-calendar-view.c (e_calendar_view_add_event): kill warning
-
- * gui/calendar-component.c (update_uris_for_selection): pass
- source type when adding/removing
- (update_uri_for_primary_selection): ditto
- (update_task_selection): make sure we show the correct list of
- tasks
- (update_primary_task_selection): make sure we track the primary
- task correctly
- (delete_calendar_cb): pass source type when removing
- (config_primary_selection_changed_cb): config listener callback
- for tasks
- (config_tasks_selection_changed_cb): ditto
- (impl_createControls): load the initial task selection, listen for
- changes
- (calendar_component_init): get the source lists
-
- * gui/calendar-commands.c (sensitize_taskpad_commands): get the
- task pad and then the default client from that
-
-2004-03-26 JP Rosevear <jpr@ximian.com>
-
- * gui/e-cal-model.c (find_client_data): finds the client data for
- a client
- (cal_opened_cb): update the query
- (add_new_client): return client data
- (e_cal_model_add_client): add the client immediately no matter
- what, and possibly wait for it to open
- (remove_client): guard against NULL query
- (e_cal_model_remove_client): use find_client_data
- (e_cal_model_dispose): guard against a NULL query
-
-2004-03-25 JP Rosevear <jpr@ximian.com>
-
- * gui/e-cal-model.c (remove_client): fix off by one error when
- emitting deleted signal
-
-2004-03-25 JP Rosevear <jpr@ximian.com>
-
- Fixes #53499
-
- * gui/gnome-cal.c (setup_widgets): don't give the state file to
- the list view
- (set_view): ensure that if the list view was in custom mode it
- stays that way
- (display_view_cb): attach to the etable of the list view
- (gnome_calendar_setup_view_menus): use an etable gal view for the
- list view and don't set the view twice
-
- * gui/e-tasks.c (e_tasks_setup_view_menus): the instance should no
- longer be per task uri since all the uris are shown together
-
- * gui/e-cal-list-view.h: update/add protos
-
- * gui/e-cal-list-view.etspec: limit the available columns to what
- product design agreed on
-
- * gui/e-calendar-table.etspec: ditto
-
- * gui/e-cal-list-view.c (e_cal_list_view_class_init): ignore
- update query calls
- (e_cal_list_view_load_state): make public
- (e_cal_list_view_save_state): ditto
- (setup_e_table): don't handle state saving ourselves
- (e_cal_list_view_construct): ditto
- (e_cal_list_view_new): ditto
- (e_cal_list_view_destroy): ditto
-
- * gui/calendar-view.c (calendar_view_get_type_code): we don't
- handle the list view here
-
- * gui/calendar-view-factory.c
- (calendar_view_factory_get_type_code): we don't handle the list
- view here
- (calendar_view_factory_get_title): ditto
-
-2004-03-24 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (update_query): don't create queries for the clients
- that are not loaded yet.
-
-2004-03-24 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (client_cal_opened_cb): remove debug code that
- slipped in
-
-2004-03-24 Danilo Å egan <dsegan@gmx.net>
-
- * gui/e-alarm-list.c (get_alarm_duration_string): Use ngettext for
- handling plural forms (fixes bug #53464).
- * gui/dialogs/delete-comp.c (delete_component_dialog): Likewise.
- * gui/e-itip-control.c (write_recurrence_piece): Likewise.
-
-2004-03-23 JP Rosevear <jpr@ximian.com>
-
- Fixes #51948
-
- * gui/dialogs/meeting-page.c (button_press_event): compile this
- again, determine the row with a different method
- (button_press_event): pass mpage
- (meeting_page_construct): listen for button press event
-
- * gui/e-meeting-list-view.c: remove commit that wasn't supposed to
- go in
-
-2004-03-23 JP Rosevear <jpr@ximian.com>
-
- * gui/e-calendar-view.c: make the flow control correct
-
-2004-03-23 JP Rosevear <jpr@ximian.com>
-
- * gui/migration.c (create_calendar_sources, create_task_sources):
- ensure that only one Personal calendar/task list gets created when
- moving between minor versions
-
-2004-03-23 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/copy-source-dialog.c (copy_source): remove unused
- variable
-
- * gui/e-cal-model.c (e_cal_model_copy_component_data): make the
- precondition return NULL
-
- * gui/control-factory.c (get_prop): make sure this code isn't
- reached
-
- * gui/calendar-component.c
- (calendar_component_peek_source_selector): cast to kill warning
-
-2004-03-23 Umesh Tiwari <tiwariumesh232@rediffmaiil.com>
-
- For bug#53417
-
- * gui/e-tasks.c:
- Clear the preview panel after the last task is deleted.
-
-2004-03-23 Alfred Peng <alfred.peng@sun.com>
-
- * gui/dialogs/alarm-options.c (malarm_widgets_to_alarm): get
- the mail alarm description message from "malarm_description"
- instead of "dalarm_description".
-
-2004-03-23 Alfred Peng <alfred.peng@sun.com>
-
- * gui/alarm-notify/alarm-queue.c (audio_notification): If there
- is no attachment for a audio reminder, only a message window
- shows up.
- Get a beep sound even without attachment for audio reminder.
-
-2004-03-22 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-calendar-view.c (e_calendar_view_add_event): get the UID
- from the server on newly created events and set the ECalComponent's
- UID to that, for further operations.
-
-2004-03-20 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-calendar-view.c: added 'Copy/Move to Calendar' menu entries.
- (on_copy_to, on_move_to): callbacks for new menu items.
- (on_print_event): don't leak selection list.
-
-2004-03-19 JP Rosevear <jpr@ximian.com>
-
- Fixes #55716
-
- * gui/e-cal-model.c (remove_client): unset the default if the
- client removed was the default
-
-2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (update_uris_for_selection): if
- gnome_calendar_add_event_source fails, don't add the client to the
- internal client list.
-
-2004-03-19 JP Rosevear <jpr@ximian.com>
-
- Fixes #55723
-
- * gui/e-day-view.c (process_component): compare ecalcomponents,
- not icalcomponents (the compare func is borked), check recurrence
- changes better
- (e_day_view_init): just use the model the parent creates
-
- * gui/e-week-view.c (process_component): create the temporary item
- from the correct icalcomp
- (e_week_view_init): just use the model the parent creates
-
-2004-03-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/select-source-dialog.c (select_source_dialog): create
- an ESourceSelector instead of a ESourceOptionMenu, to be consistent
- with the other components, and create a scrolled window to hold the
- source selector.
- (primary_selection_changed_cb): callback for "primary_selection_changed"
- signal in the ESourceSelector.
-
-2004-03-18 Alfred Peng <alfred.peng@sun.com>
-
- * Fix #51187 on bugzilla of ximian
- * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb):
- If "alarms" or "alarms->alarms" is NULL after querying a calendar
- for the alarms of a particular object, the reuse of "cqa" will
- probably cause evolution-alarm-notify to crash.
- So remove "cqa" when "alarms" or "alarms->alarms" is NULL. Otherwise
- update it.
-
-2004-03-17 hpnadig <hp@ndeepak.info>
-
- * gui/dialogs/task-page.glade: Capitalized words changed. Solves 48115.
-
- * gui/dialogs/task-details-page.glade: s/Date Completed/Date completed.
-
- * gui/e-calendar-table.etspec: Capitalization checked. Solves 48130.
-
-2004-03-17 Gary Ekker <gekker@novell.com>
-
- Fixes #55292
-
- * gui/e-pub-utils.c (e_pub_publish): fix a crash when trying to
- publish a NULL component
-
-2004-03-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/select-source-dialog.[ch]: new dialog for allowing the
- user to select a source.
-
- * gui/dialogs/copy-source-dialog.c (copy_source_dialog): use the
- select_source_dialog function to ask user for the source to use.
- (source_selected_cb): removed unneeded function.
-
- * gui/dialogs/Makefile.am: added new files.
-
-2004-03-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-commands.c
- (calendar_control_sensitize_calendar_commands): check if the selected
- event has its associated ECalModelComponent.
-
-2004-03-15 JP Rosevear <jpr@ximian.com>
-
- * gui/e-tasks.c (search_bar_sexp_changed_cb): set the search query
- (e_tasks_init): set the query to be #t by default
-
- * gui/e-cal-model.c (redo_queries): use the search query if there
- is one (and no time is set), make sure to dup the #f
-
-2004-03-15 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor-page.c (comp_editor_page_fill_widgets):
- use right cast macro
-
-2004-03-15 JP Rosevear <jpr@ximian.com>
-
- * Rename e-cal-view to e-calendar-view and fix includes
-
- * gui/dialogs/comp-editor-page.c (comp_editor_page_fill_widgets):
- pre-conditions should return FALS
-
- * gui/e-cal-model.c (copy_ecdv): return the new struct
-
- * gui/Makefile.am: build renamed files
-
-2004-03-15 JP Rosevear <jpr@ximian.com>
-
- Fixes #52253
-
- * gui/print.c (print_week_summary_cb): copy component data
-
- * gui/gnome-cal.c (get_times_for_views): calculate the time range
- for each view
- (set_search_query): set the search query on the model
- (set_week_start): set the week start day
- (week_start_changed_cb): track if it changes
- (setup_config): set its notification
- (setup_widgets): update the view times and date navigator
- (gnome_calendar_init): remove dead values
- (gnome_calendar_goto_date): just calc the new time and let
- update_view_times handle it
- (gnome_calendar_goto): ditto
- (gnome_calendar_direction): ditto
- (gnome_calendar_set_selected_time_range): ditto
- (gnome_calendar_dayjump): ditto
- (update_view_times): set the time ranges on the models
- (set_view): use the new preserve day setting
- (gnome_calendar_set_view): don't update the view times, just
- switch
- (gnome_calendar_get_selected_time_range): get the time range
- (gnome_calendar_on_date_navigator_selection_changed): don't
- re-update the date navigator, centralize the view setting
-
- * gui/e-week-view.c (time_range_changed_cb): handle the time range
- changing
- (process_component): move here
- (model_changed_cb): handle the model changing
- (update_row): updated a changed row
- (model_row_changed_cb): update a row
- (model_cell_changed_cb): ditto
- (model_rows_inserted_cb): handle events being added
- (row_deleted_check_cb, remove_uid_cb, model_rows_deleted_cb):
- handle events being deleted
- (timezone_changed_cb): handle timezone changing
- (e_week_view_init): create the model and listen to it
- (e_week_view_new): don't create the model here
- (e_week_view_set_selected_time_range): no need to cast
- (e_week_view_set_first_day_shown): ditto
- (e_week_view_set_weeks_shown): ditto
- (e_week_view_update_event_cb): free and copy the data using new
- routines
- (e_week_view_foreach_event): step through every event
- (e_week_view_remove_event_cb): we no longer track allocated status
- (e_week_view_on_button_release): don't set the seleciton in the
- calendar
- (e_week_view_free_events): free the data with the util
- (e_week_view_add_event): no need to track allocated status
- (e_week_view_on_adjustment_changed): no need to cast
-
- * gui/e-day-view.c (e_day_view_class_init): update query is no
- longer used via class method
- (time_range_changed_cb): handle the time range changing
- (process_component): move here
- (model_changed_cb): handle the model changing
- (update_row): updated a changed row
- (model_row_changed_cb): update a row
- (model_cell_changed_cb): ditto
- (model_rows_inserted_cb): handle events being added
- (row_deleted_check_cb, remove_uid_cb, model_rows_deleted_cb):
- handle events being deleted
- (timezone_changed_cb): handle timezone changing
- (e_day_view_init): create a model, connect to its signals
- (e_day_view_destroy): we don't have our own query anymore
- (e_day_view_update_event_cb): free and copy the data using new
- routines
- (e_day_view_remove_event_cb): we no longer track allocated status
- (e_day_view_set_selected_time_range): actually set the selection
- (e_day_view_recalc_day_starts): no need to cast
- (e_day_view_recalc_work_week): ditto
- (e_day_view_update_calendar_selection_time): don't call back to
- the main calendar
- (e_day_view_free_event_array): use the free util
- (e_day_view_add_event): don't track allocated status
-
- * gui/e-calendar-marshal.list: add marshaller
-
- * gui/e-cal-view.h: remove field
-
- * gui/e-cal-view.c: no longer listen for model signals
- (e_calendar_view_class_init): make the model arg not construct
- time
-
- * gui/e-cal-model.h: update/add protos
-
- * gui/e-cal-model.c (e_cal_model_class_init): set the dispose
- handler and add a time_range_changed signal
- (e_cal_model_init): defaults for queries
- (e_cal_model_dispose): dispose of things
- (e_cal_model_finalize): remove bits that are in dispose now
- (search_by_uid_and_client): allow NULL client to find any uid
- (e_cal_view_objects_added_cb): ref the client
- (update_e_cal_view_for_client): use the full query
- (remove_client): pre change for each row and emit deleted signals
- (redo_queries): relaunch the query for each client
- (e_cal_model_get_time_range): get the time range
- (e_cal_model_set_time_range): set the time range and redo the
- queries
- (e_cal_model_set_search_query): get the search query
- (e_cal_model_set_search_query): set the search query and redo the
- queries
- (e_cal_model_get_component_for_uid): get the component info based
- on uid
- (copy_ecdv): copy and ECellDateEditValue
- (e_cal_model_copy_component_data): copy component data
- (e_cal_model_free_component_data): unref the client
-
-2004-03-15 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #48112
-
- * gui/calendar-commands.c (calendar_control_sensitize_calendar_commands):
- disable the 'Delete' menu item on recurring meetings, since 'Delete all
- Occurrences' already deals with that.
-
-2004-03-15 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #35577
-
- * gui/e-cal-view.c (e_calendar_view_delete_selected_occurrence):
- if the component is an instance, pass the recurrence ID to
- e_cal_remove_object_with_mod. Also, make the user confirm the
- deletion, and send the cancellation message for meetings.
-
-2004-03-12 Not Zed <NotZed@Ximian.com>
-
- * gui/e-cal-model.c (ecm_initialize_value): return "" instead of
- NULL if there is no default_category set. Fixes #53419.
-
-2004-03-09 Kidd Wang <kidd.wang@sun.com>
-
- * gui/e-day-view.c: (e_day_view_finish_long_event_resize): add a call
- to e_cal_component_commit_sequence since we have changed the property
- of the component. Whether the new event is all day should also be
- set properly according to the value of the original event.
-
-2004-03-08 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #48106
-
- * gui/dialogs/alarm-page.glade: s/Send an Email/Send an email.
-
-2004-03-05 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-notify.c (alarm_notify_init): set a GConf
- listener callback to list for changes in selected calendars.
- (alarm_notify_finalize): remove the GConf notification listener.
- (conf_changed_cb): callback to react on configuration changes. Process
- the new selected calendars and remove the unselected ones.
- (process_removal_in_hash): callback to remove unselected calendars.
-
-2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #50294
-
- * gui/e-tasks.c (setup_widgets): connect to "model_rows_deleted" signal
- on the ETable's model.
- (model_rows_deleted_cb): callback for clearing the preview widget when
- the currently selected task is removed.
-
-2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-commands.c (calendar_control_sensitize_calendar_commands):
- set the sensitivity correctly, depending on whether the command applied
- to the currently selected event or the default client.
- (calendar_control_activate): make sure we start with the menu items
- correctly enabled/disabled.
-
-2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #53496
-
- * gui/dialogs/cal-prefs-dialog.glade: set the same spacing for all
- tabs in the notebook.
-
-2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/comp-editor.c (comp_editor_append_page): always add
- the page.
-
- * gui/dialogs/event-page.c (event_page_fill_widgets): continue filling
- up all other fields even if there are missing ones, and return the
- validation result.
-
-2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog):
- don't make the dialog window sticky, the icon on the system tray
- already shows in all workspaces.
-
-2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #54028
-
- * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): fixed the
- time range for the alarm query, to include the end of today.
-
-2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #53137
-
- * gui/dialogs/comp-editor-page.[ch]: made fill_widgets virtual
- method return a gboolean.
- (comp_editor_page_fill_widgets): return value from virtual method
- implementation.
-
- * gui/dialogs/event-page.c (event_page_fill_widgets):
- * gui/dialogs/meeting-page.c (meeting_page_fill_widgets):
- * gui/dialogs/recurrence-page.c (recurrence_page_fill_widgets):
- * gui/dialogs/schedule-page.c (schedule_page_fill_widgets):
- * gui/dialogs/task-details-page.c (task_details_page_fill_widgets):
- * gui/dialogs/task-page.c (task_page_fill_widgets):
- * gui/dialogs/alarm-page.c (alarm_page_fill_widgets): return value,
- as expected from the virtual method signature.
-
- * gui/dialogs/comp-editor.c (comp_editor_append_page): dont add the
- page if there was an error calling the fill_widgets method.
-
-2004-03-03 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-model.c (e_cal_model_add_client): prevent from adding
- the same client more than once.
-
-2004-03-02 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/cal-search-bar.c: added support for searching the location
- field also.
- (regen_query): take into account the new search field.
-
-2004-03-02 JP Rosevear <jpr@ximian.com>
-
- * gui/Makefile.am: remove conduit dir creation
-
-2004-03-02 Larry Ewing <lewing@ximian.com>
-
- * gui/calendar-component.c: add untested start of dnd support for
- source selector.
-
-2004-03-01 Dan Winship <danw@ximian.com>
-
- * gui/alarm-notify/alarm-notify.c: fix rampant double-freeing.
-
-2004-03-01 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/itip-utils.c (comp_server_send): pass the user list and
- returned icalcomponent to e_cal_send_objects().
-
-2004-03-01 Kidd Wang <kidd.wang@sun.com>
-
- * gui/print.c: (print_date_label): ignore the timezone info of all-day
- events.
-
-2004-02-27 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.h: remove proto
-
- * gui/gnome-cal.c (set_query): rename from
- gnome_calendar_set_query and make static
-
- * gui/e-day-view.h: remove proto for dead function
-
- * gui/e-day-view.c: guard config.h include
-
-2004-02-26 Rodney Dawes <dobey@ximian.com>
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
- Create the arrows in these widgets as GTK_SHADOW_NONE, since the
- default arrow type in GTK+ 2.x is flat triangle arrows, and shadow
- types are generally ignored for arrows anyway, and so we don't look
- ugly with themes that handle shadow types on arrows correctly
-
-2004-02-26 Rodney Dawes <dobey@ximian.com>
-
- * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in:
- Fix the repo_id to include the evolution base version
-
-2004-02-26 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (client_cal_opened_cb): make sure we unref the
- task pad client and the calendar clients are unreffed by the hash
- table
-
-2004-02-24 JP Rosevear <jpr@ximian.com>
-
- * gui/migration.c (migrate_calendars): fix float type pane
- position keys (we migrated these improperly in the past), just use
- the default value
-
- Fixes #53087
-
-2004-02-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-notify.c (free_client_hash): remove the client
- from the queue also.
-
- * gui/gnome-cal.c (client_cal_opened_cb): set the task pad client to NULL
- if opening it failed. Show more verbose status bar messages.
-
-2004-02-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * common/authentication.c (auth_func_cb): call first e_passwords_get_password
- before calling _ask_password.
-
- * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): add 1 second
- to the last notification time, or we'll get many times the same notification.
-
-2004-02-18 Kidd Wang <kidd.wang@sun.com>
-
- * gui/e-cal-view.c: (e_calendar_view_add_event),
- (clipboard_get_text_cb): make copy & paste and drag & drop behave
- the same way described as follows:
- In day view and work week view
- from main canvas to top canvas
- before copy or drag: short event
- after paste or drop: all-day event
- from main canvas to main canvas
- before copy or drag: short event
- after paste or drop: short event
- from top canvas to top canvas
- before copy or drag: all-day event
- after paste or drop: all-day event
- before copy or drag: long event
- after paste or drop: long event
- from top canvas to main canvas
- before copy or drag: all-day event
- after paste or drop: short event
- before copy or drag: long event
- after paste or drop: short event
- In week view, month view and list view life is pretty simple since
- there's no top canvas in these three views. We just get what we copy
- or drag after we perform paste or drop.
-
-2004-02-18 Kidd Wang <kidd.wang@sun.com>
-
- * gui/itip-utils.c: (itip_send_comp): set the string length properly.
-
-2004-02-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-queue.c (tray_icon_clicked_cb): removed buggy
- characters from menu items' texts.
-
-2004-02-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): open the
- calendars asynchonously.
- (cal_opened_cb): callback for "cal_opened" signal. Add the calendars to
- the alarm queue here.
-
- * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): get alarms
- since the last notification, only use current time when there is no
- previous notification time.
-
- * gui/alarm-notify/notify-main.c (init_session): set session restart
- style to RESTART_IF_RUNNING.
-
-2004-02-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/notify-main.c: no need to keep the master client.
- (init_session): just set the daemon's restart style, not the restart
- command. Connect to "save_yourself" signal on the session also.
- (save_session_cb): set the restart command here.
-
-2004-02-12 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/dialogs/copy-source-dialog.c (copy_source_dialog): Instead
- of saying "Select destination source", we now say "... calendar" or
- "... task list", based on object type.
-
-2004-02-12 Chris Toshok <toshok@ximian.com>
-
- * gui/migration.c (CONTACTS_BASE_URI): rename from
- CONTACT_BASE_URI, and change to contacts:// to match e-d-s.
- (create_calendar_contact_source): CONTACT -> CONTACTS.
- (create_calendar_sources): same.
-
-2004-02-13 Bruce Tao <bruce.tao@sun.com>
-
- See #51567
- * gui/dialogs/delete-comp.c (delete_component_dialog):
- use "gtk_dialog_add_buttons" to change the response_id of button
- "YES" and "NO".
-
-2004-02-11 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #53886
-
- * gui/gnome-cal.c (gnome_calendar_paste_clipboard,
- gnome_calendar_delete_selection, gnome_calendar_cut_clipboard,
- gnome_calendar_copy_clipboard): removed g_assert_if_reached calls
- since we might get a different widget getting the focus.
- (get_focus_location): check the canvas's' focused item.
-
-2004-02-11 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #53271
-
- * gui/calendar-component.c (delete_calendar_cb): remove the source from
- the GnomeCalendar widget also.
-
- * gui/tasks-component.c (delete_task_list_cb): ditto.
-
-2004-02-11 Kidd Wang <kidd.wang@sun.com>
-
- * gui/print.c: (print_date_label): guarantee we do have some timezone
- before the time convertion.
-
-2004-02-10 JP Rosevear <jpr@ximian.com>
-
- * importers/icalendar-importer.c: remove useless include
-
- * importers/Makefile.am: remove executable build cruft
-
-2004-02-09 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (client_cal_opened_cb): don't add the clients to the
- internal hash/list here, just remove it if opening the calendar fails.
- (gnome_calendar_add_event_source): add the client to the internal
- hash/list here.
-
-2004-02-09 Kidd Wang <kidd.wang@sun.com>
-
- * gui/e-cal-model-tasks.c: (ecmt_set_value_at): refuse to update
- the task info if due date is before start date.
-
-2004-02-05 JP Rosevear <jpr@ximian.com>
-
- * Convert the calendar_config_get_timezone and
- icaltimezone_get_builtin_timezone pair to just
- calendar_config_get_icaltimezone, this also guarantees we will
- have some timezone (even if its just UTC)
-
- Fixes #53754
-
-2004-02-05 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-config.h: add proto
-
- * gui/calendar-config.c (calendar_config_get_icaltimezone): return
- the icaltimezone based on the location and default to utc if we
- can't find one
- (calendar_config_get_hide_completed_tasks_sexp): use above
-
-2004-02-05 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.c (set_color_picker): make failure
- not so draconian - make the color black
-
- Fixes #53547
-
-2004-02-05 Kidd Wang <kidd.wang@sun.com>
-
- * gui/goto-dialog.glade: add a mnemonic for the 'Go to Today' button
- in the 'Go To Date' dialog.
-
-2004-02-05 Sarfraaz Ahmed <asarfraaz@novell.com>
-
- Fixes #53388
-
- * gui/e-itip-control.c (get_next): added a check for NULL
-
-2004-02-04 JP Rosevear <jpr@ximian.com>
-
- * importers/icalendar-importer.c (gnome_calendar_import_data_fn):
- use new cal auth functions
-
- * common/authentication.c (auth_new_cal_from_default): get a
- default calendar with auth
-
- * common/authentication.h: add proto
-
-2004-02-04 JP Rosevear <jpr@ximian.com>
-
- * importers/icalendar-importer.c (importer_destroy_cb): we only
- have a single client to free
- (prepare_events): make the vtodo list optional
- (button_toggled_cb): handle the type of thing to import switching
- (primary_selection_changed_cb): handle the selected item switching
- (create_control_fn): create a control with types (events, tasks)
- and corresponding source selectors
- (process_item_fn): only import one type of item at a time
- (load_file_fn): load the ecal as dictated by the source and type
- (vcal_importer_new): pass in control function
- (gnome_calendar_import_data_fn): get the default calendars
-
- * importers/Makefile.am (importersdir): add lib
-
-2004-02-04 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #52970
-
- * idl/evolution-calendar.idl: added back the AlarmNotify interface.
-
- * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in:
- changed to have the AlarmNotify component be created via a factory.
-
- * gui/alarm-notify/alarm-notify.[ch]: converted to implement the
- AlarmNotify interface.
-
- * gui/alarm-notify/notify-main.c (main): register the factory with
- bonobo_generic_factory_new, not the object itself. Removed redundant
- call to bonobo_object_unref. Call e_passwords_shutdown on exit.
-
- * gui/alarm-notify/config-data.c (config_data_get_calendars_to_load):
- get only the selected calendars/task lists.
-
-2004-02-04 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_add_event_source): don't update the
- date navigator query nor the internal lists here...
- (client_cal_opened_cb): do it here.
-
-2004-02-04 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/main.c (launch_alarm_daemon_cb): display the exception message
- on error.
-
- * gui/gnome-cal.c (open_ecal): open calendars asynchronously.
- (client_cal_opened_cb): on success, add the clients to the models here.
- (gnome_calendar_add_event_source, gnome_calendar_construct): not here.
-
-2004-02-04 Kidd Wang <kidd.wang@sun.com>
-
- * gui/dialogs/alarm-page.glade: change the access key for adding a
- reminder from Alt+a to Alt+d to avoid conflict with the menuitem.
-
-2004-02-04 Yong Sun <Yong.Sun@sun.com>
-
- * gui/print.c: Fix a bug in evolution/calendar/gui/print.c:
- bound_text(). It does not break lines with the correct boundary of UTF-8
- characters. So, for non-latin locales, it will cause printing issues.
-
-2004-02-03 Dan Winship <danw@ximian.com>
-
- * gui/tasks-component.h: Fix location of e-activity-handler.h
- #include
-
- * gui/Makefile.am (INCLUDES): add widgets/misc for
- e-activity-handler.h and e-task-bar.h
-
- * gui/dialogs/Makefile.am (INCLUDES): Likewise
-
-2004-02-02 JP Rosevear <jpr@ximian.com>
-
- * importers/icalendar-importer.c (support_format_fn): use
- g_file_get_contents
- (load_file_fn): ditto
- (vcal_support_format_fn): ditto
- (load_vcalendar_file): ditto
-
-2004-01-30 JP Rosevear <jpr@ximian.com>
-
- * remove dead files
-
-2004-01-29 Gary Ekker <gekker@novell.com>
-
- Fixes #51871
-
- * gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar): add
- activate handler for name_entry
- (calendar_setup_edit_task_list): ditto
-
-2004-01-30 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.c (create_new_todo): remove extraneous ;
-
- Fixes #53418
-
-2004-01-29 JP Rosevear <jpr@ximian.com>
-
- * gui/migration.c (create_calendar_contact_source): don't set the
- group to be read only until after the source is added.
-
-2004-01-29 JP Rosevear <jpr@ximian.com>
-
- * gui/migration.c (migrate_ical_folder_to_source): migrate to a
- specific source
- (migrate_ical_folder): create a new source based on the new source
- name/uid
- (create_calendar_contact_source): use the #define for the base uri
- (create_calendar_sources): try and find the right sources if they
- already exist
- (create_task_sources): ditto
- (migrate_calendars): make sure the personal source is the system
- source
- (migrate_tasks): ditto
-
-2004-01-29 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-view.c (calendar_view_get_type_code): added support for
- the list view also.
-
-2004-01-28 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (update_query):
- * gui/e-cal-list-view.c (e_cal_list_view_update_query):
- * gui/e-cal-view.c (e_calendar_view_update_query): stop status bar
- messages madness.
-
-2004-01-27 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-component.c (delete_calendar_cb): use e_cal_remove
-
- * gui/tasks-component.c (delete_task_list_cb): ditto
-
-2004-01-27 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #53276
-
- * gui/dialogs/copy-source-dialog.c (show_error): new function to
- create an error message dialog.
- (copy_source): check if the destination calendar is read only, and
- if so, don't try to copy components over. Fixed leaks. Call show_error
- to display meaningful error messages.
-
-2004-01-26 JP Rosevear <jpr@ximian.com>
-
- * gui/migration.c (migrate_ical_folder): add the source to the
- group so it actually shows up
-
-2004-01-26 JP Rosevear <jpr@ximian.com>
-
- * gui/migration.c (migrate_calendars): get the source name with
- out using freed memory
- (migrate_tasks): ditto
-
-2004-01-26 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #53338
-
- * gui/dialogs/calendar-setup.c (dialog_to_source): set the relative
- URI on the source for remote sources.
-
-2004-01-26 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #52312
-
- * gui/dialogs/calendar-setup.c (create_new_source_with_group):
- * gui/migration.c (migrate_ical_folder, create_calendar_sources,
- create_task_sources): set the relative URI for local calendars and
- task lists to be the source UID.
-
-2004-01-24 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.[ch]
- (calendar_component_peek_source_selector): new function.
-
- * gui/tasks-component.[ch]
- (tasks_component_peek_source_selector): new function.
-
- * gui/e-tasks.c (backend_died_cb):
- * gui/gnome-cal.c (backend_died_cb): don't tell the user to restart
- Evolution, there is no need now, just unselecting and selecting
- back the calendar loads it again. Also, remove the crashed client
- from the list of loaded clients. Also, unselect the source on
- the source selector.
-
-2004-01-24 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.c (update_primary_selection): use
- e_source_list_peek_source_any
- (setup_create_ecal): ditto
- (create_new_todo): just use the default call directly
- (update_uris_for_selection): just use e-tasks remove/add todo
- source directly
-
-2004-01-24 JP Rosevear <jpr@ximian.com>
-
- * gui/e-tasks.c (e_tasks_add_todo_source): don't unref and ref,
- the hash table does this
- (e_tasks_remove_todo_source): ditto
-
- Fixes #53281
-
-2004-01-24 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-calendar-table.c (e_calendar_table_init): use the colors from
- the model as background, not as foreground.
-
- * gui/e-cal-model-tasks.c (ecmt_get_color_for_component): return the
- color assigned to each URI if it's not overdue.
-
-2004-01-24 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.c (delete_task_list_cb): sync the source
- list after the source removal
-
- * gui/calendar-component.c (delete_calendar_cb): ditto
-
- Fixes #53271
-
-2004-01-24 JP Rosevear <jpr@ximian.com>
-
- * gui/migration.c (setup_progress_dialog): display a progress
- dialog
- (dialog_close): destroy it
- (dialog_set_folder_name): display the folder being migrated
- (dialog_set_progress): update the progress
- (check_for_conflict): make sure we don't name anything the same
- (get_source_name): create a source name
- (migrate_ical): migrate the events/tasks from one ecal to another
- (migrate_ical_folder): migrate a specific folder
- (migrate_calendars): use above
- (migrate_tasks): ditto
-
-2004-01-23 Rodney Dawes <dobey@ximian.com>
-
- * gui/e-itip-control.c: Use PUBLISH if no METHOD defined
-
- Fixes #45564
-
-2004-01-22 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-model.c (e_cal_view_objects_removed_cb): don't assert
- if we can't find the component, just continue with next item in
- the list.
-
-2004-01-22 JP Rosevear <jpr@ximian.com>
-
- * gui/migration.c (process_old_dir): remove useless e_mkdir_hier
- call.
-
- Fixes #53065
-
-2004-01-22 JP Rosevear <jpr@ximian.com>
-
- * gui/e-tasks.c (e_tasks_setup_view_menus): Remove debugging
- statement
-
-2004-01-22 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (setup_widgets): use the calendar component
- config dir
- (gnome_calendar_setup_view_menus): use the calendar component base
- dir for the view storage
-
- * gui/e-tasks.c (e_tasks_setup_view_menus): use the task component
- base dir for the view storage
-
- Fixes #53133
-
-2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-tasks.c (e_tasks_add_todo_source): check return value
- from auth_new_cal_from_source(). Connect to "backend_died"
- signal on the ECal class.
- (backend_died_cb): callback for "backend_died" that displays
- an error message when that happens.
-
- * gui/gnome-cal.c (backend_died_cb): use a GtkMessageDialog.
-
-2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-tasks.[ch] (e_tasks_add_todo_uri, e_tasks_remove_todo_uri,
- e_tasks_get_default_uri): renamed to _source and made them work
- with ESource's.
-
- * gui/tasks-component.c (update_uri_for_primary_selection,
- add_uri_for_source, remove_uri_for_source):
- * gui/tasks-control.c (tasks_control_set_property): updated for
- changes in e-tasks.[ch].
-
-2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/calendar-setup.c (create_new_source_with_group):
- added 'ECalSourceType' argument to be able to create the
- ECal correctly. Added a call to e_cal_open with 'only_if_exists'
- set to FALSE so that the backend creates the calendar.
- (new_calendar_finish, new_task_list_finish): pass new argument
- to create_new_source_with_group.
-
-2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/tasks-component.c (delete_task_list_cb): call
- e_cal_remove_calendar to actually remove the task list via
- the backend.
-
-2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #51705
-
- * gui/calendar-component.c (delete_calendar_cb): call
- e_cal_remove_calendar to actually remove the calendar via
- the backend.
-
-2004-01-21 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar): just
- use the convienence function for the default gconf client (fixes
- leak)
- (calendar_setup_new_task_list): ditto
- (new_task_list_finish): we don't support task uri's
-
-2004-01-21 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/calendar-setup.c (source_to_dialog): only block
- widgets that exist
-
-2004-01-19 JP Rosevear <jpr@ximian.com>
-
- * gui/e-cal-model-tasks.c (ensure_task_not_complete): correct
- property name c/p error
-
- Fixes # 52269
-
-2004-01-19 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.c (update_primary_selection): handle the
- case where we have a bogus uid
-
- * gui/calendar-component.c (update_primary_selection): ditto
-
-2004-01-19 Radek Doulik <rodo@ximian.com>
-
- * gui/print.c (print_day_add_event): uncomment and use
- ECalModelComponent
- (print_day_details): use e_cal_model_generate_instances
- (print_day_details_cb): use ECalModelGenerateInstancesData
- (print_day_long_event): use event color
- (print_day_event): ditto
- (print_month_small): use e_cal_model_generate_instances
- (instance_cb): use ECalModelGenerateInstancesData
-
-2004-01-18 Radek Doulik <rodo@ximian.com>
-
- * gui/print.c (print_border_with_triangles): use rgb color as
- fillcolor
- (print_week_day_event): ditto
- (print_table): set page orientation, it may be changed from last
- printing
- (print_comp): ditto
-
- * gui/e-cal-model.c (e_cal_model_get_rgb_color_for_component): new
- helper function, gets component color as rgb double values
-
- * gui/print.c (print_week_summary_cb): uncommented and updated for
- e_cal_model_generate_instances
- (print_week_summary): use e_cal_model_generate_instances
- (print_border_with_triangles): pass rgb fillcolor
- (print_border_rgb): new function to print border with rgb color
- background
-
- * gui/e-cal-model.c (e_cal_model_generate_instances): new
- function, similar to e_cal_generate_instances. see comments to
- understand how to use cb_data
-
-2004-01-17 JP Rosevear <jpr@ximian.com>
-
- * gui/e-calendar-table.c (e_calendar_table_delete_selected): don't
- create the component if there is a multiple selection
-
- Fixes #52266
-
-2004-01-17 JP Rosevear <jpr@ximian.com>
-
- * gui/e-cal-view.c (on_print): we are required to pass in the end
- in-out arg
-
- Fixes #52972
-
-2004-01-17 JP Rosevear <jpr@ximian.com>
-
- * gui/print.h: update protos
-
- * gui/print.c (print_title): util routine to print a title
- (print_table): print out an etable
-
- * gui/calendar-commands.c (print): handle printing the list view
-
- * gui/e-cal-list-view.etspec: draw the grid to mimic tasks
-
- * gui/tasks-control.c (tasks_control_print_cmd): use print_table
-
- Fixes #51751, #52958
-
-2004-01-16 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-commands.c (print): handle list view by printing
- the month
-
-2004-01-16 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (find_server): we actually want to not
- return on any error as well (like NOT FOUND)
-
-2004-01-16 JP Rosevear <jpr@ximian.com>
-
- * gui/e-comp-editor-registry.h: convert to GObject
-
- * gui/e-comp-editor-registry.c (registry_data_free): routine to
- free the registry data
- (dispose): destroy the registry data
- (finalize): finalize it
- (class_init): setup above
- (init): create full hash table
- (e_comp_editor_registry_add): weak ref the editor and strdup the
- hash table key
- (editor_destroy_cb): we get the registry data now, just remove it
-
- * gui/dialogs/comp-editor.c (close_dialog): disconnect the signal
- handlers, its a bit of a hack but it is a simple fix
-
-2004-01-16 Radek Doulik <rodo@ximian.com>
-
- * gui/print.c (print_calendar): don't set old orientation, preview
- needs right orientation even after everything is printed
-
-2004-01-16 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #52920
-
- * gui/dialogs/calendar-setup.glade: match label's text with the
- button's text.
-
-2004-01-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/tasks-component.c (impl_dispose): unref the activity
- handler.
-
-2004-01-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/tasks-component.[ch]
- (tasks_component_peek_activity_handler): new function.
- (impl_createControls): create a task bar also for the tasks
- component. We can't rely on the calendar component's one.
- (tasks_component_init): create the private activity handler.
-
- * gui/e-calendar-table.c (e_calendar_table_set_status_message):
- use the tasks component's activity handler.
-
- * gui/e-tasks.c (on_url_cb): new callback to display status
- bar messages when mousing over links.
- (setup_widgets): connect to "on_url" signal on the HTML widget.
-
-2004-01-15 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/comp-editor.c: reverted my changes made on Jan 8th.
-
-2004-01-15 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/save.[ch]: removed.
-
- * gui/alarm-notify/Makefile.am: removed save.[ch].
-
- * gui/alarm-notify/notify-main.c: removed obsolete headers.
-
- * gui/alarm-notify/config-data.[ch]
- (config_data_set_last_notification_time,
- config_data_get_last_notification_time,
- config_data_save_blessed_program, config_data_is_blessed_program):
- new functions.
-
- * gui/alarm-notify/alarm-queue.c: dont use removed functions.
- (alarm_trigger_cb, procedure_notification_dialog,
- alarm_queue_init):
- use config_data_* functions.
-
- * gui/alarm-notify/alarm-notify.c: dont use removed functions.
-
-2004-01-15 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.h: update protos
-
- * gui/tasks-component.c (impl_finalize): free base dir
- (impl_upgradeFromVersion): just call migrate_tasks
- (tasks_component_init): set base dir value
- (tasks_component_peek_base_directory): accessor
- (tasks_component_peek_source_list): ditto
-
- * gui/migration.c (process_old_dir): look for a source with the
- name and fallback to creating it
- (create_calendar_contact_source): create the contacts:// source
- (create_calendar_sources): use above and create all the necessary
- sources
- (create_task_sources): create all the necessary sources
- (migrate_calendars): do all the migration logic here, upgrade
- bonobo-conf to gconf
- (migrate_tasks): ditto
-
- * gui/calendar-component.h: update prototypes
-
- * gui/calendar-component.c (impl_finalize): free the base
- directory
- (impl_upgradeFromVersion): just call migrate_calendars
- (calendar_component_init): fill in base dir value
- (calendar_component_peek_base_directory): accessor
- (calendar_component_peek_source_list): ditto
-
-2004-01-15 Radek Doulik <rodo@ximian.com>
-
- * gui/calendar-component.c (create_new_event): test priv->calendar
- is not NULL before getting current view
-
- * gui/tasks-component.c (primary_source_selection_changed_cb):
- reset create_ecal
-
- * gui/calendar-component.c (impl_requestCreateItem): merge with
- JP's changes
- (primary_source_selection_changed_cb): reset create_ecal
-
-2004-01-14 Radek Doulik <rodo@ximian.com>
-
- * gui/e-cal-list-view.c (e_cal_list_view_get_selected_time_range):
- new implementation, use time range from selected event
-
- * gui/e-cal-view.c (e_calendar_view_get_selected_time_range):
- return gboolean, TRUE if requested time was set, FALSE otherwise
- (e_calendar_view_new_appointment_full): use current time if time
- range is unavailable
-
- * gui/calendar-component.c (impl_requestCreateItem): use
- e_calendar_view_new_appointment_full instead of
- cal_comp_event_new_with_current_time
-
- * gui/e-cal-view.c (e_calendar_view_new_appointment_full): new
- helper function
-
- * gui/comp-editor-factory.c (edit_new): use
- cal_comp_event_new_with_current_time
-
- * gui/calendar-component.c (impl_requestCreateItem): use
- cal_comp_event_new_with_current_time
-
- * gui/comp-util.c (cal_comp_event_new_with_current_time): new
- function, cut'n'pasted from get_default_event
- (calendar-component.c and comp-editor-factory.c)
-
-2004-01-14 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.c (impl_requestCreateItem): new utility
- routine to create new tasks
- (create_new_todo): use above so we don't try to set up the
- creation ecal unless we are actually creating a new item
-
- * gui/calendar-component.c (create_new_event): new utility routine
- to create new events
- (impl_requestCreateItem): use above so we don't try to set up the
- creation ecal unless we are actually creating a new item
-
-2004-01-14 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-calendar-table.c (e_calendar_table_show_popup_menu):
- use get_selected_objects() instead of get_selected_comp().
-
-2004-01-14 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-model-tasks.c (get_status): removed assertion.
-
-2004-01-14 Rodrigo Moya <rodrigo@ximian.com>
-
- * common/authentication.c (auth_new_cal_from_source): check
- return value from e_cal_new().
-
- * gui/gnome-cal.c (gnome_calendar_construct): if there is no
- default tasks folder, don't create the ECal from it.
-
-2004-01-14 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.c (impl_requestCreateItem): don't try to set
- up the creation ecal unless we are actually creating a new item
-
-2004-01-13 Rodney Dawes <dobey@ximian.com>
-
- * gui/Makefile.am: Only link in libsoup where we need it
-
-2004-01-13 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (impl_upgradeFromVersion): free 'base_uri'
- at the end of the function, or it will leak, and removed duplicated
- code to create the birthdays backend.
-
-2004-01-12 Gary Ekker <gekker@novell.com>
-
- * gui/Makefile.am: add e-pub-utils.[ch]
- for Free/Busy publishing
-
- * gui/apps_evolution_calendar.schemas.in.in: add schema for
- /apps/evo/calendar/free_busy key
-
- * gui/calendar-commands.c (publish_freebusy_cmd): change to
- publish component rather than attach as email
-
- * gui/calendar-config-keys.h: add free_busy/urls key definition
-
- * gui/calendar-config.[ch] (calendar_config_get_free_busy): new
- method for retrieving FB gconf key
- (calendar_config_set_free_busy): new method for saving FB
- gconf key
-
- * gui/e-cal-view.c (on_publish): change to publish component
- rather than attach as email
-
- * gui/itip-utils.[ch] (itip_publish_begin): new method to process
- e_cal_components and aggregate the data if we are publishing
- for multiple calendars
- (itip_publish_comp): new method to publish the ical data to an
- http server via libsoup
- (comp_fb_normalize): new static method to ensure rfc 2446 compliant
- data before publishing icalcomponent_get_uid
- (fb_sort): new static method to sort FB properties in ascending order
-
- * gui/dialogs/Makefile.am: add url-editor-dialog.[ch] and
- url-editor-dialog.glade for configure FB publishing
-
- * gui/dialogs/cal-prefs-dialog.[ch] (cal_prefs_dialog_url_add_clicked):
- (cal_prefs_dialog_url_edit_clicked):new method for events in FB tab
- of cal-prefs-dialog
- (cal_prefs_dialog_url_remove_clicked): ditto
- (cal_prefs_dialog_url_enable_clicked): ditto
- (cal_prefs_dialog_url_url_list_change): ditto
- (cal_prefs_dialog_url_url_list_enable_toggled): ditto
- (cal_prefs_dialog_url_url_list_double_click): ditto
- (show_fb_config): new method for updating dialog with FB specific
- data in gconf
- (update_fb_config): new method for updating gconf with FB specific
- data from dialogs
- (setup_changes): detect changes in url_list gtk_tree_view
- (get_widgets): include new dialog widgets for FB config
- (init_widgets): connect signals for new FB config widgets
-
- * gui/dialogs/cal-prefs-dialog.glade: add new widgets for FB config
-
- * gui/dialogs/url-editor-dialog.[ch]: add files for FB url-editor dialog
-
- * gui/dialogs/url-editor-dialog.glade: ditto
-
- * gui/e-pub-utils.[ch]: add files with FB publishing utilities
-
- * gui/calendar-component.c (init_calendar_publishing): sets up
- listeners to publish calendar, g_idle_add, and on gconf change
- (init_calendar_publishing_cb): ditto
- (conf_changed_callback): ditto
- (impl_createControls): ditto
-
-2004-01-12 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (impl_upgradeFromVersion): sync the source
- list after creating the remote source group.
-
-2004-01-12 JP Rosevear <jpr@ximian.com>
-
- * Revert William McCann's patch of 2003-12-19 until we can get
- consistent across all of evolution
-
-2004-01-12 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/dialogs/calendar-setup.c (source_to_dialog): Only update dialog
- widgets if they exist.
-
-2004-01-11 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.c: Fix copyright notice, its copyright
- Novell not our hackers
-
- * gui/tasks-component.h: ditto
-
- * gui/calendar-component.c: ditto
-
- * gui/calendar-component.h: ditto
-
-2004-01-10 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (open_ecal): cast the views to E_CALENDAR_VIEW,
- not to E_CAL_VIEW.
-
-2004-01-10 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/notify-main.c: added missing headers.
-
- * gui/alarm-notify/alarm-notify.c (alarm_notify_remove_calendar):
- use the correct variable when calling alarm_queue_remove_client().
-
- * gui/calendar-component.c (impl_upgradeFromVersion): removed redundant
- variable declarations.
-
- * gui/migration.c (process_old_dir):
- * gui/e-timezone-entry.c (e_timezone_entry_mnemonic_activate):
- * gui/e-date-time-list.c (e_date_time_list_finalize):
- * gui/e-alarm-list.c (e_alarm_list_finalize): fixed warnings.
-
- * gui/e-calendar-table.c: added missing prototypes at the top to
- avoid warnings.
-
- * gui/e-week-view.c (e_week_view_scroll_a_step):
- * gui/e-day-view.c (e_day_view_event_move): directly return in the
- default: case.
-
- * gui/e-tasks.c (setup_widgets): connect to changes on the model.
- (model_row_changed_cb): callback to update the HTML detailed view
- when the currently selected task changes.
- (client_obj_updated_cb): removed unused function.
- (set_status_message): changed to accept a variable list of arguments.
- (e_tasks_add_todo_uri): display status messages and get error message
- from backend and display it in a dialog.
- (cal_opened_cb, load_error, method_error, permission_error): removed
- unused functions.
-
- * gui/gnome-cal.c (open_ecal): added a GnomeCalendar argument, and
- display status messages.
- (gnome_calendar_construct, gnome_calendar_add_event_source):
- adapted to changes in open_ecal().
-
-2004-01-10 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-queue.c (display_notification): keep
- all the tray icons we create in a list.
- (tray_icon_destroyed_cb): remove the tray icon data from the list.
- (popup_dismiss_cb, popup_dismiss_all_cb): implemented missing
- popup menu items.
-
-2004-01-09 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/calendar-component.c (new_calendar_cb): calendar_config ->
- calendar_setup.
- (edit_calendar_cb): Ditto.
- (impl_requestCreateItem): Ditto.
-
- * gui/tasks-component.c (new_task_list_cb): Use calendar_setup.
- (edit_task_list_cb): Implement properties callback.
- (rename_task_list_cb): Remove.
- (fill_popup_menu_cb): Remove "rename" and add "properties".
- (impl_requestCreateItem): Use calendar_setup.
-
- * gui/dialogs/Makefile.am (libcal_dialogs_la_SOURCES): calendar_config
- -> calendar_setup. Remove new-task-list.[ch].
- (glade_DATA): calendar_config -> calendar_setup. Remove
- new-task-list.glade.
-
- * gui/dialogs/new-task-list.[ch]: Remove.
-
- * gui/dialogs/calendar-config.[ch]: Rename to calendar-setup.[ch].
-
- * gui/dialogs/calendar-config.glade: Rename to calendar-setup.glade.
-
-2004-01-09 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-component.c (impl_upgradeFromVersion): make sure we
- sync the source list when appropriate
-
- * gui/tasks-component.c (impl_upgradeFromVersion): ditto
-
-2004-01-09 ERDI Gergo <cactus@cactus.rulez.org>
-
- * gui/calendar-component.c (impl_upgradeFromVersion): Create
- ESource for anniversaries
-
-2004-01-09 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/calendar-component.c (new_calendar_cb): Call
- calendar_config_new_calendar().
- (rename_calendar_cb): Remove.
- (edit_calendar_cb): Implement properties callback.
- (fill_popup_menu_cb): Add "Properties..." item and remove "Rename".
-
- * gui/dialogs/Makefile.am (libcal_dialogs_la_SOURCES): Add
- calendar-config.[ch] and remove new-calendar.[ch].
- (glade_DATA): Add calendar-config.glade and remove new-calendar.glade.
-
- * gui/dialogs/calendar-config.[ch]: Implement calendar creation and
- editing.
-
- * gui/dialogs/calendar-config.glade: Add GUI for above.
-
-2004-01-09 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.c (impl_upgradeFromVersion): return the
- corba values
-
- * gui/calendar-component.c (impl_upgradeFromVersion): ditto
-
-2004-01-09 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (impl_upgradeFromVersion): only migrate
- old calendars if migrating from <= 1.4.x.
-
- * gui/tasks-component.c (impl_upgradeFromVersion): ditto for tasks.
-
-2004-01-09 Andrew Wu <Yang.Wu@sun.com>
-
- * gui/e-cal-view.c (e_calendar_view_class_init):
- add a new signal "event_move" and its key binding.
-
- * gui/e-cal-view.h:
- add a new type "ECalViewMoveDirection".
- add a new virtual method "event_move" for ECalView.
-
- * gui/e-day-view.c
- (e_day_view_event_move), (e_day_view_change_event_time):
- Use "Alt + Arrow" to move a selected event through time lines
- or different days.
-
- * gui/e-day-view.h:
- add a new property "last_edited_comp_string" for EWeekView.
-
- * gui/e-week-view.c (e_week_view_class_init), (e_week_view_init),
- (e_week_view_reshape_events), (e_week_view_event_move),
- (e_week_view_get_day_offset_of_event), (e_week_view_scroll_a_step),
- (e_week_view_change_event_time), (e_week_view_do_key_press),
- (e_week_view_move_selection_day),
- (e_week_view_get_adjust_days_for_move_up),
- (e_week_view_get_adjust_days_for_move_down),
- (e_week_view_get_adjust_days_for_move_left),
- (e_week_view_get_adjust_days_for_move_right):
- Use "Alt + Arrow" to move a selected event through different days.
-
- * gui/e-week-view.h:
- add a new property "last_edited_comp_string" for EWeekView.
-
-2004-01-08 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-queue.c (display_notification): store
- the ECal's associated ECalView, and connect to its "objects_removed"
- signal.
- (notifiy_dialog_cb): disconnect signals from the ECalView, not the
- ECal.
- (on_dialog_objs_removed_cb): adapted to respond to "objects_removed"
- signal on ECalView. Made it destroy the tray bar icon also.
- (add_popup_menu_item): new function to create the popup items.
- (tray_icon_clicked_cb): remove connection to obsolete signal, and
- made it popup a menu on right-click.
- (popup_open_cb, popup_dismiss_cb, popup_dismiss_all_cb): callbacks
- for popup menu.
-
- * gui/gnome-cal.c (connect_week_view_focus): don't access the
- widget's private fields if NULL.
-
-2004-01-08 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/comp-editor.c (save_comp): moved the line that sets
- priv->updating to FALSE up some lines, to avoid getting callbacks
- with an incorrect value on it.
- (obj_modified_cb): check the UIDs of the objects we get passed to
- see if the one being edited is amongst them.
-
-2004-01-08 Kidd Wang <kidd.wang@sun.com>
-
- * gui/e-cal-view.h: delete the ECalViewMoveDirection type declaration
- which was added by mistake yesterday.
-
- * ChangeLog: add a missed entry for calender-commands.c.
-
-2004-01-07 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-queue.c (load_alarms): call e_cal_view_start
- to actually start the live query.
- (add_component_alarms): check the 'alarms' parameter before using it.
-
-2004-01-07 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-queue.c: added an ECalQuery for each loaded
- client.
- (load_alarms): use a live query to the calendar instead of calling
- e_cal_get_alarms_in_range().
- (alarm_queue_add_client): set query initially to NULL.
- (query_objects_changed_cb): renamed and made it manage both
- "objects_added" and "objects_modified" signals of ECalView.
- (query_objects_removed_cb): manage the "objects_removed" signal of
- ECalView.
- (alarm_queue_remove_client): unref the live query.
-
-2004-01-06 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_add_event_source): remove the
- item from the hash last and don't free its members because the
- hash table does that for us
-
-2004-01-06 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (impl_upgradeFromVersion): new
- method's implementation.
- (calendar_component_class_init): initialize new epv's member.
- (calendar_component_init): moved migration code to
- impl_upgradeFromVersion.
- (update_uri_for_primary_selection): fixed warning.
-
- * gui/tasks-component.c (impl_upgradeFromVersion): new
- method's implementation.
- (tasks_component_class_init): initialize new epv's member.
- (tasks_component_init): moved migration code to
- impl_upgradeFromVersion.
-
-2004-01-06 JP Rosevear <jpr@ximian.com>
-
- * gui/e-select-names-renderer.c (esnr_editing_done): disconnect
- the activated signal
-
-2004-01-06 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor.c (comp_editor_finalize): we don't put
- any signal handlers on the client or source client now, but we do
- on the view
- (real_set_e_cal): no signal handlers on the client
- (obj_modified_cb): we are guaranteed this is a signal for our
- component
- (obj_removed_cb): ditto
- (listen_for_changes): listen for changes on the object
- (save_comp): use above since the source_client changed
- (real_edit_comp): use above since the comp changed
-
-2004-01-06 JP Rosevear <jpr@ximian.com>
-
- * gui/e-select-names-renderer.c (esnr_activated): if we are
- de-activated, the editing is done
- (esnr_start_editing): listen for activated signal on the control
- frame
-
- Fixes #52196
-
-2004-01-06 Kidd Wang <kidd.wang@sun.com>
-
- * gui/e-calendar-table.[ch] (e_calendar_table_open_selected):
- open a dialog for the selected task.
- * gui/e-tasks.[ch] (e_tasks_open_task): ditto.
- * gui/tasks-control.c (tasks_control_sensitize_commands),
- (tasks_control_open_task_cmd): add a menu item for "Open Task".
- * gui/calender-commands.c: the event should also be allowed to open
- even when it's readonly.
-
-2004-01-05 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (open_ecal): new function to open ECal's, get any
- error information and display it to the user, all-in-one.
- (gnome_calendar_construct, gnome_calendar_add_event_source): use the
- above function, instead of e_cal_open().
- (open_error, method_error, permission_error): removed unneeded
- functions, we just display the error message returned from the
- backend.
-
-2004-01-05 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_construct): no need to connect to
- the "cal_opened" signal on the task client. Also, added code to
- add the client to the ECalendarTable's model.
- (client_cal_opened_cb, update_e_cal_view_timeout): removed unneeded
- function.
-
-2004-01-05 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_construct): display the tasks'
- primary selection in the task list, and actually open the tasks
- folder.
-
- * gui/e-tasks.c (e_tasks_set_default_uri): use the ECalModel to
- get the client for a given URI.
-
-2004-01-04 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (add_uri_for_source,
- remove_uri_for_source): removed redundant functions.
- (update_uris_for_selection): dont call above functions, use
- gnome_calendar_* directly.
-
-2003-12-29 Kidd Wang <kidd.wang@sun.com>
-
- * gui/calendar-commands.c (file_open_event_cb): add a menu item
- for "open appointment".
-
- * gui/e-cal-view.[ch] (e_calendar_view_open_event): add a signal
- "open_event" and bind it to "ctrl+o". When the signal is delivered,
- a dialog will be opened to edit the selected event.
-
- * gui/e-calendar-table.c (e_calendar_table_on_key_press): press "ctrl-o"
- to open a dialog.
-
-2003-12-24 JP Rosevear <jpr@ximian.com>
-
- * gui/e-select-names-renderer.c (esnr_start_editing): fix the
- signal name
-
- * gui/dialogs/meeting-page.glade: add Add Attendee button
-
- * gui/dialogs/meeting-page.c (get_widgets): extract add button
- (add_clicked_cb): edit the attendee after we add it
- (init_widgets): listen for add clicked
- (meeting_page_construct): the add button is in the glade file now
-
- * gui/e-select-names-editable.c (esne_start_editing): activate the
- control
- (e_select_names_editable_get_address): handle null dest
- (e_select_names_editable_get_name): ditto
-
- * gui/e-meeting-store.h: add proto
-
- * gui/e-meeting-store.c (e_meeting_store_find_attendee_path):
- create the path to a given attendee
-
- * gui/e-meeting-list-view.h: add proto
-
- * gui/e-meeting-list-view.c (e_meeting_list_view_edit): start
- editing the address of a particular
-
-2003-12-22 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.[ch] (gnome_calendar_add_event_source,
- gnome_calendar_remove_event_source): renamed from *_uri, to work with
- ESource's rather than with plain URIs.
- (gnome_calendar_set_default_source): ditto.
-
- * gui/control-factory.c (set_prop):
- * gui/calendar-component.c (add_uri_for_source, remove_uri_for_source,
- update_uri_for_primary_selection):
- use sources instead of uris with the GnomeCalendar widget.
-
-2003-12-22 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/save.c (get_saved_notification_time): if the setting
- is not in the config database, use the current time, to avoid getting
- hundreds of alarms for past events.
-
-2003-12-22 Rodrigo Moya <rodrigo@ximian.com>
-
- * common/authentication.[ch]: new files for managing interactive
- authentication with backends.
-
- * common/Makefile.am: build new private library.
-
- * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar):
- * gui/dialogs/event-page.c (source_changed_cb):
- * gui/dialogs/task-page.c (source_changed_cb):
- * gui/dialogs/copy-source-dialog.c (copy_source):
- * gui/calendar-component.c (setup_create_ecal):
- * gui/calendar-offline-handler.c (backend_go_offline,
- backend_go_online, calendar_offline_handler_init):
- * gui/comp-editor-factory.c (open_client):
- * gui/e-itip-control.c (start_calendar_server):
- * gui/e-tasks.c (e_tasks_add_todo_uri):
- * gui/gnome-cal.c (gnome_calendar_construct,
- gnome_calendar_add_event_uri):
- * gui/tasks-component.c (setup_create_ecal):
- * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn,
- gnome_calendar_import_data_fn): create the ECal's via the
- auth_new_cal_from* functions in the authentication module.
-
- * gui/alarm-notify/Makefile.am:
- * gui/Makefile.am:
- * importers/Makefile.am: link new private library.
-
- * Makefile.am: added new directory to the build.
-
-2003-12-21 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.[hc]: rewrite for new ecal api, cache all
- ecal's by type and minimize loading. Switch to using the source
- option menu
-
- * conduits/todo/todo-conduit.c (start_calendar_server): ditto
-
- * conduits/calendar/calendar-conduit.c (start_calendar_server):
- use ECalSourceType
-
- * importers/icalendar-importer.c (load_file_fn): ditto
- (vcal_load_file_fn): ditto
- (gnome_calendar_import_data_fn): ditto
-
- * gui/dialogs/task-page.c (source_changed_cb): ditto
-
- * gui/dialogs/event-page.c (source_changed_cb): ditto
-
- * gui/dialogs/copy-source-dialog.h: update proto
-
- * gui/dialogs/copy-source-dialog.c (copy_source_dialog): ditto
-
- * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): ditto
-
- * gui/tasks-component.c (copy_task_list_cb): ditto
- (setup_create_ecal): ditto
-
- * gui/gnome-cal.c (gnome_calendar_construct): ditto
- (gnome_calendar_add_event_uri): ditto
-
- * gui/e-tasks.c (e_tasks_add_todo_uri): ditto
-
- * gui/comp-editor-factory.c (open_client): ditto
-
- * gui/calendar-offline-handler.c (backend_go_offline): ditto
- (backend_go_online): ditto
- (calendar_offline_handler_init): ditto
-
- * gui/calendar-component.c (copy_calendar_cb): ditto
- (setup_create_ecal): ditto
-
- * gui/print.c (print_month_small): don't pass type to
- e_cal_generate_instances
- (print_day_details): ditto
- (print_week_summary): ditto
-
- * gui/tag-calendar.c (tag_calendar_by_client): ditto
-
-2003-12-19 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-control.c (tasks_control_sensitize_commands): make
- sure there is a ui container
-
- * gui/calendar-commands.c (calendar_control_sensitize_calendar_commands): ditto
-
- * gui/tasks-component.c (impl_createControls): update after the
- signals are connected so that the ecal's are actually loaded
-
- * gui/calendar-component.c: ditto
-
-2003-12-19 William Jon McCann <mccann@jhu.edu>
-
- * gui/dialogs/task-page.c (source_changed_cb):
- * gui/dialogs/send-comp.c (send_component_dialog):
- * gui/dialogs/save-comp.c (save_component_dialog):
- * gui/dialogs/recur-comp.c (recur_component_dialog):
- * gui/dialogs/event-page.c (source_changed_cb):
- * gui/dialogs/delete-error.c (delete_error_dialog):
- * gui/dialogs/delete-comp.c (delete_component_dialog):
- * gui/dialogs/changed-comp.c (changed_component_dialog):
- * gui/dialogs/cancel-comp.c (cancel_component_dialog):
- * gui/dialogs/alarm-options.glade:
- * gui/dialogs/alarm-page.glade:
- * gui/dialogs/cal-prefs-dialog.glade:
- * gui/dialogs/e-delegate-dialog.glade:
- * gui/dialogs/event-page.glade:
- * gui/dialogs/new-calendar.glade:
- * gui/dialogs/new-task-list.glade:
- * gui/dialogs/recurrence-page.glade:
- * gui/dialogs/task-details-page.glade:
- * gui/dialogs/task-page.glade:
- * gui/tasks-control.c (confirm_purge):
- * gui/tasks-component.c (delete_task_list_cb)
- (rename_task_list_cb, setup_create_ecal):
- * gui/goto-dialog.glade:
- * gui/e-cal-model-tasks.c (show_geo_warning):
- * gui/comp-editor-factory.c (cal_opened_cb):
- * gui/calendar-component.c (delete_calendar_cb)
- (rename_calendar_cb, setup_create_ecal, delete_calendar_cb):
- * gui/calendar-commands.c (purge_cmd):
- Remove separators from dialogs. Use frame style recommended
- by the HIG.
-
-2003-12-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/tasks-component.c (impl_createControls):
- * gui/calendar-component.c (impl_createControls): make sure we
- connect to the "changed" signals after setting the initial selections
- on the ESourceSelector. Fixes some nasty warnings because of
- calendar_control_sensitize_calendar_commands being called with
- no container yet for the control.
-
-2003-12-17 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/dialogs/comp-editor.c: Add the concept of a source client, where
- the object lives currently. The plain client is where it will be
- stored.
- (comp_editor_finalize): If we have a source client, disconnect from
- and unref it.
- (save_comp): Check if the object is being moved, and if so, remove it
- from the source client, and make the target client the new source.
- (comp_editor_append_page): Connect to client_changed signal.
- (real_set_e_cal): Change an old gtk_signal_disconnect_by_data() to
- the GLib equivalent, and don't cast ECal to GtkObject. If the source
- client is not set, make it equivalent to the target client.
- (page_client_changed_cb): Implement. Handles a client change.
-
- * gui/dialogs/comp-editor-page.c (comp_editor_page_class_init): Add
- a new signal, "client_changed", that notifies that the ECal client
- was changed from one of the editor pages.
- (comp_editor_page_set_e_cal): Fix two bugs in this function; if the
- same client is set twice, its ref count could drop to 0. Additionally,
- it was unreffing the new client instead of the old one.
- (comp_editor_page_notify_client_changed): Implement.
-
- * gui/dialogs/event-page.c (event_page_fill_widgets): Fill in the
- source menu.
- (get_widgets): Get the source menu.
- (source_changed_cb): Implement. Try to open a client for the new
- source, and if successful, notify of the change. Show a dialog on
- failure, and revert to last selected source.
- (init_widgets): Connect to source menu.
- (event_page_create_source_option_menu): Implement Glade helper.
-
- * gui/dialogs/task-page.c (task_page_fill_widgets): Fill in the source
- menu.
- (get_widgets): Get the source menu.
- (source_changed_cb): Implement, similar to the event page, but for
- tasks.
- (init_widgets): Connect to source menu.
- (task_page_construct): Fix a message booboo.
- (task_page_create_source_option_menu): Implement Glade helper.
-
- * gui/dialogs/event-page.glade: Add source menu widget.
-
- * gui/dialogs/task-page.glade: Add source menu widget.
-
-2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/tasks-component.c (add_popup_menu_item):
- * gui/calendar-component.c (add_popup_menu_item): use g_file_test
- to check if the 'pixmap' argument is a file. If so, get the pixmap
- from it, or gtk_image_new_from_stock will return an empty pixmap.
-
-2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (client_cal_opened_cb): set a correct status
- message.
-
- * gui/tasks-component.c (fill_popup_menu_cb):
- * gui/calendar-component.c (fill_popup_menu_cb): use the folder*.png
- icons for folder operations.
-
- * gui/Makefile.am: removed cal-client directory from $INCLUDES.
-
-2003-12-17 Harry Lu <harry.lu@sun.com>
-
- Fixes #51665.
-
- * gui/e-week-view.c: (e_week_view_focus): call
- e_week_view_check_layout() so that the spans won't be NULL.
-
-2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-commands.c: removed the 'NewCalendar' verb.
- (file_new_calendar_cb): removed callback for 'NewCalendar' verb.
-
- * gui/calendar-component.c: (impl__get_userCreatableItems): added
- 'New Calendar' to the list of user creatable items.
- (impl_requestCreateItem): implemented 'New Calendar'.
-
- * gui/tasks-component.c (impl__get_userCreatableItems): added
- 'New Task List' to the list of user creatable items.
- (impl_requestCreateItem): implemented 'New Task List'.
-
-2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/tasks-control.[ch] (tasks_control_sensitize_commands): made
- it public.
-
- * gui/tasks-component.c (update_uri_for_primary_selection): call
- tasks_control_sensitize_commands() when the primary selection
- changes.
-
-2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (update_uri_for_primary_selection): call
- calendar_control_sensitize_calendar_commands when the primary selection
- changes.
- (impl_createControls): keep the view_control in the private structure and
- use control_factory_new_control() to create the control.
- (control_activate_cb): removed unneeded function.
-
- * gui/tasks-component.c (impl_createControls): use tasks_control_new to
- create the tasks view control.
- (control_activate_cb): removed unneeded function.
-
- * gui/gnome-cal.c (gnome_calendar_add_event_uri): check the return
- value from e_cal_new_from_uri.
-
-2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-notify.c (alarm_notify_remove_calendar):
- make sure we free the data stored in the hash table.
- (alarm_notify_add_calendar): call alarm_queue_add_client, or we wont
- have alarms at all.
-
- * gui/alarm-notify/alarm-queue.c: no need to hold a ref count.
- (alarm_queue_add_client, alarm_queue_remove_client): don't use the
- refcount private member.
- (alarm_queue_add_client): don't connect to non-existing ECal signals.
- (display_notification, free_client_alarms_cb): fixed warnings.
-
-2003-12-16 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes part of #41237
-
- * gui/e-calendar-table.c: use GtkClipboard instead of GtkInvisible
- for cut/copy/paste.
- (selection_clear_event, selection_received, selection_get): removed
- unneeded functions.
- (e_calendar_table_init): don't create the invisible widget.
- (e_calendar_table_copy_clipboard): use gtk_clipboard_set_text().
- (e_calendar_table_paste_clipboard): use gtk_clipboard_request_text().
- (clipboard_get_text_cb): callback for gtk_clipboard_request_text().
-
- * gui/e-cal-view.c (e_calendar_view_init, e_calendar_view_destroy,
- e_calendar_view_copy_clipboard): no need anymore to keep the last
- clipboard selection, GtkClipboard does it for us.
-
-2003-12-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/notify-main.c (alarm_notify_factory_fn): return
- a reference to the alarm_notify_service, not NULL and ref the object
- before returning it.
-
-2003-12-15 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (setup_widgets): set the list view config
- properly (so we don't blow away the month view config
-
-2003-12-15 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (setup_widgets): set the calendar for the day
- view
-
-2003-12-14 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-component.c (impl_requestCreateItem): set a proper
- exception if we fail
-
-2003-12-14 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-config.c
- (calendar_config_get_hide_completed_tasks_units): make sure the
- string is non-null before strcmp'ing it
-
- Fixes #52033
-
-2003-12-10 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_add_event_uri): remove the client
- from the list if there are errors, instead of re-adding it again.
- Also, unref the ECal object on errors, for not leaking.
-
-2003-12-10 Bolian Yin <bolian.yin@sun.com>
-
- *gui/e-week-view.c: Fix a event/jump button tabbing bug
-
-2003-12-10 Harry Lu <harry.lu@sun.com>
-
- Fix for bugzilla bug #51628.
-
- * gui/weekday-picker.c: (weekday_picker_class_init): setup focus
- handler.
- (day_clicked): new function to set day_mask when mouse clicked
- or keyboard input of space/enter.
- (handle_key_press_event): new function to handle key press event.
- (day_event_cb): handle key press event too.
- (weekday_picker_init): set widget can be focused.
- (colorize_items): change the box's outline if it is focused.
- (weekday_picker_focus): new function to handler focus event.
-
-2003-12-09 Andrew Wu <Yang.Wu@sun.com>
-
- * gui/e-week-view-main-item.c (e_week_view_main_item_class_init): init a11y.
- * gui/e-week-view.c: emit signal "selected_time_changed".
-
-2003-12-08 Bolian Yin <bolian.yin@sun.com>
-
- * gui/e-day-view.c (e_day_view_on_editing_started): remove setting property of "handle_popup".
- * gui/e-week-view.c (e_week_view_on_editing_started): remove setting property of "handle_popup".
-
-2003-12-08 Carl Sun <carl.sun@sun.com>
-
- Fixes #46351
-
- * gui/e-timezone-entry.c (e_timezone_entry_mnemonic_activate):
- new function. override the member function of GtkWidget to handle
- nemonic_activate signal of custom class ETimezoneEntry.
-
-
-2003-12-08 Bolian Yin <bolian.yin@sun.com>
-
- * gui/gnome-cal.c (gnome_calendar_class_init): correct argument mismatch in "goto_date" signal definition.
-
-2003-12-05 Yong Sun <Yong.Sun@Sun.com>
-
- Fix for #51337
-
- * gui/dialogs/alarm-page.c
- Change raw string "Action/Trigger" to _("Action/Trigger")
- * gui/dialogs/recurrence-page.c
- Change raw string "Date/Time" to _("Date/Time")
-
-2003-12-04 Harry Lu <harry.lu@sun.com>
-
- Fix for bugzilla bug #51627.
-
- * gui/goto.c: (create_ecal): set calitem's move_selection_when_moving
- to FALSE so that changing month and year won't send out
- a "selection_changed" signal.
-
-2003-12-03 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/tasks-control.c (tasks_control_activate): Do not call
- control_util_set_folder_bar_label().
-
- * gui/e-calendar-table.c (e_calendar_table_set_status_message):
- Use e_activity_handler_operation_progressing(), not
- evolution_activity_client_update().
-
- * gui/e-cal-view.c: Remove settings menu.
- (on_settings): Remove.
-
- * gui/calendar-commands.c (get_shell_view_interface): Remove.
- (control_util_set_folder_bar_label): Remove.
- (calendar_set_folder_bar_label): Remove.
- (control_util_show_settings): Remove.
- (gcal_calendar_dates_change_cb): Remove.
- (calendar_control_activate): Do not connect, do not call
- calendar_set_folder_bar_label().
-
-2003-12-03 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_destroy): free the notification
- list
-
- * gui/tasks-component.c (impl_dispose): ditto
-
- * gui/calendar-component.c (impl_dispose): ditto
-
-2003-12-03 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.c (impl_dispose): free up the notifications
- and the ecal
- (config_create_ecal_changed_cb): clear the create_ecal if the
- primary selection changes
- (setup_create_ecal): find a default ecal to do creation with
- (impl_requestCreateItem): use above
-
-2003-12-03 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.c (rename_task_list_cb): cast the parent
- (impl_createControls): add notification for primary tasks
- (config_primary_selection_changed_cb): handle primary selection
- changing in gconf
-
- * gui/calendar-config-keys.h: fix config key for primary tasks
-
-2003-12-03 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-component.c (rename_calendar_cb): cast the parent
- (config_primary_selection_changed_cb): handle the primary
- selection changing elsewhere
- (impl_dispose): remove the list of notifications
- (impl_createControls): add primary calendar notification
- (config_create_ecal_changed_cb): clear create_ecal if the primary
- key changes
- (setup_create_ecal): find an ecal to use for creation
- (impl_requestCreateItem): use above
-
-2003-12-03 Ettore Perazzoli <ettore@ximian.com>
-
- * importers/icalendar-importer.c: Do not #include shell stuff.
-
- * gui/main.c: Do not #include <evolution-shell-client.h>.
-
- * gui/e-itip-control.c: Do not #include
- <e-folder-selector-button.h> nor <evolution-shell-client.h>.
- (start_default_server): Return FALSE.
- (default_server_started_cb): Do not connect the "selected" signal
- on the button since it's now NULL.
- (button_selected_cb): #if 0 out.
-
- * gui/e-cal-list-view.h: Do not #include
- "evolution-activity-client.h".
-
- * gui/tasks-component.c (impl_createControls): Give an empty label
- for the status bar.
-
- * gui/e-day-view.h: Remove all deps on evolution-activity-client.
-
-2003-12-02 Rodney Dawes <dobey@ximian.com>
-
- * gui/Makefile.am: Version the schemas
- * gui/apps_evolution_calendar.schemas: Removed
- * gui/apps_evolution_calendar.schemas.in.in: Added
-
-2003-12-02 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/copy-source-dialog.c (copy_source_dialog): added
- a label to the dialog to make it look less ugly.
-
-2003-12-02 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/copy-source-dialog.c: converted to use an
- ESourceOptionMenu instead of the ESourceSelector.
- (primary_selection_changed_cb): removed.
- (copy_source_dialog): create the ESourceOptionMenu here.
- (source_selected_cb): callback for the "source_selected"
- signal on the ESourceOptionMenu widget.
-
-2003-12-02 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/e-calendar-table.h (struct _ECalendarTable): Replace member
- "activity" with an "activity_id".
-
- * gui/e-cal-view.c (struct _ECalendarViewPrivate): Replace member
- "activity" with "activity_id".
- (e_calendar_view_destroy): Don't unref activity here anymore.
- (e_calendar_view_set_status_message): Report progress using the
- EActivityHandler off the CalendarComponent.
-
- * gui/calendar-component.c
- (struct _CalendarComponentPrivate): New member activity_handler.
- (calendar_component_init): Init.
- (calendar_component_peek_activity_handler): New.
- (impl_dispose): Unref.
- (impl_createControls): Return an ETaskBar for the statusbar
- control.
-
-2003-12-01 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/calendar-component.c (impl_createControls): Pass a label for
- the status bar control for now.
-
- * gui/tasks-component.c (impl_createControls): Pass a label for
- the status bar control for now.
-
-2003-12-01 Rodney Dawes <dobey@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.server.in.in:
- * gui/calendar-commands.c:
- * gui/e-meeting-list-view.c:
- * gui/e-meeting-model.c:
- * gui/e-select-names-editable.c:
- * gui/itip-bonobo-control.c:
- * gui/itip-utils.c:
- * gui/main.c:
- * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in:
- * gui/alarm-notify/alarm-queue.c:
- * gui/alarm-notify/notify-main.c:
- * gui/dialogs/alarm-options.c:
- * gui/dialogs/e-delegate-dialog.c:
- * importers/GNOME_Evolution_Calendar_Importer.server.in.in:
- * importers/main.c: Use BASE_VERSION for repo_ids and OAFIIDs
-
-2003-12-01 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/Makefile.am: put the conduits in their own dir
-
- * conduits/calendar/Makefile.am: ditto
-
- * conduits/todo/e-todo.conduit.in: subst in correct thing
-
- * conduits/calendar/e-calendar.conduit.in: ditto
-
-2003-12-01 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/Makefile.am: install to privlibdir
-
- * conduits/calendar/Makefile.am: ditto
-
- * conduits/todo/e-todo.conduit.in: subst in correct thing
-
- * conduits/calendar/e-calendar.conduit.in: subst in correct thing
-
-2003-12-01 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-notify.c (add_uri_to_load, remove_uri_to_load):
- removed unneeded functions.
- (alarm_notify_add_calendar, alarm_notify_remove_calendar): no need
- anymore to add/remove URIs to load on startup to the configuration.
-
-2003-12-01 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/save.c (save_calendars_to_load): removed this
- function, since we now use the ESourceList to know what calendars
- to load.
- (get_calendars_to_load): moved to config-data.c.
- (save_notification_time, get_saved_notification_time,
- save_blessed_program, is_blessed_program): use the
- shared GConfClient.
-
- * gui/alarm-notify/config-data.[ch]: use a GConfClient instead of a
- EConfigListener.
- (config_data_get_conf_client): renamed from _get_listener.
- (config_data_get_timezone, config_data_get_24_hour_format): changed
- to use the GConfClient.
- (config_data_get_calendars_to_load): new function.
- (ensure_inited): create the source lists for calendar and tasks here.
- (do_cleanup): cleanup the source lists here.
-
- * gui/alarm-notify/notify-main.c (load_calendars): use
- config_data_get_calendars_to_load().
-
-2003-11-28 JP Rosevear <jpr@ximian.com>
-
- * gui/e-tasks.c (e_tasks_delete_completed): we want to skip if it
- *is* read only
-
-2003-11-28 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-store.c (e_meeting_store_get_type): allocate the
- type information correctly
-
-2003-11-26 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/calendar-offline-handler.c (backend_go_offline): e_cal_new () ->
- e_cal_new_from_uri ().
- (backend_go_online): Ditto.
- (calendar_offline_handler_init): Ditto.
-
- * gui/comp-editor-factory.c (open_client): Ditto.
-
- * gui/e-itip-control.c (start_calendar_server): Ditto.
- (object_requested_cb): Ditto.
-
- * gui/e-tasks.c (e_tasks_add_todo_uri): Ditto.
-
- * gui/gnome-cal.c (gnome_calendar_construct): Ditto.
- (gnome_calendar_add_event_uri): Ditto.
-
- * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): Ditto.
-
- * importers/icalendar-importer.c (load_file_fn): Ditto.
- (vcal_load_file_fn): Ditto.
- (gnome_calendar_import_data_fn): Ditto.
-
- * gui/dialogs/copy-source-dialog.c (copy_source): Pass sources to
- e_cal_new ().
-
-2003-11-24 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/copy-source-dialog.c (copy_source): use the correct
- icalcomponent when calling e_cal_create_object.
-
- * gui/tasks-control.c (sensitize_commands): no need to have a
- selection for Paste to work.
-
- * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): disable
- editing items if the selected task list is read only, not if it's not.
-
-2003-11-24 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/new-task-list.glade:
- * gui/dialogs/new-task-list.[ch]: new files containing the
- implementation of the 'New Task List' dialog.
-
- * gui/dialogs/Makefile.am: added new files.
-
- * gui/dialogs/new-calendar.c (new_calendar_dialog): use G_STRLOC
- for g_warning messages.
-
- * gui/tasks-component.c (new_task_list_cb): implemented.
-
-2003-11-24 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/copy-source-dialog.c (copy_source_dialog): actually
- add the source selector to the dialog's box.
-
-2003-11-23 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/tasks-component.c:
- * gui/dialogs/copy-source-dialog.[ch]: fixed compilation errors.
-
- * gui/dialogs/Makefile.am: added missing header directories.
-
-2003-11-23 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/new-calendar.[ch]: fixed copyright notices.
-
- * gui/dialogs/copy-source-dialog.[ch]: implementation of the
- Copy command for sources.
-
- * gui/dialogs/Makefile.am: added new files.
-
- * gui/calendar-component.c (fill_popup_menu_cb, copy_calendar_cb):
- added Copy command.
-
- * gui/tasks-component.c (fill_popup_menu_cb, copy_task_list_cb):
- added Copy command.
-
-2003-11-23 Ross Burton <ross@burtonini.com>
-
- * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in:
- Append "_2" to the OAFIID to avoid conflicting with Evo 1.4.
-
- * gui/main.c:
- * gui/alarm-notify/notify-main.c:
- Updated with new OAFIID.
-
-2003-11-20 JP Rosevear <jpr@ximian.com>
-
- * Remove a bunch of gal includes that are no longer needed
-
-2003-11-19 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #43556
-
- * gui/e-cal-view.c (selection_get, selection_clear_event,
- selection_received): removed this unneeded functions.
- (e_calendar_view_init): don't create a GtkInvisible anymore.
- (e_calendar_view_destroy): no need to destroy the GtkInvisible.
- (e_cal_view_copy_clipboard, e_cal_view_paste_clipboard):
- use GtkClipboard.
-
-2003-11-19 JP Rosevear <jpr@ximian.com>
-
- * gui/e-cal-model-tasks.c (get_due): make sure timezone value is
- sane
- (get_completed): ditto
-
- * gui/e-cal-model.c (get_dtstart): add more guards
-
- * gui/e-cal-model-calendar.c (get_dtend): ditto
-
-2003-11-19 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #51052
-
- * importers/icalendar-importer.c (prepare_events, prepare_tasks):
- call icalcompiter_next to move the pointer to the next before
- removing a component avoid breaking the link.
-
-2003-11-18 JP Rosevear <jpr@ximian.com>
-
- * gui/e-cal-model.c (get_dtstart): make sure the timezone value is
- sane
-
- * gui/e-cal-model-calendar.c (get_dtend): ditto
-
-2003-11-18 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-config.h: add protos
-
- * gui/calendar-config.c (calendar_config_get_primary_calendar):
- get the primary calendar
- (calendar_config_set_primary_calendar): set it
- (calendar_config_add_notification_primary_calendar): set
- notifications for it
- (calendar_config_get_primary_tasks): get the primary task list
- (calendar_config_set_primary_tasks): set it
- (calendar_config_add_notification_primary_tasks): set
- notifications for it
-
- * gui/calendar-config-keys.h: add primary keys
-
- * gui/calendar-component.c (find_first_source): find any source
- (update_uri_for_primary_selection): set the default uri and save
- the source uid
- (update_primary_selection): set the primary selection
- (primary_source_selection_changed_cb): use above
- (impl_createControls): set the primary selection
-
- * gui/tasks-component.c: as above
-
-2003-11-18 JP Rosevear <jpr@ximian.com>
-
- * gui/Makefile.am: remove db3 include
-
-2003-11-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-commands.c
- (calendar_control_sensitize_calendar_commands,
- sensitize_taskpad_commands): removed the 'New...' menu items
- from the UI, it's now implemented in the shell.
- (file_new_appointment_cb, file_new_event_cb, file_new_meeting_cb,
- file_new_task_cb): removed.
-
-2003-11-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (add_popup_menu_item): added 'sensitive'
- argument.
- (fill_popup_menu_cb): disable/enable menu items depending on whether
- there is a selection or not.
-
- * gui/tasks-component.c (add_popup_menu_item, fill_popup_menu_cb):
- ditto.
-
-2003-11-17 JP Rosevear <jpr@ximian.com>
-
- * Cleanup some ref/unref calls
-
-2003-11-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (delete_calendar_cb, rename_calendar_cb):
- * gui/tasks-component.c (delete_task_list_cb, rename_task_list_cb):
- peek the primary selection.
-
-2003-11-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/tasks-component.c (fill_popup_menu_cb): added 'Delete' and
- 'Rename' menu items.
- (delete_task_list_cb, rename_task_list_cb): callbacks for new
- menu items.
-
-2003-11-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (add_popup_menu_item): try first to
- create the icon from the stock, and then from a file.
- (fill_popup_menu_cb): set callback for 'Rename' menu item.
- (rename_calendar_cb): callback for 'Rename' menu item.
- (new_calendar_cb): fixed arguments.
-
- * gui/tasks-component.c (impl_createControls): connect to
- "fill_popup_menu" signal on the source selector.
- (fill_popup_menu_cb): callback to create our menu items.
-
-2003-11-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * idl/evolution-calendar.idl: remove the AlarmNotify service, no
- more need for it, since the alarm daemon will listen for changes
- on the GConf key.
-
- * gui/gnome-cal.c (add_alarms): removed function to talk to the
- alarm daemon.
- (client_cal_opened_cb): don't call add_alarms().
-
- * gui/alarm-notify/alarm-notify.[ch]: made it a basic GObject.
- (AlarmNotify_addCalendar, AlarmNotify_removeCalendar): removed
- AlarmNotify interface implementation.
- (alarm_notify_class_init): no epv to initialize.
- (alarm_notify_remove_calendar): new function, copied from the
- CORBA method implementation.
- (alarm_notify_factory_fn): return NULL, since there is no objects
- that can be created via this factory now.
-
- * gui/alarm-notify/notify-main.c (main): now the factory is the alarm
- notification service itself.
- (load_calendars): no need to use exceptions here.
-
- * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in:
- now the factory is the alarm notification service itself.
-
- * gui/main.c (launch_alarm_daemon_cb): dont use the AlarmNotify CORBA
- types.
-
-2003-11-17 Harry Lu <harry.lu@sun.com>
-
- * gui/dialogs/recurrence-page.c (make_ending_count_special):
- Make ending count of occurrences of Recurrence tab numeric only.
-
-2003-11-16 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-control.c (tasks_control_set_property): add a uri
-
- * gui/e-tasks.c: kill e_tasks_open
-
- * gui/e-tasks.h: remove proto
-
-2003-11-16 JP Rosevear <jpr@ximian.com>
-
- * gui/e-cal-model.c (e_cal_view_objects_added_cb): emit the added
- signal for the correct rows
-
-2003-11-16 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.c (is_in_uids): copy in here
- (update_uris_for_selection): save the selection
- (update_selection): update the selection when its changed
- somewhere else
- (config_selection_changed_cb): update the selection if the
- configuration changes
- (impl_createControls): store the source selector
-
- * gui/calendar-config.h: add protos
-
- * gui/calendar-config.c (calendar_config_get_tasks_selected): get
- the list of task lists selected
- (calendar_config_set_tasks_selected): save it
- (calendar_config_add_notification_tasks_selected): get notified
- about it
-
-2003-11-16 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-component.c (add_uri_for_source): add it via e-tasks
- (remove_uri_for_source): remove it via e-tasks
- (get_default_task): provide a default for editing
- (impl_createControls): create the control directly
- (impl_requestCreateItem): implement
-
- * gui/gnome-cal.c (gnome_calendar_purge): don't let the two list
- iterators clobber each other
-
- * gui/e-tasks.h: add protos
-
- * gui/e-tasks.c (e_tasks_destroy): free the client list and the
- hash, disconnect signals
- (e_tasks_new_task): use the default client
- (e_tasks_add_todo_uri): add a uri
- (e_tasks_remove_todo_uri): remove a uri
- (e_tasks_set_default_uri): set default uri
- (e_tasks_get_default_client): get default client
- (e_tasks_delete_completed): expunge from all clients
- (e_tasks_setup_view_menus): use default client uri
-
- * gui/e-tasks.c (set_timezone): set the timezone for all clients
- (e_tasks_init): set up the clients has table
-
- * gui/e-calendar-table.etspec: yank some useless display columns
-
- * gui/e-cal-model.c (remove_client): remove objects in reverse
- order so we don't clobber ourselves
-
- * gui/calendar-component.c: add FIXME
-
-2003-11-16 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-component.c (get_default_event): set up a event to
- be edited
- (impl_requestCreateItem): implement
-
-2003-11-14 JP Rosevear <jpr@ximian.com>
-
- * gui/*.[hc]: include e-source* from e-d-s
-
-2003-11-14 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-config.c (calendar_config_get_calendars_selected):
- config accessor
- (calendar_config_set_calendars_selected): ditto
- (calendar_config_add_notification_calendars_selected): config
- notification
-
- * gui/calendar-config.h: add protos
-
- * gui/calendar-config-keys.h: add new key
-
- * gui/calendar-component.c (is_in_uids): util function
- (update_uris_for_selection): save the selection in the
- configuration
- (update_selection): update the selection from the config info
- (source_selection_changed_cb): only pass one param
- (config_selection_changed_cb): listen for config changes
- (impl_dispose): remove config notification
- (impl_createControls): use bonobo_exception_set; add a config
- notification
-
-2003-11-13 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/tasks-component.c (impl__get_userCreatableItems): New.
- (impl_requestCreateItem): New.
- (tasks_component_class_init): Install.
-
- * gui/calendar-component.c (impl__get_userCreatableItems): New.
- (impl_requestCreateItem): New, for now just a stub.
- (calendar_component_class_init): Install into the EPV.
-
-2003-11-13 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.server.in.in: Add a component_alias
- of "calendar" for the calendar and "tasks" for the tasks.
-
-2003-11-12 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/calendar-component.c (add_popup_menu_item): Use non-deprecated
- gtk_menu_shell_append ().
-
-2003-11-11 Bolian Yin <bolian.yin@sun.com>
-
- Fixes #50808
-
- * gui/goto.c (goto_dialog): set initial selection to current day.
-
-2003-11-11 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-offline-handler.c (backend_cal_opened_offline): use
- a standard calendar status
- (backend_cal_opened_online): ditto
-
- * gui/alarm-notify/alarm-queue.c (cal_opened_cb): ditto
-
- * gui/gnome-cal.c (client_cal_opened_cb): ditto
-
- * gui/e-tasks.c (cal_opened_cb): ditto
-
- * gui/e-itip-control.c (default_server_started_cb): ditto
-
- * gui/e-cal-model.c (cal_opened_cb): ditto
-
- * gui/comp-editor-factory.c (cal_opened_cb): ditto
-
-2003-11-11 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/todo-conduit.c (start_calendar_server): load the
- calendar synchronously
-
- * conduits/calendar/calendar-conduit.c (start_calendar_server): ditto
-
-2003-11-10 JP Rosevear <jpr@ximian.com>
-
- * importers/icalendar-importer.c (update_single_object): return
- boolean not ECalStatus
- (update_objects): ditto
- (process_item_fn): handle above returns
-
-2003-11-10 JP Rosevear <jpr@ximian.com>
-
- * gui/e-cal-model-tasks.c (get_due_status): just check the boolean
-
-2003-11-10 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c
- (e_calendar_context_destroy): use proper change list free function
- name
- (post_sync): ditto
-
- * conduits/todo/todo-conduit.c: same
-
-2003-11-10 Dan Winship <danw@ximian.com>
-
- * gui/e-tasks.c (e_tasks_delete_completed): Remove get-vtype check
- from the completed-tasks query (and don't leak the sexp string).
-
- * gui/e-cal-model.c (update_e_cal_view_for_client): Don't adjust
- the sexp to use get-vtype.
-
- * gui/gnome-cal.c (adjust_e_cal_view_sexp, gnome_calendar_purge):
- Remove get-vtype check from queries
-
-2003-11-07 JP Rosevear <jpr@ximian.com>
-
- * gui/Makefile.am: remove includes for toplevel libical dir
-
- * gui/dialogs/Makefile.am: ditto
-
- * importers/Makefile.am: ditto
-
-2003-11-07 JP Rosevear <jpr@ximian.com>
-
- * In the gui this is a search and replace commit for moving the
- calendar to evolution-data-server; it also deletes the old backend
- files; e-cal-view was rename to e-calendar-view to remove name
- conflict
-
-2003-11-05 JP Rosevear <jpr@ximian.com>
-
- * gui/migration.c: fix typo
-
-2003-11-05 Larry Ewing <lewing@ximian.com>
-
- * gui/migration.c (process_old_dir): add a unimplemented warning
- so we at least avoid relocation errors.
-
-2003-11-04 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (fill_popup_menu_callback): added more
- menu items.
- (delete_calendar_cb): callbacks for new popup menu items.
- (impl_createControls): add the source selector widget to the
- CalendarComponentPrivate structure.
-
- * gui/migration.[ch] (migrate_old_tasks): new function to migrate
- old tasks setups.
- (process_old_dir): renamed and added a "filename" argument, so that
- the same function can be used for tasks and calendar directories.
- (migrate_old_calendars): added new argument when calling
- process_old_dir().
-
- * gui/tasks-component.c (tasks_component_init): call
- migrate_old_tasks() if there are no groups defined.
-
-2003-11-04 Bolian Yin <bolian.yin@sun.com>
-
- * gui/e-cal-view.c: add new signal "selected_time_changed"
- * gui/e-day-view-main-item.c (e_day_view_main_item_class_init):
- a11y initialization
- * gui/e-day-view-top-item (e_day_view_top_item_get_day_label):
- new public function.
- * gui/e-day-view.c (e_day_view_ensure_rows_visible,
- e_day_view_update_calendar_selection_time): make static functions public
- (e_day_view_cursor_key_up, e_day_view_cursor_key_down,
- e_day_view_cursor_key_left, e_day_view_cursor_key_right): emit
- "selected_time_changed".
-
-2003-11-03 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/e-meeting-model.c (SELECT_NAMES_OAFID): Append "_2".
- * gui/e-select-names-editable.c (SELECT_NAMES_OAFIID): Likewise.
- * gui/e-meeting-list-view.c (SELECT_NAMES_OAFID): Likewise.
- * gui/dialogs/alarm-options.c (SELECT_NAMES_OAFID): Likewise.
- * gui/dialogs/e-delegate-dialog.c (SELECT_NAMES_OAFID): Likewise
-
-2003-11-03 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.server.in.in: use
- "evolution2:config_item" properties instead of
- "evolution:config_item" ones.
-
-2003-11-03 Harry Lu <harry.lu@sun.com>
-
- Fix for #50387.
-
- * importers/icalendar-importer.c (support_format_fn):
- Call icalcomponent_is_valid() to check whether the returned
- icalcomponent is valid.
-
-2003-10-31 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/calendar-component.c (calendar_component_init): Add the webcal
- source group.
-
- * gui/dialogs/new-calendar.c (print_uri_noproto): Implement.
- (group_is_remote): Implement.
- (create_new_source_with_group): Implement webcal case.
- (new_calendar_dialog): Get optional location from dialog.
-
- * gui/dialogs/new-calendar.glade: Add location entry.
-
- * pcs/Makefile.am: Build http backend.
-
- * pcs/cal-backend-http.[ch]: Add skeleton based on cal-backend-file.
-
-2003-10-31 Dan Winship <danw@ximian.com>
-
- * cal-util/cal-util.h: Add CAL_STATIC_CAPABILITY_NO_THISANDFUTURE
- and CAL_STATIC_CAPABILITY_NO_THISANDPRIOR
-
- * gui/dialogs/recur-comp.c (recur_component_dialog): Add a
- CalClient argument. Use cal_client_get_static_capability to decide
- whether or not to offer THISANDFUTURE and THISANDPRIOR options
-
- * gui/dialogs/comp-editor.c (prompt_to_save_changes, save_cmd,
- save_close_cmd): Pass a CalClient to recur_component_dialog.
-
- * gui/e-day-view.c (e_day_view_finish_long_event_resize,
- e_day_view_finish_resize, e_day_view_on_editing_stopped,
- e_day_view_on_top_canvas_drag_data_received,
- e_day_view_on_main_canvas_drag_data_received): Likewise
-
- * gui/e-week-view.c (e_week_view_on_editing_stopped): Likewise
-
- * gui/calendar-component.c (impl_createControls): set an exception
- if we fail, so evo won't crash.
-
-2003-10-31 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): fixed
- mismatched condition in if/else statement.
-
-2003-10-30 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-tasks.[ch] (e_tasks_get_cal_client): removed.
-
- * gui/tasks-control.c (sensitize_commands): fixed to work correctly
- with the ECalView's model.
- (tasks_control_set_property): don't use e_tasks_get_cal_client.
-
- * gui/alarm-notify/alarm-notify.c (free_client_hash): new function
- to remove items from the CalClient's hash table.
- (alarm_notify_finalize): call free_client_hash() for each item
- in the hash table.
-
-2003-10-30 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/notify-main.c (client_die_cb): use
- bonobo_main_quit, not gtk_main_quit.
-
- * gui/alarm-notify/alarm-queue.c (free_client_alarms_cb): callback
- for freeing ClientAlarms stored in the hash table.
- (alarm_queue_done): call free_client_alarms_cb() for each opened
- client.
-
-2003-10-30 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-file.c (mark_dirty, save_idle): removed, since
- we dont save the file anymore in idle callbacks.
- (cal_backend_file_dispose): removed all traces of the idle saving.
- (check_dup_uid, create_cal, cal_backend_file_add_timezone,
- cal_backend_file_create_object, cal_backend_file_modify_object,
- cal_backend_file_remove_object, cal_backend_file_receive_objects):
- call save() directly instead of mark_dirty().
-
-2003-10-30 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-file.c (cal_backend_file_modify_object):
- implemented THIS and ALL recurrences cases, blowing away or detaching
- recurrences from the main component as required.
- (get_rid_string): make it return const.
- (get_rid_timetype): new convenience function for getting
- libical's recurrence ID from a CalComponent.
- (cal_backend_file_is_read_only, remove_recurrence_cb,
- remove_component): fixed warnings.
- (remove_object_instance_cb): callback to remove the instances
- from the hash on the THISANDPRIOR and THISANDFUTURE cases.
- (cal_backend_file_remove_object): replaced mismatched if/else
- statement with proper management of each of the recurrence cases.
-
-2003-10-29 JP Rosevear <jpr@ximian.com>
-
- * gui/Makefile.am: build new files
-
- * gui/dialogs/comp-editor-util.c (date_edit_destroy_cb): unref the
- config manager
- (comp_editor_new_date_edit): set up a config manager for the date
- editor
-
- * gui/e-date-edit-config.[hc]: config manager for e-date-edit
-
-2003-10-29 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.c (update_config): no need to
- update config settings everywhere explicitly
-
- * gui/tasks-component.c (update_uris_for_selection): cast the
- widget
-
- * gui/gnome-cal.h: remove proto
-
- * gui/gnome-cal.c (setup_widgets): don't update config settings
- explicitly
- (gnome_calendar_update_config_settings): kill
-
- * gui/e-week-view.c: remove null chars
-
- * gui/e-tasks.h: remove proto
-
- * gui/e-tasks.c (set_timezone): set the timezone on the client
- (timezone_changed_cb): changed timezone callback
- (setup_config): setup config stuff
- (e_tasks_init): setup config and widgets here
- (e_tasks_new): construct is dead, no need to track all widgets
- (cal_opened_cb): set the timezone upon opening
- (e_tasks_update_all_config_settings): kill
-
- * gui/control-factory.c (control_factory_new_control): create the
- calendar ourselves
-
- * gui/calendar-config.c (on_timezone_set): don't update the
- settings everywhere here, we have config managers now
-
- * gui/calendar-component.c (impl_createControls): create the
- calendar ourselves
-
- * gui/calendar-commands.h: remove protos
-
- * gui/calendar-commands.c: remove dead functions
-
-2003-10-29 JP Rosevear <jpr@ximian.com>
-
- * gui/e-day-view-config.c (set_twentyfour_hour): set the format on
- the cal view
-
- * gui/e-week-view-config.c (set_twentyfour_hour): ditto
-
- * gui/e-cal-list-view-config.c (set_twentyfour_hour): set the 24
- hour format on the view
- (twentyfour_hour_changed_cb): 24 hour format change callback
- (e_cal_list_view_config_set_view): handle 24 hour format changes
-
-2003-10-29 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/recurrence-page.c (recurrence_page_finalize): unref
- config manager
- (init_widgets): create config manager for the e-calendar
-
- * gui/e-tasks.c (setup_widgets): create config manager for the
- table view
- (e_tasks_destroy): unref config manager
- (e_tasks_open): return FALSE not NULL
- (e_tasks_update_all_config_settings): don't configure the calendar
- table here, we have a manager
-
- * gui/calendar-config.c: remove dead config functions (handled by
- config managers now)
-
-2003-10-29 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (set_timezone): set the timezone for all clients
- (timezone_changed_cb): callback for changes
- (setup_config): setup the configuration
- (setup_widgets): setup up configuration managers for the list
- view, task list and date navigator
- (gnome_calendar_init): setup config
- (gnome_calendar_destroy): destroy configuration managers and
- notifications
- (gnome_calendar_update_config_settings): remove dead bits
-
- * gui/e-mini-calendar-config.[hc]: manage configuration of an
- e-calendar
-
- * gui/e-day-view-config.h: remove extraneous comment, type the
- parent class correctly
-
- * gui/e-week-view-config.h: ditto
-
- * gui/e-day-view-config.c (e_day_view_config_class_init): type the
- class correctly
- (set_timezone): set timezone
- (timezone_changed_cb): timezone changed callback
- (e_day_view_config_set_view): track timezone changes
-
- * gui/e-week-view-config.c: ditto
-
- * gui/e-cell-date-edit-config.[hc]: manage configuration of a date
- edit cell
-
- * gui/e-calendar-table-config.[hc]: manage configuration of a
- e-calendar-table
-
- * gui/e-cal-list-view.c (get_current_time_cb): use the view
- timezone to compute
-
- * gui/e-cal-list-view-config.[hc]: manage configuration of a
- list view
-
- * gui/calendar-config.h: update protos
-
- * gui/calendar-config.c
- (calendar_config_add_notification_timezone): notify of timezone
- change
- (calendar_config_add_notification_dnav_show_week_no): notify of
- show week number setting change
-
- * gui/calendar-component.c (calendar_component_peek): remove bad
- comma
-
- * gui/Makefile.am: build new config classes
-
-2003-10-29 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (fill_popup_menu_callback): fixed
- typo in menu item label.
-
- * gui/e-cal-model.[ch] (e_cal_model_get_use_24_hour_format): new
- function.
-
- * gui/e-cal-view.[ch]: no need to keep the 'use_24_hour' setting,
- it's already in the model.
- (e_cal_view_get_use_24_hour_format,
- e_cal_view_set_use_24_hour_format): new functions.
-
- * gui/e-day-view.[ch] (e_day_view_get_24_hour_format,
- (e_day_view_set_24_hour_format): removed.
- (e_day_view_convert_time_to_display, e_day_view_update_event_label,
- e_day_view_get_time_string_width): use the ECalView's function to
- get the 24 hour format.
-
- * gui/e-week-view.[ch] (e_week_view_get_24_hour_format,
- e_week_view_set_24_hour_format): removed.
- (e_week_view_convert_time_to_display,
- e_week_view_get_time_string_width): use the ECalView's function
- to get the 24 hour format.
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
- * gui/e-day-view-time-item.c (e_day_view_time_item_draw):
- * gui/e-week-view-event-item.c (e_week_view_draw_time):
- don't use the view's use_24_hour_format, but the ECalView method.
-
-2003-10-28 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (impl_createControls): connect to
- "fill_popup_menu" on the ESourceSelector.
- (fill_popup_menu_callback): add popup menu items here.
- (add_popup_menu_item): new function to add items to the
- popup menu.
- (new_calendar_cb): callbacks for the popup menu items.
-
-2003-10-28 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-view.c: no need to keep the timezone here, it is
- already stored in the model.
- (e_cal_view_get_timezone): call e_cal_model_get_timezone().
- (e_cal_view_set_timezone): call e_cal_model_set_timezone().
- (e_cal_view_new_appointment_for): use the model's timezone.
-
-2003-10-27 Dan Winship <danw@ximian.com>
-
- * pcs/cal-backend.c (cal_backend_notify_object_created,
- cal_backend_notify_object_modified,
- cal_backend_notify_object_removed): New; tell each query about a
- created/modified/removed object.
-
- * pcs/cal.c (cal_notify_object_created): Use
- cal_backend_notify_object_created.
- (cal_notify_object_modified, cal_notify_object_removed): Likewise
- for modified/removed
- (cal_notify_objects_received): we need both the before and after
- forms for the modified objects so they can be resolved as
- adds/modifies/removes per-query. But the caller can just call the
- cal_backend_* routines for each object anyway, so just remove the
- created/modified/removed lists.
-
- * pcs/cal-backend-sync.c (cal_backend_sync_receive_objects):
- Remove created/modified/removed list arguments.
- (_cal_backend_receive_objects): Likewise.
-
- * pcs/cal-backend-file.c (cal_backend_file_receive_objects):
- Remove created/modified/removed list arguments. Replace the one
- use of *removed with a call to cal_backend_notify_object_removed.
-
-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
-
-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.
-
-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.
-
-2003-10-24 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/tasks-component.c (tasks_component_init): initialize private
- structure on TasksComponent.
-
-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.
-
-2003-10-24 Dan Winship <danw@ximian.com>
-
- * 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
-
- * 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
-
-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.
-
-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
-
-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.
-
-2003-10-23 <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
-
-2003-10-23 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.c: accept also text/calendar for D&D.
-
-2003-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
-
-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
-
-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.
-
-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
-
-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
-
-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.
-
-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
-
-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.
-
-2003-10-22 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.server.in.in: Add an
- "evolution:button_icon" attribute.
-
-2003-10-22 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.server.in.in: Add an
- "evoution:button_sort_order" attribute.
-
-2003-10-22 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/calendar-component.c (impl_createControls): Make the
- scrolled window have a GTK_SHADOW_IN shadow.
- * gui/dialogs/meeting-page.c (meeting_page_construct): Likewise.
-
-2003-10-22 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/calendar-component.c (impl_createControls): Set the
- scrollbar policy to "automatic" for both the horizontal and
- vertical scrollbars around the source selector.
-
-2003-10-22 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.server.in.in: Add an
- "evolution:button_label" property on the component for use in the
- shell.
-
-2003-10-21 Rodney Dawes <dobey@ximian.com>
-
- * cal-client/Makefile.am: Fix typo in libcal_client_la_SOURCES
-
-2003-10-21 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (calendar_component_init): fixed
- a leak caused by only freeing 'base_uri' in some cases.
-
-2003-10-21 JP Rosevear <jpr@ximian.com>
-
- * gui/control-factory.c (get_prop): fix parse error
- (set_prop): gnome_calendar_open was renamed
-
- * conduits/todo/todo-conduit.c (start_calendar_server): adapt to
- the cal_client_new changes and the lack of a default calendar
- routine
- (pre_sync): don't have to pass a type for the default object any
- more
-
- * conduits/calendar/calendar-conduit.c (start_calendar_server):
- adapt to the cal_client_new changes and the lack of a default
- calendar routine
- (pre_sync): don't have to pass a type for the default object any
- more
-
- * cal-client/cal-client.c (cal_client_open_async): add FIXME
- comment
-
-2003-10-21 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-file.c: store recurrences per object.
- (free_object): free correctly the CalBackendFileObject's
- contained in 'priv->comp_uid_hash'.
- (lookup_component, check_dup_uid, add_component, remove_component,
- match_object_sexp):
- adapted to changes in comp_uid_hash.
-
-2003-10-20 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.[ch] (gnome_calendar_add_event_uri): renamed
- from gnome_calendar_open.
-
- * gui/calendar-component.c (load_uri_for_source): call
- gnome_calendar_add_event_uri instead of setting the URI property on
- the Bonobo control.
-
-2003-10-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/migration.c (process_calendar_dir): process subfolders.
-
-2003-10-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/migration.[ch] (migrate_old_calendars): new function.
-
- * gui/calendar-component.c (calendar_component_init): call
- the above function to migrate from old setups.
-
- * gui/Makefile.am: added new files.
-
-2003-10-17 Jeffrey Stedfast <fejj@ximian.com>
-
- * conduits/calendar/Makefile.am: Fixed for libical build changes.
-
- * conduits/todo/Makefile.am: Same.
-
-2003-10-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-view.c (on_print): call
- e_cal_view_get_visible_time_range, not the gnome_calendar_
- version.
- (e_cal_view_new_appointment_for, e_cal_view_new_appointment,
- e_cal_view_edit_appointment): new functions.
-
- * gui/gnome-cal.[ch] (gnome_calendar_new_appointment_for,
- gnome_calendar_new_appointment, gnome_calendar_edit_object):
- removed these functions, now available in e-cal-view.
-
- * gui/calendar-commands.c:
- * gui/e-day-view.c:
- * gui/e-week-view-event-item.c:
- * gui/e-week-view.c: replaced calls to gnome_calendar_* with
- e_cal_view_* equivalents.
-
-2003-10-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-view.[ch] (e_cal_view_get_default_category):
- (e_cal_view_set_default_category): new functions.
- (e_cal_view_destroy): free the default_category field.
-
- * gui/e-day-view.[ch] (e_day_view_set_default_category):
- removed obsolete function.
- (e_day_view_init, e_day_view_destroy, e_day_view_do_key_press):
- use the ECalView's default_category.
-
- * gui/e-week-view.[ch] (e_week_view_set_default_category):
- removed obsolete function.
- (e_week_view_init, e_week_view_destroy, e_week_view_do_key_press):
- use the ECalView's default_category.
-
- * gui/gnome-cal.c (gnome_calendar_set_query): set the query
- also on the list view by using the priv->views array.
- (search_bar_category_changed_cb, gnome_calendar_set_default_client):
- use the priv->views array.
- (gnome_calendar_get_calendar_model): return the model for the
- current view widget.
- (gnome_calendar_open): removed tasks opening code.
-
-2003-10-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/new-calendar.c (new_calendar_dialog): if the user
- presses Cancel, just terminate.
-
-2003-10-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (calendar_component_init): create
- directories for the newly-created calendars.
-
- * gui/dialogs/new-calendar.c (create_new_source_with_group): use
- e_mkdir_hier instead of mkdir.
-
-2003-10-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-component.c (calendar_component_init): if no groups
- are present in the configuration, create the "On This Computer"
- group and the "Personal" and "Work" calendars on it.
-
- * gui/dialogs/new-calendar.c (new_calendar_dialog): moved the
- source creation...
- (create_new_source_with_group): ...here, and made the code create
- the directory for the new calendar.
-
-2003-10-15 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-select-names-editable.c (e_selct_names_editable_get_address):
- EDestination -> EABDestination.
-
- * gui/gnome-cal.c (setup_widgets): evolution_dir -> ".evolution".
-
-2003-10-15 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-select-names-editable.c (e_select_names_editable_get_address):
- use EABDestination instead of EDestination.
-
- * gui/gnome-cal.c (gnome_calendar_open): disabled tasks opening code.
-
-2003-10-15 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-meeting-list-view.c: adapted to new addressbook API.
-
- * gui/e-meeting-store.c: adapted to new addressbook API.
- (find_zone): fixed usage of icalcomponent where an icalproperty
- is expected.
- (refresh_busy_periods): fixed call to cal_client_get_free_busy().
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
- added missing variable.
-
-2003-10-15 Jeffrey Stedfast <fejj@ximian.com>
-
- * gui/dialogs/meeting-page.c: #include <gal/e-table/e-table.h>
-
-2003-10-15 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-meeting-list-view.c (start_addressbook_server):
- updated to new addressbook API.
- (book_open_cb): removed unneeded function, since we load
- the local addressbook synchronously.
-
-2003-10-15 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/Makefile.am: added missing header directories.
-
- * pcs/cal-factory.h: include <libical/ical.h>, not <ical.h>.
-
- * gui/dialogs/meeting-page.c: added missing headers.
- (meeting_page_construct): free 'backend_address' as returned
- by cal_client_get_cal_address(). Removed code to create the
- meeting model's ETable not removed with the merge.
-
- * gui/e-meeting-list-view.c: updated addressbook headers.
-
- * gui/gnome-cal.h: added missing ',' in the GnomeCalendarViewType
- enum.
-
-2003-10-14 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.c (e_day_view_update_query): dont set status
- messages here, already set in e_cal_view_update_query.
- (update_query): removed this function.
- (e_day_view_recalc_day_starts): call e_day_view_update_query,
- not update_query.
-
- * gui/e-week-view.c (e_week_view_update_query): dont set status
- messages here, already set in e_cal_view_update_query.
-
- * gui/gnome-cal.c (adjust_query_for_view): new function to adjust
- the query for the visible time range on a given view.
- (gnome_calendar_set_query): call adjust_query_for_view for each
- one of the views.
-
-2003-10-14 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-view.c (e_cal_view_init): connect to signals on the
- model we create here, so that we get notifications for changes.
-
- * gui/gnome-cal.c (gnome_calendar_set_query): set the query
- on all models.
- (gnome_calendar_open): update the date navigator query.
-
-2003-10-14 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal.c (cal_notify_timezone_requested): never send NULL
- strings to ORBit.
-
- * gui/e-cal-view.c (e_cal_view_create_popup_menu): removed
- unneeded variables. Also, fixed a typo that was making the
- menu options be disabled when they should be enabled.
-
-2003-10-13 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-model.[ch] (e_cal_model_get_client_for_uri): new function.
-
- * gui/gnome-cal.[ch] (gnome_calendar_set_default_client): new function.
-
- * gui/calendar-component.c (primary_source_selection_changed_callback):
- set the default client on the calendar view to be the primary
- selection on the source list.
-
-2003-10-13 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/new-calendar.c (new_calendar_dialog): set a default group
- on the calendar group option menu and create the source if all checks
- are passed.
-
-2003-10-12 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/new-calendar.c (new_calendar_dialog): set up widgets
- loaded from the Glade file.
-
-2003-10-10 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/Makefile.am (etspec_DATA): Add e-cal-list-view.etspec.
- (libevolution_calendar_la_SOURCES): Add e-cal-list-view.[ch].
-
- * gui/calendar-commands.c (show_list_view_clicked): Implement.
- (calendar_get_text_for_folder_bar_label): Add case for list view.
- Use month case and tweak it so it doesn't show "%d - %d" if the
- time span contains only one day.
- (verbs): Add list view.
- (pixmaps): Add list view.
-
- * gui/calendar-view-factory.c (calendar_view_factory_get_title):
- Add list view case.
- (calendar_view_factory_get_type_code): Add list view case.
-
- * gui/control-factory.c (get_prop): Add list view case.
-
- * gui/e-cal-model.c (get_classification): Fix to conform to updated
- libical.
- (ecm_set_value_at): Add missing break statements.
- (ecm_get_color_for_component): Add braces for clarity.
-
- * gui/gnome-cal.c (gnome_calendar_get_current_view_widget): Add
- list view case.
- (get_focus_location): Add list view case.
- (connect_list_view_focus): Implement.
- (setup_widgets): Set up list view.
- (gnome_calendar_direction): Add list view case.
- (set_view): Add list view case.
- (gnome_calendar_setup_view_menus): Add list view factory.
- (gnome_calendar_construct): Account for list view.
- (gnome_calendar_update_config_settings): Account for list view.
- (get_days_shown): Implement list view case.
-
- * gui/gnome-cal.h (GnomeCalendarViewType): Add list view.
-
- * gui/e-cal-list-view.[ch]: Implement ECalListView, subclassing
- ECalView.
-
-2003-10-10 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/new-calendar.[ch]: added new widget, which implements
- the dialog to create new calendars.
-
- * gui/dialogs/new-calendar.glade: basic mockup of the dialog.
-
- * gui/dialogs/Makefile.am: added new files.
-
- * gui/calendar-commands.c (file_new_calendar_cb): open the new calendar
- dialog to allow user to create a new cal.
-
-2003-10-10 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/control-factory.c (calendar_properties_init): pass the
- BonoboControl to get_prop/set_prop.
- (get_prop): obtain the GnomeCalendar from the control.
- (set_prop): ditto, and when the URI property is changed,
- sensitize the UI as approppriate.
-
- * gui/calendar-commands.c (calendar_control_sensitize_calendar_commands):
- made this function public.
-
- * gui/calendar-commands.h: added new prototype.
-
-2003-10-10 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-commands.c (file_new_calendar_cb,
- file_new_appointment_cb, file_new_event_cb, file_new_meeting_cb,
- file_new_task_cb): callbacks for "New..." verbs.
- (sensitize_calendar_commands): sensitize new verbs, and made it
- sensitize correctly based on the set of clients currently loaded.
- (sensitize_taskpad_commands): likewise.
-
-2003-10-09 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-cal-model.c (get_classification): Adapt to libical API changes.
- (ecm_set_value_at): Break after each case, so we don't set the passed value
- in more than one field.
-
-2003-10-09 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-view.c (e_cal_view_delete_selected_occurrence):
- * cal-client/cal-client.c (cal_client_remove_object): added missing
- argument when calling cal_client_remove_object_with_mod().
-
-2003-10-09 Rodrigo Moya <rodrigo@ximian.com>
-
- * idl/evolution-calendar.idl: added missing 'rid' argument to the
- removeObject method.
-
- * cal-client/cal-client.c (cal_client_remove_object_with_mod):
- * pcs/cal-backend.h:
- * pcs/cal-backend.c (cal_backend_remove_object):
- * pcs/cal-backend-sync.h:
- * pcs/cal-backend-sync.c (cal_backend_sync_remove_object,
- _cal_backend_remove_object):
- * pcs/cal-backend-file.c (cal_backend_file_remove_object):
- * pcs/cal.c (impl_cal_removeObject): adapted to changes in IDL.
-
-2003-10-09 Jeffrey Stedfast <fejj@ximian.com>
-
- * cal-client/Makefile.am: INCLUDE path fixes for changes made to
- libical build.
-
- * cal-util/Makefile.am: INCLUDE path fixes for changes made to
- libical build.
-
- * cal-util/*.[c,h]: #include <libical/ical.h> instead of <ical.h>
-
- * gui/Makefile.am: INCLUDE path fixes for changes made to libical
- build.
-
- * gui/*.[c,h]: #include <libical/ical.h> instead of <ical.h>
-
- * gui/alarm-notify/Makefile.am: INCLUDE path fixes for changes
- made to libical build.
-
- * gui/alarm-notify/config-data.h: #include <libical/ical.h>
- instead of <ical.h>
-
- * gui/dialogs/Makefile.am: INCLUDE path fixes for changes made to
- libical build.
-
- * gui/dialogs/comp-editor-util.c: #include <libical/ical.h>
- instead of <ical.h>
-
- * gui/dialogs/e-delegate-dialog.c: #include <libical/ical.h>
- instead of <ical.h>
-
- * importers/Makefile.am: INCLUDE path fixes for changes made to
- libical build.
-
- * pcs/Makefile.am: INCLUDE path fixes for changes made to libical
- build.
-
- * pcs/cal.c: #include <libical/ical.h> instead of <ical.h>
-
-2003-10-08 Harry Lu <harry.lu@sun.com>
-
- * gui/dialogs/alarm-options.glade: Make repeat-quantity and
- repeat-value of alarm option dialog numeric only.
-
- * gui/dialogs/task-details-page.glade: Make percent-complete of
- task details dialog numeric only.
-
-2003-10-08 Chris Toshok <toshok@ximian.com>
-
- * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct):
- EDestination => EABDestination, and e_destination =>
- eab_destination.
- (e_delegate_dialog_get_delegate): same.
- (e_delegate_dialog_get_delegate_name): same.
-
- * gui/dialogs/comp-editor-util.c: remove unnecessary #include of
- e-destination.h.
-
- * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets):
- EDestination => EABDestination, and e_destination =>
- eab_destination.
- (malarm_widgets_to_alarm): same.
-
- * gui/e-meeting-model.c (book_open_cb): track change to error
- return codes.
- (start_addressbook_server): use
- e_book_async_get_default_addressbook.
- (contacts_cb): rename cursor_cb to this, as we no longer get
- passed a cursur, and we don't need to check the email address
- since the query is now "is" instead of "contains".
- (refresh_busy_periods): use an "is" query, and use
- e_book_async_get_contacts instead of getting a CardCursor.
- (process_section): this takes an EABDestination** instead of a
- SimpleCardList*, which is gone.
- (select_names_ok_cb): get "destinations" instead of
- "simple_card_list".
-
-2003-10-08 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client.c (cal_client_is_read_only): fixed
- documentation comments.
-
- * gui/calendar-commands.c (sensitize_calendar_commands): figure
- out read-only menu items to disable based on the currently
- selected object's CalClient.
-
-2003-10-08 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client.c: set better error m,essages on the
- E_CALENDAR_CHECK_STATUS macro.
- (cal_client_get_error_message): new function.
-
- * cal-client/cal-client.h: added new prototype.
-
- * gui/dialogs/comp-editor.c (save_comp): use the GError argument
- for the cal_client_create/_modify_object calls, and display the
- error message coming from the backend.
-
- * gui/comp-util.c (cal_comp_is_on_server): likewise.
-
-2003-10-07 Dan Winship <danw@ximian.com>
-
- * idl/evolution-calendar.idl (getDefaultObject): Remove the "type"
- arg; the backend knows what type it is
-
- * pcs/cal.c (impl_Cal_getDefaultObject): Likewise
-
- * pcs/cal-backend.c (cal_backend_get_default_object): Likewise
-
- * pcs/cal-backend-sync.c (cal_backend_sync_get_default_object,
- _cal_backend_get_default_object): Likewise
-
- * pcs/cal-backend-file.c (cal_backend_file_get_default_object):
- Likewise. (Use cal_backend_get_kind() instead.)
-
- * cal-client/cal-client.c (cal_client_get_default_object):
- Likewise
-
- * gui/comp-util.c (cal_comp_event_new_with_defaults,
- cal_comp_task_new_with_defaults): Update calls to
- cal_client_get_default_object().
-
- * pcs/cal-backend-sync.c (_cal_backend_get_static_capabilities):
- Use the right cal notification
-
-2003-10-07 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-model.c (e_cal_model_create_component_with_defaults):
- dont clone NULL icalcomponent's.
-
-2003-10-07 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-model.c (e_cal_model_get_default_client): make sure we
- always return a default client, if possible, since we rely on having
- a default client in many places.
-
- * gui/e-day-view.c (e_day_view_do_key_press): dont create event if
- e_cal_model_create_component_with_defaults returns NULL.
-
- * gui/e-week-view.c (e_week_view_do_key_press): dont create event if
- e_cal_model_create_component_with_defaults returns NULL.
-
-2003-10-06 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-model.c (e_cal_model_create_component_with_defaults):
- make sure the component has always an UID.
-
- * gui/e-day-view.c (e_day_view_find_event_from_uid):
- * gui/e-week-view.c (e_week_view_find_event_from_uid): check
- pointers passed to strcmp().
-
-2003-10-06 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_open): added missing call to
- cal_client_open().
-
- * cal-client/cal-client.c (cal_client_new): fixed documentation
- comments.
- (cal_client_open): emit CAL_OPENED signal with appropriate status codes.
- (open_sync): dont emit CAL_OPENED signal, it's already emitted in
- cal_client_open().
-
-2003-10-06 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/comp-editor-factory.c (open_client):
- * gui/gnome-cal.c (gnome_calendar_open, gnome_calendar_construct):
- * gui/calendar-offline-handler.c (backend_go_offline, backend_go_online,
- calendar_offline_handler_init): adapted to changes in cal_client and
- manage GError's returned by cal_client_open.
-
- * gui/e-itip-control.c: dont run anymore sub event loops.
- (start_calendar_server): use synchronous interface for opening calendars.
- (start_default_server): renamed it from *_async.
- (start_calendar_server_cb): removed unneeded function.
- (object_requested_cb): use sync interface.
-
- * gui/e-tasks.c (e_tasks_construct): dont create the CalClient here.
- (e_tasks_open): do it here, where we've got all the info needed.
-
- * importers/icalendar-importer.c (update_single_object): killed warning.
- (ical_importer_new, vcal_importer_new): don't create CalClient's here.
- (load_file_fn): create them here.
- (vcal_load_file_fn): and here.
- (gnome_calendar_import_data_fn): fixed usage of cal_client_*.
-
- * */*: integrated JP's changes for synchronous open's in cal_client
- and one model per view instead of one model for all views.
-
-2003-10-02 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client.c (cal_client_modify_object): return FALSE
- if the icalcomponent is NULL.
-
- * gui/e-day-view.c (e_day_view_finish_resize): commit sequence on
- CalComponent after changing start/end dates.
-
-2003-10-01 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.c (process_component):
- * gui/e-week-view.c (process_component): expand recurrences here.
-
-2003-09-30 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-file.c (match_recurrence_sexp): removed.
- (match_object_sexp): dont expand recurrences here.
-
-2003-09-30 Mike Kestner <mkestner@ximian.com>
-
- * cal-util/cal-util-marshal.list : new VOID:STRING,STRING,STRING
- * gui/Makefile.am : build the new view/store/renderer/editable
- * gui/e-select-names-renderer.* : new completion cell renderer
- * gui/e-select-names-editable.* : new completion cell editable
- * gui/e-meeting-model.* : killed. code reused in list-view/store
- * gui/e-meeting-store.* : port of EMeetingModel to GtkTreeModel
- * gui/e-meeting-list-view.* : GtkTreeView subclass for attendee lists
- * gui/e-meeting-time-sel.c : Use the new store/view
- * gui/e-meeting-time-sel-item.c : Use the new store/view
- * gui/dialogs/Makefile.am : don't install the etspec anymore.
- * gui/dialogs/event-editor.c : Use the new store/view.
- * gui/dialogs/meeting-page.c : Use the new store/view.
- * gui/dialogs/shedule-page.c : Use the new store/view.
- * gui/dialogs/task-editor.c : Use the new store/view.
-
-2003-09-29 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/Makefile.am: link to libical-evolution
-
- * conduits/calendar/Makefile.am: ditto
-
-2003-09-26 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend.c (cal_backend_class_init): remove cal_added
- signal
-
-2003-09-26 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal.h: add protos
-
- * pcs/cal.c (cal_get_backend): accessor
- (cal_get_listener): ditto
-
- * pcs/cal-factory.c (impl_CalFactory_getCal): update to new
- routine name
-
- * pcs/cal-backend.h: add protos
-
- * pcs/cal-backend.c (cal_backend_init): init client mutex
- (cal_backend_finalize): destroy client mutex
- (cal_destroy_cb): just remove the client
- (listener_died_cb): remove the client, the listener died so it
- can't really do anything
- (last_client_gone): signal the last client gone
- (cal_backend_add_client): add a client with locking and listen for
- the death of the listener
- (cal_backend_remove_client): remove client
-
-2003-09-26 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-sync.c (_cal_backend_create_object): only free the
- returned UID if it's not NULL.
-
- * pcs/cal.c (cal_notify_object_created): dont send NULL strings to
- ORBit code.
-
-2003-09-26 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/comp-util.c (cal_comp_is_on_server): free the icalcomponent
- returned from cal_client_get_object, and return TRUE if we find
- the component on the backend.
-
- * gui/e-day-view.c (process_component):
- * gui/e-week-view.c (process_component): added missing case, so that
- we also display recurrent meetings starting before the time range and
- ending after the time range.
-
- * cal-client/cal-listener.c (impl_notifyReadOnly): pass the
- 'read_only' argument to the signal callback correctly (a gboolean
- not a 'gboolean *').
-
- * gui/comp-editor-factory.c (resolve_pending_requests): removed
- the g_assert on 'oc->pending != NULL', since there are now cases
- (local calendar) where we get to call this function (cal_opened_cb)
- with no pending requests yet.
-
-2003-09-25 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-commands.c (publish_freebusy_cmd): adapt to new
- get_free_busy api
-
- * conduits/calendar/calendar-conduit.c (post_sync): ditto
- (pre_sync): ditto
-
- * conduits/todo/todo-conduit.c (pre_sync): ditto
- (post_sync): ditto
-
- * gui/e-meeting-model.c (refresh_busy_periods): ditto
-
- * gui/e-itip-control.c (send_freebusy): ditto
-
- * gui/e-cal-view.c (on_publish): ditto
-
- * cal-client/cal-listener.h: add signals
-
- * cal-client/cal-listener.c (build_change_list): move here from
- cal-client.c
- (impl_notifyChanges): implement
- (build_free_busy_list): util to create the GList of free busy
- objects
- (impl_notifyFreeBusy): implement
- (cal_listener_class_init): set free busy and changes epv methods,
- add signals
-
- * cal-client/cal-client.h: update protos
-
- * cal-client/cal-client.c (cal_get_changes_cb): get changes call
- back
- (cal_get_free_busy_cb): get free busy call back
- (cal_client_init): listen for free busy and changes signals
- (cal_client_get_changes): convert to new threaded sync api
- (cal_client_get_free_busy): ditto
-
- * pcs/cal.h: add protos
-
- * pcs/cal.c: remove dead type conversion function
- (impl_Cal_getChanges): implement by just calling, no return stuff
- (impl_Cal_getFreeBusy): ditto
- (cal_notify_changes): do getChanges callback
- (cal_notify_free_busy): do getFreeBusy callback
-
- * pcs/cal-backend.h: update protos, vmethods
-
- * pcs/cal-backend.c (cal_backend_get_free_busy): call through
- (cal_backend_get_changes): ditto
-
- * pcs/cal-backend-sync.h: add vmethods, protos
-
- * pcs/cal-backend-sync.c (cal_backend_sync_get_changes): call
- through
- (cal_backend_sync_get_free_busy): ditto
- (_cal_backend_get_changes): backend implementation, notify
- (_cal_backend_get_free_busy): ditto
- (cal_backend_sync_class_init): set free busy and changes
- implementations
-
- * pcs/cal-backend-file.c (cal_backend_file_get_free_busy): convert
- to sync backend method
- (cal_backend_file_compute_changes_foreach_key): remove from the
- hash here
- (cal_backend_file_compute_changes): no need to build the sequence
- here
- (cal_backend_file_get_changes): convert to sync backend method
- (cal_backend_file_class_init): set sync backend methods for free
- busy and changes
-
- * idl/evolution-calendar.idl: convert getChanges and getFreeBusy
- to new async api
-
-2003-09-25 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend.h: remove dead result enums
-
- * pcs/cal-backend.c: fix comments
-
- * idl/evolution-calendar.idl: remove dead exceptions
-
-2003-09-25 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal.c (cal_notify_default_object): send back the empty
- string if the object is NULL
- (cal_notify_object): ditto
-
-2003-09-25 JP Rosevear <jpr@ximian.com>
-
- * gui/comp-editor-factory.c (edit_existing): convert to api
- changes
-
- * conduits/todo/todo-conduit.c (local_record_from_uid): ditto
- (pre_sync): ditto
-
- * conduits/calendar/calendar-conduit.c (local_record_from_uid):
- ditto
- (pre_sync): ditto
-
- * importers/icalendar-importer.c (update_single_object): ditto
-
- * gui/dialogs/comp-editor.c (obj_updated_cb): ditto
-
- * gui/e-itip-control.c (get_real_item): ditto
- (find_server): ditto
-
- * gui/comp-util.c (cal_comp_is_on_server): ditto
- (cal_comp_event_new_with_defaults): ditto
- (cal_comp_task_new_with_defaults): ditto
-
- * cal-client/cal-listener.h: add signals
-
- * cal-client/cal-listener.c (impl_notifyDefaultObjectRequested):
- implement
- (impl_notifyObjectRequested): ditto
- (cal_listener_class_init): set above epv implementations, add signals
-
- * cal-client/cal-client.h: update protos
-
- * cal-client/cal-client.c (cal_default_object_requested_cb): get
- default object callback
- (cal_object_requested_cb): get object callback
- (cal_client_init): listen for get and get default object signals
- (cal_client_get_default_object): convert to new sync api
- (cal_client_get_object): ditto
-
- * pcs/cal.h: add protos
-
- * pcs/cal.c (impl_Cal_getDefaultObject): just call the backend, it
- does the notification now
- (impl_Cal_getObject): ditto
- (cal_notify_default_object): do getDefaultObject response
- (cal_notify_object): do getObject response
-
- * pcs/cal-backend.h: remove vmethods, protos
-
- * pcs/cal-backend.c: remove a couple of dead functions
- (cal_backend_class_init): get_object_component is no longer a
- vmethod
- (cal_backend_get_default_object): call through
- (cal_backend_get_object): ditto
-
- * pcs/cal-backend-sync.h: add protos, vmethods
-
- * pcs/cal-backend-sync.c (cal_backend_sync_get_default_object):
- call through
- (cal_backend_sync_get_object): ditto
- (_cal_backend_discard_alarm): pass correct params to
- cal_notify_discard_alarm
- (_cal_backend_get_default_object): call through and notify
- (_cal_backend_get_object): ditto
- (cal_backend_sync_class_init): set backend implementations
-
- * pcs/cal-backend-file.c (cal_backend_file_get_default_object):
- convert to sync backend method
- (cal_backend_file_get_object): ditto
- (cal_backend_file_compute_changes_foreach_key): just look up the
- component rather than using the backend vmethod
- (cal_backend_file_remove_object): return valid sync status codes
- (cal_backend_file_class_init): move get_object, get_default_object
- to sync class
-
- * idl/evolution-calendar.idl: convert getObject and
- getDefaultObject to new async idl
-
-2003-09-25 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal.c (impl_Cal_discardAlarm): just call the backend
- function, it does the notification
- (cal_notify_alarm_discarded): notify of discard alarm call
-
- * pcs/cal-backend.h: update proto
-
- * pcs/cal-backend.c (cal_backend_discard_alarm): call through
-
- * pcs/cal-backend-sync.h: add proto, vmethod
-
- * pcs/cal-backend-sync.c (cal_backend_sync_discard_alarm): call
- through
- (_cal_backend_discard_alarm): call through and notify
- (cal_backend_sync_class_init): set discard alarm implementation
-
- * pcs/cal-backend-file.c (cal_backend_file_discard_alarm): match
- sync backend vmethod
- (cal_backend_file_class_init): set alarm vmethod implementation
-
- * idl/evolution-calendar.idl: switch discardAlarm to new api
-
- * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): match new
- api
-
- * cal-client/cal-listener.h: add signal
-
- * cal-client/cal-listener.c (impl_notifyAlarmDiscarded): implement
- (cal_listener_class_init): add alarm, send, receive epv functions,
- alarm signal
-
- * cal-client/cal-client.h: update proto
-
- * cal-client/cal-client.c (cal_alarm_discarded_cb): discardAlarm
- callback
- (cal_client_init): listen to discard alarm signal
- (cal_client_discard_alarm): implement with new threaded sync api
-
-2003-09-25 JP Rosevear <jpr@ximian.com>
-
- * idl/evolution-calendar.idl: remove unused user exceptions
-
-2003-09-24 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-util.[ch] (cal_backend_util_fill_alarm_instances_seq):
- removed unneeded function.
-
-2003-09-24 JP Rosevear <jpr@ximian.com>
-
- * conduits/*/*.c: adjust to new timezone api calls
-
- * gui/*.c: ditto
-
- * gui/dialogs/*.c: ditto
-
- * cal-client/cal-listener.h: add new signals
-
- * cal-client/cal-listener.c (convert_status): convert invalid
- object as well
- (impl_notifyTimezoneRequested): implement
- (impl_notifyDefaultTimezoneSet): ditto
- (cal_listener_class_init): set epv implementations for timezone
- functions
- (cal_listener_class_init): create timezone response signals
-
- * cal-client/cal-client.h: update protos
-
- * cal-client/cal-client.c: fix return values all over the place
- (cal_get_timezone_cb): getTimezone response
- (cal_query_cb): setDefaultTimezone response
- (cal_client_init): listen for new response signals
- (cal_client_get_timezone): implement using new thread sync api
- (cal_client_ensure_timezone_on_server): use add timezone call
- (cal_client_set_default_timezone): oimplement using new thread sync
- api
-
- * cal-client/cal-client-types.h: add invalid object status code
-
- * idl/evolution-calendar.idl: getQuery no longer raises any user
- exceptions, remove dead types and exceptions
-
-2003-09-24 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal.h: new protos
-
- * pcs/cal.c (impl_Cal_getTimezone): call backend implementation
- (impl_Cal_addTimezone): ditto
- (impl_Cal_setDefaultTimezone): ditto
- (cal_class_init): set epv implementations of timezone functions
- (cal_notify_timezone_requested): notify of get timezone response
- (cal_notify_default_timezone_set): notify of default timezone
- being set
-
- * pcs/cal-backend.h: new vmethods, protos
-
- * pcs/cal-backend.c (cal_backend_class_init): init new timezone
- vmethods
- (cal_backend_get_timezone): call through
- (cal_backend_set_default_timezone): ditto
- (cal_backend_add_timezone): ditto
- (cal_backend_internal_get_default_timezone): ditto
- (cal_backend_internal_get_timezone): ditto
-
- * pcs/cal-backend-sync.h: add vmethods, protos
-
- * pcs/cal-backend-sync.c (cal_backend_sync_get_timezone): call
- through
- (cal_backend_sync_set_default_timezone): ditto
- (_cal_backend_set_default_timezone): call through and notify
- (_cal_backend_get_timezone): ditto
- (cal_backend_sync_class_init): set backend implementations for new
- funcs
-
- * pcs/cal-backend-object-sexp.c (func_occur_in_time_range): get
- time_t values based on the zone
-
- * pcs/cal-backend-file.c: reorg so we don't have to prototype
- everything
- (cal_backend_file_get_timezone): implement the sync backend way
- (cal_backend_file_add_timezone): ditto
- (cal_backend_file_set_default_timezone): ditto
- (cal_backend_file_internal_get_default_timezone): internal method,
- for sexp comparison
- (cal_backend_file_internal_get_timezone): ditto
-
- * idl/evolution-calendar.idl: convert timezone routines to async
- api
-
-2003-09-23 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-object-sexp.c (func_occur_in_time_range): dont expand
- recurrences, since they are supposed to be expanded in the backends.
- (instance_occur_cb, resolve_tzid): removed unneeded functions.
-
- * pcs/cal-backend-file.c (cal_backend_file_add_timezone): guard against
- adding the timezone if it's already there.
-
-2003-09-23 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal.c (cal_notify_object_created): notify with the object,
- not the uid
-
- * gui/e-cal-model.c (add_new_client): don't listen for
- non-existent signal
-
-2003-09-23 JP Rosevear <jpr@ximian.com>
-
- * cal-client/cal-client.h: remove dead proto
-
-2003-09-23 JP Rosevear <jpr@ximian.com>
-
- * cal-client/cal-client.h: remove send result enum
-
- * gui/itip-utils.c (comp_server_send): use the new send_objects
- routine
-
-2003-09-23 JP Rosevear <jpr@ximian.com>
-
- * cal-client/cal-client.h: remove send result enum
-
-2003-09-23 JP Rosevear <jpr@ximian.com>
-
- * cal-client/cal-client.h: remove enum, protos
-
- * cal-client/cal-client.c: remove remove status enum typing
-
-2003-09-23 Rodrigo Moya <rodrigo@ximian.com>
-
- * importers/icalendar-importer.c (update_objects): new function
- to manage the update of components, taking into account
- VTIMEZONE components.
- (process_item_fn, gnome_calendar_import_data_fn): use
- update_objects instead of cal_client_update_objects.
-
-2003-09-23 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal.h: update proto
-
- * pcs/cal.c (impl_Cal_addTimezone): just call add_timezone, it
- does the notification
- (cal_notify_object_created): only notify the query if the object
- matches
- (cal_notify_object_removed): ditto
-
- * pcs/cal-backend.h: update proto, vmethod
-
- * pcs/cal-backend.c (cal_backend_add_timezone): returns void
-
- * pcs/cal-backend-sync.h: update proto, vmethod
-
- * pcs/cal-backend-sync.c (cal_backend_sync_remove_object): add the
- object as an out param
- (_cal_backend_remove_object): get the object and pass it in the
- notification
-
- * pcs/cal-backend-file.c (cal_backend_file_create_object): kill
- cal_backend_file_update_objects call, its more efficient to create
- the comp ourselves; stamp the creation time, add the component to
- the toplevel
- (cal_backend_file_modify_object): kill the
- cal_backend_file_update_objects call, add the component to the
- toplevel
- (cal_backend_file_remove_object): pass back the object when
- removing
-
-2003-09-23 JP Rosevear <jpr@ximian.com>
-
- * cal-client/cal-query.c (cal_query_finalize): disconnect the
- signal handlers
-
- * cal-client/cal-client.c (cal_client_get_query): unref the
- listener when done
-
-2003-09-23 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-cal-view.c (selection_received): add VTIMEZONE components
- contained in the clipboard data to the backend.
-
-2003-09-22 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor.c (save_comp): modify and create instead
- of update, simplify mod code
-
-2003-09-22 JP Rosevear <jpr@ximian.com>
-
- * gui/e-day-view.c (e_day_view_finish_long_event_resize): modify
- the object instead of update, simplify the instance handling
- (e_day_view_finish_resize): ditto
- (e_day_view_on_top_canvas_drag_data_received): ditto
- (e_day_view_on_main_canvas_drag_data_received): ditto
-
-2003-09-22 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client.c (cal_client_get_alarms_in_range): use
- 'has-alarms' function in the search expression.
-
- * pcs/cal-backend-object-sexp.c (func_has_alarms): new SExp function.
-
-2003-09-22 JP Rosevear <jpr@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_editing_stopped): create the
- object if its not on the server or modify it if it is
-
- * gui/e-week-view.c (e_week_view_on_editing_stopped): we return if
- there is no text and it *not* on the server
-
-2003-09-22 JP Rosevear <jpr@ximian.com>
-
- * gui/e-week-view.c (e_week_view_on_editing_stopped): create the
- object if its not on the server or modify it if it is
-
-2003-09-22 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.h: remove proto
-
- * gui/gnome-cal.c: remove gnome_calendar_unrecur_selection
-
- * gui/e-week-view.h: remove proto
-
- * gui/e-week-view.c: remove e_week_view_unrecur_appointment
-
- * gui/e-day-view.h: remove proto
-
- * gui/e-day-view.c: remove e_day_view_unrecur_appointment
-
- * gui/e-cal-view.c: remove on_unrecur_appointment (this is handled
- better via recurrence id's now)
-
-2003-09-22 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (update_attendee_status): ifdef out, leave
- temporarily for reference, but otherwise it shouldn't be needed
- (update_item): switch to using receive objects
- (ok_clicked_cb): update item when receiving a reply
-
- * gui/e-calendar-table.c (selection_received): switch to using
- create object from update_objects
-
- * gui/e-cal-view.c (selection_received_add_event): util routine to
- prevent duplication
- (selection_received): use above
-
- * gui/e-cal-model.c (ecm_set_value_at): switch to using modify
- object from update_objects
- (ecm_append_row): switch to using create object from
- update_objects
-
- * gui/e-cal-model-calendar.c (ecmc_set_value_at): switch to using
- modify object from update_objects
-
- * gui/e-cal-model-tasks.c (ecmt_set_value_at): ditto
-
-2003-09-22 Hans Petter Jansson <hpj@ximian.com>
-
- * cal-util/Makefile.am (libical_util_la_LIBADD):
- libical.la -> libical-evolution.la
-
- * importers/Makefile.am (libevolution_calendar_importers_la_LIBADD):
- libicalvcal.la -> libicalvcal-evolution.la
-
-
-2003-09-19 Rodrigo Moya <rodrigo@ximian.com>
-
- * idl/evolution-calendar.idl: removed getAlarmsInRange and
- getAlarmsForObject methods.
-
- * pcs/cal.c (impl_Cal_getAlarmsInRange, impl_Cal_getAlarmsForObject):
- removed unneeded CORBA methods.
- (cal_class_init): dont set removed methods in the epv.
-
- * pcs/cal-backend.[ch]: removed get_alarms_in_range and
- get_alarms_for_object virtual methods.
- (cal_backend_get_alarms_in_range, cal_backend_get_alarms_for_object):
- removed.
- (cal_backend_class_init): dont set removed virtual methods.
-
- * pcs/cal-backend-file.c (cal_backend_file_get_alarms_in_range,
- cal_backend_file_get_alarms_for_object): removed.
- (cal_backend_file_class_init): dont set removed virtual methods.
-
-2003-09-19 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client.c (cal_client_get_alarms_in_range): changed
- to use queries.
- (build_component_alarms_list): create the alarm list from a list
- of iCalendar strings.
- (build_alarm_instance_list): removed.
- (cal_client_get_alarms_for_object): dont call the CORBA methods,
- just get alarms by itself.
-
-2003-09-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-listener.[ch]: added "add_timezone" signal.
- (impl_notifyTimezoneAdded): implemented new CalListener method.
- (cal_listener_class_init): create "add_timezone" signal for the class.
-
- * cal-client/cal-client.[ch] (cal_client_add_timezone): new function.
- (cal_client_init): connect to "add_timezone" signal on the
- CalListener.
- (cal_add_timezone_cb): callback for the "add_timezone" signal.
-
-2003-09-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * idl/evolution-calendar.idl: added 'notifyTimezoneAdded' method
- to the Calendar::Listener interface.
-
- * pcs/cal-backend-sync.[ch] (cal_backend_sync_add_timezone):
- (_cal_backend_add_timezone): new functions for the new virtual
- method implementation.
-
- * pcs/cal.[ch] (cal_notify_timezone_added): new function.
-
- * pcs/cal-backend-file.c (cal_backend_add_timezone): converted to
- return a CalBackendSyncStatus.
- (cal_backend_file_class_init): the 'add_timezone' method we implement
- is the one in the CalBackendSync class.
- (cancel_receive_object): added missing 'return'.
- (free_cal_component): removed unused function.
-
-2003-09-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-file.c (cal_backend_add_timezone): added new
- virtual method implementation.
-
- * pcs/cal.c (impl_Cal_addTimezone): check return value from
- cal_backend_add_timezone, and set an exception if an error is
- returned.
-
-2003-09-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * idl/evolution-calendar.idl: added addTimezone method.
-
- * pcs/cal.c (impl_Cal_addTimezone): implemented new method.
- (cal_class_init): set new method on the epv.
-
- * pcs/cal-backend.[ch]: added 'add_timezone' virtual method.
- (cal_backend_add_timezone): implemented new virtual method.
-
- * pcs/cal-backend-file.c (cal_backend_file_modify_object): it's
- cal_component_get_as_string, not cal_component_as_string.
-
- * cal-client/cal-client.c (cal_client_ensure_timezone_on_server):
- dont use anymore updateObjects method, use addTimezone instead.
-
-2003-09-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * conduits/todo/Makefile.am: removed libwombat reference.
-
-2003-09-15 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-file.c (cal_backend_file_create_object): return
- the UID of the added object.
- (cal_backend_file_remove_object): ditto for old_object.
-
-2003-09-15 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/todo-conduit.c (replace_record): switch to modify
- object
- (add_record): switch to using create object
-
- * conduits/calendar/calendar-conduit.c (process_multi_day): switch
- to using create object
- (add_record): switch to using create object
- (replace_record): switch to modify object
-
- * cal-client/cal-listener.h: add signals
-
- * cal-client/cal-listener.c (impl_notifyObjectsReceived):
- implement listener method
- (build_object_list): ditto
- (cal_listener_class_init): create receive_objects and send_objects
- signals
-
- * cal-client/cal-client.h: add, update protos
-
- * cal-client/cal-client.c (cal_objects_received_cb):
- receive_objects callback
- (cal_objects_sent_cb): send_objects callback
- (cal_client_init): listen for above signals
- (cal_client_create_object): pass back uid
- (cal_client_receive_objects): implement
- (cal_client_send_objects): ditto
-
- * idl/evolution-calendar.idl: add receive/send objects methods and
- yank updateObjects
-
- * pcs/cal.h: add protos
-
- * pcs/cal.c (impl_Cal_receiveObjects): implement
- (impl_Cal_sendObjects): ditto
- (cal_class_init): add epv methods
- (cal_notify_objects_received): notify of objects received call,
- updating queries
- (cal_notify_objects_sent): notify of objects sent
-
- * pcs/cal-backend.h: remove proto
-
- * pcs/cal-backend.c (cal_backend_class_init): remove obj_updated
- signal
- (cal_backend_class_init): init vmethods properly
- (cal_backend_receive_objects): call through
- (cal_backend_send_objects): ditto
-
- * pcs/cal-backend-sync.h: add protos, vmethods
-
- * pcs/cal-backend-sync.c (cal_backend_sync_receive_objects): call
- through
- (cal_backend_sync_send_objects): ditto
- (_cal_backend_receive_objects): call backend method and notify
- (_cal_backend_send_objects): ditto
- (cal_backend_sync_class_init): override send/receive object
- vmethods
-
- * pcs/cal-backend-file.c (cal_backend_file_class_init): set
- remove/send objects sync vmethods
- (cal_backend_file_create_object): remove call to dead method
- (cal_backend_file_remove_object): ditto
- (cal_backend_file_modify_object): ditto
- (cancel_received_object): cancel an object
- (check_tzids): check we have all the tzid's for the object
- (cal_backend_file_receive_objects): receive a bunch of objects via
- itip
- (cal_backend_file_send_objects): skeleton implementation
-
-2003-09-15 Rodrigo Moya <rodrigo@ximian.com>
-
- * idl/evolution-calendar.idl: added InvalidObject CallStatus.
-
- * pcs/cal-backend-file.c (cal_backend_file_create_object): implemented.
- (cal_backend_file_modify_object): implemented.
-
-2003-09-15 Harry Lu <harry.lu@sun.com>
-
- * gui/apps_evolution_calendar.schemas: change last_notification_time's
- type from string to int.
-
-2003-09-12 Bolian Yin <bolian.yin@sun.com>
-
- * e-week-view.c (e_week_view_focus): make jump button focusable
- (e_week_view_on_jump_button_event): key_press and focus event for jump button
- (e_week_view_jump_to_button_item): new function, jump to the day view.
- (e_week_view_is_jump_button_visible): new function.
-
-
-2003-09-12 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal.c (cal_notify_cal_address, cal_notify_alarm_email_address,
- cal_notify_ldap_attribute, cal_notify_static_capability):
- make sure we always notify listeners, regardless of whether the
- string is empty or not.
-
- * cal-client/cal-client.c (check_capability): guard against using
- NULL strings with strstr.
-
-2003-09-12 JP Rosevear <jpr@ximian.com>
-
- * cal-client/client-test.c (cal_opened_cb): listen for other query
- signals
-
- * cal-client/cal-listener.h: add signals
-
- * cal-client/cal-listener.c (impl_notifyObjectCreated): implement
- (impl_notifyObjectModified): implement
- (cal_listener_class_init): assign epv implementations
- (cal_listener_class_init): add create/modify object signals
-
- * cal-client/cal-client.h: add protos
-
- * cal-client/cal-client.c (cal_object_created_cb): object created
- callback
- (cal_object_modified_cb): object modified callback
- (cal_client_init): listen for create/modify object signals from
- the listener
- (cal_client_create_object): call the create object method
- (cal_client_modify_object): call the modify object method
-
- * cal-client/client-test.c (cal_opened_cb): listen for all the
- query signals, tidy
-
-2003-09-12 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal.c (impl_Cal_createObject): implement
- (impl_Cal_modifyObject): ditto
- (cal_class_init): set epv methods for create/modify
-
- * pcs/cal-backend.h: add protos, vmethod
-
- * pcs/cal-backend.c (cal_backend_class_init): init new vmethods
- (cal_backend_create_object): call through
- (cal_backend_modify_object): ditto
-
- * pcs/cal-backend-sync.h: add protos, vmethods
-
- * pcs/cal-backend-sync.c (cal_backend_sync_create_object): call
- through
- (cal_backend_sync_modify_object): ditto
- (_cal_backend_create_object): create object and notify
- (_cal_backend_modify_object): modify object and notify
-
- * pcs/cal-backend-file.c (cal_backend_file_create_object):
- skeleton routine for creating objects
- (cal_backend_file_modify_object): ditto for modifying
-
- * idl/evolution-calendar.idl: add createObject and modifyObject
- calls
-
-2003-09-12 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal.c (cal_notify_object_removed): its uid, not uids
-
-2003-09-12 JP Rosevear <jpr@ximian.com>
-
- * pcs/query.h: add protos
-
- * pcs/query.c (query_object_matches): use the sexp to check for a
- match
- (query_notify_objects_added_1): notify of one object added to
- query
- (query_notify_objects_modified_1): ditto for modification
- (query_notify_objects_removed_1): ditto for removal
-
- * pcs/cal.h: add protos
-
- * pcs/cal.c (cal_notify_object_created): notify of object creation
- (cal_notify_object_modified): notify of object modification
- (cal_notify_object_removed): use the _1 routines
-
- * pcs/cal-backend-file.c (match_recurrence_sexp): this returns a
- boolean
- (cal_backend_file_update_objects): don't signal removals here now
-
- * idl/evolution-calendar.idl: add object created and modified
- responses
-
-
-2003-09-11 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal.h: update proto
-
- * pcs/cal.c (cal_notify_object_removed): notify relevant queries
- of removal
-
- * pcs/cal-backend.c (cal_backend_get_queries): ref the list before
- passing it back
-
- * pcs/cal-backend-sync.c (_cal_backend_remove_object): pass uid to
- notification
-
-2003-09-11 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend-file.c (match_recurrence_sexp): don't unref the
- component
-
- * cal-client/client-test.c (cal_opened_cb): listen to objects
- added signal
- (objects_added_cb): print the object uid
-
-2003-09-11 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend-object-sexp.c (cal_backend_object_sexp_text):
- return the base text
-
-2003-09-11 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (update_query): fix c/p typo
-
-2003-09-11 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (update_query): start the query
-
- * gui/e-cal-model.c (update_query_for_client): ditto
-
- * cal-client/client-test.c (cal_opened_cb): ditto
-
-2003-09-11 JP Rosevear <jpr@ximian.com>
-
- * cal-client/cal-query.h: add proto
-
- * cal-client/cal-query.c (cal_query_start): start the query
-
-2003-09-11 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/delete-error.c (delete_error_dialog): accept GError
- and base error messages on that
-
- * gui/dialogs/delete-error.h: update proto
-
- * gui/e-tasks.c (e_tasks_delete_completed): pass extra param to
- cal_client_remove_object
-
- * conduits/todo/todo-conduit.c (delete_record): ditto
-
- * conduits/calendar/calendar-conduit.c (process_multi_day): ditto
- (delete_record): ditto
-
- * gui/gnome-cal.c (gnome_calendar_purge): ditto
-
- * gui/dialogs/comp-editor.c (delete_comp): ditto
-
- * gui/e-cal-view.c (e_cal_view_cut_clipboard): pass the error to
- delete_error_dialog
- (delete_event): ditto
- (e_cal_view_delete_selected_occurrence): ditto
-
- * gui/e-itip-control.c (remove_item): ditto
-
- * gui/e-calendar-table.c (delete_selected_components): ditto
-
- * cal-client/cal-listener.h: add signal
-
- * cal-client/cal-listener.c (impl_notifyObjectRemoved): implement
- (cal_listener_class_init): set object removed implementation and
- create signal
-
- * cal-client/cal-client.h: update protos
-
- * cal-client/cal-client.c (cal_object_removed_cb): object removal
- callback
- (cal_client_init): listen for object removal signal
- (cal_client_remove_object_with_mod): make call synchronous
- (cal_client_remove_object): pass new params
-
- * pcs/cal.h: add proto
-
- * pcs/cal.c (impl_Cal_removeObject): just call the backend
- function
- (cal_notify_object_removed): notify of removal
-
- * pcs/cal-backend.h: remove and update protos, remove signal
-
- * pcs/cal-backend.c (cal_backend_class_init): kill obj_removed
- signal
- (cal_backend_remove_object): there is no return value now
-
- * pcs/cal-backend-sync.h: add vmethod, proto
-
- * pcs/cal-backend-sync.c (cal_backend_sync_remove_object): call
- through
- (_cal_backend_remove_object): remove the object and then do the
- notification
-
- * pcs/cal-backend-file.c (cal_backend_file_class_init): remove
- object is not part of the sync class
- (cal_backend_file_update_objects): there is no more removed signal
- (cal_backend_file_remove_object): return sync status codes
-
- * idl/evolution-calendar.idl: make removeObject oneway and and a
- notification method in the listener
-
-2003-09-11 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/query.[ch] (query_get_text): new function.
- (query_get_object_sexp): new function.
-
- * pcs/cal-backend-file.c (cal_backend_file_start_query): implemented.
-
-2003-09-11 Hans Petter Jansson <hpj@ximian.com>
-
- * cal-util/Makefile.am (libcal_util_la_LIBADD):
- libical-evolution.la -> libical.la
-
- * cal-util/cal-component.c (cal_component_get_classification)
- (cal_component_set_classification)
- (get_text_list)
- (get_icaltimetype)
- (get_datetime)
- (get_period_list)
- (get_recur_list)
- (cal_component_get_transparency)
- (cal_component_set_transparency): Adapt to new libical.
-
- * cal-util/cal-util.c (cal_util_event_dates_match): Ditto.
-
- * pcs/cal-backend-file.c (create_user_free_busy): Ditto.
-
- * gui/e-cal-model-tasks.c (get_completed)
- (get_due)
- (get_due_status): Ditto.
-
- * gui/e-cal-model.c (get_dtstart)
- (set_classification): Ditto.
-
- * gui/e-cal-model-calendar.c (get_dtend)
- (get_transparency)
- (set_transparency): Adapt to new libical and fix a comparison bug.
-
- * importers/Makefile.am (libevolution_calendar_importers_la_LIBADD):
- libical-evolution.la -> libical.la
-
-2003-09-11 Dan Winship <danw@ximian.com>
-
- * cal-util/Makefile.am (privlib_LTLIBRARIES): Remove
- libcal-util-static.la
-
- * cal-client/Makefile.am (noinst_LTLIBRARIES): Remove
- libcal-client-static.la
-
- * conduits/calendar/Makefile.am (libecalendar_conduit_la_LIBADD):
- use non-static libraries. The static ones were only needed for
- libtool 1.3.
-
- * conduits/todo/Makefile.am (libetodo_conduit_la_LIBADD): Likewise
-
- * gui/Makefile.am (IDL_GENERATED): Don't compile the calendar idl
- here. It's already in libcal-client.
-
-2003-09-11 Frederic Crozat <fcrozat@mandrakesoft.com>
-
- * conduits/todo/Makefile.am:
- Statically link with wombat. Fix ETodo conduit.
- (Mdk bug #5348)
-
-
-2003-09-10 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal.h: update proto
-
- * pcs/cal.c (impl_Cal_getObjectList): just call the backend, it
- will do the notification now
- (cal_notify_object_list): the list is a list of strings
-
- * pcs/cal-backend.h: update vmethod, proto
-
- * pcs/cal-backend.c (cal_backend_get_object_list): call through
-
- * pcs/cal-backend-sync.h: add proto, vmethod
-
- * pcs/cal-backend-sync.c (cal_backend_sync_get_object_list): call
- through
- (_cal_backend_get_object_list): get the list of objects from the
- sync backend and do the notification
- (cal_backend_sync_class_init): set vmethod implementation
-
- * pcs/cal-backend-file.c (cal_backend_file_class_init): the get
- object list call is now part of the sync backend
- (cal_backend_file_get_object_list): return a status and put the
- object list in the passed in param
-
-2003-09-10 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend.c (cal_backend_finalize): unref the elist
- (cal_backend_init): init the query elist
-
-2003-09-10 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (dn_query_objects_added_cb): match new query
- signals - just tag here
- (dn_query_objects_modified_cb): always retag
- (dn_query_objects_removed_cb): ditto
- (update_query): connect to new signals
- (gnome_calendar_destroy): we don't keep a list of expunging
- queries
- (gnome_calendar_purge): no need to do the
- expunge async, just get the object list immediately
-
- * gui/e-tasks.c (e_tasks_delete_completed): no need to do the
- expunge asyn
-
diff --git a/calendar/ChangeLog.pre-1-4 b/calendar/ChangeLog.pre-1-4
deleted file mode 100644
index 912411acd1..0000000000
--- a/calendar/ChangeLog.pre-1-4
+++ /dev/null
@@ -1,21872 +0,0 @@
-2003-06-02 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes part of #43388
-
- * importers/icalendar-importer.c (prepare_events):
- (prepare_tasks): use external iterators for removing components from
- the main component.
-
-2003-05-29 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #43763
-
- * gui/e-week-view.c (e_week_view_init): use g_signal_connect_after
- for "button_press_event" callback.
-
- * gui/e-day-view.c (e_day_view_init): ditto.
-
-2003-05-29 JP Rosevear <jpr@ximian.com>
-
- Fixes #43775
-
- * gui/weekday-picker.c (get_day_text): calculate the characters to
- display correctly
- (configure_items): use it
- (weekday_picker_style_set): ditto
-
- * gui/print.c (format_date): use e_utf8_strftime
- (print_week_view_background): ditto
- (print_month_summary): ditto
- (range_selector_new): ditto
- (print_comp_item): ditto
-
- * gui/itip-utils.c (comp_description): the translation is already
- utf8
-
- * gui/e-itip-control.c (write_label_piece): the string is already
- in utf8
-
- * gui/e-day-view.c (e_day_view_style_set): use e_utf8_strftime
- (e_day_view_recalc_cell_sizes): ditto
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw): use
- e_utf8_strftime
-
- * gui/e-cell-date-edit-text.c (ecd_get_text): return the
- duplicated buffer (its already utf8)
- (show_date_warning): use e_utf8_strftime
-
- * gui/calendar-model.c (date_value_to_string): return the
- duplicated buffer (its already utf8)
- (calendar_model_value_to_string): the translations should already
- be in utf8
-
- * gui/calendar-config.c
- (calendar_config_locale_supports_12_hour_format): use
- e_utf8_strftime
-
- * gui/calendar-commands.c (calendar_set_folder_bar_label): use
- e_utf8_strftime
-
-2003-05-28 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #43455
-
- * gui/tasks-control.c (confirm_expunge): converted to a GtkMessageDialog
- and removed object weak's ref code, not needed anymore.
-
-2003-05-20 JP Rosevear <jpr@ximian.com>
-
- Fixes #43308
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set):
- adjust row heights to reflect changes in etable row heights and
- set display top to align properly
-
-2003-05-22 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor-page.c (comp_editor_page_destroy): unref
- not ref the client
-
-2003-05-22 JP Rosevear <jpr@ximian.com>
-
- Fixes #41329
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_on_zoomed_out_toggled): make sure the
- meeting time is shown afterwards
- (e_meeting_time_selector_on_working_hours_toggled): ditto
-
-2003-05-21 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #41234
-
- * gui/dialogs/e-delegate-dialog.glade: changed button ordering.
-
-2003-05-20 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_setup_view_menus): Removed
- debugging message.
-
-2003-05-20 Anna Marie Dirks <anna@ximian.com>
-
- * gui/dialogs/save-comp.c (save_component_dialog): Change this
- dialog from using a gnome_message_box (which has been deprecated),
- to using a gtk_message_dialog. This HIG-ifies this dialog, and
- fixes bug #42046.
-
-2003-05-20 Hans Petter Jansson <hpj@ximian.com>
-
- Fixes #42056
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
- Don't create accel groups for menuitem mnemonics. Don't use
- deprecated functions where we actually need accel groups.
-
-2003-05-19 Dan Winship <danw@ximian.com>
-
- * pcs/cal-backend.c (cal_backend_finalize): Don't double-free
- newly-added categories that the gui hasn't been told about yet.
- #43321
-
-2003-05-19 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/main.c (factory): set 'initialized' to TRUE when initialization
- is done, or we get the initialization code called over and over.
-
-2003-05-19 Anna Marie Dirks <anna@ximian.com>
-
- * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct):
- Added HIG-blessed padding to (some of) the widgets in the
- dialog.
-
- * gui/dialogs/meeting-page.glade: Added HIG-blessed border width
- and spacing to the meeting page of the event editor.
-
- * gui/dialogs/schedule-page.glade: Added HIG-blessed border width
- to the schedule page on the event editor.
-
-
-2003-05-19 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_destroy): remove the query time
- out if its still alive
- (update_query_timeout): update the query and clear the time out
- (client_cal_opened_cb): add the query update timeout
-
-2003-05-19 JP Rosevear <jpr@ximian.com>
-
- Fixes #43103
-
- * gui/e-day-view.c (e_day_view_init): connect normally instead of
- after so that our boolean return values afffect the action signal
- emmissions properly
- (e_day_view_on_top_canvas_drag_motion): fix proto to be a gboolean
- (e_day_view_on_main_canvas_drag_motion): ditto
-
- * gui/e-week-view.c (e_week_view_init): connect normally instead
- of after so that our boolean return values afffect the action
- signal emmissions properly
-
-2003-05-16 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor.c (make_title_from_comp): the title is
- already in UTF-8
-
-2003-05-16 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #42220
-
- * gui/e-day-view.c (e_day_view_finish_resize): hide canvas items and
- update internal fields before updating the object.
-
-2003-05-15 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor.c (comp_editor_finalize): unref the
- client and the ui component
-
-2003-05-15 JP Rosevear <jpr@ximian.com>
-
- Fixes #41935
-
- * gui/e-week-view.c (e_week_view_init): listen for scroll events
- on the canvas
- (e_week_view_on_button_press): don't scroll here
- (e_week_view_on_scroll): scroll here
-
- * gui/e-day-view.c (e_day_view_init): listen for scroll events on
- the time and main canvases
- (e_day_view_on_main_canvas_button_press): don't scroll here
- (e_day_view_on_main_canvas_scroll): scroll here
- (e_day_view_on_time_canvas_scroll): and here
-
-2003-05-15 JP Rosevear <jpr@ximian.com>
-
- Fixes #43029
-
- * gui/e-week-view.c (e_week_view_init): don't listen for destroy
- signal
- (e_week_view_destroy): check for NULL and make invisible NULL
- after we destroy it, unref cursors and NULL them out as well,
- guard against freeing events multiple times
-
- * gui/e-day-view.c (e_day_view_destroy): check for NULL and make
- invisible NULL after we destroy it, unref cursors and NULL them
- out as well, guard against freeing events multiple times
- (e_day_view_init): don't listen for destroy signal
-
- * gui/e-calendar-table.c (e_calendar_table_init): don't listen for
- destroy signal
- (e_calendar_table_destroy): check for NULL and make invisible NULL
- after we destroy it
-
-2003-05-15 JP Rosevear <jpr@ximian.com>
-
- Fixes #41930
-
- * idl/evolution-calendar.idl: Make sure everything that can raise
- a NotFound exception lists it
-
-2003-05-15 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_refresh_free_busy): ref ourselves the
- number of times we'll get called back
-
-2003-05-14 JP Rosevear <jpr@ximian.com>
-
- * gui/e-tasks.c (e_tasks_destroy): guard against multiple destroys
-
- * cal-client/cal-client.c (cal_client_finalize): unref the
- bonobo listener
-
- * gui/gnome-cal.c (gnome_calendar_destroy): guard against multiple
- destroy calls
-
- * gui/e-week-view.c (e_week_view_init): connect after destroy
- (invisible_destroyed): don't unref, its already destroyed
-
- * gui/e-day-view.c (e_day_view_init): connect after destroy
- (invisible_destroyed): don't unref, its already destroyed
-
- * gui/e-calendar-table.c (e_calendar_table_class_init): make sure
- we set the parent class
- (e_calendar_table_init): connect after the destroy handler runs
- (e_calendar_table_destroy): guard against multiple destroys
- (invisible_destroyed): don't unref the invisible, its already
- being destroyed
-
- * gui/calendar-offline-handler.c (backend_cal_set_mode): unref the
- client, we are done with it now
- (backend_cal_opened_online): ditto
- (impl_dispose): unref our main client
-
- * gui/calendar-commands.c (control_util_set_folder_bar_label):
- release/unref the shell view once we are done with it
- (control_util_show_settings): ditto
-
-2003-05-13 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-queue.c (notify_dialog_cb): fixed memory
- leak introduced by previous commit.
-
-2003-05-12 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #41760
-
- * gui/alarm-notify/alarm-queue.c (create_snooze): don't add a new
- alarm, but update the already existing one.
- (notify_dialog_cb): make sure we don't remove the alarm if we are
- snoozing.
-
-2003-05-07 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-page.glade: fix button conversion problem
-
- * gui/dialogs/task-details-page.c
- (task_details_page_fill_widgets): only free the percent if its
- non-null
-
-2003-05-07 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client.c (cal_client_discard_alarm): added missing
- assignment.
-
-2003-05-05 JP Rosevear <jpr@ximian.com>
-
- Fixes #41811
-
- * gui/alarm-notify/Makefile.am: don't dist idl generated files
-
-2003-05-01 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-editor.c (task_editor_finalize): unref the
- model again
- (task_editor_edit_comp): don't allow editing if the assignee has
- delegated
-
- * gui/dialogs/meeting-page.c (popup_delete_cb): set the new
- non-delegator to be editable
-
- * gui/dialogs/event-editor.c (event_editor_edit_comp): don't allow
- editing if the attendee has delegated
- (event_editor_finalize): unref the model again
-
- * gui/e-meeting-model.c: remove e-table-without related functions
- (finalize): don't create without table
- (e_meeting_model_etable_from_model): build the table with this as
- model
- (e_meeting_model_etable_model_to_view_row): directly use the
- model_to_view call
- (e_meeting_model_etable_view_to_model_row): as above
- (attendee_changed_cb): make sure pre change is alwasy called
-
- * gui/e-meeting-model.h: use DECLS, remove protos for long dead
- functions, don't include config.h
-
-2003-04-30 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed
- unused code.
-
-2003-04-29 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-editor.c (task_editor_finalize): ditto
-
- * gui/dialogs/event-editor.c (event_editor_finalize): don't unref
- the model here
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): null
- up the display_top and display_main for re-entrancy purposes
-
-2003-04-25 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (itip_send_comp): kill warnings
-
-2003-04-28 Anna Marie Dirks <anna@ximian.com>
-
- * gui/dialogs/alarm-options.glade: Added HIG-blessed padding
- to the alarm options dialog. Fixes bug #41221.
-
-2003-04-28 Anna Marie Dirks <anna@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.glade: Added appropriate spacing
- and padding to the calendar/tasks page of the settings dialog.
- Fixes bug #41129
-
-
-2003-04-28 Anna Marie Dirks <anna@ximian.com>
-
- * gui/dialogs/task-page.glade: Finishes up fixing #41256 by
- adding appropriate spacing/padding to the main task page.
-
- * gui/dialogs/task-details-page.glade: Added appropriate
- spacing and padding to the task-details page. Partially
- fixes #41256.
-
-
-2003-04-28 Anna Marie Dirks <anna@ximian.com>
-
- * gui/dialogs/recurrence-page.glade: Added padding/spacing
- to this page as specified by the HIG. Partially fixes #41215.
-
- * gui/dialogs/alarm-page.glade: Added padding/spacing/stock
- buttons to the alarm page. Partially fixes #41215.
-
- * gui/dialogs/event-page.glade: Added padding/spacing to the
- event-page (partially fixes #41215)
-
-
-2003-04-27 Rodney Dawes <dobey@ximian.com>
-
- Fixes #35814
-
- * gui/calendar-component.c: Change mnemonic/keybinding for
- New Meeting to not conflict with other items in the File->New menu
-
-2003-04-24 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #41661
-
- * idl/evolution-calendar.idl: added discardAlarm method to
- GNOME:Evolution:Calendar:Cal interface.
-
- * pcs/cal.c (cal_class_init): set new epv's method.
- (impl_Cal_discardAlarm): implementation of new CORBA method.
-
- * pcs/cal-backend.[ch]: added 'discard_alarm' virtual method, and
- CAL_BACKEND_RESULT_NOT_IMPLEMENTED to CalBackendResult enum.
- (cal_backend_class_init): initialize new class method.
- (cal_backend_discard_alarm): new method.
- (cal_backend_update_objects, cal_backend_remove_object): return
- proper CalBackendResult values.
-
- * pcs/cal-backend-file.c (cal_backend_file_class_init): initialize
- new class method.
- (cal_backend_file_discard_alarm): implementation of new method.
-
- * pcs/cal-client.[ch] (cal_client_discard_alarm): new function.
-
- * gui/alarm-notify/alarm-queue.c (remove_qeueud_alarm): don't remove
- the alarm directly from the component, call cal_client_discard_alarm
- and let the backend deal with it.
-
-2003-04-24 JP Rosevear <jpr@ximian.com>
-
- * gui/apps_evolution_calendar.schemas: set the hpane default to
- 32000 so we never see a pane no matter the start up window size
- unless the user changes it
-
-2003-04-24 JP Rosevear <jpr@ximian.com>
-
- Fixes #37552
-
- * gui/dialogs/Makefile.am: build delete-error.[hc]
-
- * gui/e-tasks.c: wrap calls to cal_client_remove_object with
- delete_error_dialog
-
- * gui/e-itip-control.c: ditto
-
- * gui/e-calendar-table.c: ditto
-
- * gui/e-week-view.c: ditto
-
- * gui/e-day-view.c: ditto
-
- * gui/dialogs/delete-error.[hc]: gemerate an error message based
- on result
-
-2003-04-23 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_delete_occurrence): removed
- unused variable..
-
-2003-04-23 Hans Petter Jansson <hpj@ximian.com>
-
- Fixes #41641
-
- * gui/e-day-view.c (e_day_view_focus_in): Remove assert an old
- input method code.
- (e_day_view_focus_out): Ditto.
- (e_day_view_reshape_long_event): Set input method context.
- (e_day_view_reshape_day_event): Ditto.
- (e_day_view_on_editing_started): Let EText handle the context popup.
- (e_day_view_on_editing_stopped): Turn off EText's handling of context
- popup.
-
- * gui/e-week-view.c (e_week_view_reshape_event_span): Set input
- method context.
- (e_week_view_on_text_item_event): Let the EText item handle
- right-click context popup if we're editing it.
- (e_week_view_on_editing_started): Let the EText item handle the
- context popup.
- (e_weeK_view_on_editing_stopped): Turn off EText's handling of
- context popup.
-
-2003-04-23 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #41671
-
- * gui/alarm-notify/notify-main.c (main): added calls to gnome_sound_init
- and gnome_sound_shutdown.
-
- * gui/alarm-notify/alarm-queue.c (audio_notification): check that the
- sound file exists, and gdk_beep if not.
-
-2003-04-22 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes part of #41148, #41216 and #41235
-
- * gui/e-itip-control.c (init):
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct,
- e_meeting_time_selector_add_key_color):
- * gui/e-timezone-entry.c (e_timezone_entry_init):
- * gui/gnome-cal.c (setup_widgets):
- * gui/tasks-control.c (confirm_expunge):
- * gui/dialogs/comp-editor.c (setup_widgets):
- * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct):
- * gui/dialogs/meeting-page.c (meeting_page_construct):
- * gui/dialogs/recurrence-page.c (make_weekly_special,
- make_monthly_special, make_ending_count_special):
- * gui/dialogs/schedule-page.c (schedule_page_construct):
- use HIG-suggested spacing.
-
-2003-04-21 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #22444
-
- * gui/calendar-commands.c: added new verbs for occurrence-related
- menu items.
- (delete_occurrence_cmd): added callback for "Delete this occurrence"
- menu item. "Delete all occurrences" is just the same as "Delete".
- (sensitize_calendar_commands): sensitive ocurrence-related menu items.
-
- * gui/gnome-cal.[ch] (gnome_calendar_delete_selected_occurrence): new
- function.
- (gnome_calendar_get_current_view_widget): made this public.
-
- * gui/e-week-view.[ch] (e_week_view_get_selected_event):
- (e_week_view_delete_occurrence): new functions.
- (e_week_view_delete_occurrence_internal): real implementation of the
- 'Delete Occurrence' logic.
- (e_week_view_on_delete_occurrence): call delete_instance_internal.
-
- * gui/e-day-view.[ch] (e_day_view_get_selected_event):
- (e_day_view_delete_occurrence): new functions.
- (e_week_view_delete_occurrence_internal): real implementation of the
- 'Delete Occurrence' logic.
- (e_week_view_on_delete_occurrence): call delete_occurrence_internal.
-
-2003-04-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-notify.glade: removed 'heading' and
- 'message' labels.
-
- * gui/alarm-notify/alarm-notify-dialog.c: removed deleted widgets.
- (alarm_notify_dialog): don't load the removed widgets.
-
-2003-04-18 Rodney Dawes <dobey@ximian.com>
-
- Fixes #21499
-
- * gui/Makefile.am:
- * gui/calendar-commands.c:
- * gui/tasks-control.c:
- * gui/dialogs/Makefile.am:
- * gui/dialogs/comp-editor.c:
- Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()
-
-2003-04-17 JP Rosevear <jpr@ximian.com>
-
- Fixes #41459
-
- * gui/dialogs/meeting-page.c: comment out delegation stuff
-
-2003-04-17 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #34498
-
- * gui/alarm-notify/alarm-queue.c: added a 'uid' field to the
- CompQueuedAlarms structure.
- (remove_queued_alarm): free the 'uid' field when freeing the
- structure.
- (add_component_alarms): g_strdup the component's UID and use that as
- the key for the hash table.
-
-2003-04-16 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #41129, #41215, #41221, #41256
-
- * gui/alarm-notify/alarm-notify.glade:
- * gui/dialogs/alarm-options.glade:
- * gui/dialogs/alarm-page.glade:
- * gui/dialogs/cal-prefs-dialog.glade:
- * gui/dialogs/e-delegate-dialog.glade:
- * gui/dialogs/meeting-page.glade:
- * gui/dialogs/recurrence-page.glade:
- * gui/dialogs/schedule-page.glade:
- * gui/dialogs/task-details-dialog.glade:
- * gui/dialogs/task-page.glade:
- * gui/dialogs/event-page.glade: set spacing to 6 pixels
- everywhere.
-
-2003-04-16 JP Rosevear <jpr@ximian.com>
-
- Fixes #41230
-
- * gui/e-itip-control.c (show_current): make sure to pass TRUE for
- tasks
- (start_calendar_server): make sure we don't gtk_main_quit if we
- haven't gtk_main'ed
- (start_calendar_server_cb): ditto
-
-2003-04-15 JP Rosevear <jpr@ximian.com>
-
- Fixes #39735 and 40257
-
- * gui/gnome-cal.c: convert float pane positions to ints
- (setup_widgets): set the initial position after realization and
- track the drags to get the new position, pack the panes slightly
- differently
- (gnome_calendar_set_pane_positions): set purely pixel oriented
- positions
- (gnome_calendar_update_config_settings): no need to update quanta
- setting
- (gnome_calendar_hpane_realized): realization callback
- (gnome_calendar_vpane_realized): ditto
- (gnome_calendar_vpane_resized): resize callback, store new size
- (gnome_calendar_hpane_resized): ditto
-
- * gui/calendar-model.c (get_due_status): handle an error getting
- the timezone
-
- * gui/calendar-config.c (calendar_config_get_hpane_pos): return an int
- (calendar_config_set_hpane_pos): take an int
- (calendar_config_get_vpane_pos): return an int
- (calendar_config_set_vpane_pos): take an int
-
- * gui/calendar-config.h: update protos
-
- * gui/apps_evolution_calendar.schemas: update defaults for pane
- positions
-
-2003-04-15 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/calendar-component.c (owner_set_cb): If we already have an
- evolution_dir, free the old one before setting it anew.
-
- * gui/e-day-view-time-item.c (e_day_view_time_item_draw): Unref the
- metrics.
-
- * gui/e-day-view.c (e_day_view_style_set): Unref the metrics.
- (e_day_view_recalc_cell_sizes): We don't need font metrics here.
- (e_day_view_reshape_long_event): Ditto.
-
- * gui/e-meeting-model.c (init): Don't dup the string passed to
- e_table_without_hide().
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set):
- Unref the metrics.
- (e_meeting_time_selector_recalc_date_form): Doesn't need metrics.
-
- * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
- Unref the metrics.
-
- * gui/e-week-view.c (e_week_view_style_set): Unref metrics.
- (e_week_view_recalc_cell_sizes): Ditto.
- (e_week_view_reshape_event_span): Move Pango stuff to where it
- can't be leaked due to an early return. Unref metrics.
-
- * gui/weekday-picker.c (weekday_picker_style_set): Unref metrics.
-
- * gui/dialogs/meeting-page.c (meeting_page_finalize): Free default
- address.
-
-2003-04-11 Dan Winship <danw@ximian.com>
-
- * gui/dialogs/Makefile.am (IDL_GENERATED, etc): Oops. Add this
- back. Turns out it's still needed by other parts.
-
-2003-04-11 Dan Winship <danw@ximian.com>
-
- * gui/dialogs/task-page.glade: Remove the "Contacts" button and
- entry from here too. Supposed to have been part of #35926
-
- * gui/dialogs/task-page.c: Remove all code pertaining to the
- contacts button
-
- * gui/dialogs/comp-editor-util.c:
- * gui/dialogs/comp-editor-util.h: Likewise
-
- * gui/dialogs/Makefile.am (IDL_GENERATED, etc): Remove
- select-names stuff, which is no longer used.
-
-2003-04-11 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-util/cal-util.h: added missing capabilities.
-
- * cal-client/cal-client.c (cal_client_get_one_alarm_only,
- cal_client_get_organizer_must_attend,
- cal_client_get_save_schedules):
- * gui/itip-utils.c (itip_organizer_is_user):
- * gui/e-calendar-table.c (e_calendar_table_on_right_click):
- * gui/dialogs/task-editor.c (set_menu_sens):
- * gui/dialogs/event-page.c (event_page_fill_widgets):
- * gui/dialogs/meeting-page.c (meeting_page_fill_widgets):
- * gui/dialogs/alarm-page.c (button_options_clicked_cb): use the macros
- defined in cal-util.h for static capabilities.
-
-2003-04-11 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-model.c (start_addressbook_server): load the
- default book to look for additional free/busy info in
- (init): ugly hack to make sure we get destroyed, set idle id to 0
- (process_callbacks): unref the im because we are now done with it
- (refresh_busy_periods): set idle id to 0, ref the model and handle
- e_book_get_cursor error
-
-2003-04-11 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-time-sel-item.c
- (e_meeting_time_selector_item_destroy): guard against multiple
- destroy calls
-
-2003-04-11 JP Rosevear <jpr@ximian.com>
-
- * cal-client/cal-client.c (cal_client_get_free_busy): only print a
- message if the exception isn't the reasonable NotFound
-
-2003-04-11 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/schedule-page.c (schedule_page_finalize): unref the
- main widget since we ref it when we un-parent it
-
- * gui/dialogs/alarm-page.c (alarm_page_finalize): ditto
-
- * gui/dialogs/task-page.c (task_page_finalize): ditto
-
- * gui/dialogs/event-page.c (event_page_finalize): ditto
-
- * gui/dialogs/task-details-page.c (task_details_page_finalize):
- ditto
-
- * gui/dialogs/recurrence-page.c (recurrence_page_finalize): ditto
-
- * gui/dialogs/meeting-page.c (meeting_page_finalize): ditto
-
-2003-04-10 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_options_menu_position_callback):
- (e_meeting_time_selector_autopick_menu_position_callback): added the
- allocation's X and Y position to the calculated coordinates.
-
-2003-04-10 JP Rosevear <jpr@ximian.com>
-
- Fixes #41127
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_cb):
- unref here, when the callback is done
- (e_meeting_time_selector_refresh_free_busy): don't unref here
-
- * gui/e-meeting-model.c (process_free_busy): if the type is
- unexpected, make sure we cleanup properly
-
-2003-04-10 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): only remove
- the alarm for backends that want it (Exchange).
-
-2003-04-10 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-util/cal-util.h: added #define's for static capabilities.
-
- * pcs/cal-backend-file.c (cal_backend_file_get_static_capabilities):
- use the #define's above.
-
-2003-04-09 Chris Toshok <toshok@ximian.com>
-
- Fixes #40133
-
- * pcs/cal-backend.c (cal_backend_class_init): use G_TYPE_INT
- instead of G_TYPE_ENUM as a parameter type for the signal to get
- rid of runtime warning.
-
-2003-04-09 JP Rosevear <jpr@ximian.com>
-
- Fixes #40915
-
- * gui/calendar-model.c (get_due_status): when getting the current
- time for date values, use a timezone aware function
-
-2003-04-09 JP Rosevear <jpr@ximian.com>
-
- Fixes #40952
-
- * pcs/cal-backend-file.c (cal_backend_file_open): check for file
- method instead of is_local
-
-2003-04-08 JP Rosevear <jpr@ximian.com>
-
- Fixes #40894
-
- * gui/gnome-cal.c
- (gnome_calendar_on_date_navigator_selection_changed): update the
- selection for all view types
-
-2003-04-08 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/dialogs/alarm-options.c: Remove button_ok, button_cancel,
- canceled members from struct Dialog.
- (get_widgets): Do not initialize.
- (close_dialog): Destroy the toplevel.
- (toplevel_delete_event_cb): Removed.
- (button_cancel_clicked_cb): Removed.
- (button_ok_clicked_cb): Removed.
- (close_dialog): Removed.
- (alarm_options_dialog_run): Use gtk_dialog_run.
- (init_widgets): Do not init ->canceled, do not connect OK/Cancel
- buttons.
- (alarm_to_dialog): No need to make the file entry modal from here
- anymore.
-
- * gui/dialogs/alarm-options.glade: Turned into a GtkDialog. Set
- the "modal" property to True for the file entry.
-
-2003-04-07 Hans Petter Jansson <hpj@ximian.com>
-
- Fixes #35926.
-
- * gui/dialogs/event-page.glade: Remove contacts entry/chooser.
-
- * gui/dialogs/event-page.c: Remove contacts entry/chooser.
- (event_page_init): Remove references.
- (event_page_finalize): Ditto.
- (event_page_fill_widgets): Ditto.
- (event_page_fill_component): Ditto.
- (get_widgets): Ditto.
- (init_widgets): Ditto.
- (contacts_clicked_cb): Remove wholesale.
- (contacts_changed_cb): Ditto.
-
-2003-04-07 JP Rosevear <jpr@ximian.com>
-
- Fixes #40876
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_refresh_free_busy): guard against
- callbacks after destruction
- (e_meeting_time_selector_refresh_cb): ditto
-
-2003-04-07 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/event-page.glade: create buttons properly
-
- * gui/itip-utils.c (comp_server_send): for errors other than busy,
- we want to email the results
-
- * pcs/cal-backend.c (cal_backend_ref_categories): insert the new
- category in the category list as well
- (idle_notify_categories_changed): reset idle id
-
-2003-04-07 Not Zed <NotZed@Ximian.com>
-
- Fixes #40252
-
- * conduits/todo/todo-conduit.c: Same as below.
-
- * conduits/calendar/calendar-conduit.c: Change the LOG macro to a
- single arg macro which copies its arg. Fix all callers. Change
- WARN and INFO to simply g_warning/g_message. Init G_LOG_DOMAIN
- before including anything.
-
-2003-04-07 Dan Winship <danw@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.server.in.in: Clean up server names
-
- * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in:
- Likewise
-
- * importers/GNOME_Evolution_Calendar_Importer.server.in.in:
- Likewise. Also mark the evolution:menu_name for i18n
-
-2003-04-07 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-meeting-attendee.[ch]: GObjectify. Eliminates ref/sink
- warnings from the meeting editor.
-
-2003-04-06 Hans Petter Jansson <hpj@ximian.com>
-
- Week view part of fix for #39895.
-
- * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
- Use the UNFOCUSSED colour if we're not focused, rather than not
- drawing anything.
-
- * gui/e-week-view.c: Set up the UNFOCUSSED colour.
-
- * gui/e-week-view.h: Add the UNFOCUSSED colour.
-
-2003-04-04 JP Rosevear <jpr@ximian.com>
-
- Fixes #40790
-
- * gui/alarm-notify/alarm-queue.c (procedure_notification_dialog):
- return based on the response code (not old button stuff)
-
-2003-04-04 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/dialogs/alarm-options.c (alarm_to_dialog): Make the file
- entry modal. [#40792]
-
-2003-04-04 JP Rosevear <jpr@ximian.com>
-
- Fixes #40789
-
- * gui/dialogs/alarm-options.c (alarm_to_dalarm_widgets):
- description is a text buffer
- (alarm_to_malarm_widgets): ditto
- (dalarm_widgets_to_alarm): ditto
- (malarm_widgets_to_alarm): ditto
- (alarm_to_repeat_widgets): check repeat status correctly
-
-2003-04-04 Dan Winship <danw@ximian.com>
-
- * gui/e-itip-control.c (write_html): Don't free static string.
-
-2003-04-04 JP Rosevear <jpr@ximian.com>
-
- * gui/cal-search-bar.c (cal_search_bar_destroy): guard against
- multiple destroy calls
-
-2003-04-04 JP Rosevear <jpr@ximian.com>
-
- * cal-client/cal-client.c (get_default_uri): guard against empty
- uri as well
-
-2003-04-04 JP Rosevear <jpr@ximian.com>
-
- Fixes #40722
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy):
- guard against multiple destroy calls
-
-2003-04-02 Jeffrey Stedfast <fejj@ximian.com>
-
- * gui/control-factory.c (set_prop): Add a check to see if the view
- should be the day-view and change the default to be whatever
- calendar_config_get_default_view() returns. Should fix bug #39735.
-
- * gui/calendar-config.h: calendar_config_write() and
- calendar_config_write_on_exit() no longer exist. Removed
- prototypes.
-
- * gui/control-factory.c (set_prop): g_strcasecmp() is
- deprecated. Since the values can never be anything other than all
- lowercase anyway, just use strcmp.
-
-2003-04-02 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #39262
-
- * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn):
- use folder_type argument to determine what to import.
-
-2003-04-02 Rodrigo Moya <rodrigo@ximian.com>
-
- * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn):
- added "folder_type" parameter to EvolutionImporterLoadFileFn.
-
-2003-04-02 JP Rosevear <jpr@ximian.com>
-
- Fixes #39955
-
- * gui/itip-utils.c (comp_sentby): don't unref the the account
-
-2003-04-02 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #40661
-
- * gui/itip-utils.c: added missing header for Forte compilation.
-
-2003-04-01 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw):
- Nuke GdkFont and use Pango's font measuring.
-
- * gui/e-day-view-time-itme.c (e_day_view_time_item_get_column_width)
- (e_day_view_time_item_draw): Ditto.
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw)
- (e_day_view_top_item_draw_long_event): Ditto.
-
- * gui/e-day-view.c (e_day_view_style_set)
- (e_day_view_recalc_cell_sizes)
- (e_day_view_reshape_long_event)
- (e_day_view_update_top_canvas_drag)
- (e_day_view_update_main_canvas_drag): Ditto.
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set)
- (e_meeting_time_selector_recalc_date_form): Ditto.
-
- * gui/e-week-view-event-item.c (e_week_view_draw_time): Ditto.
-
- * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
- Ditto.
-
- * gui/e-week-view-titles-item.c (e_week_view_titles_item_draw):
- Ditto.
-
- * gui/e-week-view.c (e_week_view_style_set)
- (e_week_view_recalc_cell_sizes)
- (e_week_view_reshape_event_span): Ditto.
-
- * gui/weekday-picker.c (weekday_picker_style_set): Ditto.
-
-2003-04-01 JP Rosevear <jpr@ximian.com>
-
- Fix for #17231 (Evo portion)
-
- * conduits/todo/todo-conduit.c (comp_from_remote_record): test for
- secret flag properly
-
- * conduits/calendar/calendar-conduit.c (comp_from_remote_record):
- ditto
-
-2003-04-01 Rodrigo Moya <rodrigo@ximian.com>
-
- * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn):
- added filename (tasks.ics/calendar.ics) to the URI if it does not
- contain it.
-
-2003-03-31 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #39961
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_options_menu_position_callback):
- (e_meeting_time_selector_autopick_menu_position_callback): use the
- button's allocation to position the popup menu.
-
-2003-03-29 Not Zed <NotZed@Ximian.com>
-
- Fixes #39895
-
- * gui/e-day-view.h (EDayViewColors): add an unfocussed colour to
- draw the selection in when we're not focussed.
-
- * gui/e-day-view.c (e_day_view_realize): Initialise
- E_DAY_VIEW_COLOR_BG_SELECTED_UNFOCUSSED to be 1/2 saturation of
- the focussed colour.
-
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw): Use the
- UFOCUSSED colour if we aren't focussed, rather than just not
- drawing anything.
-
-2003-03-28 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (get_servers): the shell client is a
- g_object now, ref appropriately
-
-2003-03-28 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-day-view.c (comp_destroy_cb)
- (e_day_view_on_long_event_button_press)
- (e_day_view_on_event_button_press)
- (e_day_view_on_long_event_click)
- (e_day_view_on_event_click)
- (e_day_view_on_event_double_click)
- (e_day_view_on_delete_appointment): Hold weak references to the
- CalComponent instead of connecting to the "destroy" signal.
-
- * gui/e-week-view.c (comp_destroy_cb)
- (e_week_view_on_text_item_event): Ditto.
-
-2003-03-28 Hans Petter Jansson <hpj@ximian.com>
-
- Fixes #39954
-
- * gui/dialogs/recurrence-page.c (make_recurrence_special):
- Destroy would-be children of the container before the container.
-
-2003-03-28 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c (meeting_page_init): init new members
- (get_current_account): get a matching account for the currently
- selected user in the combo
- (meeting_page_finalize): unref the meeting attendee if there is
- one
- (meeting_page_fill_widgets): don't set the combo list here
- (clear_widgets): set the default organizer here and if we don't
- have an organizer, add the default organizer as an attendee
- (meeting_page_fill_component): use get_current_account
- (org_changed_cb): if this is a new meeting and the organizer
- changes, change the attendee
- (change_clicked_cb): no need to set the default here
- (init_widgets): reflect changed callback name
- (meeting_page_construct): set the combo strings here
- (popup_delete_cb): remove the organizer attendee if the user
- explicitly deletes it
-
- * gui/e-meeting-model.c (attendee_changed_cb): set row properly
-
- * gui/itip-utils.c (comp_to_list): skip the user themselves if
- cancelling or requesting
-
-2003-03-26 Rodrigo Moya <rodrigo@ximian.com>
-
- * importers/icalendar-importer.c (gnome_calendar_import_data_fn): use
- g_object_unref for CalClient's.
- (create_checkboxes_control): use g_signal_connect.
-
- * cal-client/cal-client.c (cal_client_get_load_state): return correct
- values in g_return_val_if_fail.
-
-2003-03-26 Jack Jia <jack.jia@sun.com>
-
- * calendar/gui/dialogs/alarm-options.c
- (malarm_widgets_to_alarm): add a parameter(TC_CORBA_string) to
- the bonobo_widget_get_property.
-
-2003-03-25 Dan Winship <danw@ximian.com>
-
- * gui/itip-utils.c: Update for e_notice move
-
- * gui/tasks-control.c (confirm_expunge): Move the code that used
- to be e_gnome_dialog_set_parent here, since it was marked
- deprecated and this was the only place using it.
-
- * gui/dialogs/comp-editor.c: Update for e_notice move
- (page_changed_cb, page_summary_changed_cb, page_dates_changed_cb):
- Pass a parent_window to e_notice.
-
- * gui/dialogs/meeting-page.c: Update for e_notice move.
- (meeting_page_fill_component, meeting_page_fill_component,
- popup_delegate_cb): Pass a parent_window to e_notice
-
-2003-03-25 Dan Winship <danw@ximian.com>
-
- * cal-util/cal-util.c (cal_util_parse_ics_file): Utility wrapper
- around icalparser.
-
- * cal-util/test-recur.c (main): Use it
-
- * pcs/cal-backend-file.c (open_cal): Likewise
-
- * gui/comp-editor-factory.c (open_client): Add the OpenClient to
- the hash before calling cal_client_open_calendar, since in some
- failure cases, that will call cal_opened_cb (which will free the
- oc) with a failure immediately, causing a crash if we then try to
- deref it.
-
-2003-03-21 JP Rosevear <jpr@ximian.com>
-
- Fixes #32248
-
- * conduits/todo/todo-conduit.c (comp_from_remote_record): make
- sure the due date is actually a date
-
-2003-03-21 JP Rosevear <jpr@ximian.com>
-
- Fixes #31660
-
- * conduits/calendar/calendar-conduit.c (rrules_mostly_equal):
- check if the rrules are equal other than until/count
- (find_last_cb): update the data with the start timet
- (local_record_from_comp): handle the case where the recurrence
- rule ends after a certain number occurrences
- (comp_from_remote_record): same
-
-2003-03-20 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c
- (e_calendar_context_destroy): calcomponents are gobjects now
- (calconduit_load_configuration): ref and sink to avoid warnings
-
- * conduits/todo/todo-conduit.c (todoconduit_load_configuration):
- ref and sink to avoid warnings
- (e_todo_context_destroy): calcomponents are gobjects now
-
-2003-03-20 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/cancel-comp.c (cancel_component_dialog): use a
- GtkMessageDialog and deal correctly with the dialog's reponses.
-
-2003-03-20 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #39770
-
- * gui/itip-utils.c (itip_Send_comp): check the CORBA exception instead
- of the g_return_val_if_fail. Also, use a CORBA_Object for the value
- returned from bonobo_activation_activate_from_id.
-
-2003-03-20 Rodrigo Moya <rodrigo@ximian.com>
-
- * importers/ical-importer.c: removed activation of shell_client.
- (importer_destroy_cb): no need to unref shell_client.
- (connect_to_shell): removed.
- (ical_importer_new, vcal_importer_new): don't call connect_to_shell.
-
-2003-03-20 Rodrigo Moya <rodrigo@ximian.com>
-
- * importers/ical-importer.c (get_uri_from_folder_path): removed.
- (load_file_fn, vcal_load_file_fn): use physical_uri instead of
- folderpath.
-
-2003-03-19 Ettore Perazzoli <ettore@ximian.com>
-
- * importers/GNOME_Evolution_Calendar_Importer.server.in.in:
- Replace "evolution:menu-name" prop with "evolution:menu_name".
- [#39692]
-
-2003-03-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/send-comp.c (send_component_dialog): use GtkMessageDialog
- instead of gnome_question_dialog, and deal correctly with the dialog's
- response.
-
-2003-03-18 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #34505
-
- * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): added removal
- of the alarm itself in the calendar if the (new) argument says so.
- Also, set expecting_update flag to TRUE.
- (add_component_alarms): initialize expecting_update to FALSE.
- (remove_alarms): don't remove the component if expecting_update is
- TRUE.
- (obj_updated_cb, notify_dialog_cb, procedure_notification): adapted
- to changes in remove_queued_alarm.
-
-2003-03-17 Hans Petter Jansson <hpj@ximian.com>
-
- Fixes #34095
-
- * gui/e-meeting-model.c (append_row): Don't leak meeting attendees;
- unref the attendee after it's assigned to model.
-
- * gui/dialogs/meeting-page.c (meeting_page_destroy): Free the actual
- array of deleted attendees.
-
- * gui/dialogs/event-editor.c (event_editor_destroy): Free the private
- structure.
-
- * gui/itip-utils.c (comp_description): Rework free/busy information
- composer so we can free date/time information after use. Then free it.
- (itip_send_comp): Free the allocated CORBA buffer for attachment data.
-
- * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_component):
- Free the destination contacts string once we're done with it.
-
- * gui/e-calendar-table.c (invisible_destroyed): Unref the invisible.
-
- * gui/e-day-view.c (invisible_destroyed): Ditto.
-
- * gui/e-week-view.c (invisible_destroyed): Ditto.
-
-2003-03-17 Hans Petter Jansson <hpj@ximian.com>
-
- Fixes #39757
-
- * gui/dialogs/alarm-page.c (sensitize_buttons): Somehow this code
- reverted to thinking it was dealing with a GtkCList, when in reality
- it's a GtkTreeView. Fix that, so the buttons are sensitized correctly.
-
-2003-03-17 Hans Petter Jansson <hpj@ximian.com>
-
- Fixes #39736
-
- * gui/e-day-view.c: Reduce the size of the large-digits font so it's
- en par with the one in 1.2.
-
-2003-03-14 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #39740
-
- * gui/e-meeting-model.c (is_cell_editable): check row number is valid
- before using it as index for the GPtrArray.
-
-2003-03-14 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #39356
-
- * gui/Makefile.am:
- * gui/tasks-migrate.[ch]: removed tasks migration obsolete stuff.
-
- * gui/calendar-component.c (owner_set_cb): don't call tasks_migrate.
-
-2003-03-14 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-factory.c (impl_CalFactory_uriList): set_release
- on the sequence we create.
-
- * cal-client/cal-client.c (cal_client_uri_list): don't leak the
- string sequence returned by CalFactory_uriList.
-
-2003-03-13 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/query-backend.c (query_backend_new): use a weak ref instead
- of connecting to backend's "destroy" signal.
- (backend_destroyed_cb, query_destroyed_cb): changed to be weak
- reference callbacks.
-
-2003-03-12 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/save-comp.c (save_component_dialog): don't use
- GNOME_STOCK_* defines, but GTK_STOCK_*.
-
-2003-03-12 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/save-comp.[ch] (save_component_dialog): corrected
- button ordering and changed the return type to be a GtkResponseType.
-
- * gui/dialogs/comp-editor.c (prompt_to_save_changes): adapted to
- changes in save_component_dialog.
-
-2003-03-11 Dan Winship <danw@ximian.com>
-
- * gui/calendar-config.c (on_timezone_set): Update for timezone
- dialog API changes.
-
- * gui/e-timezone-entry.c: Likewise
-
-2003-03-11 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_open): issue more descriptive
- warnings.
-
-2003-03-09 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): if we
- already have the client loaded, don't remove it, just increment its
- reference count.
-
- * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): added new
- argument to specify whether we want the component's structure removed
- if no more alarms exist, and only free the structure if TRUE.
- (remove_alarms): added same new argument and pass it over to
- remove_queued_alarm.
- (remove_comp, obj_updated_cb): passed new argument to remove_alarms.
- (procedure_notification): passed new argument to remove_queued_alarm.
- (obj_removed_cb): set all freed pointers to NULL.
- (notify_dialog_cb): only remove the alarm if the pointers are not NULL.
-
-2003-03-07 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/save.c (get_calendars_to_load): create the array
- to be returned only once.
-
-2003-03-06 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-queue.c (display_notification): ref the CalClient.
- (notify_dialog_cb): unref the CalClient.
-
-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.
-
-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.
-
-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
-
-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
-
-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
-
-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.
-
-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
-
-2003-03-04 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
-
-2003-03-04 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-offline-handler.c (backend_cal_opened_online): set
- the backend to REMOTE mode when it opens
- (backend_go_online): prepare to set calendar mode to REMOTE
- (impl_goOnline): get all the local calendars and set to REMOTE
-
-2003-03-04 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
-
-2003-03-04 JP Rosevear <jpr@ximian.com>
-
- Fixes #37883
-
- * idl/evolution-calendar.idl: getLdapAttribute can raise NotFound
-
-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
-
-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
- (cal_client_get_ldap_attribute): accessor
-
-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
-
-2003-03-04 JP Rosevear <jpr@ximian.com>
-
- * idl/evolution-calendar.idl: fix comment
-
-2003-03-04 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-model.c (calendar_model_append_row): update FIXME
- note
-
-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"
-
-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
-
-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
-
-2003-03-03 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/dialogs/alarm-page.c
- * gui/dialogs/event-page.c
- * gui/dialogs/meeting-page.c
- * gui/dialogs/recurrence-page.c
- * gui/dialogs/schedule-page.c
- * gui/dialogs/task-details-page.c
- * gui/dialogs/task-page.c (get_widgets): gtk_widget_unparent() ->
- gtk_container_remove(). The former caused crashes in the
- addressbook's name-selector.
-
-2003-03-01 Hans Petter Jansson <hpj@ximian.com>
-
- * Makefile.am: Do importers after the other dirs, as it relies on
- generated files from there. This is still not optimal... Should
- probably introduce dependencies.
-
-2003-02-28 Hans Petter Jansson <hpj@ximian.com>
-
- * importers/Makefile.am: Shlibify.
-
- * importers/GNOME_Evolution_Calendar_Importer.server.in.in:
- Shlibify.
-
- * importers/icalendar-importer.c: Add necessary includes.
- (importer_destroy_cb): This is now a GWeakNotify func. gtk_ -> g_.
- (ical_importer_new)
- (vcal_importer_new)
- (gnome_calendar_importer_destroy_cb): Destroy signal -> weak ref.
-
- * importers/main.c: Add necessary includes. Shlibify.
-
-2003-02-28 Dan Winship <danw@ximian.com>
-
- * gui/dialogs/Makefile.am: build libcal-dialogs as an uninstalled
- shared library
- ($(IDL_GENERATED_H), etc): Only generate
- Evolution-Addressbook-SelectNames.h, not the corresponding .c
- files, or we'll get duplicate symbol errors trying to link this
- into libevolution_calendar.la
-
- * gui/Makefile.am (libevolution_calendar_la_LIBADD): Update for
- that (and eliminate libtool portability warnings)
-
-2003-02-28 Hans Petter Jansson <hpj@ximian.com>
-
- * Makefile.am (SUBDIRS): Add importers/.
-
- * importers/Makefile.am (server_in_files)
- (server_DATA): Insert $(libexecdir).
-
- * importers/icalendar-importer.c (connect_to_shell):
- oaf_activate_from_id() -> bonobo_activation_activate_from_id().
- (load_vcalendar_file): U_() -> _().
-
- * importers/GNOME_Evolution_Calendar_Importer.server.in:
- Renamed to corresponding .in.in.
-
-2003-02-28 Dan Winship <danw@ximian.com>
-
- * gui/Makefile.am (libevolution_calendar_la_LIBADD): Remove
- libalarm.a, which was not being used by the calendar.
-
- * gui/main.c: Remove unneeded alarm.h include.
-
- * gui/alarm-notify/Makefile.am (noinst_LIBRARIES): Stop building
- libalarm.a
- (evolution_alarm_notify_SOURCES): Add alarm.c, alarm.h
- (evolution_alarm_notify_LDADD): Remove libalarm.a
-
-2003-02-27 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/Makefile.am: link to versist libtool object
-
- * conduits/calendar/Makefile.am: ditto
-
-2003-02-26 Hans Petter Jansson <hpj@ximian.com>
-
- This makes alarm notification work.
-
- * gui/alarm-notify/notify-main.c (main): Initialize GTK. Don't
- initialize bonobo activation - bonobo_init() does that for us.
-
-2003-02-26 Hans Petter Jansson <hpj@ximian.com>
-
- This makes creating appointments and tasks from the "New" button work.
-
- * gui/main.c (comp_editor_factory_fn): Doesn't need to take any args.
- (factory): Add a handler for CompEditorFactory.
-
-2003-02-26 Hans Petter Jansson <hpj@ximian.com>
-
- Fixes Ximian #37895.
-
- * gui/e-day-view.c (e_day_view_destroy): g_object_unref () ->
- pango_font_description_free ().
- (e_day_view_style_set): Ditto.
-
- * gui/e-week-view.c (e_week_view_destroy): Ditto.
-
-2003-02-26 Hans Petter Jansson <hpj@ximian.com>
-
- Fixes Ximian #38306.
-
- * gui/e-itip-control.c (clean_up): Do nothing if the private structure
- has been freed. Don't call non-g_free() freers with NULL pointers.
- (destroy): Do nothing if the private structure has been freed. Clear
- pointers to freed blocks.
-
-2003-02-25 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/print.c (print_calendar): Use fixed margins of 5% of page
- width/height. This is the same cheat as gtkhtml employs to get
- around the fact that GNOME_PRINT_KEY_PAGE_MARGIN_* don't return
- useful values (I think). It sort of sucks, but is better than
- no margins at all.
- (print_comp): Ditto.
-
-2003-02-25 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/calendar-config.c (calendar_config_get_default_view): Get
- default view from correct key.
-
-2003-02-25 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.c (get_widgets): Show start/end-of-day
- widgets.
-
-2003-02-23 Hans Petter Jansson <hpj@ximian.com>
-
- * cal-client/cal-client.c (cal_client_is_read_only): Don't warn
- if calendar isn't loaded... Doesn't seem to hurt, but this should
- probably be investigated further.
-
- * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget):
- If we have no contacts, don't bother trying to set them in the
- widget. Used to pass a NULL list, which would lead to much anxiety
- in callees.
-
- * gui/dialogs/meeting-page.c (meeting_page_fill_widgets):
- If we have no potential organizers, emit a sensible warning.
-
- * gui/dialogs/task-page.c (init_widgets): Don't try to connect to
- the "changed" signal of the GtkTextView -- we listen to the
- GtkTextBuffer now.
-
-2003-02-20 Not Zed <NotZed@Ximian.com>
-
- * gui/e-itip-control.c (destroy): dont unref accounts anymore.
- (change_status): itipAddress -> EAccount.
-
- * gui/calendar-model.c (calendar_model_destroy): dont unref
- accounts anymore.
- (calendar_model_value_at): simplify logic using account_list_find.
-
- * gui/dialogs/task-editor.c (task_editor_edit_comp): use new
- itip_addresses interfaces.
-
- * gui/dialogs/meeting-page.c (meeting_page_construct): use new
- itip_addresses_* interfaces. Should probably be using e_account
- directly.
- (meeting_page_finalize): dont unref the accounts list.
-
- * gui/dialogs/event-editor.c (event_editor_edit_comp): dont unref
- accounts anymore.
-
- * gui/itip-utils.c (itip_addresses_get_default): Just use
- e_account_list_get_default.
- (itip_addresses_get): dont ref the account object, just keep 1 ref
- to it.
- (find_account): remove.
- (itip_organizer_is_user): use e_account_list_find now.
- (itip_sentby_is_user): "
- (comp_limit_attendees): "
-
-2003-02-19 Not Zed <NotZed@Ximian.com>
-
- * gui/dialogs/meeting-page.c: addresses->accounts
- (meeting_page_finalize): unref accounts.
-
- * gui/dialogs/event-editor.c: Use EAccountList api's
-
- * pcs/cal-backend-util.c (cal_backend_mail_account_get): Removed,
- use a global EAccountList instead.
- (cal_backend_mail_account_get_default): Use the global
- EAccountList directly.
- (cal_backend_mail_account_is_valid): And here too.
-
- * gui/itip-utils.h: Removed ItipAddress structure.
-
- * gui/itip-utils.c (itip_addresses_get): Change it to return a
- global account object, so we dont need to duplicate all account
- info in the calendar.
- (itip_addresses_free, itip_address_free): Removed, use
- g_object_unref.
- (itip_addresses_get_default): Return an EAccount.
- (find_account): helper to lookup accounts based on name/address.
- (itip_organizer_is_user): Use helper to find account.
- (itip_sentby_is_user): "
- (comp_limit_attendees): "
- (comp_sentby): Update to use an EAccount direclty.
- (get_address): Removed, now redundant.
-
- * gui/e-itip-control.c: Changed priv->addresses to be accounts
- EAccountList.
- (destroy): unref accounts.
- (find_my_address): Change to use accounts list directly, also fix
- a small potential memleak.
-
- * gui/calendar-model.c: Change priv->addresses to be a direct
- reference to an EAccountList, renamed priv->accounts.
- (calendar_model_destroy): unref accounts.
- (calendar_model_value_at): Use EAccountList directly to lookup
- members.
-
- * gui/calendar-config.c (calendar_config_get_timezone)
- (calendar_config_set_timezone): Fix timezone key.
- (calendar_config_get_24_hour_format): Same for 24 hour format key.
- (calendar_config_set_24_hour_format): And here.
- (calendar_config_get_week_start_day): "
- (calendar_config_set_week_start_day): "
- (calendar_config_get_day_start_hour): "
- (calendar_config_set_day_start_hour): "
- (calendar_config_get_day_start_minute): "
- (calendar_config_set_day_start_minute): "
- (calendar_config_get_day_end_hour): "
- (calendar_config_set_day_end_hour): "
- (calendar_config_get_day_end_minute)
- (calendar_config_set_day_end_minute)
- (calendar_config_get_time_divisions)
- (calendar_config_set_time_divisions)
- (calendar_config_get_dnav_show_week_no)
- (calendar_config_set_dnav_show_week_no)
- (calendar_config_get_default_view)
- (calendar_config_set_default_view)
- (calendar_config_get_hpane_pos, calendar_config_set_hpane_pos)
- (calendar_config_get_vpane_pos, calendar_config_set_vpane_pos)
- (calendar_config_get_month_hpane_pos)
- (calendar_config_set_month_hpane_pos)
- (calendar_config_get_month_vpane_pos)
- (calendar_config_set_month_vpane_pos)
- (calendar_config_get_compress_weekend)
- (calendar_config_set_compress_weekend)
- (calendar_config_get_show_event_end)
- (calendar_config_set_show_event_end)
- (calendar_config_get_working_days)
- (calendar_config_set_working_days)
- (calendar_config_get_hide_completed_tasks)
- (calendar_config_set_hide_completed_tasks)
- (calendar_config_get_hide_completed_tasks_units)
- (calendar_config_set_hide_completed_tasks_units)
- (calendar_config_get_hide_completed_tasks_value)
- (calendar_config_set_hide_completed_tasks_value)
- (calendar_config_get_confirm_delete)
- (calendar_config_set_confirm_delete)
- (calendar_config_get_confirm_expunge)
- (calendar_config_set_confirm_expunge)
- (calendar_config_get_tasks_due_today_color)
- (calendar_config_set_tasks_due_today_color)
- (calendar_config_get_tasks_overdue_color)
- (calendar_config_set_tasks_overdue_color)
- (calendar_config_get_use_default_reminder)
- (calendar_config_set_use_default_reminder)
- (calendar_config_get_default_reminder_interval)
- (calendar_config_set_default_reminder_interval)
- (calendar_config_get_default_reminder_units)
- (calendar_config_set_default_reminder_units)
- (calendar_config_default_calendar_folder)
- (calendar_config_default_tasks_folder): Update config paths for
- new config convention, etc.
-
- * gui/alarm-notify/save.c (KEY_LAST_NOTIFICATION_TIME, etc):
- Updated keys to lowercase/proper path.
- (save_calendars_to_load): Store the calendars list as a gconf
- list.
- (get_calendars_to_load): Load the calendars list as a gconf list.
- (save_blessed_program): Similar, for the blessed program list.
- (is_blessed_program): Same here.
-
- * gui/alarm-notify/config-data.c (config_data_get_timezone): Update
- the path to the timezone key.
- (config_data_get_24_hour_format): Fix path to config option.
-
- * conduits/todo/todo-conduit.c (get_default_timezone): lower-case
- the timezone key.
-
- * conduits/calendar/calendar-conduit.c (get_default_timezone):
- lower-case the timezone key.
-
- * cal-client/cal-client.c (get_default_uri): Use the proper path
- to get the default folder uri's.
-
-2003-02-23 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/gnome-cal.c (backend_died_cb): Appease the compiler.
- (gnome_calendar_update_paned_quanta): Don't actually try to set
- the quantum properties. The quantum code should probably go away
- entirely now that the panes update during resize, but let's keep
- it around for a bit more.
-
- * gui/dialogs/event-editor.c (event_editor_construct): Ref & sink
- the pages.
-
- * gui/dialogs/task-editor.c (task_editor_construct): Ref & sink
- the pages.
-
-2003-02-23 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/cal-search-bar.c (make_suboptions): Eliminate
- e_utf8_to_gtk_string ().
-
- * gui/e-timezone-entry.c (e_timezone_entry_get_display_name):
- Ditto.
-
- * gui/calendar-model.c (date_value_to_string):
- e_utf8_from_locale_string () -> g_locale_to_utf8 ().
- (calendar_model_value_to_string): Ditto.
-
- * gui/e-cell-date-edit-text.c (ecd_get_text): Ditto.
-
- * gui/e-itip-control.c (write_label_piece): Ditto.
-
- * gui/print.c (format_date): Ditto.
- (print_week_view_background): Ditto.
- (print_month_summary): Ditto.
- (print_date_label): Ditto.
- (print_comp_item): Ditto.
-
- * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading):
- Ditto.
-
-2003-02-22 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/dialogs/task-details-page.c (get_widgets): Show the custom
- widgets, since libglade appears to not want to do that.
-
- * gui/dialogs/task-page.c (clear_widgets): Make the description
- field use a GtkTextView.
- (task_page_fill_widgets): Ditto.
- (task_page_fill_component): Ditto.
- (init_widgets): Ditto.
- (get_widgets): Show the custom widgets, since libglade doesn't do it.
-
-2003-02-22 Hans Petter Jansson <hpj@ximian.com>
-
- * pcs/cal-backend.c (cal_backend_unref_categories): Add an
- iteration statement. Fixes hang in wombat.
-
-2003-02-22 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/apps_evolution_calendar.schemas: Commit fixes from
- Grzegorz Goawski <grzegol@pld.org.pl>.
-
-2003-02-21 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/calendar-model.c (calendar_model_class_init): GObject, not
- GtkObject.
- (calendar_model_destroy): -> calendar_model_finalize ().
-
- * gui/calendar-view.c (calendar_view_class_init): GObject, not
- GtkObject.
- (calendar_view_destroy): -> calendar_view_finalize ().
-
- * gui/comp-editor-factory.c (comp_editor_factory_class_init):
- GObject, not GtkObject.
- (comp_editor_factory_destroy): -> comp_editor_factory_finalize ().
-
- * gui/e-day-view.c (e_day_view_long_event_button_press):
- gtk_signal_disconnect () -> g_signal_handler_disconnect ().
- (e_day_view_on_event_button_press): Ditto.
- (e_day_view_on_long_event_click): Ditto.
- (e_day_view_on_event_click): Ditto.
- (e_day_view_on_event_double_click): Ditto.
- (e_day_view_on_delete_appointment): Ditto.
-
- * gui/e-week-view.c (e_week_view_on_text_item_event):
- gtk_signal_disconnect () -> g_signal_handler_disconnect ().
-
- * gui/alarm-notify/alarm-notify.c (AlarmNotify_RemoveCalendar):
- Don't cast to GtkObject.
-
-2003-02-21 Dan Winship <danw@ximian.com>
-
- * cal-client/Makefile.am (libcal_client_la_LIBADD): depend on
- libcal-util, libwombat, and libeutil
- (client_test_LDADD): Remove those deps from here
-
- * cal-util/Makefile.am (libcal_util_la_LIBADD): depend on
- libical-evolution.la
- (test_recur_LDADD): Remove that dependency here (and an ancient
- libversit dependency).
-
- * gui/alarm-notify/Makefile.am (evolution_alarm_notify_LDADD):
- remove some deps
-
- * gui/Makefile.am (libevolution_calendar_la_LIBADD): Likewise.
-
-2003-02-20 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/apps_evolution_calendar.schemas: Add GConf schemas.
-
- * gui/Makefile.am (EXTRA_DIST): Dist GConf schemas.
- (install-data-local): Install GConf schemas.
-
-2003-02-20 Dan Winship <danw@ximian.com>
-
- * gui/Makefile.am (libevolution_calendar_la_LIBADD):
- s/libemiscwidgets.a/libemiscwidgets.la/ and likewise for
- libetimezonedialog
-
-2003-02-19 Ettore Perazzoli <ettore@ximian.com>
-
- * pcs/Makefile.am: Split $(CORBA_GENERATED_H) rule from the
- $(CORBA_GENERATED_C) rule to that it autogens properly when using
- parallel makes.
- * cal-client/Makefile.am: Likewise.
-
- * gui/gnome-cal.c (gnome_calendar_setup_view_menus): Fix path to
- the calendar's GAL Views directory. [Pointed out by Grzegorz
- Goawski.]
-
-2003-02-11 Hans Petter Jansson <hpj@ximian.com>
-
- Enable printing for calendar and tasks.
-
- * gui/print.c: Set default font to be "Sans". Store the PrintConfig
- globally instead of PaperInfo (which doesn't exist anymore).
- (get_font_for_size): Don't use
- gnome_font_face_find_closest_from_weight_slant() anymore, since
- it's broken. Instead, use gnome_font_face_find() and put bold- and
- italicness in the name to look for. Descenders can now be negative,
- so have to take the absolute value to get font height.
- (print_comp): Use global, persistent print configuration.
- GnomePrintDialog is now a GtkDialog. Remove manual configuration
- parameter shuffling. Set up page using new methods.
- (print_calendar): Like print_comp(). For month view, force landscape
- mode by temporarily setting it in the config, and remove the old hack.
- (print_setup): Port. I'm not sure this works, but at least it
- compiles now. How do I test this code path?
- (print_day_view): Pass NULL for page denominator.
- (print_week_view): Ditto.
- (print_month_view): Ditto.
- (print_year_view): Ditto.
- (print_comp_item): Add missing gnome_print_beginpage(). How did this
- work before?
-
- * gui/tasks-control.c: Store the PrintConfig globally instead of
- passing individual parameters every time. Persistent too.
- (print_title): Look for "Sans Bold" instead of "Times" with
- GNOME_FONT_BOLD property. Don't use find_closest_from_weight_slant().
- (print_tasks): Set up page using new methods. GnomePrintMaster ->
- GnomePrintJob. Get params from global config instead of args.
- (tasks_control_print_cmd): Use global, persistent print configuration.
- Remove manual portrait/landscape hack. GnomePrintDialog is now a
- GtkDialog. Set params in global config instead of passing them to
- print_tasks().
- (tasks_control_print_preview_cmd): print_tasks() now takes fewer
- args.
-
-2003-02-11 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
- Don't use gtk_scrolled_window_set_scrollbar_spacing() anymore.
-
-2003-02-10 Hans Petter Jansson <hpj@ximian.com>
-
- * pcs/cal-backend-file.c (save): Don't try to make an error string
- from an uninitialized GnomeVFSResult.
-
-2003-02-10 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/Makefile.am: Make the CORBA IDL compilation work with
- parallel makes.
- * gui/dialogs/Makefile.am: Likewise.
- * gui/alarm-notify/Makefile.am: Likewise.
-
-2003-02-07 Rodney Dawes <dobey@ximian.com>
-
- * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in:
- remove this file, as it's generated now
- * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in:
- Add this file to generate the .server.in from, with hardcoded path
- * gui/alarm-notify/Makefile.am: Hardcode path in server file
-
-2003-02-07 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #37706
-
- * gui/comp-editor-factory.c (cal_opened_cb): added PERMISSION_DENIED
- case for not ending process on g_assert_not_reached.
-
-2003-02-06 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/e-day-view-time-item.c
- (e_day_view_time_item_show_popup_menu): Use
- e_auto_kill_popup_menu_on_selection_done() instead of
- e_auto_kill_popup_menu_on_hide().
- * gui/dialogs/meeting-page.c (right_click_cb): Likewise.
-
-2003-02-06 Dan Winship <danw@ximian.com>
-
- * gui/dialogs/event-page.c (make_timezone_entry): show the widget
- before returning it.
-
- * importers/main.c (main): s/PACKAGE/GETTEXT_PACKAGE/ in gettext
- init
-
-2003-02-05 Dan Winship <danw@ximian.com>
-
- * gui/Makefile.am (INCLUDES): Remove cruft. Rename ICONSDIR to
- IMAGESDIR.
- (gladedir, etspecdir, serverdir): Remove definitions
- (libevolution_calendar_la_LDFLAGS): Remove -export-dynamic, add
- -module.
-
- * gui/calendar-config.c: #include <string.h>
-
- * gui/calendar-component.c (add_creatable_item):
- s/ICONSDIR/IMAGESDIR/
-
- * gui/comp-util.c: #include <string.h>
-
- * gui/e-alarm-list.c: #include e-time-utils.h
- (row_deleted): Remove unused variable.
- (e_alarm_list_append): Likewise.
-
- * gui/e-date-time-list.c: #include e-time-utils.h, timeutil.h,
- calendar-config.h
- (row_deleted): Remove unused variable
- (e_date_time_list_append): Likewise.
-
- * gui/e-day-view.c (e_day_view_unrealize): Remove unused var
- (e_day_view_style_set): Likewise.
- (e_day_view_set_event_font_cb): Likewise.
-
- * gui/e-day-view-time-item.c: #include <string.h>
- (e_day_view_time_item_get_column_width): Remove unused variable.
-
- * gui/e-itip-control.c: #include <unistd.h>
- (url_requested_cb): s/ICONSDIR/IMAGESDIR/
-
- * gui/e-week-view.c (e_week_view_unrealize): Remove unused variable
- (e_week_view_style_set): Likewise
-
- * gui/e-week-view-titles-item.c: #include string.h
- * gui/itip-bonobo-control.c: Likewise
- * gui/print.c: Likewise
-
-
- * gui/alarm-notify/Makefile.am: Use privlibexecdir.
- (INCLUDES): Remove cruft.
- (gladedir, serversdir): Remove definitions
- (evolution_alarm_notify_LDFLAGS): Remove no-longer-needed
- -export-dynamic.
-
- * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading):
- s/ICONSDIR/IMAGESDIR
-
- * gui/alarm-notify/notify-main.c (main): Fix up gettext
- initialization
-
-
- * gui/dialogs/Makefile.am (INCLUDES): Remove cruft. Rename
- ICONSDIR to IMAGESDIR.
- (gladedir, etspecdir): Remove definitions
-
- * gui/dialogs/alarm-page.c: #include gtktreeselection.h and
- gtkcellrenderertext.h
- (append_reminder): Remove unused variable.
- (alarm_page_fill_component): Likewise.
- (alarm_page_set_summary): Likewise.
- (delete_clicked_cb): Likewise.
-
- * gui/dialogs/comp-editor.c (make_icon_from_comp):
- s/ICONSDIR/IMAGESDIR/
-
- * gui/dialogs/event-page.c: #include <string.h>
-
- * gui/dialogs/meeting-page.c (meeting_page_construct): Remove
- unused variable.
- (meeting_page_fill_widgets): Likewise
-
- * gui/dialogs/recurrence-page.c: #include gtktreeselection.h and
- gtkcellrenderertext.h
- (append_exception): Remove unused variable
- (fill_component): Likewise
- (recurrence_page_set_summary): Likewise.
- (exception_delete_cb): Likewise
-
-
- * cal-client/Makefile.am (libcal_clientincludedir): Define in
- terms of privincludedir
-
- * cal-client/client-test.c (main): Fix up gettext initialization
-
- * cal-client/cal-client.c (cal_client_construct): Likewise
-
-
- * cal-util/Makefile.am (INCLUDES): Remove cruft.
- (libcal_utilincludedir): Define in terms of privincludedir
-
-
- * pcs/Makefile.am (INCLUDES): Remove cruft.
- (pcsincludedir): Define in terms of privincludedir
-
- * pcs/cal-backend-file.c (cal_backend_file_finalize): Remove
- unused variable
-
-
- * importers/Makefile.am: Update this some although it's not
- currently being built
-
-2003-02-05 Dan Winship <danw@ximian.com>
-
- * gui/alarm-notify/notify-main.c (main):
- s/glade_gnome_init/glade_init/
-
- * gui/calendar-offline-handler.c: s/BonoboXObject/BonoboObject/
-
- * gui/comp-editor-factory.c: Likewise
-
-2003-02-05 Dan Winship <danw@ximian.com>
-
- * cal-util/cal-recur.c (cal_recur_nth): array of localized month
- day names ("1st" - "31st")
-
- * gui/dialogs/recurrence-page.c (make_recur_month_num_submenu,
- make_recur_month_num_menu, month_num_menu_selection_done_cb): Use
- the new cal_recur_nth[] array. The way this was done before didn't
- localize properly.
-
- From evolution-1-2-branch:
-
- * gui/e-itip-control.c (write_recurrence_piece): Describe
- recurrences, if we can. #30993
- (set_date_label): If the meeting has recurrences, call
- write_recurrence_piece after writing the start and end dates.
- (write_label_piece): Wrap the timezone in <font size=-1> to
- de-emphasize it a bit and try to keep the timestamp on a single
- line even with big Outlook timezone names. Add an option to show
- just the date, for describing the end of recurrences (since the
- time in the UNTIL is the *beginning* of the last instance, which
- would confuse people).
- (update_item): Set the VCALENDAR's METHOD.
- (ok_clicked_cb): Use update_item, not remove_item, to process a
- cancelation. Part of #33875.
-
- * pcs/cal-backend-file.c (cal_backend_file_cancel_object): New,
- handle an ICAL_METHOD_CANCEL update.
- (cal_backend_file_update_objects): Call
- cal_backend_file_update_object or cal_backend_file_cancel_object
- as appropriate.
-
-2003-02-04 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_on_invite_others_button_draw):
- Rename to e_meeting_time_selector_on_invite_others_button_expose()
- and handle "expose-event" instead of "draw".
- (e_meeting_time_selector_construct): The "draw" signal doesn't exist
- anymore - connect to "expose-event" instead.
-
- * gui/dialogs/event-page.c (clear_widgets): Clear the GtkTextBuffer
- for the description.
- (event_page_fill_widgets): Use the GtkTextBuffer.
- (event_page_fill_component): Use the GtkTextBuffer.
- (init_widgets): Create a GtkTextBuffer for the GtkTextView. Set word
- wrap. Connect to the "changed" signal of the model instead of the view.
-
-2003-02-04 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-meeting-time-sel-item.c
- (e_meeting_time_selector_item_paint_day_top): Use PangoLayout to
- draw text.
-
-2003-02-02 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-day-view.c (e_day_view_set_event_font_cb): Skip setting the
- "font_gdk" arg for now.
- (e_day_view_update_main_canvas_drag): Ditto.
-
- * gui/e-week-view.c (e_week_view_style_set): Ditto.
-
- * gui/weekday-picker.c (configure_items): Ditto.
-
- * gui/dialogs/event-page.c (get_widgets): Show custom widgets
- manually, since the visibility specified in the Glade XML appears
- to not have any effect.
-
- * gui/dialogs/recurrence-page.c (get_widgets): Ditto.
-
-2003-01-30 Ronald Kuetemeier <ronald@kuetemeier.com>
-
- Fixes #35572
-
- * gui/alarm-notify/alarm-queue.c: set saved_notification_time to last
- notification time when we update the config to last notification, so
- alarms will not get trigged again if a new calendar window is opened.
-
-2003-01-26 Chris Toshok <toshok@ximian.com>
-
- * conduits/todo/todo-conduit.c: CalClient and CalComponent are
- GObjects.
-
- * conduits/calendar/calendar-conduit.c: same.
-
-2003-01-26 Chris Toshok <toshok@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (start_calendar_server):
- fix warning.
- (get_default_timezone): BonoboConfigDatabase -> e_config_listener.
- (accept_all_cookies): remove.
- (conduit_get_gpilot_conduit): remove the oaf initialization stuff.
-
- * conduits/todo/todo-conduit.c (start_calendar_server):
- fix warning.
- (get_default_timezone): BonoboConfigDatabase -> e_config_listener.
- (accept_all_cookies): remove.
- (conduit_get_gpilot_conduit): remove the oaf initialization stuff.
-
- * Makefile.am (CONDUIT_DIR): uncomment the conduit stuff.
-
-2003-01-26 Hans Petter Jansson <hpj@ximian.com>
-
- Make clicks, drags and resizes work, and pangoize remaining strings.
- Fix EText placement.
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
- Use Pango.
-
- * gui/e-day-view.c (e_day_view_on_top_canvas_button_press):
- Don't add scroll offset, it's already factored in.
- (e_day_view_on_main_canvas_button_press): Ditto.
- (e_day_view_on_top_canvas_motion): Ditto.
- (e_day_view_on_main_canvas_motion): Ditto.
- (e_day_view_reshape_long_event): Don't set the "font_gdk" property.
- Its non-existence will prevent the other properties from being set as
- well.
- (e_day_view_reshape_day_event): Ditto.
- (e_day_view_update_top_canvas_drag): Ditto.
- (e_day_view_start_editing_event): ETextEventProcessor is a GObject
- now. So use g_signal_stuff.
- (e_day_view_check_auto_scroll): Factor out scroll offset before
- checking the pointer's position relative to widget.
- (e_day_view_auto_scroll_handler): Don't freeze the canvas when
- scrolling - it will fail to update the canvas. If this is not
- intended behaviour, it's a bug in the canvas, I think.
- (e_day_view_on_main_canvas_drag_motion): Factor in the scroll offset
- before checking for auto-scroll, since the function requires this.
-
- * gui/e-week-view.c (e_week_view_reshape_event_span): Don't set the
- "font_gdk" property. Its non-existence will prevent the other
- properties from being set as well.
- (e_week_view_start_editing_event): ETextEventProcessor is a GObject
- now. So use g_signal_stuff.
-
-2003-01-25 Hans Petter Jansson <hpj@ximian.com>
-
- Mainly making all views use PangoLayouts for text. When drawing a
- PangoLayout, the draw offset is the top left corner of the layout,
- not the text's baseline. Keep this in mind when viewing the
- changes. I'll be brief about the exact changes, since they speak
- better for themselves.
-
- * gui/e-day-view-time-item.c (e_day_view_time_item_get_column_width):
- Use Pango.
- (e_day_view_time_item_draw): Use Pango.
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw): Use Pango.
- (e_day_view_top_item_draw_long_event): Add some FIXME text so we can
- see when this is being used. Is it in use at all?
-
- * gui/e-day-view.c: No longer specify an explicit X font string for
- the large font. Use the main font, and change the point size.
- (e_day_view_init): Use Pango.
- (e_day_view_style_set): Use Pango. Comment out the gdk_font setting
- for the drag text items for now.
-
- * gui/e-day-view.h: Use Pango.
-
- * gui/e-week-view-event-item.c (e_week_view_draw_time): Use Pango.
-
- * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
- Use Pango.
-
- * gui/e-week-view-titles-item.c (e_week_view_titles_item_draw):
- Use Pango.
-
- * gui/e-week-view.c: No longer specify an explicit X font string for
- the small font. Use the main font, and change the point size.
- (e_week_view_init): Use Pango.
- (e_week_view_destroy): Use Pango.
- (get_string_width): Implemented for convenience.
- (get_digit_width): Implemented for convenience.
- (e_week_view_style_set): Use Pango.
- (e_week_view_recalc_cell_sizes): Use Pango.
- (e_week_view_get_time_string_width): Use Pango.
-
- * gui/e-week-view.h: Use Pango.
-
- Following are some random UTF-8 fixes and a crash fix.
-
- * gui/itip-utils.c (comp_description): Use g_locale_to_utf8 ().
-
- * gui/dialogs/comp-editor.c (make_title_from_comp): Return a
- UTF-8 string.
-
- * gui/dialogs/alarm-page.c (alarm_page_set_summary): Pass UTF-8
- directly to GTK.
-
- * gui/dialogs/delete-comp.c (delete_component_dialog): Ditto.
-
- * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): Ditto.
- (meeting_page_construct): Ditto.
-
- * gui/dialogs/recurrence-page.c (recurrence_page_set_summary): Ditto.
-
- * gui/dialogs/event-editor.c (event_editor_finalize): Fix crash caused
- by gtk_object_destroy()-ing a non-GtkObject.
-
-2003-01-24 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_editing_stopped): Don't insist
- appointment is updated if both old and new summary are blank.
-
- * gui/e-week-view.c (e_week_view_on_editing_stopped): Ditto.
-
- * gui/e-timezone-entry.c (on_button_clicked): Timezone dialog is now
- a GtkDialog. Treat it as such.
-
- * gui/goto.c (ecal_event): Goto dialog is now a GtkDialog. Treat it
- as such.
- (goto_dialog): Ditto.
-
- * gui/goto-dialog.glade: Set the return IDs from the dialog buttons.
-
- * gui/dialogs/meeting-page.c (popup_delegate_cb): Enable the delegate
- dialog. It's now a GtkDialog, so treat it like one.
- (right_click_cb): Use GTK stock item, not GNOME (that doesn't work
- anymore).
-
- * gui/e-delegate-dialog.glade: Set the return IDs from dialog buttons.
-
- * gui/print.c (print_calendar): Correct the print dialog init. Code
- is still not enabled, though.
-
- * gui/tasks-control.c (print_tasks): Add a warning about printing
- being disabled.
-
-2003-01-24 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/dialogs/Makefile.am (iconsdir): Remove, this is now defined
- in configure.in.
-
- * gui/Makefile.am (iconsdir): Remove; this is now defined in
- configure.in.
-
- * gui/alarm-notify/Makefile.am (iconsdir): Remove; this is now
- defined in configure.in.
-
-2003-01-23 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/dialogs/event-page.c (get_widgets): GTK_OBJECT -> G_OBJECT cast.
-
- * gui/dialogs/alarm-page.c (get_widgets): Ditto.
-
- * gui/dialogs/meeting-page.c (get_widgets): Ditto.
-
- * gui/dialogs/recurrence-page.c (get_widgets): Ditto.
-
- * gui/dialogs/schedule-page.c (get_widget): Ditto.
-
- * gui/dialogs/task-details-page.c (get_widget): Ditto.
-
- * gui/dialogs/task-page.c (get_widget): Ditto.
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Add a
- FIXME comment to think about.
-
- * gui/dialogs/comp-editor.c (comp_editor_merge_ui): Add a terminating
- NULL to the concatenation.
-
-2003-01-23 Hans Petter Jansson <hpj@ximian.com>
-
- Fixes some trivial, but distracting, warnings.
-
- * gui/calendar-config.c (on_timezone_set): Fix constness.
-
- * gui/e-timezone-entry.c (on_button_clicked): Fix constness.
-
- * gui/dialogs/event-page.c (contacts_changed_cb): Fix constness.
-
- * gui/dialogs/task-page.c (contacts_changed_cb): Fix constness.
-
- * gui/e-itip-control.c (start_default_server): Cast callback with
- G_CALLBACK ().
-
- * gui/dialogs/schedule-page.c (init_widgets): Cast callback with
- G_CALLBACK ().
-
- * gui/calendar-offline-handler.c (impl_dispose): Takes GObject,
- not GtkObject.
- (impl_finalize): Ditto.
-
- * gui/calendar-view.c (calendar_view_edit): Now takes parent window
- as second arg.
-
- * gui/e-meeting-model.c (select_names_ok_cb): Fix constness.
- (get_select_name_dialog): Cast callback to BonoboListenerCallbackFn.
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_options_menu_position_callback): Add the
- push_in arg to arg list. This was crash-prone before.
- (e_meeting_time_selector_autopick_menu_position_callback): Ditto.
-
- * gui/alarm-notify/alarm-notify-dialog.c: Include e-unicode.h.
-
-2003-01-23 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/Makefile.am (componentdir): Removed definition; this is now
- defined in configure.in.
-
-2003-01-22 Ettore Perazzoli <ettore@ximian.com>
-
- * pcs/cal-backend.c (cal_backend_ref_categories): Do not put the
- category in both the changed_categories and the categories hashes;
- fixes a double-free when finalizing the CalBackend.
-
-2003-01-22 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_setup_view_menus): Use
- EVOLUTION_GALVIEWSDIR.
-
- * gui/e-tasks.c (e_tasks_setup_view_menus): Use
- EVOLUTION_GALVIEWSDIR.
-
- * cal-util/Makefile.am: Install libcal-util.la in $(privlibdir)
- instead of $(libdir).
-
- * gui/dialogs/comp-editor.c (setup_widgets): Get
- evolution-comp-editor.xml from EVOLUTION_UIDIR.
- (comp_editor_merge_ui): Get the file in EVOLUTION_UIDIR.
-
- * gui/tasks-control.c (tasks_control_activate): Get
- evolution-tasks.xml from EVOLUTION_UI_DIRECTORY.
-
- * gui/calendar-commands.c (calendar_control_activate): Get
- evolution-calendar.xml from EVOLUTION_UI_DIRECTORY.
-
- * pcs/Makefile.am (pcsincludedir): Version using $(BASE_VERSION).
-
- * importers/Makefile.am: Install evolution-calendar-importer in
- $(libexecdir)/evolution/$(BASE_VERSION).
- (sounddir): Remove.
-
- * gui/dialogs/Makefile.am (iconsdir): Version using
- $(BASE_VERSION).
- (gladedir): Likewise.
- (etspecdir): Likewise.
-
- * gui/Makefile.am (help_base): Remove.
- (install-data-local): Do not make the $(help_base)/C directory.
- (etspecdir): Version using $(BASE_VERSION).
- (gladedir): Likewise.
- (iconsdir): Likewise.
- (INCLUDES): Update the EVOLUTION_IMAGESDIR define to be versioned,
- and add a -DEVOLUTION_GALVIEWSDIR.
-
- * cal-util/Makefile.am: Install evolution-alarm-notify in
- $(libexecdir)/evolution/$(BASE_VERSION).
-
- * cal-util/Makefile.am (libcal_utilincludedir): Version using
- $(BASE_VERSION).
- * gui/alarm-notify/Makefile.am (iconsdir): Likewise.
- (gladedir): Likewise.
-
- * cal-client/Makefile.am: Install libcal-client.la in privlibdir
- instead of libdir.
- (libcal_clientincludedir): Version using $(BASE_VERSION).
-
-2003-01-18 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/print.c (print_calendar): Create a GnomePrintDialog,
- not a GnomePrinterDialog. They're different things. Patch from
- Chema.
-
-2003-01-17 Dan Winship <danw@ximian.com>
-
- * pcs/cal-backend.c: Move some non-file-backend-specific stuff
- from cal-backend-file here so it can be shared with other
- backends.
- (CalBackendPrivate): add this, containing the categories hashes
- and the (formerly public) clients list.
- (cal_backend_init, cal_backend_finalize): Handle backend->priv.
- (cal_destroy_cb): Simplify this (and redo it as a weak notify
- func)
- (cal_backend_add_cal): Keep a weak ref on the cal rather than
- connecting to its "destroy" signal. Call notify_categories_changed
- to let the new cal know about them.
- (get_object): Default implementation of cal_backend_get_object.
- that calls cal_component_get_as_string on the return value of
- cal_backend_get_object_component.
- (cal_backend_notify_mode, cal_backend_notify_update,
- cal_backend_notify_remove, cal_backend_notify_error): Notify each
- Cal about something.
- (cal_backend_ref_categories, cal_backend_unref_categories):
- Maintain a list of categories that are used by components in the
- backend, and trigger categories_changed notifications as needed.
-
- * pcs/cal-backend-file.c: Remove stuff that was moved to
- CalBackend (notify funcs, category handling, get_object
- implementation)
-
-2003-01-16 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-alarm-list.[ch]: Implement EAlarmList as CalComponentAlarm
- list with a GtkTreeModel interface.
-
- * gui/Makefile.am: Add e-alarm-list.[ch].
-
- * gui/dialogs/alarm-page.[ch]: Use GtkTreeView with the new
- EAlarmList as model for the alarm list. Update copyright.
-
- * gui/dialogs/recurrence-page.[ch]: Update copyright.
- (free_exception_date_time): Removed.
- (fill_exception_widgets): Kill a lingering clist operation.
-
-2003-01-15 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
- Create accel groups for popup menus. Fixes crash.
-
- * gui/e-date-time-list.[ch]: Implement EDateTimeList as
- CalComponentDateTime list with a GtkTreeModel interface.
-
- * gui/Makefile.am: Add e-date-time-list.[ch].
-
- * gui/dialogs/recurrence-page.c: Use GtkTreeView with the new
- EDateTimeList as model for the exception list.
-
- * gui/e-day-view.c: Silence warnings caused by missing casts.
-
- * gui/e-week-view.c: Silence warnings caused by missing casts.
-
-2003-01-15 Rodney Dawes <dobey@ximian.com>
-
- * gui/Makefile.am: Added libevolution_calendar_la_LDFLAGS, and
- avoid versioning the shlib component
-
-2003-01-14 Ettore Perazzoli <ettore@ximian.com>
-
- * cal-client/Makefile.am (CORBA_SOURCES_GENERATED): Renamed from
- CORBA_GENERATED.
- (CORBA_GENERATED): New, put both $(CORBA_SOURCES_GENERATED) and
- $(CORBA_HEADERS_GENERATED) in it.
- (BUILT_SOURCES): Put $(CORBA_GENERATED) in here.
-
-2003-01-14 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-calendar-table.c (tasks_popup_menu): Cast signal handlers
- to GtkSignalFunc, avoid warnings.
-
- * gui/gnome-cal.c (set_view): Only set view ID if we have an instance.
-
-2003-01-14 Ettore Perazzoli <ettore@ximian.com>
-
- * cal-util/Makefile.am (EXTRA_DIST): cal-util-marshal.list.
-
- * Makefile.am: Comment out the CONDUIT_DIR stuff for now.
-
-2003-01-14 Rodney Dawes <dobey@ximian.com>
-
- * gui/gnome-cal.c: Use GtkPaned instead of EPaned
-
-2003-01-14 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/e-day-view.c (e_day_view_init): Work around canvas crashes
- by ensuring rectangles have an initial width.
-
-2003-01-13 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/config-control-factory.h: Removed.
- * gui/config-control-factory.c: Removed.
-
- * gui/itip-bonobo-control.c: Renamed from itip-control-factory.c.
- (itip_bonobo_control_new): New.
- (itip_control_factory_init): Removed.
-
- * gui/itip-bonobo-control.h: Renamed from itip-control-factory.h.
-
- * gui/tasks-control-factory.c: Removed.
- * gui/tasks-control-factory.h: Removed.
-
- * gui/control-factory.c (control_factory_init): Removed.
-
- * gui/Makefile.am: Updated to build everything as
- libevolution-calendar.so and install in the COMPONENTDIR.
-
- * gui/GNOME_Evolution_Calendar.server.in.in: Updated to build the
- component as a shared library.
-
- * gui/main.c (main): Removed.
-
- * gui/calendar-component.c (calendar_component_get_object): New.
- (owner_set_cb): Do not store the shell pointer in shells.
- (owner_unset_cb): Do not remove the shell pointer from shells;
- instead, just set global_shell_client to NULL.
-
- * gui/calendar-component.h: Renamed from component-factory.h.
- * gui/calendar-component.c: Renamed from component-factory.c.
-
-2003-01-10 Ettore Perazzoli <ettore@ximian.com>
-
- * importers/icalendar-importer.c (connect_to_shell):
- CORBA_Object_release() the CORBA shell.
-
-2003-01-09 Dan Winship <danw@ximian.com>
-
- * gui/dialogs/recurrence-page.c (make_recur_month_num_submenu,
- make_recur_month_num_menu, month_num_menu_selection_done_cb): Use
- the new cal_recur_nth[] array. The way this was done before didn't
- localize properly.
-
- * cal-util/cal-recur.c (cal_recur_nth): array of localized month
- day names ("1st" - "31st")
-
- * cal-util/cal-component.c (cal_component_set_recurid): Allow
- recur_id to be NULL to clear the recurrence id. (Based on a story
- by JP on evolution-1-2-recurid-branch)
-
- * gui/print.c: Remove unused gnome-print-copies.h #include
-
- * pcs/query.c (query_new): Use g_object_weak_ref rather than
- connecting to "destroy" (which doesn't actually exist on a
- CalBackend)
- (backend_destroyed_cb): Update prototype.
-
-2003-01-08 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/alarm-notify/Makefile.am: Icons are now in
- $(datadir)/evolution/images instead of
- $(datadir)/images/evolution.
- * gui/Makefile.am: Likewise.
- * gui/dialogs/Makefile.am: Likewise.
-
-2003-01-06 Dan Winship <danw@ximian.com>
-
- * idl/Makefile.am: remove idldir definition. (It's defined in
- configure.in now)
-
-2002-12-19 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/calendar-commands.c (calendar_control_deactivate):
- Replace gtk_signal_disconnect_by_data() with
- g_signal_handlers_disconnect_matched(). Former takes GtkObject,
- latter takes GObject.
-
- * gui/calendar-model.c (calendar_model_destroy): Ditto.
- (update_query): Ditto.
- (calendar_model_set_cal_client): Ditto.
-
- * gui/e-day-view.c (e_day_view_destroy): Ditto.
- (update_query): Ditto.
- (e_day_view_set_cal_client): Ditto.
-
- * gui/e-tasks.c (query_eval_error_cb): Ditto.
- (query_query_done_cb): Ditto.
-
- * gui/e-week-view.c (e_week_view_destroy): Ditto.
- (update_query): Ditto.
- (e_week_view_set_cal_client): Ditto.
-
- * gui/gnome-cal.c (update_query): Ditto.
- (gnome_calendar_destroy): Ditto.
-
- * gui/tasks-control.c (tasks_control_deactivate): Ditto.
-
- * gui/e-comp-editor-registry.c (foreach_close_cb): Replace
- gtk_signal_handler_(un)block_by_data() with
- g_signal_handlers_(un)block_matched(). Former takes GtkObject, latter
- takes GObject.
-
- * gui/dialogs/alarm-page.c (alarm_page_get_type): Replace with
- E_MAKE_TYPE().
- (alarm_page_class_init): Use GObject as base class instead of
- GtkObject, and set up finalization instead of destroy handler.
- (alarm_page_destroy): Change to alarm_page_finalize() and assume
- parent is GObject, not GtkObject.
- (alarm_page_new): Use g_object_new(), not gtk_type_new().
-
- * gui/dialogs/event-page.c: Same general changes as above file.
- (update_time): Replace gtk_signal_handler_(un)block_by_data()
- with g_signal_handlers_(un)block_matched().
- (clear_widgets): Ditto.
- (times_updated): Ditto.
-
- * gui/dialogs/recurrence-page.c: Same general changes as above file.
- (clear_widgets): Replace gtk_signal_handler_(un)block_by_data()
- with g_signal_handlers_(un)block_matched().
- (append_exception): Ditto.
- (fill_ending_date): Ditto.
- (recurrence_page_fill_widgets): Ditto.
-
- * gui/dialogs/comp-editor.c: Same general changes as above file.
- (comp_editor_finalize): Replace gtk_signal_disconnect_by_data()
- with g_signal_handlers_disconnect_matched().
- (comp_editor_remove_page): Ditto.
-
- * gui/dialogs/event-editor.c: Same general changes as above file.
- * gui/dialogs/meeting-page.c: Same general changes as above file.
- * gui/dialogs/schedule-page.c: Same general changes as above file.
- * gui/dialogs/task-details-page.c: Same general changes.
- * gui/dialogs/task-editor.c: Same general changes as above file.
- * gui/dialogs/task-page.c: Same general changes as above file.
- * gui/dialogs/e-delegate-dialog.c: Same general changes.
-
-2002-12-16 Jeffrey Stedfast <fejj@ximian.com>
-
- * gui/e-itip-control.c (write_html): Use camel_text_to_html()
- instead.
-
-2002-12-16 Jeffrey Stedfast <fejj@ximian.com>
-
- * gui/e-itip-control.c (write_html): Correctly convert text.value
- into HTML here (ie, don't pass "<i>None</i>" into e_text_to_html()
- if text.value is NULL).
-
-2002-12-06 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #35003
-
- * gui/misc.[ch] (get_uri_without_password): new function for
- removing the password from the CalClient's uris.
-
- * gui/gnome-cal.c (client_cal_opened_cb): use the URI returned by
- get_uri_without_password for messages.
- (backend_error_cb): likewise.
- (backend_died_cb): likewise.
- (gnome_calendar_open): likewise.
- (open_error, method_error, permission_error): likewise.
-
- * gui/e-tasks.c (e_tasks_open): hide the password from the URI
- being displayed in messages.
- (backend_error_cb): likewise.
-
-2002-12-06 Hans Petter Jansson <hpj@ximian.com>
-
- * cal-client/cal-query.c (cal_query_done_status_enum_get_type):
- Implement GType for this enumeration.
- (cal_query_class_init): Use the enumeration instead of the
- abstract one.
-
- * cal-client/cal-query.h: Add type macro and proto for enum.
-
-2002-12-06 Hans Petter Jansson <hpj@ximian.com>
-
- * gui/component-factory.c (create_view): Pass the env argument to
- bonobo_control_set_property ().
-
- * gui/e-meeting-model.c (class_init): We're no longer derived from
- GtkObject, so use GObject class methods instead. destroy->finalize.
- (destroy): Zapped.
- (finalize): Implement based on old destroy ().
-
-2002-12-06 Hans Petter Jansson <hpj@ximian.com>
-
- * cal-client/cal-client.c (cal_client_open_status_enum_get_type):
- Create a non-abstract enumeration type derived from GEnum.
- (cal_client_set_mode_status_enum_get_type): Ditto.
- (cal_mode_enum_get_type): Ditto.
- (cal_client_class_init): Use our enumerations and not the abstract
- one.
- (cal_client_finalize): Don't destroy factories, since the CalClient
- doesn't own them anymore. They're shared between CalClients now.
- (get_factories): Implement. Move the factory setup code here from
- cal_client_construct (), and cache the factories. This is hopefully
- temporary, until wombat goes away or is fixed.
- (cal_client_construct): Most of the code moved to get_factories ().
-
- * cal-client/cal-client.h: Add enumeration type macros and protos.
-
- * gui/cal-search-bar.c (cal_search_bar_get_type): Removed in favour
- of E_MAKE_TYPE, which uses GObject calls.
- (cal_search_bar_class_init): Use g_type_class_peek_parent ().
-
- * gui/calendar-model.c (calendar_model_get_type):
- (calendar_model_class_init): Ditto, like above file.
- * gui/calendar-view.c (calendar_view_get_type):
- (calendar_view_class_init): Ditto.
- * gui/e-calendar-table.c (e_calendar_table_get_type):
- (e_calendar_table_class_init): Ditto.
- * gui/e-comp-editor-registry.c (e_comp_editor_registry_get_type):
- (class_init): Ditto.
- * gui/e-day-view-main-item.c (e_day_view_main_item_get_type):
- (e_day_view_main_item_class_init): Ditto.
- * gui/e-day-view-time-item.c (e_day_view_time_item_get_type):
- (e_day_view_time_item_class_init): Ditto.
- * gui/e-day-view-top-item.c (e_day_view_top_item_get_type):
- (e_day_view_top_item_class_init): Ditto.
- * gui/e-day-view.c (e_day_view_get_type):
- (e_day_view_class_init): Ditto.
- * gui/e-itip-control.c (e_itip_control_get_type):
- (class_init): Ditto.
- * gui/e-meeting-attendee.c (e_meeting_attendee_get_type):
- (class_init): Ditto.
- * gui/e-meeting-model.c (e_meeting_model_get_type):
- (class_init): Ditto.
- * gui/e-meeting-time-sel-item.c
- (e_meeting_time_selector_item_get_type):
- (e_meeting_time_selector_item_class_init): Ditto.
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_get_type):
- (e_meeting_time_selector_class_init): Ditto.
- * gui/e-timezone-entry.c (e_timezone_entry_get_type):
- (e_timezone_entry_class_init): Ditto.
- * gui/e-week-view-event-item.c (e_week_view_event_item_get_type):
- (e_week_view_event_item_class_init): Ditto.
- * gui/e-week-view-main-item.c (e_week_view_main_item_get_type):
- (e_week_view_main_item_class_init): Ditto.
- * gui/e-week-view-titles-item.c (e_week_view_titles_item_get_type):
- (e_week_view_titles_item_class_init): Ditto.
- * gui/gnome-cal.c (gnome_calendar_get_type):
- (gnome_calendar_class_init): Ditto.
- * gui/weekday-picker.c (weekday_picker_get_type):
- (weekday_picker_class_init): Ditto.
-
- * gui/e-week-view.c (e_week_view_get_type):
- (e_week_view_class_init): Ditto, but parent_class init was moved
- from get_type() to class_init().
-
- * gui/calendar-view-factory.c (calendar_view_factory_get_type):
- (calendar_view_factory_class_init): Ditto, and set up finalize
- callback instead of destroy.
- (calendar_view_factory_finalize): It's a GObject, so implement this.
- (celendar_view_factory_destroy): Move code to _finalize() and remove.
-
- * gui/main.c (init_bonobo): Remove extraneous bonobo_activation_init().
-
-2002-11-27 Not Zed <NotZed@Ximian.com>
-
- * gui/itip-utils.[ch]: run fix.sh over this.
-
- * gui/dialogs/*.[ch]: run fix.sh over all of this.
-
-2002-11-26 Richard Li <Richard.Li@Sun.COM>
-
- * cal-client/cal-client.c (cal_client_construct): removed extra call
- to CORBA_exception_init.
-
-2002-11-22 Not Zed <NotZed@Ximian.com>
-
- * gui/dialogs/delete-comp.c (delete_component_dialog): Changed
- e_messagebox -> gtk_messagedialog.
-
-2002-11-21 Not Zed <NotZed@Ximian.com>
-
- * gui/component-factory.c (create_view): pass type to
- bonobo_control_set_property.
-
-2002-11-20 Not Zed <NotZed@Ximian.com>
-
- * gui/Makefile.am (EXTRA_DIST): fix typo, servers_in_files ->
- server_in_files.
-
-2002-11-19 Ettore Perazzoli <ettore@ximian.com>
-
- * Makefile.am: Added rule to generate
- GNOME_Evolution_Calendar.server.in from
- GNOME_Evolution_Calendar.server.in.in, substituting @LIBEXECDIR@.
- Also, install evolution-calendar in $libexecdir instead of
- $bindir.
-
- * gui/GNOME_Evolution_Calendar.server.in.in: Renamed from
- GNOME_Evolution_Calendar.server.in. Prepended the executable name
- with @LIBEXECDIR@.
-
-2002-11-19 Not Zed <NotZed@Ximian.com>
-
- * gui/e-meeting-model.c (get_select_name_dialog): pass type to
- bonobo_widget::set_property.
- (select_names_ok_cb): ", for get_property.
-
- * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct):
- pass type to bonobo_widget::set_property & plug small leak.
- (e_delegate_dialog_get_delegate): ", for get_property.
- (e_delegate_dialog_get_delegate_name): "
-
- * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget):
- pass type to bonobo_widget::set_property.
- (comp_editor_contacts_to_component): ", for get_property
-
-2002-11-16 Chris Toshok <toshok@ximian.com>
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set):
- use new e_table_header_compute_height signature.
-
-2002-11-15 Rodney Dawes <dobey@ximian.com>
-
- * gui/component-factory.c: Use bonobo_main_quit instead of gtk
-
-2002-11-13 Federico Mena Quintero <federico@ximian.com>
-
- * cal-client/cal-query.c: #include <string.h>
- (obj_removed_cb): Fixed prototype.
-
- * cal-client/cal-client.c (get_objects_atomically): Fix use of
- g_signal_handler_disconnect().
-
- * cal-client/client-test.c (create_client): Add G_CALLBACK casts.
-
-2002-11-12 Federico Mena Quintero <federico@ximian.com>
-
- * pcs/cal-backend-util.c: #include <string.h>
-
- * pcs/cal.c: Fixed prototypes of the CORBA method implementations.
-
- * pcs/cal-backend-file.c (cal_backend_file_dispose): Added a
- dispose method.
- (cal_backend_file_get_free_busy): Converted to use EConfigListener
- rather than BonoboConfigDatabase.
-
- * gui/alarm-notify/alarm-notify.c: #include <string.h>, fix use of
- g_hash_table_lookup_extended().
-
- * gui/alarm-notify/alarm-notify-dialog.c: Substitute deprecated
- GTK+ functions for new ones.
-
- * gui/alarm-notify/alarm-queue.c: Likewise.
-
- * gui/alarm-notify/notify-main.c: #include <string.h>,
- <gtk/gtkmain.h>.
-
- * gui/alarm-notify/save.c: #include <string.h>.
-
-2002-11-08 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/calendar-commands.c (calendar_control_deactivate): Use
- g_object_set_data(..., NULL) instead of gtk_object_remove_data().
-
- * gui/calendar-commands.c: Use g_object_{set,get}_* functions
- instead of gtk_object_{set,get}_*.
- * gui/calendar-commands.c: Likewise.
- * gui/calendar-config.c: Likewise.
- * gui/control-factory.c: Likewise.
- * gui/e-calendar-table.c: Likewise.
- * gui/e-comp-editor-registry.c: Likewise.
- * gui/e-day-view-main-item.c: Likewise.
- * gui/e-day-view-time-item.c: Likewise.
- * gui/e-day-view-top-item.c: Likewise.
- * gui/e-day-view.c: Likewise.
- * gui/e-meeting-attendee.c: Likewise.
- * gui/e-meeting-model.c: Likewise.
- * gui/e-meeting-time-sel-item.c: Likewise.
- * gui/e-meeting-time-sel.c: Likewise.
- * gui/e-week-view-event-item.c: Likewise.
- * gui/e-week-view-layout.c: Likewise.
- * gui/e-week-view-main-item.c: Likewise.
- * gui/e-week-view-titles-item.c: Likewise.
- * gui/e-week-view.c: Likewise.
- * gui/gnome-cal.c: Likewise.
- * gui/print.c: Likewise.
-
-2002-11-08 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/calendar-commands.c: Use g_object_ref()/g_object_unref()
- instead of gtk_object_ref/gtk_object_unref().
- * gui/calendar-config.c: Likewise.
- * gui/calendar-model.c: Likewise.
- * gui/comp-editor-factory.c: Likewise.
- * gui/comp-util.c: Likewise.
- * gui/e-calendar-table.c: Likewise.
- * gui/e-day-view.c: Likewise.
- * gui/e-itip-control.c: Likewise.
- * gui/e-meeting-model.c: Likewise.
- * gui/e-meeting-time-sel.c: Likewise.
- * gui/e-tasks.c: Likewise.
- * gui/e-timezone-entry.c: Likewise.
- * gui/e-week-view.c: Likewise.
- * gui/gnome-cal.c: Likewise.
- * gui/goto.c: Likewise.
- * gui/itip-utils.c: Likewise.
- * gui/print.c: Likewise.
- * gui/tasks-control.c: Likewise.
- * gui/tasks-migrate.c: Likewise.
-
- * gui/cal-search-bar.c: Use g_object_new() instead of
- gtk_type_new().
- * gui/calendar-model.c: Likewise.
- * gui/calendar-view-factory.c: Likewise.
- * gui/calendar-view.c: Likewise.
- * gui/calendar-view.c: Likewise.
- * gui/comp-editor-factory.c: Likewise.
- * gui/e-calendar-table.c: Likewise.
- * gui/e-cell-date-edit-text.c: Likewise.
- * gui/e-comp-editor-registry.c: Likewise.
- * gui/e-day-view.c: Likewise.
- * gui/e-itip-control.c: Likewise.
- * gui/e-meeting-attendee.c: Likewise.
- * gui/e-meeting-attendee.c: Likewise.
- * gui/e-meeting-model.c: Likewise.
- * gui/e-meeting-time-sel.c: Likewise.
- * gui/e-tasks.c: Likewise.
- * gui/e-timezone-entry.c: Likewise.
- * gui/e-week-view.c: Likewise.
- * gui/gnome-cal.c: Likewise.
- * gui/weekday-picker.c: Likewise.
-
- * gui/e-itip-control.c (get_servers): g_object_unref the
- shell_client instead of using bonobo_object_unref().
-
- * gui/component-factory.c (owner_set_cb): Use
- evolution_shell_client_corba_objref() instead of
- bonobo_object_corba_objref().
-
-2002-11-08 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/calendar-commands.c: Use g_signal_connect() instead of
- gtk_signal_connect().
- * calendar-commands.c: Likewise.
- * calendar-config.c: Likewise.
- * calendar-model.c: Likewise.
- * comp-editor-factory.c: Likewise.
- * component-factory.c: Likewise.
- * control-factory.c: Likewise.
- * e-calendar-table.c: Likewise.
- * e-comp-editor-registry.c: Likewise.
- * e-day-view-time-item.c: Likewise.
- * e-day-view.c: Likewise.
- * e-itip-control.c: Likewise.
- * e-meeting-model.c: Likewise.
- * e-meeting-time-sel.c: Likewise.
- * e-tasks.c: Likewise.
- * e-timezone-entry.c: Likewise.
- * e-week-view.c: Likewise.
- * gnome-cal.c: Likewise.
- * goto.c: Likewise.
- * tasks-control.c: Likewise.
- * tasks-migrate.c: Likewise.
- * weekday-picker.c: Likewise.
-
-2002-11-08 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/calendar-offline-handler.c
- (calendar_offline_handler_class_init): GObjectified.
- (impl_finalize): Finalize impl.
- (impl_dispose): Dispose impl.
- (calendar_offline_handler_new): Use g_object_new().
- (backend_cal_opened): use g_signal_connect() instead of
- gtk_signal_connect().
- (backend_go_offline): Likewise.
- (backend_cal_opened): g_object_unref() instead of
- gtk_object_unref().
- (backend_go_offline): Likewise.
-
-2002-11-08 Rodrigo Moya <rodrigo@ximian.com>
-
- * importers/evolution-calendar-importer.h: use GLib macros.
-
- * importers/main.c (init_importer): use bonobo_generic_factory_new,
- not bonobo_generic_factory_new_multi.
- (main): don't use libgnome functions.
-
-2002-11-07 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/client-test.c: don't use GTK, we don't need it.
-
-2002-11-07 JP Rosevear <jpr@ximian.com>
-
- * Initial port of gui/ subdir to GNOME 2
-
-2002-11-07 Rodrigo Moya <rodrigo@ximian.com>
-
- * importers/icalendar-importer.c: removed non-existant headers.
-
- * importers/Makefile.am: changes for BonoboActivation.
-
- * gui/GNOME_Evolution_Calendar.server.in: install to $libdir, not
- $datadir.
-
-2002-11-07 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/query-listener.[ch]: converted to BonoboObject.
-
- * gui/dialogs/comp-editor-util.c (parse_contact_string): use glib's
- g_utf8_strchr.
-
- * gui/dialogs/delete-comp.c: removed non-existant headers. Use
- GtkStock instead of GnomeStock.
-
- * gui/dialogs/e-delegate-dialog.c: converted to BonoboActivation.
- (e_delegate_dialog_construct): adapted to changes in glade_xml_new.
-
-2002-11-07 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal.[ch]: converted to BonoboObject.
- (impl_Cal_get_query): bonobo_object_unref the query returned by
- cal_backend_get_query if we can't duplicate it.
-
- * pcs/query.[ch]:
- * pcs/cal-factory.[ch]: converted to BonoboObject.
-
- * pcs/query-backend.[ch]:
- * pcs/cal-backend-file.[ch]:
- * pcs/cal-backend.[ch]: GObjectify.
-
-2002-11-06 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/cal-prefs-dialog.c: #include gtkoptionmenu.h.
- (cal_prefs_dialog_new): adapted to changes in glade_xml_new.
-
- * gui/dialogs/event-page.h:
- * gui/dialogs/meeting-page.h:
- * gui/dialogs/recurrence-page.h:
- * gui/dialogs/schedule-page.h:
- * gui/dialogs/task-details-page.h:
- * gui/dialogs/task-page.h:
- * gui/cal-prefs-dialog.h: use correctly the macros.
-
- * gui/dialogs/cancel-comp.c:
- * gui/dialogs/changed-comp.c:
- * gui/dialogs/comp-editor-page.c:
- * gui/gnome-cal.h: removed non-existent headers.
-
- * gui/dialogs/comp-editor.c: remove non-existent headers.
- (close_dialog): gtk_widget_destroy the widget.
- (setup_widgets, comp_editor_merge_ui): use BonoboWindow correctly.
- (comp_editor_set_cal_client, comp_editor_send_comp,
- comp_editor_edit_comp): use G_OBJECT_GET_CLASS for
- getting the class of an object.
-
- * gui/dialogs/comp-editor-page.c (comp_editor_page_class_init):
- use g_signal_* functions.
-
- * gui/dialogs/comp-editor-util.c: converted to BonoboActivation.
-
- * gui/dialogs/comp-editor.h: #include bonobo-window.h, not
- bonobo-win.h.
-
-2002-11-06 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in:
- * gui/GNOME_Evolution_Calendar.server.in: renmaed .oaf.in files.
-
- * gui/alarm-notify/Makefile.am:
- * gui/Makefile.am: fixed rules for .server files.
-
-2002-11-06 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/comp-editor-util.[ch]
- (comp_editor_connect_contacts_changed): don't return a
- Bonobo_EventSource_ListenerId, since it does not exist anymore,
- and was not even being used.
-
- * gui/e-timezone-entry.h: use GLib macros.
-
- * gui/dialogs/*.glade:
- * gui/alarm-notify/*.glade:
- * gui/*.glade: converted to Glade2 format.
-
-2002-11-05 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/alarm-options.c (alarm_options_dialog_run): adapted to
- to new glade_xml_new signature.
-
- * gui/calendar-model.h:
- * gui/dialogs/comp-editor-page.h:
- * gui/dialogs/alarm-page.[ch]: removed non-existant header files.
-
- * gui/dialogs/comp-editor-util.h: added missing headers.
-
-2002-11-05 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend.c: use libxml2 headers.
-
- * gui/alarm-notify/Makefile.am:
- * gui/dialogs/Makefile.am:
- * gui/Makefile.am: s/XML_I18N/INTLTOOL. Fixed execution of
- $(ORBIT_IDL).
-
- * gui/alarm-notify/alarm-notify.[ch]: converted to BonoboObject.
-
- * gui/alarm-notify/alarm-notify-dialog.c: compilation fixes.
- (alarm_notify_dialog): adapted to new glade_xml_new signature.
-
- * gui/alarm-notify/alarm-queue.c: ported to BonoboActivation and
- GtkStock and GtkDialog.
-
- * gui/alarm-notify/notify-main.c: ported to BonoboActivation and
- use GObject functions instead of GtkObject ones.
-
- * gui/alarm-notify/save.h: removed BonoboConfig related functions.
-
- * gui/alarm-notify/config-data.c: use GObject functions instead of
- GtkObject ones.
-
- * TODO.port: added file for keeping track of disabled things while we
- port.
-
-2002-11-04 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-util/cal-util-marshal.list: added new marshallers.
-
- * cal-client/cal-client.c (get_objects_atomically): fixed calls to
- g_signal_handler_disconnect_by_func.
- (cal_client_class_init): fixed typos.
-
- * cal-client/cal-client-multi.[ch]:
- * cal-client/cal-client-types.c:
- * cal-client/cal-query.[ch]: ported to GObject.
-
- * cal-client/cal-listener.[ch]: converted to BonoboObject.
-
- * cal-client/Makefile.am:
- * pcs/Makefile.am: fixed flags for orbit-idl
-
-2002-11-04 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-util/Makefile.am:
- * cal-util/cal-util-marshal.list: added marshallers.
-
- * cal-client/cal-client.[ch]: ported to GObject.
-
-2002-11-04 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-util/cal-component.[ch]: ported to GObject.
-
- * cal-util/cal-util.c (cal_util_generate_alarms_for_comp): use
- g_object_* instead of gtk_object_*.
-
-2002-11-03 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client.c (get_default_uri): use EConfigListener
- instead of BonoboConfig.
-
- * cal-client/cal-client.c:
- * cal-client/cal-listener.[ch]:
- * cal-client/query-listener.c: warning free.
-
-2002-11-03 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-util.[ch]: don't use BonoboConfig, but
- EConfigListener.
-
- * gui/calendar-config.c: use /apps/Evolution prefix for all
- configuration keys.
-
-2002-10-31 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-util/cal-component.[ch]:
- * cal-util/cal-recur.h:
- * cal-util/cal-util.[ch]:
- * cal-client/cal-client.h:
- * cal-client/cal-client-multi.h:
- * cal-client/cal-client-types.[ch]:
- * cal-client/cal-listener.h
- * cal-client/cal-query.[ch]:
- * cal-client/query-listener.h:
- * pcs/cal.h:
- * pcs/cal-backend.[ch]:
- * pcs/cal-backend-file.h:
- * pcs/cal-backend-util.h:
- * pcs/cal-common.h:
- * pcs/cal-factory.h:
- * pcs/query.[ch]:
- * pcs/query-backend.[ch]: started GNOME 2 porting.
- cal-util, cal-client and pcs compiled ok.
-
- * cal-client/cal-client.c (cal_client_construct):
- * pcs/cal-factory.c: use b-a instead of OAF and bonobo-config
- instead of bonobo-conf.
-
-2002-10-29 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (backend_died_cb): cleaned up the status bar
- messages for all widgets.
-
-2002-10-24 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (init): initialize new values
- (clean_up): free new values
- (find_my_address): if we have a delegator address, use it instead
- (write_html): display delegator info to user
- (show_current_event): if we have a calendar uri, use that and
- describe the event differently
- (show_current_todo): ditto
- (show_current): search for delegator X properties
- (e_itip_control_set_delegator_address): accessor
- (e_itip_control_get_delegator_address): ditto
- (e_itip_control_set_delegator_name): ditto
- (e_itip_control_get_delegator_name): ditto
- (e_itip_control_set_calendar_uri): ditto
- (e_itip_control_get_calendar_uri): ditto
-
- * gui/e-itip-control.h: add protos
-
- * gui/itip-utils.c (comp_from): use the first attendee as the from
- address for things other than request, cancel and add (use
- organizer) and publish (use default address)
-
-2002-10-23 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #32613
-
- * gui/component-factory.c (sc_user_create_new_item_cb): use the
- default calendar/tasks folder to activate the component editor.
- (get_data_uri): deal correctly with the URIs being used.
-
-2002-10-23 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (show_current): fix warning
-
-2002-10-22 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #32371
-
- * pcs/query.c (start_cached_query_cb): CORBA_exception_init the
- CORBA_Environment before using it.
-
-2002-10-22 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-factory.c (lookup_backend): use NULL for pointer instead of
- FALSE.
-
-2002-10-22 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (get_address): use e_config_listener_* to get
- values
- (itip_addresses_get): ditto
- (itip_addresses_get_default): ditto
-
- * gui/calendar-model.c (calendar_model_value_to_string): don't
- send back a null string (affects if it is the group header)
- (calendar_model_init): pre load config database info so we don't
- do corba calls during draws
-
- Fixes #32276
-
-2002-10-17 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_construct): fix c/p type
-
-2002-10-17 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/recurrence-page.c (fill_ending_date): if the value
- is a datetime, convert it to a date
-
- * gui/itip-utils.c (comp_compliant): convert an UNTIL date value
- to a datetime value
-
- * cal-util/cal-component.c (cal_component_has_simple_recurrence):
- check to see if the component recurrences meet our definition of
- "simple"
-
- * cal-util/cal-component.h: new proto
-
-2002-10-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/recurrence-page.c (fill_component): changed to have a
- gboolean return type, which is what it's supposed to do.
- (recurrence_page_fill_component): return the result from
- fill_component.
-
- * gui/dialogs/comp-editor-page.h: fixed typo in function prototype.
-
-2002-10-11 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c
- (gnome_calendar_on_date_navigator_selection_changed): try to
- preserve the work week view setting if it makes sense
- (set_view): don't update the info again based on our view change
- call
-
- Fixes #16036
-
-2002-10-08 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #11434
-
- * gui/dialogs/comp-editor-page.[ch]
- (comp_editor_page_display_validation_error): new function.
-
- * gui/dialogs/event-page.c (event_page_fill_component):
- * gui/dialogs/recurrence-page.c (fill_component):
- * gui/dialogs/task-details-page.c (task_details_page_fill_component):
- * gui/dialogs/task-page.c (task_page_fill_component): added
- checks for all date values, and return FALSE if we find
- some invalid date/times.
-
- * gui/dialogs/comp-editor.c (save_comp): activate the page that
- returns error in fill_component.
-
-2002-10-08 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.c
- (cal_prefs_dialog_create_time_edit): set the 24 hour format
- initially
-
- Fixes #31812
-
-2002-10-08 JP Rosevear <jpr@ximian.com>
-
- * gui/e-week-view.c: remove pilot settings from contextual menu
-
- * gui/e-day-view.c: ditto
-
-2002-10-07 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #31774
-
- * gui/dialogs/alarm-options.c (dalarm_widgets_to_alarm,
- palarm_widgets_to_alarm): use correct pointer in loop.
-
-2002-10-07 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.c (setup_changes): cast the correct
- item
-
-2002-10-07 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes crash in #19159
-
- * gui/alarm-notify/alarm-queue.c (lookup_queued_alarm): don't crash if
- we don't find the queued alarm in the internal list.
- (alarm_trigger_cb, create_snooze, display_notification,
- audio_notification, procedure_notification, remove_queued_alarm):
- check return value from lookup_queued_alarm.
-
-2002-10-04 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #15892
-
- * idl/evolution-calendar.idl: added notifyErrorOccurred method to
- the Listener interface, so that backends can notify clients of errors
- that can't be reported otherwise.
-
- * pcs/cal.[ch] (cal_notify_error): new function.
-
- * pcs/cal-backend-file.c (save): made to save to temporary file and
- then moved to the correct file, so that we don't lose any data if
- there's a problem while saving.
- (notify_error): new function for notifying error messages to clients.
-
- * cal-client/cal-listener.[ch]: added new callback function for getting
- error messages from backends.
- (impl_notifyErrorOccurred): new method implementation.
- (cal_listener_class_init): initialize new epv member.
- (cal_listener_init, cal_listener_destroy, cal_listener_construct,
- cal_listener_new): initialize new function pointer.
-
- * cal-client/cal-client.[ch]: adapted to changes in CalListener class.
- (cal_client_class_init): added "backend_error" signal to CalClient class.
- (backend_error_cb): callback for "error_occurred" signal on the CalListener,
- which just emits the "backend_error" signal of CalClient.
-
- * gui/gnome-cal.c (gnome_calendar_construct): connect to "backend_error"
- signal on the CalClient's we create.
- (backend_error_cb): display error message on error from backend.
-
- * gui/e-tasks.c: likewise.
-
-2002-10-02 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/notify-main.c (alarm_notify_factory_fn): removed
- unneeded g_assert which was preventing the alarm daemon to
- start correctly in some cases.
-
-2002-10-02 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #30057
-
- * cal-client/cal-client.c (cal_client_is_read_only): added check
- of the status of the client before trying to make CORBA calls.
-
- * gui/calendar-commands.c (sensitize_calendar_commands,
- sensitize_taskpad_commands):
- * gui/tasks-control.c (sensitize_commands):
- * gui/dialogs/event-editor.c (set_menu_sens):
- * gui/dialogs/task-editor.c (set_menu_sens):
- * gui/e-calendar-table.c (e_calendar_table_on_right_click):
- * gui/e-day-view.c (e_day_view_on_event_right_click):
- * gui/e-week-view.c (e_week_view_show_popup_menu): take into account
- the read-onlyness of clients to disable/enable menu items.
-
-2002-10-01 Rodrigo Moya <rodrigo@ximian.com>
-
- * idl/evolution-calendar.idl: added isReadOnly method to Cal
- interface.
-
- * pcs/cal.c (impl_Cal_is_read_only): new method implementation.
-
- * pcs/cal-backend.[ch]: added is_read_only method to CalBackend class.
- (cal_backend_is_read_only): new function.
-
- * pcs/cal-backend-file.c (cal_backend_file_is_read_only): new method.
- (cal_backend_file_class_init): set new signal's virtual method.
-
- * cal-client/cal-client.[ch] (cal_client_is_read_only): new function.
-
-2002-10-01 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #15710
-
- * gui/dialogs/alarm-page.c (alarm_page_init): added a
- X-EVOLUTION-NEEDS-DESCRIPTION property, so that we later set it
- correctly if it hasn't been set in the meanwhile (editing options for
- the alarm).
-
- * gui/dialogs/alarm-options.c (dalarm_widgets_to_alarm,
- palarm_widgets_to_alarm): removed X-EVOLUTION-NEEDS-DESCRIPTION
- property from alarms every time we set the description of the alarm.
-
-2002-10-01 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #30290
-
- * importers/icalendar-importer.c (process_item_fn): return a status of
- BUSY rather than NOT_READY, to avoid the display of the error message.
-
-2002-09-30 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c
- (calconduit_load_configuration): load multi_day_split
- (calconduit_save_configuration): save it
- (calconduit_dupe_configuration): copy it
- (e_cal_gui_new): create gui for it
- (e_cal_gui_fill_widgets): fill gui with value
- (e_cal_gui_fill_config): get value from gui and store in config
- (e_calendar_context_destroy): destroy new_cfg and gui properly
- (process_multi_day): skip item if its multi-day and we don't want
- to split
- (fill_widgets): fill local config widgets
- (create_settings_window): create local config widgets
- (save_settings): fill config from local widgets
-
- Fixes #23763
-
-2002-09-30 Aaron Weber <aaron@ximian.com>
-
- * gui/e-itip-control.c (update_item): adjust string on line 1609
- and 1517.
-
- * gui/dialogs/alarm-options.glade: rephrase string on line 270
-
-2002-09-27 Dan Winship <danw@ximian.com>
-
- * gui/calendar-commands.c (pixmaps): Remove "/Toolbar/New" and
- "/Toolbar/NewTask" since they're not there any more. Kills some
- bonobo-ui spewage.
-
-2002-09-26 Dan Winship <danw@ximian.com>
-
- Non-Connector part of #29334 (meeting created by a delegate in the
- delegator's calendar should have the delegator as Organizer).
-
- * idl/evolution-calendar.idl: add Cal_getEmailAddress, to return
- the email address associated with a backend (if any).
-
- * pcs/cal-backend.c (cal_backend_get_email_address): New.
-
- * pcs/cal-backend-file.c (cal_backend_file_get_email_address):
- Return NULL (for now).
-
- * pcs/cal.c (impl_Cal_get_email_address): Implement this by
- calling cal_backend_get_email_address and returning a NotFound
- exception if it returns NULL.
-
- * cal-client/cal-client.c (cal_client_get_email_address): New.
- (cal_client_init, cal_client_destroy, etc): initialize/free
- email_address
-
- * gui/dialogs/event-editor.c (event_editor_construct): Split this
- out of event_editor_init. Take and set a CalClient.
- (event_editor_new): Take a CalClient.
-
- * gui/dialogs/task-editor.c (task_editor_construct,
- task_editor_new): Likewise.
-
- * gui/dialogs/meeting-page.c (meeting_page_new,
- meeting_page_construct): Take a CalClient and call
- cal_client_get_email_address to find the default organizer
- address. (Also fix a bug if the default account's name has
- non-ASCII characters.)
-
- * gui/itip-utils.c (comp_from): New. When sending a REQUEST or
- CANCEL, use the Organizer as the From address.
- (itip_send_comp): Call comp_from and pass the result to
- Composer_setHeaders.
-
- * gui/comp-editor-factory.c (edit_existing, edit_new): Pass the
- CalClient to event_editor_new/task_editor_new
-
- * gui/e-calendar-table.c (open_task): Likewise.
-
- * gui/e-tasks.c (e_tasks_new_task): Likewise.
-
- * gui/gnome-cal.c (gnome_calendar_edit_object,
- gnome_calendar_new_task): Likewise.
-
-2002-09-26 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-model.c (set_value_at): only change the attendee
- value if it isn't empty
-
-2002-09-26 Rodrigo Moya <rodrigo@ximian.com>
-
- Should fix once for all #24210
-
- * idl/evolution-calendar.idl: changed the notifyObjUpdated method
- of the QueryListener interface accept a list of UIDs.
-
- * cal-client/query-listener.[ch] (impl_notifyObjUpdated): likewise for
- the QueryListener class.
-
- * cal-client/cal-query.c (obj_updated_cb): changed to adapt the
- multiple-id's received in the QueryListener class' signal to the
- one-by-one update notification of the public CalQuery class, thus
- keeping the changes needed for this minimal.
-
- * pcs/query.c (add_component, start_cached_query_cb): changed to
- send sequences of UIDs.
-
-2002-09-25 Dan Winship <danw@ximian.com>
-
- * gui/component-factory.c (folder_types): Add "calendar/public"
- and "tasks/public".
- (type_is_calendar, type_is_tasks): New utility functions
- (create_view, create_folder, remove_folder, xfer_folder,
- sc_user_create_new_item_cb): Use type_is_calendar/type_is_tasks
-
- * importers/icalendar-importer.c (get_uri_from_folder_path): allow
- importing into public calendar/task folders too.
-
- * gui/e-itip-control.c: Note that it's intentional that we use
- "calendar" and "tasks" here instead of "calendar/*" and "tasks/*".
- (31032)
-
-2002-09-25 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (itip_send_comp): if the item being sent is not
- a meeting, send it as a mixed item with a description and the
- calendar text in an attachment
-
- Fixes #30638
-
-2002-09-25 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #27961
-
- * pcs/cal-backend-file.c (cal_backend_file_update_object): set the
- LAST-MODIFIED time of the components when we save them.
-
-2002-09-24 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-file.c (cal_backend_file_get_timezone_object,
- cal_backend_file_get_timezone): return a builtin timezone if we
- don't find the timezone in our component.
-
-2002-09-24 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (comp_from_remote_record):
- make sure the start/end for no time palm events are DATE values,
- tidy code slightly
-
- Fixes #21631
-
-2002-09-24 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (process_multi_day):
- convert to date values if the original start and end were both
- dates
-
-2002-09-24 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-query.c (cal_query_destroy): unref the query
- since now the query object on the server keeps a copy of it and
- must know when the listener is no longer valid.
-
- * pcs/query.c (listener_died_cb): unref the QueryListener object.
- (query_construct): create an EComponentListener for the non-cached
- queries' listeners also.
-
-2002-09-23 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/Makefile.am: add libeutil to the link
-
- * conduits/calendar/Makefile.am: ditto
-
-2002-09-23 Dan Winship <danw@ximian.com>
-
- * pcs/cal.c (imple_Cal_update_objects, impl_Cal_remove_object):
- fix non-ANSI switch statements.
-
- * gui/e-meeting-model.c (is_cell_editable, value_is_empty,
- process_free_busy_comp): Likewise
-
- * gui/itip-utils.c (comp_compliant): Likewise.
-
-2002-09-23 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/main.c (launch_alarm_daemon): install an idle callback that will
- start the alarm daemon.
- (launch_alarm_daemon_cb): actually activate the alarm daemon here.
-
- * pcs/query.c (start_cached_query_cb): remove timeout function always
- and re-add it if the query is in progress.
-
-2002-09-23 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/query.c (start_cached_query_cb): move success notification code
- to its own code block, since it was being run for parse errors also.
- Also, remove all traces of the query from the cache if there is an
- error. Also, use GINT_TO_POINTER instead of GPOINTER_TO_INT.
-
-2002-09-23 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #28310
-
- * gui/alarm-notify/save.c (save_notification_time): only save the
- new notification time if it is bigger than the already saved one.
- This should avoid some reminders showing up twice.
-
-2002-09-20 JP Rosevear <jpr@ximian.com>
-
- * gui/comp-util.c (cal_comp_is_on_server): check to see if the
- component is already on the server or not
-
- * gui/comp-util.h: change proto
-
- * gui/e-week-view.c (e_week_view_on_editing_stopped): only delete
- the event if the summary is empty and the component is not already
- on the server
-
- * gui/e-day-view.c (e_day_view_on_editing_stopped): same
-
- Fixes #14111
-
-2002-09-20 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): set the
- deleted attendees array to size 0 after we clean it up
-
- Fixes #30479
-
-2002-09-20 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/query.c (parse_sexp): remove the query from the cache if it
- failed.
- (start_cached_query_cb): notify of errors in the query.
-
-2002-09-19 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/query.c: added a list of EComponentListener's to control the
- lifetime of the listeners.
- (query_init): initialize new member.
- (query_destroy): free new member.
- (start_cached_query_cb): create a EComponentListener for the new
- listener being added.
-
-2002-09-19 Rodrigo Moya <rodrigo@ximian.com>
-
- More fixes for #24210
-
- * pcs/query.c: added list of cached queries and changed the Query
- class to work with several listeners, not only one.
- (query_init): initialize new members.
- (query_destroy): free new members.
- (add_component, remove_component, parse_sexp, match_component,
- process_components_cb): notify all listeners.
- (notify_uid_cb, start_cached_query_cb): implemented integration of
- cached queries.
- (query_new): search the query in the cache before creating a new
- one. And if we create a new one, store it in the cache.
-
-2002-09-19 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/recurrence-page.c (simple_recur_to_comp): bump the
- month_num by 1 because it indexs at 0
- (recurrence_page_fill_widgets): lower the month_num by one as above
-
- Fixes #30381
-
-2002-09-17 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #26362
-
- * gui/e-itip-control.c (show current): add a default reminder if
- default reminders are set in the configuration.
-
-2002-09-11 JP Rosevear <jpr@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_top_canvas_button_press): keep
- the selection if we right click in it (but not on an appointment)
- (e_day_view_on_main_canvas_button_press): ditto
-
- * gui/e-week-view.c (e_week_view_on_button_press): same
-
-2002-09-11 JP Rosevear <jpr@ximian.com>
-
- * gui/e-week-view.c (e_week_view_new_appointment): create a new
- appointment based on the selection
- (e_week_view_on_button_press): use above
- (e_week_view_on_new_appointment): ditto
- (e_week_view_on_new_meeting): ditto
-
- Fixes #18162
-
-2002-09-10 JP Rosevear <jpr@ximian.com>
-
- * gui/comp-editor-factory.c (get_default_event): duh, don't
- blindly increment the hour without adjusting for the day
- boundaries
-
- Fixes #29983
-
-2002-09-10 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #24032
-
- * gui/e-itip-control.c (init): don't get servers here, since we don't
- know the type of the component(s) to be loaded.
- (show_current): get servers here.
- (destroy): only free stuff that needs to be freed.
-
-2002-09-09 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (client_cal_opened_cb): display status messages for
- all operations we make, so that when using remote slow backends, so
- that users have always indication of what's happening.
-
-2002-09-06 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_edit_object): kill warning
-
- * gui/e-week-view.h: new proto
-
- * gui/e-week-view.c (e_week_view_set_selected_time_range_visible):
- select a range of time in the currently visible area, if out side
- the visible area, select as much as possible
- (e_week_view_on_text_item_event): call above
-
- * gui/e-week-view-event-item.c
- (e_week_view_event_item_button_press): call above
-
- * gui/e-day-view.c
- (e_day_view_set_selected_time_range_in_top_visible): select a
- range of time in the currently visible area, if out side the
- visible area, select as much as possible
- (e_day_view_set_selected_time_range_visible): the same for the
- main canvas
- (e_day_view_on_long_event_button_press): call above
- (e_day_view_on_event_button_press): ditto
-
-2002-09-05 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (itip_send_comp): don't try to send via the
- server if we are publishing; don't bail out on a 0 length to list
- if we are publishing
-
-2002-09-05 Anna Marie Dirks <anna@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.oaf.in: Changed the description of
- the calendar/tasks page of the settings dialog, to be hopefully
- more descriptive and less awkwardly worded.
-
-
-2002-09-05 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_drag_data_get): added support for
- text/x-calendar targets, in which case a VCALENDAR component, with
- full timezone information is returned.
-
-2002-09-04 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_destroy): don't listen to client
- signals after we get destroyed
-
- Fixes #17036
-
-2002-09-04 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/event-editor.c (event_editor_send_comp): bail out if
- we couldn't send the cancel
-
- * gui/dialogs/task-editor.c (task_editor_send_comp): ditto
-
- * gui/dialogs/comp-editor.c (save_comp_with_send): indicate send
- status
- (real_send_comp): return success/fail, only resave the component a
- if we successfully sent
- (comp_editor_send_comp): return success/fail
-
- * gui/itip-utils.h: update proto
-
- * gui/itip-utils.c (itip_send_comp): return true if we sent the
- message
-
-2002-09-04 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (comp_server_send): provide error message
- param, give a dialog with the message if we get a busy result;
- return TRUE if we succeed
- (itip_send_comp): bail out if we had a problem sending via the
- server
-
- * cal-client/cal-client.c (cal_client_send_object): pass back
- error message if we get the busy exception in the new param
-
- * cal-client/cal-client.h: update proto
-
- * pcs/cal.c (impl_Cal_send_object): dump backend error message
- into Busy exception
-
- * pcs/cal-backend.h: update proto
-
- * pcs/cal-backend.c (cal_backend_send_object): take/pass new error
- message parameter
-
- * pcs/cal-backend-file.c (cal_backend_file_send_object): take new param
-
- * idl/evolution-calendar.idl: add errorMsg to Busy exception
-
-2002-09-04 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c (create_object): Pass NULL as
- @unpopulate_folder_context_menu_fn to
- evolution_shell_component_new().
-
-2002-09-03 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (comp_compliant): don't make the reply
- component minimal
-
- Fixes #28956
-
-2002-08-30 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (itip_send_comp): make the sure to list is 0
- length before sending via imip
-
- Fixes #29624
-
-2002-08-30 Mike Kestner <mkestner@ximian.com>
-
- * gui/dialogs/event-page.c:
- * gui/dialogs/task-page.c: use bonobo_object_release_unref to release
- the remote SelectNames component, not CORBA_Object_release.
-
-2002-08-29 JP Rosevear <jpr@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_top_canvas_button_press): select
- the top canvas if the user right-clicks on it
- (e_day_view_on_main_canvas_button_press): select the row the user
- is right-clicking on
- (e_day_view_on_long_event_button_press): select the top canvas if
- the user right-clicks on an event there
- (e_day_view_on_event_button_press): select the relevant rows if
- the user right-clicks on an event
- (e_day_view_set_selected_time_range_in_top): select a number of
- days in the top canvas
-
- * gui/e-week-view.c (e_week_view_on_button_press): select the day
- the user is right-clicking on
- (e_week_view_on_text_item_event): select the corresponding time
- range when showing the contextual menu for an event
-
- * gui/e-week-view-event-item.c
- (e_week_view_event_item_button_press): select the corresponding
- time range when showing the contextual menu for an event
-
- Fixes #14660
-
-2002-08-28 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.c:
- * gui/e-week-view.c: added missing header file.
-
-2002-08-28 Dan Winship <danw@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.oaf.in: Add an
- evolution:shell_component_launch_order and rename
- evolution:shell_component_icon.
-
-2002-08-27 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-config.c: use EConfigListener instead of direct access
- to the bonobo-conf database.
- (calendar_config_init): create the EConfigListener here, and install
- an atexit function to unref the config listener object.
- (config_read, property_change_cb, calendar_config_write,
- calendar_config_write_on_exit): removed unneeded functions.
- (calendar_config_get_*, calendar_config_set_*): changed to make use of
- EConfigListener directly.
-
- * gui/main.c (main): removed call to calendar_config_write_on_exit.
-
- * gui/dialogs/cal-prefs-dialog.c (update_config): removed call to
- calendar_config_write.
-
-2002-08-26 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #12326
-
- * gui/alarm-notify/config-data.c (ensure_inited): create a
- EConfigListener for configuration access.
- (do_cleanup): g_atexit installed function, to clean up configuration
- database resources.
- (config_data_get_timezone): retrieve the configuration for the
- EConfigListener object.
- (config_data_get_listener): new function.
-
- * gui/alarm-notify/save.c (get_config_db, discard_config_db): removed.
- Use EConfigListener instead.
- (save_notification_time, get_saved_notification_time,
- save_calendars_to_load, get_calendars_to_load, save_blessed_program,
- is_blessed_program): use EConfigListener.
-
- * gui/alarm-notify/notify-main.c (init_alarm_notify_service): removed.
- (alarm_notify_factory_fn): create here the alarm_notify_service if it
- hasn't been created yet.
- (load_calendars): likewise.
- (main): don't call init_alarm_notify_service.
-
-2002-08-22 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-model.c (process_section): if its a
- non-participant, add it as a resource to match dialog label
- (set_value_at): if the type is set to be a resource, switch the
- role to non-participant by default
-
-2002-08-22 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-model.c (set_completed): if the value given is a
- date, convert to a time in the current zone
-
-2002-08-20 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-control.c (tasks_control_activate): don't set the
- tasks ui component until the container is set, remove unused
- pixmaps
-
-2002-08-19 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-model.c (destroy): disconnect destroy signal
- callbacks on tables
-
- Fixes #28231
-
-2002-08-19 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (comp_toplevel_with_zones): clone the ical
- component before adding it
-
- Fixes #29061
-
-2002-08-19 JP Rosevear <jpr@ximian.com>
-
- * gui/comp-editor-factory.c (get_default_event): make sure to get
- the date in the current zone, not at UTC
-
- Fixes #17692
-
-2002-08-19 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (set_date_label): stop adding redundant
- information for start/end/due/complete times
- (write_html): convert newlines properly and escape characters for
- summary, location, description; put text information on separate
- line from bolded title to make it look nicer when there are line
- breaks
-
- Fixes #26964
-
-2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client.[ch]: added internal EComponentListener
- object, to listen for the activated Cal.
- (cal_client_class_init): added "backend_died" signal.
- (cal_client_destroy): clean up component listener.
- (backend_died_cb): new callback for getting signals from the
- EComponentListener.
- (cal_opened_cb): setup component listener.
-
- * cal-client/Makefile.am: added libetuil to needed LIBS.
-
- * gui/gnome-cal.c (backend_died_cb): new callback.
- (gnome_calendar_construct): connect to "backend_died" signal
- on all CalClient's we create.
-
-2002-08-14 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.c (init_widgets): listen for the
- time editors to change
- (cal_prefs_dialog_start_of_day_changed): make sure the start is
- never after the end
- (cal_prefs_dialog_end_of_day_changed): make sure the end is never
- after the start
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_set_working_hours): make sure to show a
- minimum of 1 hour for work day
-
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw):
- calculate the work/not working color boxes to the nearest pixel,
- rather the the nearest time division
-
- Fixes #10286, #26285
-
-2002-08-13 Dan Winship <danw@ximian.com>
-
- * gui/e-itip-control.c: Remove a bunch of old #if 0 code.
- (update_item): Set X-MICROSOFT-CDO-REPLYTIME here.
-
- * gui/itip-utils.c (comp_toplevel_with_zones): Don't set it here.
-
- * cal-util/cal-component.c (ensure_mandatory_properties): Use
- icaltime_current_time_with_zone rather than rolling our own.
- (cal_component_strip_errors): Remove unused variable.
-
-2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_open): set status message on
- ECalendarTable when opening the tasks.
- (client_cal_opened_cb): set ECalendarTable status message to NULL
- when we open the tasks folder. Also, clear up calendar status message
- in all cases, not only if the folder was opened successfully.
-
-2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_open): set status message to NULL
- if there is an error opening the calendar.
- (client_cal_opened_cb): set status message to NULL only when we have
- successfully opened the main CalClient.
-
-2002-08-09 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor.c (real_send_comp): set the editor to
- changed so the item actually gets saved
-
-2002-08-08 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (users_has_attendee): check for an attendee in
- the list
- (comp_to_list): only add the user if they aren't on the list
- (comp_server_send): don't remove the users, pass back the list
- (itip_send_comp): send to server before doing comp_minimal
-
- * gui/dialogs/comp-editor.c (real_send_comp): edit and save the
- updated comp
-
- * pcs/cal.c (impl_Cal_send_object): copy the correct item to pass
- back
-
-2002-08-08 Dan Winship <danw@ximian.com>
-
- * pcs/query-backend.c (query_backend_new): Initialize
- loaded_backends before using it. (Just kills off a harmless
- g_warning.)
-
-2002-08-08 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #15710
-
- * cal-util/cal-component.[ch]
- (cal_component_alarm_get_icalcomponent): new function for getting
- the icalcomponent from a CalComponentAlarm.
-
- * gui/comp-util.c (cal_comp_event_new_with_defaults): added
- X-EVOLUTION-NEEDS-DESCRIPTION property to the default reminder
- alarm, so that we can identify it when saving the component.
-
- * gui/dialogs/alarm-page.c (alarm_page_fill_component): if the
- alarm has the X-EVOLUTION-NEEDS-DESCRIPTION property, set the
- description to be the same as of the component.
-
-2002-08-07 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend-file.c (cal_backend_file_send_object): just
- return the object untouched since we don't send anything
-
- * pcs/cal-backend.c (cal_backend_remove_object): call virtual method
-
- * pcs/cal-backend.h: add send result codes, new proto
-
- * pcs/cal.c (impl_Cal_send_object): implement sendObject corba call
- (cal_class_init): add to epv
-
- * gui/itip-utils.c (comp_toplevel_with_zones): utility function to
- create icalcomponent with necessary timezone info
- (comp_has_attendee): see if attendee is in the attendee list
- (comp_server_send): use above and remove attendees if the server
- sends them
-
- * gui/e-itip-control.c (show_current_todo): remove unused var
-
- * idl/evolution-calendar.idl: add Busy exception and
-
- * cal-client/cal-client.c (cal_client_send_object): send object
- via the server (if the server can)
-
- * cal-client/cal-client.h: add send results and new proto
-
-2002-08-05 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/query-backend.[ch] (query_backend_get_object_component): new
- function.
- (query_backend_get_uids): new function.
- (query_backend_new): create the static GHashTable if it hasn't been
- created yet.
- (query_backend_destroy): destroy the static GHashTable if empty.
- (foreach_uid_cb): call object_updated_cb, which does everything.
-
- * pcs/query.c: make use of the new QueryBackend class.
- (query_init): initialize new private structure member.
- (query_destroy): clean up new member, without freeing it, since it is
- managed internally in query-backend.c.
- (query_construct): create a QueryBackend for the query.
-
-2002-08-04 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes the crash in #19159
-
- * gui/alarm-notify/alarm-queue.c (create_snooze): check for NULL
- pointers before using them.
-
-2002-08-02 JP Rosevear <jpr@ximian.com>
-
- * gui/e-week-view.c (e_week_view_init): don't warn if we can't use
- the small font, just set use_small_font to FALSE
-
-2002-08-02 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (adjust_item): new util function to add
- information to an itip message that might not already be there for
- display purposes (summary, location, etc)
- (show_current_event): use above
- (show_current_todo): ditto
-
-2002-08-02 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-model.c (init): initialize value to corba nil
-
-2002-08-01 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c (create_object): Use
- meeting-request-16.png instead of meeting-request.png.
-
- * gui/calendar-commands.c (pixmaps): Remove pixmaps in
- /menu/File/New/NewFirstItem/.
-
-2002-08-01 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-model.c (is_overdue): use get_due_status
- (get_color): ditto
- (get_due_status): utility function to reduce replicated code,
- handle the case where the due date is just a date
-
-2002-07-31 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/query-backend.[ch]: new class for implementing a backend cache
- for the calendar queries.
-
- * pcs/Makefile.am: added new files.
-
-2002-07-31 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c (create_object): Change the order of the
- user creatable items a bit so that "New Appointment" and "New
- Meeting" are at the top when in a calendar folder.
-
-2002-07-31 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c (add_creatable_item): New arg
- @folder_type, pass it to
- evolution_shell_component_add_user_creatable_item().
- (create_object): Set the right folder types for the various
- user-creatable items.
-
-2002-07-31 JP Rosevear <jpr@ximian.com>
-
- * gui/e-tasks.c (e_tasks_destroy): we no longer need to manually
- save the state
- (e_tasks_open): we no longer need to manually load the state
- (display_view_cb): attach the gal view to the table
-
- Fixes #27894
-
-2002-07-29 JP Rosevear <jpr@ximian.com>
-
- * gui/e-day-view.c (e_day_view_find_work_week_start): make sure
- that the work week view goes to the current work week if the day
- selected is before the start of the work week
-
- Fixes #20317
-
-2002-07-28 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/task-details-page.c: fixed mapping of popdown menu
- to ICAL_STATUS_ values.
- (task_details_page_fill_widgets): when we can't set the status,
- default to ICAL_STATUS_NONE, which maps to 'Not started'. Fixed
- use of 'percent' variable, which was being used after being freed.
- (percent_complete_changed): default to ICAL_STATUS_NONE (Not Started).
-
- * gui/dialogs/task-details-page.glade: added 'Needs Action' to
- popdown menu values.
-
-2002-07-26 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-util/cal-util.[ch] (cal_util_add_timezones_from_component):
- new function for adding VTIMEZONE components to a VCALENDAR
- component.
-
- * gui/e-calendar-table.c (copy_row_cb): added VTIMEZONE components
- to resulting VCALENDAR top-level component.
-
- * gui/e-week-view.c (e_week_view_copy_clipboard): copy to the
- clipboard a top-level VCALENDAR component, with all the needed
- VTIMEZONE components.
- (e_week_view_on_copy): likewise.
-
- * gui/e-day-view.c (e_day_view_copy_clipboard): likewise.
- (e_day_view_on_copy): likewise.
-
-2002-07-26 JP Rosevear <jpr@ximian.com>
-
- * cal-client/cal-client.c (cal_client_construct): remove useless
- debug statement
-
- Probably fixes #19333
-
-2002-07-26 JP Rosevear <jpr@ximian.com>
-
- * gui/comp-editor-factory.c (impl_editExisting): focus the editor
- if it does exist, create a new one if it doesn't (not vice-versa)
-
- Fixes #23468
-
-2002-07-25 JP Rosevear <jpr@ximian.com>
-
- * gui/e-day-view.c (e_day_view_init): set large_font to NULL
- (e_day_view_style_set): calculate large font, fall back to the
- style->font if necessary
-
- Fixes #11773
-
-2002-07-24 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (write_html): display the location in the
- itip information
-
- Fixes #24690
-
-2002-07-24 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-model.c (set_percent): set status to in progress if
- the percent is between 0 and 100
- (set_status): if the value is set to in process, change the
- percent to 50
-
- Fixes #1590
-
-2002-07-24 JP Rosevear <jpr@ximian.com>
-
- * cal-util/timeutil.c (time_day_of_year): add a day for the leap
- year only if we are currently counting Feb., not if the month
- passed in is Feb. Fixes #23446.
-
-2002-07-23 JP Rosevear <jpr@ximian.com>
-
- * gui/e-day-view.c (e_day_view_realize): use proper meeting icon
-
-2002-07-22 Dan Winship <danw@ximian.com>
-
- * pcs/Makefile.am: Split pcs-backend-file out of libpcs and build
- it as a separate (noinst) library libpcsfile.a. This gets the db3
- dependencies out of libpcs, and people trying to create a calendar
- backend shouldn't be calling functions from the existing backends
- anyway so there's no reason to install them.
-
- * cal-util/timeutil.c: Replace a bunch of old gnomecal functions
- with the functionally identical ones from Connector.
-
-2002-07-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * importers/icalendar-importer.c (get_uri_from_folder_path): if
- there's an exception, continue with the next item.
-
-2002-07-08 Peter Williams <peterw@ximian.com>
-
- * cal-util/Makefile.am: Install libcal-util-static.la
- and fix the -all-static flag to make it install statically.
-
- * pcs/Makefile.am: Install libpcs.a and its headers.
-
- * pcs/cal-backend-util.h: Same sort of include namespacing fix,
- but for pcs.
-
- * pcs/cal.h:
- * pcs/query.h:
- * pcs/cal-factory.h:
- * pcs/cal-backend.h:
- * pcs/cal-backend-file.h: Same.
-
-2002-07-17 <jpr@ximian.com>
-
- * gui/calendar-model.c (calendar_model_value_at): use util
- function to see if the user is the organizer
-
- * gui/dialogs/cancel-comp.c (cancel_component_dialog): add
- deleting proto to indicate whether cancelling or deleting is the
- primary operation
-
- * gui/dialogs/cancel-comp.h: update proto
-
- * gui/dialogs/comp-editor.c (delete_cmd): offer to cancel
-
- * gui/dialogs/task-editor.c (cancel_task_cmd): call
- cancel_component_dialog with new param
-
- * gui/dialogs/event-editor.c (cancel_meeting_cmd): ditto
-
- * gui/e-week-view.c (e_week_view_on_editing_stopped): only update
- request if user is organizer
- (e_week_view_show_popup_menu): disable the meeting and meeting
- organizer mask if appropriate
- (e_week_view_delete_event_internal): offer to cancel the meeting
- (e_week_view_on_cut): ditto
- (selection_received): send request if its a meeting
-
- * gui/e-day-view.h: add meeting icon/mask
-
- * gui/e-day-view.c (e_day_view_on_event_right_click): disable the
- meeting and meeting organizer mask if appropriate
- (e_day_view_delete_event_internal): offer to cancel meeting
- (e_day_view_on_cut): ditto
- (e_day_view_finish_long_event_resize): only update request if user
- is organizer
- (e_day_view_reshape_long_event): add meeting icon to count
- (e_day_view_reshape_day_event): ditto
- (e_day_view_on_top_canvas_drag_data_received): only update request
- if user is organizer
- (e_day_view_on_main_canvas_drag_data_received): ditto
- (selection_received): offer to send meeting info
-
- * gui/e-day-view-main-item.c
- (e_day_view_main_item_draw_day_event): draw meeting icon if
- appropriate (using dummy icon atm)
-
-2002-07-14 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #8001
-
- * importers/icalendar-importer.c (connect_to_shell): new function for
- connecting the importers (both iCal and vCal) to the shell, needed for
- some information retrieval about the folders we're importing to.
- (ical_importer_new, vcal_importer_new): call connect_to_shell.
- (importer_destroy_cb): unref the shell client object.
- (get_uri_from_folder_path): retrieve the uri from the storage
- registry.
- (check_folder_type): removed.
-
- * importers/Makefile.am: included libeshell to LIBS.
-
-2002-07-12 Peter Williams <peterw@ximian.com>
-
- * pcs/cal.c: Sigh, fix for the wombat.idl -> Evolution-Wombat.idl
- rename here too. At least grep indicates that's all that needs to
- be fixed.
-
-2002-07-08 Peter Williams <peterw@ximian.com>
-
- * gui/Makefile.am (INCLUDES): Change the -I flags to get
- it to play nicely with the new Ebook header paradigm.
-
- * gui/dialogs/Makefile.am: Same.
-
- * gui/e-meeting-model.c: More of the same.
-
- * gui/dialogs/e-delegate-dialog.c:
- * gui/dialogs/e-meeting-model.c:
- * gui/dialogs/comp-editor-util.c: Fix include lines to get
- ebook headers.
-
- * pcs/Makefile.am: Same.
-
-2002-07-02 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #16034
-
- * gui/e-day-view.c (e_day_view_reshape_long_event):
- (e_day_view_reshape_day_event):
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
- * gui/e-week-view.c (e_week_view_reshape_event_span):
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
- Don't assume all categories have icons when allocating space for
- the icons.
-
-2002-07-02 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c (add_creatable_item): New arg @tooltip.
- Pass it to evolution_shell_component_add_user_creatable_item(),
- which now has a @tooltip arg.
- (create_object): Added tooltips.
-
-2002-07-01 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-config.c (config_read): listen for timezone config
- change
- (property_change_cb): set the timezone if it changed elsewhere
-
- * gui/main.c (init_bonobo): call bonobo_activate because we make
- bonobo related calls before the bonobo_main call
-
-2002-06-25 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes #25410
-
- * gui/alarm-notify.c (AlarmNotify_removeCalendar): do proper
- cleanup on removal of clients.
- (alarm_notify_add_calendar): ditto.
-
-2002-06-27 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (comp_compliant): plug leak and actually use
- the minimal comp we create
-
-2002-06-25 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor-page.h: add back proto
-
- * gui/dialogs/comp-editor-page.c
- (comp_editor_page_notify_needs_send): add page needs_send signal
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_on_invite_others_button_draw): check to
- see if the button should be sensitive when drawing
- (e_meeting_time_selector_construct): listen for the button draw
- signal
-
- * cal-util/cal-component.c (cal_component_strip_errors): remove
- X-LIC-ERROR x properties
-
- * cal-util/cal-component.h: new proto
-
- * gui/dialogs/meeting-page.c (change_clicked_cb): set needs_send
- to true
- (meeting_page_fill_widgets): set up gui based on if the user or
- someone else is the organizer
- (meeting_page_construct): read the addresses here for the combo
- box
- (get_widgets): explicitly set the value in list values
-
- * gui/dialogs/event-editor.c (set_menu_sens): base this on the
- exist org and user org values of the comp editor
- (event_editor_edit_comp): set up editable row restrictions on the
- meeting model if the user is not an organizer, and don't set needs
- send if we aren't the organizer initially
- (model_row_changed_cb): set needs_send to true
- (row_count_changed_cb): ditto
-
- * gui/dialogs/meeting-page.glade: update gui
-
- * gui/dialogs/comp-editor.c (save_comp_with_send): if the user is
- not the organizer, REPLY rather than REQUEST
- (comp_editor_set_existing_org): accessor
- (comp_editor_get_existing_org): ditto
- (comp_editor_set_user_org): ditto
- (comp_editor_get_user_org): ditto
- (real_edit_comp): determine if there is an existing organizer and
- if the organizers is a user
- (page_changed_cb): warn the user that changes may be discarded
- (page_summary_changed_cb): ditto
- (page_dates_changed_cb): ditto
-
- * gui/dialogs/comp-editor.h: new protos
-
- * gui/itip-utils.c (itip_organizer_is_user): determine if the
- organizer of a component is a user
- (itip_sentby_is_user): same for sentby field of organizer
- (comp_sentby): use above routines instead
- (comp_compliant): strip all X-LIC-ERROR fields generated by
- libical
-
- * gui/e-meeting-model.c (is_cell_editable): if there is a list of
- editable rows, allow only the status column of those rows to be
- edited
- (init): init edit_rows
- (e_meeting_model_restricted_add): add an editable row to the model
- (e_meeting_model_restricted_remove): remove an editable row
- (e_meeting_model_restricted_clear): clear all editable rows
- (e_meeting_model_etable_click_to_add): set the click to add arg on
- all tables
- (e_meeting_model_etable_from_model): track the tables
- (table_destroy_list_cb): remove the table being destroyed from the
- list
- (table_destroy_state_cb): remove the table being destroyed from
- the list
-
- * gui/e-meeting-model.h: new protos
-
- * gui/e-itip-control.c (update_attendee_status): kill warning
-
-2002-06-18 JP Rosevear <jpr@ximian.com>
-
- * zones.h: update for new zones
-
-2002-06-17 Rodrigo Moya <rodrigo@ximian.com>
-
- Fixes wombat crash (for JP and myself)
-
- * gui/gnome-cal.c (gnome_calendar_open): don't call add_alarms here,
- since the client is not yet attached to the backend, and the alarm
- daemon does unref the client before creating a new one.
- (client_cal_opened_cb): call add_alarms here.
-
-2002-06-12 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify.c: added timeout_id to LoadedClient structure, to
- keep track of the timeout function.
- (retry_timeout_cb): don't use RetryData, but the LoadedClient.
- (cal_opened_cb): ditto, and assigned lc->timeout_id to the return
- value of g_timeout_add().
- (alarm_notify_add_calendar): destroy the timeout callback when
- destroying the LoadedClient structure.
-
-2002-06-12 Jeffrey Stedfast <fejj@ximian.com>
-
- * pcs/cal-factory.c (open_fn): Free the uri_string once we're done
- with it.
-
-2002-06-12 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/dialogs/cal-prefs-dialog.glade: Fix a typo.
-
-2002-06-10 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed
- already loaded client when asked to be opened again, and *really*
- re-open it again.
-
-2002-06-04 Christopher James Lahey <clahey@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_setup_view_menus):
- gal_view_menus_set_show_define_views (..., FALSE);
-
-2002-06-04 Christopher James Lahey <clahey@ximian.com>
-
- * gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c
- (gnome_calendar_setup_view_menus): Set the title of our
- GalViewCollection.
-
-2002-06-03 Anna Marie Dirks <anna@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.glade: In an attempt to clean up the
- config dialog (and to reduce its overall girth), I have re-laid-out the
- calendar preferences dialog. It now conforms to standard Evolution
- spacing and padding guidelines, and exhibits proper alignment, etc.
-
-2002-06-03 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/query.c: keep a reference to the Query object, to avoid
- crashes when the queries are destroyed before finishing processing.
- Fixes #25056.
-
-2002-05-26 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor.h: update proto
-
- * gui/dialogs/comp-editor.c (comp_editor_get_comp): new function
- to get base comp
-
- * gui/e-comp-editor-registry.c (e_comp_editor_registry_add): get
- the base comp, not the current comp, don't unref it
- (foreach_close_cb): block the signal, unblock it if the editor
- could not be closed
- (e_comp_editor_registry_close_all): fix preconditions
- (editor_destroy_cb): get the base comp, not the current comp,
- don't unref it
-
-2002-05-26 JP Rosevear <jpr@ximian.com>
-
- * gui/e-comp-editor-registry.c (e_comp_editor_registry_close_all):
- if there are remaining items, return false
- (foreach_close_cb): don't remove the item if it couldn't be closed
-
- * gui/e-comp-editor-registry.h: update proto
-
- * gui/component-factory.c (request_quit): return a boolean
- indicating if everything was closed
-
- * gui/dialogs/comp-editor.h: update proto
-
- * gui/dialogs/comp-editor.c (comp_editor_close): return true if
- the editor was closed, false otherwise
-
-2002-05-26 JP Rosevear <jpr@ximian.com>
-
- * gui/e-comp-editor-registry.[hc]: a registry of comp editors so
- we can close them all centrally
-
- * gui/gnome-cal.c (gnome_calendar_init): there is no editor hash
- now
- (gnome_calendar_destroy): ditto
- (gnome_calendar_edit_object): look for the event editor in the
- registry, if it isn't there, create it and add it to the registry
-
- * gui/e-calendar-table.c (open_task): look for the task editor in
- the registry, if it isn't there, create it and add it to the
- registry
-
- * gui/component-factory.c (request_quit): close all open editors
- (create_object): add a request_quit function to the shell
- component
-
- * gui/comp-editor-factory.c (free_client): there is no
- uid_comp_hash to free any more
- (editor_destroy_cb): we get an OpenClient as callback data now,
- reduce the editor count and destroy it if it is 0
- (edit_existing): don't create the Component, add the new editor to
- the registry, increase the editor count
- (edit_new): ditto
- (open_client): set the editor count to 0
- (impl_editExisting): look in the registry for the editor
-
- * gui/Makefile.am: Build new sources
-
- * gui/main.c (main): create the registry
-
- * gui/dialogs/comp-editor.c (comp_editor_close): prompt to save
- and then close dialog
-
- * gui/dialogs/comp-editor.h: new proto
-
- * gui/GNOME_Evolution_Calendar.oaf.in: remove dead summary stuff
-
-2002-05-24 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-file.c (save): check the value returned by
- gnome_vfs_uri_to_string before using it.
- (cal_backend_file_open): ditto.
-
-2002-05-20 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/dialogs/event-editor.c (event_editor_init): Pass the
- @component_pixmaps in so we give the new "Meeting" button an icon.
-
- * gui/dialogs/comp-editor.c (comp_editor_merge_ui): New arg
- @component_pixmaps to pass in custom pixmaps.
-
-2002-05-20 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/alarm-notify/alarm-notify.c:
- * gui/alarm-notify/notify-main.c: ported changes from evolution-1-0
- to make it work with reminders on remote backends.
-
- * pcs/cal-backend-file.c (cal_backend_file_open): check the string
- returned by gnome_vfs_uri_to_string, which can be empty. If so,
- return an error.
-
-2002-05-17 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_setup_view_menus): set the view
- to the current view
-
-2002-05-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (client_cal_opened_cb): added support for
- CAL_CLIENT_OPEN_PERMISSION_DENIED error code.
- (permission_error): new function to display 'Permission Denied'
- error message when opening the calendar.
-
- * gui/e-tasks.c: likewise.
-
- * idl/evolution-calendar.idl: added PERMISSION_DENIED to Listener's
- OpenStatus enumeration.
-
- * cal-client/cal-client.c (cal_opened_cb): added code for retrieving
- 'Permission Denied' errors, and convert it to CalClientOpenStatus
- values.
-
- * pcs/cal-factory.c (open_backend): added code for informing of
- 'Permission Denied' errors.
-
-2002-05-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * idl/evolution-calendar.idl: added PermissionDenied exception and
- make it be raised in open, updateObjects and removeObject.
-
- * pcs/cal-backend.h: added CAL_BACKEND_OPEN_PERMISSION_DENIED to
- CalBackendOpenStatus enumeration, added CalBackendResult enumeration.
-
- * pcs/cal.c:
- * pcs/cal-backend.c:
- * pcs/cal-backend-file.c: adapted to changes in update_objects and
- remove_object methods.
-
- * cal-client/cal-client.[ch]: added CalClientResult enumeration.
- (cal_client_update_object, cal_client_update_objects,
- cal_client_remove_object): changed to return a CalClientResult.
-
- * conduits/calendar/calendar-conduit.c:
- * calendar/conduits/todo/todo-conduit.c:
- * importers/icalendar-importer.c:
- * gui/dialogs/comp-editor.c:
- * gui/calendar-model.c:
- * gui/e-calendar-table.c:
- * gui/e-day-view.c:
- * gui/e-itip-control.c:
- * gui/e-week-view.c:
- * gui/comp-util.c:
- * gui/e-tasks.c:
- * gui/tasks-migrate.c: adapted to changes in cal_client_update_object(s)
- and cal_client_remove_object.
-
-2002-05-15 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c (create_object): Pass NULL as
- @request_quit_fn.
-
-2002-05-14 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/schedule-page.c (schedule_page_construct): set the
- working hours for the meeting time selector
-
-2002-05-14 JP Rosevear <jpr@ximian.com>
-
- * cal-util/cal-component.h: make the range datetime member a
- struct not a pointer
-
- * cal-util/cal-component.c (cal_component_get_recurid): take a
- pointer to a range
- (cal_component_set_recurid): ditto
-
- * gui/itip-utils.c (comp_minimal): get/set the recurrence id
- properly
-
-2002-05-09 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/e-itip-control.c (get_servers): use
- GNOME_Evolution_Storage__get_folderList instead of
- GNOME_Evolution_Storage_getFolderList since I have now changed
- that to be an attribute instead of a method.
-
-2002-05-07 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (start_calendar_server): start a server a
- uri
- (start_default_server): start a default server
- (get_servers): get all clients for all folders of the given
- type(s)
- (find_server): locate a server for a particular uid
- (init): get_servers, listen for object_requested signal
- (destroy): destroy all clients
- (write_html): put options is there own cell
- (get_publish_options): place selector in if param is true
- (get_request_options): ditto
- (get_real_item): only try and look up the item if we know its in
- the server
- (show_current_event): find the server (if any) for the current
- comp
- (show_current_todo): ditto
- (update_attendee_status): if there is no server for the comp, it
- doesn't exist
- (remove_item): ditto
- (button_selected_cb): get a client for the selected folder
- (object_requested_cb): draw the folder button in
-
- * gui/calendar-config.h: new protos
-
- * gui/calendar-config.c (calendar_config_default_tasks_folder):
- get default tasks uri
- (calendar_config_default_calendar_folder): get default calendar
- uri
-
- * cal-client/cal-client.c (get_default_uri): use
- cal_util_expand_uri
-
- * cal-util/cal-util.h: new proto
-
- * cal-util/cal-util.c (cal_util_expand_uri): tack on the file name
- if its a file uri
-
-2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-tasks.c (e_tasks_delete_selected):
- (e_tasks_complete_selected): show progress messages
- on the status bar.
-
-2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/query.c: #include <gtk/gtkmain.h> to avoid warnings.
-
-2002-05-02 JP Rosevear <jpr@ximian.com>
-
- * gui/e-week-view.c (free_view_popup): only discard the popup if
- we created one
-
-2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/query.c: refactored a bit, to not do things in idle loops.
-
-2002-05-01 JP Rosevear <jpr@ximian.com>
-
- * gui/print.c (print_day_details): modify the start and end hours
- to accomodate all the events in the day
-
- * gui/e-day-view.c (free_view_popup): only discard the popup if we
- created one
-
-2002-04-30 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_construct): remove setup_widgets
- from here
- (gnome_calendar_init): move setup_widgets back here
-
-2002-04-26 Jeffrey Stedfast <fejj@ximian.com>
-
- * gui/Makefile.am: Don't link to libibex anymore!!
-
-2002-04-24 JP Rosevear <jpr@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_pilot_settings): launch pilot
- settings capplet
-
- * gui/e-week-view.c (e_week_view_on_pilot_settings): ditto
-
-2002-04-24 JP Rosevear <jpr@ximian.com>
-
- * gui/e-week-view.c (free_view_popup): free the view popup
- (e_week_view_show_popup_menu): add the view popup to the
- "main_item" menu and listen for destruction
-
- * gui/e-day-view.c (free_view_popup): as above
- (e_day_view_on_event_right_click): as above
-
- * gui/e-week-view.h: add class member
-
- * gui/e-day-view.h: add a class member
-
- * gui/gnome-cal.h: new protos
-
- * gui/gnome-cal.c (set_view): set the instance view id properly
- when switching views
- (gnome_calendar_setup_view_popup): generate a view popup
- (gnome_calendar_discard_view_popup): destroy a view popup
-
-2002-04-22 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal.c (impl_Cal_get_alarms_in_range): raise an exception if the
- backend's method returns NULL, since we can't send a NULL pointer to
- ORBit.
-
-2002-04-19 Anna Marie Dirks <anna@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.glade: Collapsed notebook into two pages
- and added accelerators for everything, as part of my config dialog
- polishing project
-
-2002-04-18 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/recurrence-page.c (simple_recur_to_comp): properly
- handle -ve recurrence values
- (month_num_submenu_selection_done_cb): track the current date in
- use
- (make_recur_month_num_submenu): make a submenu of dates
- (make_recur_month_num_menu): make the date/relation option menu
- (month_num_menu_selection_done_cb): update the date properly and
- keep both option menus consistent
- (month_day_menu_selection_done_cb): keep both option menus
- consistent
- (make_monthly_special): listen for selection done signal
- (make_recurrence_special): destroy old month_num_menu
- (recurrence_page_fill_widgets): properly handle -ve recurrence
- values
-
-2002-04-18 JP Rosevear <jpr@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_settings): show the settings
-
- * gui/e-week-view.c (e_week_view_on_settings): ditto
-
- * gui/calendar-commands.c (control_util_show_settings): show the
- settings dialog
-
- * gui/calendar-commands.h: new proto
-
- * gui/control-factory.c (control_factory_new_control): set the
- control as object data on the calendar
-
-2002-04-17 Christopher James Lahey <clahey@ximian.com>
-
- * gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c,
- gui/dialogs/meeting-page.c: Updated these to match the new
- EPopupMenu.
-
-2002-04-05 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend.[ch] (cal_backend_get_query): new method.
-
- * pcs/cal-backend-file.c (cal_backend_file_get_query): new method.
-
- * pcs/cal.c (impl_Cal_get_query): call the CalBackend's implementation
- instead of calling query_new directly.
-
- * pcs/query.[ch]: fixed headers.
-
-2002-04-10 Dan Winship <danw@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_open): Fix this: Rodrigo's patch
- used one of the functions I just removed. :)
-
-2002-04-10 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_open): use the default uri for
- tasks (as stored in the configuration) when the calendar URI is not
- a local one (connector, etc).
-
-2002-04-10 Dan Winship <danw@ximian.com>
-
- * cal-client/cal-client.c (get_default_uri): Use new-and-improved
- default folder URI config paths.
-
- * gui/calendar-config.c (calendar_config_{get,set}_default_uri,
- calendar_config_{get,set}_default_tasks_uri): Remove these. The
- shell owns this information now. (Weren't being used anyway.)
-
- * gui/component-factory.c (get_data_uri): Fix another place that
- hardcoded tacking foo.ics on to the end of URLs.
-
-2002-04-08 Dan Winship <danw@ximian.com>
-
- * gui/component-factory.c (create_view): Add view_info arg. If the
- view_info is non-empty and this is a calendar folder, set the
- "view" property on the control's propertybag.
-
- * gui/control-factory.c (calendar_properties_init): Set up the
- "view" property.
- (get_prop, set_prop): handle the "view" property by
- getting/setting the GnomeCalendar's view. Unfortunately, this
- doesn't actually work. See #23208.
-
- * gui/calendar-commands.c (calendar_control_activate): Set the UI
- component's container before calling
- gnome_calendar_set_ui_component so that the search bar
- initialization will work.
-
-2002-04-06 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend-db.[hc]: Remove dead files.
-
-2002-04-06 JP Rosevear <jpr@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.oaf.in: add config_item:type
-
-2002-04-01 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/e-itip-control.c: Fix a string.
-
-2002-04-01 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-db.c: simple fix for DB3 header inclusion in
- Mac OS X, by Max Horn <max@quendi.de>
-
-2002-03-31 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (clean_up): free the my_address member
- (find_my_address): fall back on a CN match if possible
- (change_status): handle changing the status of a non-existent
- address by adding a new attendee
- (update_attendee_status): if the attendee response is not from a
- user on the list of attendees, ask the user if they want to add
- the attendee any how (as an optional participant)
- (ok_clicked_cb): if we are suppose to rsvp and the status was ok,
- but the attendee address is not known, find it
-
-2002-03-29 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.oaf.in: Set a priority for the
- config item. Rename to "Calendar and Tasks".
-
-2002-03-29 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/Makefile.am: s/libversit.la/libversit.a/
-
- * conduits/todo/Makefile.am: ditto
-
-2002-03-29 JP Rosevear <jpr@ximian.com>
-
- * gui/e-calendar-table.c: implement new pop up menu items for
- "Save as", "Print", "Assign Task", "Forward as iCalendar"
-
- * gui/e-day-view.c: similarly, also "Publish Free/Busy
- Information" and "New Meeting" and "New Task"
-
- * gui/e-week-view.c: ditto
-
- * gui/dialogs/task-editor.c (show_assignment): move the assignment
- page stuff here
- (task_editor_show_assignment): use it
- (assign_task_cmd): ditto
-
- * gui/dialogs/task-editor.h: new proto
-
- * gui/dialogs/comp-editor.c (save_as_cmd): use new e-util file
- selector function
-
- * meeting-mockup.glade: Remove old file
-
- * topic.dat
-
-2002-03-19 Dan Winship <danw@ximian.com>
-
- * cal-util/Makefile.am: s/libversit.la/libversit.a/
-
- * cal-client/Makefile.am: Likewise
-
- * gui/Makefile.am: Likewise
-
-2002-03-18 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/cal-search-bar.c: Removed `search_menu_items'.
- (cal_search_bar_menu_activated): Removed.
- (cal_search_bar_class_init): Don't install.
- (cal_search_bar_construct): No menu items here.
-
-2002-03-15 Jeffrey Stedfast <fejj@ximian.com>
-
- * gui/e-day-view.c: Updated to use new EPopupMenu API.
-
- * gui/e-week-view.c: Updated to use new EPopupMenu API.
-
- * gui/e-calendar-table.c: Updated to use new EPopupMenu API.
-
-2002-03-15 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/tasks-control.c (tasks_control_activate): Call
- `e_tasks_set_ui_component()' here to give it the
- BonoboUIComponent.
- (tasks_control_deactivate): Likewise, call it here to unset the
- BonoboUIComponent.
-
- * gui/e-tasks.c (e_tasks_set_ui_component): New.
-
- * gui/calendar-commands.c (calendar_control_activate): Call
- gnome_calendar_set_ui_component() here.
- (calendar_control_deactivate): ...And here, with a NULL
- BonoboUIComponent.
-
- * gui/gnome-cal.c (gnome_calendar_set_ui_component): New.
-
-2002-03-15 JP Rosevear <jpr@ximian.com>
-
- * gui/main.c: use bonobo exception macros to tidy
-
- * gui/itip-control-factory.c: ditto
-
- * gui/gnome-cal.c: ditto
-
- * gui/comp-editor-factory.c: ditto
-
- * gui/calendar-commands.c: ditto
-
-2002-03-14 JP Rosevear <jpr@ximian.com>
-
- * idl/evolution-calendar.idl: add all day event editor mode
-
- * gui/component-factory.c: clean up exception handling
- (sc_user_create_new_item_cb): support the all day event id
- (create_object): add a user creatable all day appointment item
-
- * gui/comp-editor-factory.c (get_default_event): get a default
- event either all day or starting at the top of the hour
- (get_default_task): get a default task
- (edit_new): support the all day event mode
-
- * gui/calendar-commands.c: remove unused functions/verbs
-
-2002-03-13 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.oaf.in: Add an
- "evolution:config_item:icon_path" attribute so we get an icon for
- the calendar preferences.
-
-2002-03-12 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.glade: Add <visible>False</visible>
- to cal-prefs-dialog so it doesn't get shown when we load the Glade
- file with libglade.
-
- * gui/component-factory.c (owner_set_cb): Register the
- ConfigControl factory.
-
- * gui/tasks-control.c: Removed verb "TaskSettings".
- (tasks_control_settings_cmd): Removed.
-
- * gui/calendar-commands.c: Removed verb "CalendarSettings".
- (settings_cmd): Removed.
-
- * gui/dialogs/cal-prefs-dialog.c: Renamed `CalPrefsDialogPrivate'
- to `DialogData'. Replace `dialog' member with a `page' member.
- Remove `toplevel_notebook' member.
- (init_widgets): Renamed from `cal_prefs_dialog_init_widgets'.
- Just get a DialogData.
- (get_widgets): Get a DialogData pointer.
- (cal_prefs_dialog_destroy): Removed.
- (config_control_destroy_callback): New, signal handler for
- ::destroy for ConfigControl.
- (cal_prefs_dialog_new): Create a new DialogData, connect all the
- signal handlers.
- (create_time_edit): Renamed from
- `cal_prefs_dialog_create_time_edit'.
- (cal_prefs_dialog_show): Removed.
- (cal_prefs_dialog_button_clicked): Removed.
- (show_task_list_config): Get a DialogData.
- (show_config): Renamed from `cal_prefs_dialog_show_config'.
- Likewise.
- (update_task_list_config): Likewise.
- (update_config): Renamed from
- `cal_prefs_dialog_update_config'. Likewise.
- (color_set_callback): New callback, makes the dialog report
- changes when the setting in any of the color widgets is changed.
- (widget_changed_callback): New callback, makes the dialog report
- changes when any of the widgets changes status.
- (connect_changed): New utility function to connect this callback
- to all the widgets.
- (setup_widgets): Connect all the widgets.
- (cal_prefs_dialog_new): Call `setup_widgets'.
-
- * gui/config-control-factory.c: New.
- * gui/config-control-factory.h: New.
-
- * gui/GNOME_Evolution_Calendar.oaf.in: Add
- OAFIID:GNOME_Evolution_Calendar_ConfigControl and
- OAFIID:GNOME_Evolution_Calendar_ConfigControlFactory.
-
-2002-03-06 Rodrigo Moya <rodrigo@ximian.com>
-
- Should fix #21240
-
- * gui/alarm-notify/alarm-notify.c: replaced use of GnomeVFSURI
- with EUri, to allow non-registered methods.
-
-2002-03-05 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-itip-control.c (e_itip_control_set_data): reverted my last
- change of adding the METHOD property to the incoming request.
-
- * gui/itip-utils.c (comp_string): added extra
- X-MICROSOFT-CDO-REPLYTIME property for broken Outlook. Should fix
- #20783.
-
-2002-03-04 Dan Winship <danw@ximian.com>
-
- * gui/itip-utils.c (comp_compliant): Reset the DTSTAMP of the new
- component. (RFC2245 says DTSTAMP corresponds to the time the
- particular iCalendar representation of the object was created.)
- Fixes #21198.
-
-2002-03-05 JP Rosevear <jpr@ximian.com>
-
- * gui/print.c: remove unneeded parameter from print_text_size
- everywhere
- (get_font_for_size): calculate a font size based on the available
- height
- (print_text): calculate the top of where the font should be drawn
- (print_text_size): use get_font_for_size
- (print_day_background): use get_font_for_size
-
-2002-03-05 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-time-sel-item.c
- (e_meeting_time_selector_item_draw): pass the real table
- to e_meeting_model_etable_view_to_model_row
- (e_meeting_time_selector_item_paint_busy_periods): ditto
-
- * gui/dialogs/meeting-page.c (right_click_cb): ditto
-
- * gui/e-meeting-model.h: update protos
-
- * gui/e-meeting-model.c
- (e_meeting_model_etable_model_to_view_row): take in to account the
- fact the table used the without model
- (e_meeting_model_etable_view_to_model_row): ditto
-
-2002-03-04 Damon Chaplin <damon@ximian.com>
-
- * gui/tasks-control.c: added support for printing the Tasks table.
- I hacked it a bit so the user could choose portrait or landscape mode.
- This is bug #9677. ETable printing has a few issues, though, and it
- isn't very pretty.
-
-2002-03-04 Dan Winship <danw@ximian.com>
-
- * gui/itip-utils.c (comp_subject): Prefix the subject with an
- indicator like "Accepted" or "Cancelled" explaining what the
- action is, since Outlook doesn't display any of that information
- inline like we do. (20780)
-
-2002-02-28 Rodrigo Moya <rodrigo@ximian.com>
-
- * calendar/gui/e-itip-control.c (e_itip_control_set_data): added the
- METHOD property to the top level component we create.
-
-2002-02-26 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/control-factory.c (set_prop):
- * gui/tasks-control.c (tasks_control_set_property): display an error
- message if the call to gnome_calendar_open or e_tasks_open does not
- return TRUE. Fixes #20346.
-
-2002-02-25 Dan Winship <danw@ximian.com>
-
- * gui/itip-utils.c (itip_send_comp): use
- GNOME_Evolution_Composer_setBody rather than _setMultipartType and
- _attachData now, to send a message containing just a text/calendar
- part. Fixes 14705. Mostly.
- (comp_content_type): Include the filename here since we can't add
- a Content-Disposition now.
-
-2002-02-24 Chris Toshok <toshok@ximian.com>
-
- * gui/cal-search-bar.c (cal_search_bar_class_init): change
- query_changed to search_activated.
- (cal_search_bar_search_activated): rename
- cal_search_bar_query_changed to this.
-
-2002-02-21 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c (add_creatable_item): New helper
- function.
- (create_object): Add icons for the various user creatable items.
-
-2002-02-19 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (send_item): pass extra itip_send_comp
- params
- (send_freebusy): ditto
- (ok_clicked_cb): ditto, including the timezones culled from the
- component
-
- * gui/e-week-view.c: pass extra itip_send_comp params
-
- * gui/calendar-commands.c: ditto
-
- * gui/e-day-view.c: ditto
-
- * gui/dialogs/task-editor.c: ditto
-
- * gui/dialogs/event-editor.c: ditto
-
- * gui/dialogs/comp-editor.c: ditto
-
- * gui/itip-utils.h (itip_send_comp): update proto
-
- * gui/itip-utils.c (foreach_tzid_callback): check the passed in
- zones, then the builtin time zones then the client
-
-2002-02-19 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (find_my_address): strip the ical value and
- do a case insensitive compare
- (find_attendee): ditto
- (change_status): put the error message here
- (ok_clicked_cb): don't update the item or rsvp unless
- change_status was successful, trip the ical value and do a case
- insensitive compare
-
- * gui/itip-utils.c (get_address): strip the incoming address
- (itip_strip_mailto): use g_strncasecmp
- (comp_limit_attendees): strip the ical value and do a case
- insensitive compare
-
-2002-02-14 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-model.c: use new column enums
- (set_value_at): emit pre-change/cell change signals
- (destroy): destroy refresh_queue and refresh_data
- (init): init new elements
- (refresh_queue_add): if the attendee is being refreshed already,
- possibly update the start/end times to look for and update the
- callback info, otherwise add it to the queue
- (refresh_queue_remove): remove a refreshing attende from the queue
- (process_callbacks): make all the callbacks and remove the
- attendee from the queue
- (process_free_busy): process the callbacks immediately if parsing
- fails or on successful completion of processing
- (async_close): process free busy
- (cursor_cb): we're only looking for one at a time now
- (refresh_busy_periods): idle callback to start processing the queue
- (e_meeting_model_refresh_all_busy_periods): add every row to the queue
- (e_meeting_model_refresh_busy_periods): add a single row to the queue
-
- * gui/e-meeting-model.h: new protos, enum the columns
-
- * gui/e-meeting-time-sel.c: use new compare time function
- (e_meeting_time_selector_construct): listen for a cell changed
- signal and use separate callbacks for rows_inserted and
- rows_deleted
- (e_meeting_time_selector_refresh_free_busy): util function to
- refresh free busy info
- (e_meeting_time_selector_on_update_free_busy): use above
- (rows_inserted_cb): refresh free busy on the new rows
- (cell_changed_cb): refresh free busy on the row when the address
- changes
- (rows_deleted_cb): redraw
-
- * gui/e-meeting-utils.[hc]: a holding spot for a meeting time
- comparison function
-
- * gui/Makefile.am: compile new files
-
-2002-02-13 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/control-factory.c (set_prop): don't append 'calendar.ics'
- to the URI.
- (get_prop): finished.
-
- * gui/tasks-control.c (tasks_control_set_property): don't append
- 'tasks.ics' to the URI.
- (tasks_control_get_property): finished.
-
- * gui/gnome-cal.c (gnome_calendar_open):
- * gui/e-tasks.c (e_tasks_open): append $filename.ics to the uri to be
- opened if the uri is local. Leave intact in other cases.
-
-2002-02-08 Damon Chaplin <damon@ximian.com>
-
- * gui/comp-util.c (cal_comp_util_compare_event_timezones): check if
- the CalComponentDateTime values are set before trying to use them.
- Possibly fixes bug #18529.
-
- * importers/icalendar-importer.c: added vCalendar importer and
- intelligent GnomeCalendar importer code here, as it shares a lot of
- code with the iCalendar importer.
-
- NOTE: check_folder_type() needs to be finished at some point.
- It needs a new shell Corba call so it can decide whether to import
- events or tasks into the folder. Currently it just imports both.
-
- * importers/main.c (importer_factory_fn): create vCalendar importer
- or GnomeCalendar importer if required.
-
- * importers/evolution-calendar-importer.h: added declarations for
- creating a vCalendar importer and intelligent Gnome Calendar importer.
-
- * importers/Makefile.am: added -DEVOLUTION_SOUNDDIR so the importer
- knows what filename to use for audio alarms in vCalendar files.
- Added libicalvcal-evolution to LDADD.
-
- * importers/GNOME_Evolution_Calendar_Importer.oaf.in: added vCalendar
- importer and intelligent Gnome Calendar importer.
-
- * gui/comp-util.c (cal_comp_util_compare_event_timezones): return TRUE
- if the event uses UTC. We don't want to flag all events from Outlook,
- which use UTC.
-
-2002-02-08 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-details-page.glade: change custom widget
- creator to e_url_entry_new
-
- * gui/dialogs/task-details-page.c (get_widgets): get the url entry
- and its entry
-
-2002-02-08 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-details-page.glade: add a custom widget created
- with e_url_button_new
-
- * gui/dialogs/task-details-page.c (task_details_page_init): init
- url_button member to NULL
- (init_widgets): set the url button entry
- (get_widgets): get the url button
-
- * gui/calendar-commands.c (pixmaps): use new all day event icon
-
-2002-02-07 JP Rosevear <jpr@ximian.com>
-
- * gui/e-day-view.c: pass meeting boolean for
- gnome_calendar_edit_object and gnome_calendar_new_appointment_for
-
- * gui/e-week-view-event-item.c: ditto
-
- * gui/e-week-view.c: ditto
-
- * gui/tasks-control.c (confirm_expunge): kill warning
-
- * gui/calendar-commands.c (new_meeting_cb): show a new meeting
- dialog
- (new_event_cb): pass new param
-
- * gui/gnome-cal.c (gnome_calendar_edit_object): take meeting
- boolean and show meeting page if true
- (gnome_calendar_new_appointment_for): takeing meeting param and
- pass to above
- (gnome_calendar_new_appointment): add new param
-
- * gui/gnome-cal.h: update proto
-
- * gui/component-factory.c (create_component): take a comp editor
- mode, determine vtype
- (sc_user_create_new_item_cb): check for meeting user creatable
- item
- (create_object): add meeting as user creatable item
-
- * gui/comp-editor-factory.c (edit_new): get a comp editor mode
- now, determine vtype and show meeting page if required
- (queue_edit_new): get comp editor mode
- (impl_editNew): ditto, plus queue the mode directly instead of
- determining the vtype
-
- * gui/dialogs/event-editor.c (show_meeting): new internal util
- function to show meeting page
- (event_editor_show_meeting): show the meeting
- (schedule_meeting_cmd): use show_meeting
-
- * gui/dialogs/event-editor.h: new proto
-
- * idl/evolution-calendar.idl: editNew takes a mode rather than a
- type now
-
- * cal-util/Makefile.am: fix includes
-
-2002-02-07 Christopher James Lahey <clahey@ximian.com>
-
- * gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c
- (gnome_calendar_setup_view_menus): Made these use the new
- GalViewMenus stuff.
-
-2002-02-06 Damon Chaplin <damon@ximian.com>
-
- * cal-util/cal-recur.c (cal_recur_from_icalproperty): convert months
- from 1-12 to 0-11. Fixes bug #19235.
-
-2002-02-04 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/todo-conduit.c (e_todo_gui_new): new gui routines
- for conduit settings
- (e_todo_gui_fill_config): ditto
- (e_todo_gui_fill_widgets): ditto
- (e_todo_gui_destroy): ditto
- (e_todo_context_destroy): destroy new_cfg and gui properly
- (local_record_from_comp): set the priority to the default setting
- if none is set on the icalendar object
- (fill_widgets): fill gui widgets
- (create_settings_window): create gui
-
-2002-01-30 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (write_html): if this is a reply, print the
- attendee status
-
-2002-01-25 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/alarm-options.glade: Use 1 instead of zero as the
- minimum value for the repetitions spin button as we use a check
- box to specify whether the alarm has repetitions or not. Fixes
- bug #19054.
-
-2002-01-24 Ettore Perazzoli <ettore@ximian.com>
-
- * importers/Makefile.am (evolution_calendar_importer_LDADD):
- Ooops. Forgot to use EVOLUTION_CALENDAR_LIBS here.
-
-2002-01-24 Ettore Perazzoli <ettore@ximian.com>
-
- * conduits/calendar/Makefile.am: Use
- EVOLUTION_CALENDAR_CONDUIT_LIBS and
- EVOLUTION_CALENDAR_CONDUIT_CFLAGS.
- * conduits/todo/Makefile.am: Likewise.
-
- * cal-client/Makefile.am: Use EVOLUTION_CALENDAR_LIBS and
- EVOLUTION_CALENDAR_CFLAGS.
- * cal-util/Makefile.am: Likewise.
- * gui/alarm-notify/Makefile.am: Likewise.
- * gui/Makefile.am: Likewise.
-
-2002-01-23 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c (create_object): Pass a NULL @icon to
- `evolution_shell_component_add_user_creatable_item()'.
-
-2002-01-21 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/todo-conduit.c (todoconduit_load_configuration):
- return a new configuration struct, load default priority setting
- (todoconduit_save_configuration): save default priority setting
- (e_todo_context_new): dupe configuration
-
- * conduits/calendar/calendar-conduit.c (e_calendar_context_new):
- set ps to NULL
-
-2002-01-17 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/alarm-page.c (get_alarm_string): save the alarm string
- in the correct variable (str), so it actually gets shown for alarms
- with specific trigger times. Fixes bug #18801.
-
-2002-01-15 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/task-page.c (task_page_fill_widgets): default component
- classification to PUBLIC. Fixes internal bug #1066
-
-2002-01-14 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c: move all functions here,
- get rid of header files, use e-pilot-settings to display gui
-
- * conduits/todo/todo-conduit.c: as above
-
-2002-01-14 JP Rosevear <jpr@ximian.com>
-
- * gui/gnome-cal.c (get_current_time): use icaltimetype_to_tm
-
-2002-01-14 JP Rosevear <jpr@ximian.com>
-
- * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
- figure out when today is and highlight if it is not selected
-
- * gui/e-week-view.h: enum the "today" color
-
- * gui/e-week-view.c (e_week_view_realize): init the "today" color
-
-2002-01-13 JP Rosevear <jpr@ximian.com>
-
- * gui/alarm-notify/save.h: add protos
-
- * gui/alarm-notify/save.c (save_blessed_program): records a
- program as blessed
- (is_blessed_program): checks to see if a program is blessed
-
- * gui/alarm-notify/alarm-queue.c (procedure_notification_dialog):
- popup a dialog notifying the user that is a program and let them
- not see the dialog about this program again
- (procedure_notification): use above
-
-2002-01-11 Damon Chaplin <damon@ximian.com>
-
- * gui/e-timezone-entry.c:
- * gui/e-itip-control.c (write_label_piece):
- * gui/calendar-config.c (on_timezone_set): translate timezone names
- when displayed. Fixes bug #6544.
-
-2002-01-03 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-control.c (tasks_control_complete_cmd): new verb
- callback
- (sensitize_commands): set sensitivity of mark complete command
-
- * gui/e-tasks.h: new proto
-
- * gui/e-tasks.c (e_tasks_complete_selected): mark selected tasks
- in the table as complete
-
- * gui/e-calendar-table.h: new proto
-
- * gui/e-calendar-table.c (e_calendar_table_complete_selected):
- mark selected rows as complete
-
-2002-01-03 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-control.c (confirm_expunge): only need one warning
- message now
-
- * gui/e-tasks.c (create_sexp): change the logic to expunge all
- completed tasks not just hidden ones
-
-2002-01-03 JP Rosevear <jpr@ximian.com>
-
- * gui/tasks-control.c (confirm_expunge): confirm expunging of the
- tasks
- (tasks_control_expunge_cmd): verb callback
-
- * gui/calendar-config.c (config_read): read confirm expunge value
- (calendar_config_write): write confirm expunge value
- (calendar_config_write_on_exit): ditto
- (calendar_config_get_confirm_expunge): get value
- (calendar_config_set_confirm_expunge): set value
-
- * gui/calendar-config.h: new proto
-
- * gui/e-itip-control.c (start_calendar_server): kill warning
-
- * gui/e-tasks.c (e_tasks_init): init query member to NULL
- (set_status_message): util function to set status message
- (e_tasks_open): use above
- (cal_opened_cb): ditto
- (create_sexp): create sexp of items to be deleted
- (query_obj_updated_cb): remove any items found
- (query_eval_error_cb): bail out on error
- (query_query_done_cb): tidy when done
- (e_tasks_delete_completed): set up query
-
- * gui/e-tasks.h: new proto
-
- * gui/calendar-model.c (query_query_done_cb): use g_warning
- instead of printing to stderr
- (query_eval_error_cb): ditto
- (update_query): clear the status message if we can't create the
- query
-
- * gui/tag-calendar.c (resolve_tzid_cb): make this static
-
-2001-12-21 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor.c: remove needs send signal related
- cruft
- (save_comp_with_send): with send_component_dialog, indicate if the
- meeting info is newly created or not
- (real_edit_comp): remember if the dialog initially needs a send
-
- * gui/dialogs/send-comp.c (send_component_dialog): take a "new"
- parameter indicating whether the dialog should intimate if the
- component to be sent is a new meeting or not
-
- * gui/dialogs/send-comp.h: update proto
-
- * gui/dialogs/comp-editor.c: remove no longer used needs_send
- notification and signal
-
- * gui/dialogs/comp-editor.h: remove proto
-
- * gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received): add new
- param to send_component_dialog
- (e_day_view_finish_long_event_resize): ditto
- (e_day_view_finish_resize): ditto
- (e_day_view_on_editing_stopped): ditto
- (e_day_view_on_top_canvas_drag_data_received): ditto
-
- * gui/e-week-view.c (e_week_view_on_editing_stopped): add new
- param to send_component_dialog
-
-2001-12-21 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor.h: inherit from bonobo window
-
- * gui/dialogs/comp-editor.c: inherit from bonobo window
- (comp_editor_key_press_event): Look for an escape key press and
- close the window if found
-
-2001-12-20 Ettore Perazzoli <ettore@ximian.com>
-
- [Fixes #17377, Evolution doesn't work on multi-depth displays.]
-
- * gui/main.c (main): Push GdkRGB visual and colormap.
-
-2001-12-19 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (check_for_slow_setting):
- go slow and clear the map if the last uri and the current uri do
- not match
- (post_sync): save the last uri
-
- * conduits/calendar/calendar-conduit-config.h: handle a last uri
- config option
-
- * conduits/todo/todo-conduit-config.h: ditto
-
- * conduits/calendar/calendar-conduit.c (start_calendar_server):
- use the open_default_calendar method
-
- * conduits/todo/todo-conduit.c (start_calendar_server): same as above
-
- * cal-client/Makefile.am: link with bonobo conf
-
- * cal-client/cal-client.h: new protos
-
- * idl/evolution-calendar.idl: make sure open method raises
- appropriate exceptions
-
- * gui/e-itip-control.c (start_calendar_server): use
- cal_client_open_default_* calls
-
- * cal-client/cal-client.c (real_open_calendar): do the real work
- of loading
- (cal_client_open_calendar): use above
- (get_fall_back_uri): get the basic local uri
- (get_default_uri): get the default uri from the config db
- (cal_client_open_default_calendar): open the default uri or the
- fallback if the method is unsupported
- (cal_client_open_default_tasks): same for tasks
-
-2001-12-17 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (send_item): use get_real_item
- (get_refresh_options): uncomment out
- (get_real_item): obtain the real object which has the uid of the
- item received
- (show_current_todo): use get_refresh_options for refresh method
- and provide the description and summary from the real component
- since its not in the reply
- (show_current_event): ditto
- (send_item): use get_real_item
-
-2001-12-17 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (comp_limit_attendees): can't remove properties
- in an iteration loop, so remove them outside the loop
- (comp_minimal): don't set a recurid if there isn't one, add the x
- properties to the clone
- (comp_compliant): unref the clone for DECLINECOUNTER
-
- * gui/e-itip-control.c (get_refresh_options): make function
- available again
- (show_current_event): use it here
- (ok_clicked_cb): can't remove properties in an iteration loop, so
- remove them outside the loop
-
- * cal-util/cal-component.c (free_icalcomponent): properly free the
- attendee list
- (cal_component_rescan): don't destroy the alarm hash
-
-2001-12-13 Damon Chaplin <damon@ximian.com>
-
- * zones.h: new file to contain all timezone names for translation.
- We won't be using the translations in 1.0.1, but it gives translators
- time before we do use them in 1.0.2.
-
- * Makefile.am: added zones.h to EXTRA_DIST.
-
-2001-12-12 JP Rosevear <jpr@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_top_canvas_button_release):
- ungrab the pointer before calling
- e_day_view_finish_long_event_resize
- (e_day_view_on_main_canvas_button_release): ditto
- (e_day_view_finish_long_event_resize): ask if the meeting should
- be sent
- (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
-
-2001-12-11 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-model.c (process_free_busy_comp): properly convert
- the dtstart and dtend times if they are UTC
- (cursor_cb): if we don't have anybody to get f/b info for, process
- the callbacks immediately
- (e_meeting_model_refresh_busy_periods): take start/end times,
- calculate the timet values with object timezone
- (e_meeting_model_etable_model_to_view_row): proper cast
- (e_meeting_model_etable_view_to_model_row): ditto
- (async_open): bail out if we couldn't open properly
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_on_update_free_busy): use defines for
- determining the number of days before and after of free busy to
- request
- (e_meeting_time_selector_update_dates_shown): use defines for the
- number of days shown
-
- * gui/e-meeting-model.h: update proto
-
-2001-12-10 Damon Chaplin <damon@ximian.com>
-
- * gui/control-factory.c (control_factory_new_control): removed code
- that connects to GnomeCalendar's "dates_shown_changed" signal.
-
- * gui/calendar-commands.c (gcal_calendar_dates_change_cb):
- (calendar_control_activate): moved it here, so it gets reconnected
- whenever the control is activated. Fixes bug #15798.
-
-2001-12-10 Damon Chaplin <damon@ximian.com>
-
- * importers/GNOME_Evolution_Calendar_Importer.oaf.in: fixed executable
- name. Fixes bug #16880.
-
-2001-12-08 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (local_record_from_comp):
- if we have an alarm that can be represented on the pilot, set the
- appointment fields appropriately, if the duration has values for
- minutes and/or hours and/or days, use the lowest common
- denominator
- (comp_from_remote_record): if the appointment on the pilot has an
- alarm, find the first alarm an item currently had that is relative
- to the start and with a negative duration and update it (or create
- a new one if no valid ones exist)
-
- * cal-util/cal-component.c (cal_component_get_alarm_uids): build
- list in the order they appear in the component so we get
- consisting order for the gui and for the pilot
-
-2001-12-08 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-config.c (calendar_config_get_default_uri):
- (calendar_config_get_default_tasks_uri): s/%/%s
-
-2001-11-09 Federico Mena Quintero <federico@ximian.com>
-
- (committed by Damon)
-
- Fix bug #14699.
-
- * pcs/query.c (QueryState): Added a state QUERY_WAIT_FOR_BACKEND
- to indicate that the query is not populated as we are waiting for
- the backend to be opened.
- (query_init): Start in the QUERY_WAIT_FOR_BACKEND state.
- (query_destroy): Only disconnect from the backend if we are in a
- state that implies that we are connected to its signals.
- (query_construct): If the backend is already loaded, immediately
- set the state to QUERY_START_PENDING.
- (backend_opened_cb): Disconnect from the backend's "opened"
- signal. Set the state to QUERY_START_PENDING.
- (match_component): We can now only match components if the query
- is in progress or if it is done. Assert to that effect, and do
- not ensure_sexp().
- (match_component): Do not check for a nonexistent component using
- g_return_if_fail(). Also, there is no need to ref/unref the
- component.
- (backend_obj_updated_cb): Assert to the effect of our state.
- (backend_obj_removed_cb): Likewise.
- (parse_sexp): Renamed from ensure_sexp(). Assert that the query
- has not started. Do not disconnect from the backend's signals
- here, since we have no connections.
- (start_query_cb): Set the state to QUERY_IN_PROGRESS here instead
- of in populate_query().
-
-2001-12-07 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-config.c (calendar_config_get_default_uri):
- (calendar_config_get_default_tasks_uri): if the key in the config
- database does not exist, just return the local URIs, but never
- return NULL
-
-2001-12-06 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/event-page.c (event_page_fill_widgets): default
- component classification to PUBLIC
-
-2001-12-06 Jon Trowbridge <trow@ximian.com>
-
- * gui/dialogs/event-editor.c (event_editor_destroy): Explicitly
- destroy the EMeetingModel. This is a hack to work around problems
- with the reference counting; we are still leaking the
- EMeetingModels.
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_construct): Ref our EMeetingModel.
- (e_meeting_time_selector_destroy): Unref the model.
-
- * gui/e-meeting-model.c (destroy): Properly destroy
- corba_select_names with a call to bonobo_object_release_unref.
- (Fixes 14002)
-
-2001-12-05 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/event-page.glade: added entry for the LOCATION field
-
- * gui/dialogs/event-page.c: added support for the new LOCATION entry
- added in the Event editor.
-
-2001-12-05 Zbigniew Chyla <cyba@gnome.pl>
-
- * gui/itip-utils.c (comp_subject, comp_description):
- Marked strings for translation.
-
-2001-12-03 Damon Chaplin <damon@ximian.com>
-
- * gui/e-meeting-model.c:
- * gui/calendar-model.c: make sure we call e_table_model_pre_change()
- before changing the model.
-
- * gui/calendar-config.c (calendar_config_configure_e_calendar_table):
- removed call to e_table_model_changed(). calendar_model_refresh()
- results in that anyway.
-
-2001-12-03 Damon Chaplin <damon@ximian.com>
-
- * gui/e-calendar-table.etspec: disabled 'Alarms', 'End Date' and
- 'Show Time As' fields, as these are not useful for tasks. We may want
- to reenable them later if we add a table view of calendar events.
-
-2001-12-02 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-offline-handler.c (backend_cal_opened): connect to
- "cal_set_mode" signal before calling cal_client_set_mode. Also,
- s/cal_mode_set/cal_set_mode
- (backend_go_offline): connect to "cal_opened" signal before calling
- cal_client_open_calendar
-
-2001-11-30 Damon Chaplin <damon@ximian.com>
-
- * gui/e-itip-control.c (remove_item): only show the dialog if we
- created it. Hopefully fixes bug #15774.
- Also ifdef'ed out a lot of code that isn't currently used, including
- code to use a label which is never created. The unused code was there
- to support handling multiple iTIP objects in a message, but was never
- updated when we switched to use HTML for the control. Fixes bug #16232.
-
-2001-11-28 Federico Mena Quintero <federico@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_new_task): Set the category of
- the new task to that of the search bar. Fixes bug #15533.
-
-2001-11-27 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-itip-control.c (update_attendee_status):
- * gui/itip-utils.c (comp_to_list): fixed typos in translatable
- strings. Fixes Ximian #15456
-
-2001-11-14 Damon Chaplin <damon@ximian.com>
-
- * gui/print.c: Substituted gnome_font_get_width_string() with
- gnome_font_get_width_utf8() and gnome_font_get_width_string_n()
- with gnome_font_get_width_utf8_sized(). Fixes calendar part of #15379.
-
-2001-11-14 Federico Mena Quintero <federico@ximian.com>
-
- * gui/calendar-model.c (date_value_to_string): Convert the buffer
- to UTF8.
- (calendar_model_value_to_string): Do not convert the string fields
- to UTF8 again; they are already in UTF8. Fixes the UTF8-related
- bits of bug #15304.
-
-2001-11-14 Damon Chaplin <damon@ximian.com>
-
- * gui/calendar-model.c:
- * cal-util/cal-component.h: #ifdef'ed out the LOCATION field for now,
- since it wasn't supported everywhere, or in the .etspec file.
-
-2001-11-14 Damon Chaplin <damon@ximian.com>
-
- * gui/e-calendar-table.c: don't abort when e_table_selected_count()
- returns odd values. There seems to be a bug in ETable. This is to
- avoid bug #13843.
-
-2001-11-13 Federico Mena Quintero <federico@ximian.com>
-
- (committed to CVS by Damon)
- Fixes bug #15137.
-
- * gui/e-day-view.c (e_day_view_on_delete_appointment): Do not try
- to operate on the event if it gets deleted while stopping the
- edition.
- (e_day_view_on_event_double_click): Likewise.
- (e_day_view_on_long_event_button_press): Likewise.
- (e_day_view_on_event_button_press): Likewise.
- (e_day_view_on_long_event_click): Likewise.
- (e_day_view_on_event_click): Likewise.
-
- * gui/e-week-view.c (e_week_view_on_text_item_event): Likewise.
-
-2001-11-14 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (pre_sync): remove silly
- debug warning
-
-2001-11-13 Damon Chaplin <damon@ximian.com>
-
- * gui/alarm-notify/config-data.c (ensure_inited):
- * gui/calendar-config.c (config_read):
- * conduits/todo/todo-conduit.c (get_default_timezone):
- * conduits/calendar/calendar-conduit.c (get_default_timezone):
- make the timezone default to UTC. Fixes bug #14362.
-
-2001-11-13 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-week-view.c (selection_received): only change the day,
- month and year for the start date, for not screwing up the start
- time, which was being set to midnight always (Fixes Ximian #5287)
- Also, deal correctly with VCALENDAR components
-
- * gui/e-day-view.c (selection_received): dela correctly with
- VCALENDAR components being pasted
-
-2001-11-11 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/save.c (get_calendars_to_load): The last
- argument to the bonobo_config_get_XXX_with_default() is a gboolean
- *, not a CORBA_Environment *. Fixes bug #14655.
-
-2001-11-11 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend-file.c (free_busy_instance): recurrence
- expansion callback for free/busy
- (create_user_free_busy): expand recurrences and use date/time
- values for dtstart and dtend
-
-2001-11-11 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-model.h: new protos
-
- * gui/e-meeting-model.c (e_meeting_model_get_zone): accessor
- (e_meeting_model_set_zone): ditto
- (init): init to the calendar default zone
- (process_free_busy_comp): take the zone to convert to as a param
- (e_meeting_model_refresh_busy_periods): redraw properly
-
- * gui/dialogs/schedule-page.c (update_time): set the zone of the
- model
-
-2001-11-09 Damon Chaplin <damon@ximian.com>
-
- * gui/e-week-view.c (e_week_view_key_press): don't subtract a day
- from DTEND. For DATE values we don't include the entire day now.
- Fixes bug #14842.
-
-2001-11-09 Damon Chaplin <damon@ximian.com>
-
- * gui/e-week-view-layout.c (e_week_view_layout_events): fix buffer
- overflow. Fixes bug #10285 (the printing of lines & dates in the
- printout of the month view).
-
-2001-11-09 Zbigniew Chyla <cyba@gnome.pl>
-
- * gui/dialogs/meeting-page.c
- (meeting_page_fill_widgets): Convert strings to GTK+ encoding.
- (meeting_page_destroy): Free allocated strings before freeing the list
- itself.
-
-2001-11-08 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_timeout_handler): don't let an empty
- event occur for all days when auto scrolling
-
-2001-11-08 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-file.c
- (cal_backend_file_compute_changes_foreach_key): don't leak the
- string returned by cal_component_get_as_string nor the temporary
- CalComponent we create
-
-2001-11-08 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (ok_clicked_cb): don't add the item, remove
- it if declining (in case it was added before)
- (remove_item): Since we can't discern between an item not found
- and another error, always say the removal is complete
-
-2001-11-07 Zbigniew Chyla <cyba@gnome.pl>
-
- * gui/e-cell-date-edit-text.c (ecd_get_text):
- Convert generated string to UTF-8.
-
-2001-11-07 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_on_start_time_changed): emit changed
- signal
- (e_meeting_time_selector_on_end_time_changed): emit changed
- signal, if end time is now before start time and all day event,
- make sure a whole day is still selected
- (e_meeting_time_selector_drag_meeting_time): calculate the first
- and last_time's in whole days for all day events
- (e_meeting_time_selector_timeout_handler): calculate the drag time
- to be whole days for all day events and scroll the canvas even if
- we don't update the time so the user can see where they're headed
-
-2001-11-06 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/event-editor.c (event_editor_edit_comp): make sure
- to remove all attendees from the model when we edit a new comp,
- append the pages if they are needed and we weren't showing them
- before
-
- * gui/dialogs/task-editor.c (task_editor_edit_comp): same as above
-
- * gui/dialogs/comp-editor.c (comp_editor_remove_page): check for a
- return value indicating the page was not found and return if so
-
-2001-11-05 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/dialogs/e-delegate-dialog.c: #include
- "Evolution-Addressbook-SelectNames.h", not
- "../Evolution-Addressbook-SelectNames.h". Grrr.
-
-2001-11-05 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_class_init):
- add a changed signal
- (e_meeting_time_selector_construct): emit changed signal
- (e_meeting_time_selector_set_meeting_time): ditto
- (e_meeting_time_selector_set_all_day): set the all day setting
- (e_meeting_time_selector_autopick): emit changed signal
- (e_meeting_time_selector_find_nearest_interval): find proper
- interval when in all day mode
- (e_meeting_time_selector_find_nearest_interval_backward): ditto
- (e_meeting_time_selector_drag_meeting_time): for all day events,
- move the time when past the 12 hour mark, and and always make sure
- 1 full day is selected, emit changed signal when appropriate
- (e_meeting_time_selector_update_start_date_edit): set date and
- time of day together
- (e_meeting_time_selector_update_end_date_edit): ditto, and adjust
- display time if all day event
-
- * gui/e-meeting-time-sel-item.c
- (e_meeting_time_selector_item_draw): remove unused variable
- (e_meeting_time_selector_item_button_press): for all day mode,
- make the interval a whole day
-
- * gui/dialogs/schedule-page.c (update_time): set the meeting time
- selector setting instead of manual mucking with the e-date-edit
- widgets
- (init_widgets): listen to the changed signal of the meeting time
- selector instead of propagating multiple events as it updates
-
- * gui/dialogs/event-page.c (update_time): block time zone change
- signals
-
-2001-11-05 Damon Chaplin <damon@ximian.com>
-
- * gui/calendar-model.c (dup_date_edit_value): removed ';' in the wrong
- place. Fixes bug #14421.
-
-2001-11-05 Dan Winship <danw@ximian.com>
-
- * gui/alarm-notify/Makefile.am (evolution_alarm_notify_LDFLAGS):
- -export-dynamic for libglade custom widget.
-
-2001-11-04 Damon Chaplin <damon@ximian.com>
-
- * gui/comp-editor-factory.c (get_default_component): use TZID from the
- builtin timezone, instead of using the location name.
-
-2001-11-02 Federico Mena Quintero <federico@ximian.com>
-
- * cal-util/cal-util.c (compute_alarm_range): Short-circuit the
- calculation of the repeat time if there are zero repetitions.
- (compute_alarm_range): I'm a moron. De-reference alarm_start when
- subtracting stuff from it! Fixes bug #14209.
-
-2001-10-31 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/dialogs/Makefile.am: Added rules to generate
- `Evolution-Addressbook-SelectNames.h'.
-
- * gui/dialogs/comp-editor-util.h: #include
- "Evolution-Addressbook-SelectNames.h" from this directory.
-
-2001-10-31 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/alarm-options.c: #include <string.h>
-
-2001-10-31 Federico Mena Quintero <federico@ximian.com>
-
- * gui/gnome-cal.c (dn_query_obj_updated_cb): If a query is not in
- progress, just retag the whole thing. An event may change dates
- and tag_calendar_by_comp() would not know how to untag the old
- dates. Fixes bug #10220.
-
- * pcs/query.c (start_query_cb): Connect to the backend's
- "obj_updated" and "obj_removed" signals here instead of in
- query_construct(). If a query is started while another one is
- notifying of an update, these signal connections would get appened
- to the running signal (the one that triggered the notification
- about an update) and the new signal handlers would also get
- called. We are really not interested in updates before we
- populate the query, because we'll catch the changes anyways.
-
-2001-10-31 Federico Mena Quintero <federico@ximian.com>
-
- Fix bug #13723.
-
- * gui/gnome-cal.h (GnomeCalendarClass): New signals
- "calendar_focus_change", "taskpad_focus_change", and
- "taskpad_selection_changed". Renamed "selection_changed" to
- "calendar_selection_changed".
-
- * gui/gnome-cal.c (gnome_calendar_get_num_tasks_selected): New
- function.
- (setup_widgets): Connect to the focus event signals of the task
- pad and the calendar view widgets.
- (gnome_calendar_delete_selection): Renamed from
- gnome_calendar_delete_event().
- (gnome_calendar_cut_clipboard): Handle the current focus location.
- (gnome_calendar_copy_clipboard): Likewise.
- (gnome_calendar_paste_clipboard): Likewise.
- (gnome_calendar_delete_selection): Likewise.
- (table_selection_change_cb): New callback.
-
- * gui/calendar-commands.c (sensitize_calendar_commands): Take in
- whether we should unconditionally disable everything.
- (sensitize_taskpad_commands): Analogous function to the above.
- (gcal_calendar_focus_change_cb): New callback, used for calendar
- views.
- (gcal_taskpad_focus_change_cb): New callback, used for the
- taskpad.
-
- * gui/e-day-view.c (e_day_view_key_press): Use a better test for
- keys that should start editing. Fixes bug #6447.
-
- * gui/e-week-view.c (e_week_view_key_press): Likewise.
-
-2001-10-31 Christopher James Lahey <clahey@ximian.com>
-
- * gui/calendar-model.c: Make the pre_changes and changes match
- here.
-
-2001-10-31 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (itip_send_comp): send as mixed rather than
- alternative
-
-2001-10-31 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/alarm-notify/save.c (KEY_CALENDARS_TO_LOAD):
- Removed.
- (KEY_NUM_CALENDARS_TO_LOAD): New key, containing the number of
- calendars to load.
- (BASE_KEY_CALENDAR_TO_LOAD): New base key name for the URIs of the
- calendars to load.
- (save_calendars_to_load): Rewrote to not use a sequence, to work
- around an ORBit bug that causes bonobo-moniker-xmldb to crash.
- (get_calendars_to_load): Likewise.
-
-2001-10-30 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/comp-editor.c (comp_editor_remove_page): disconnect
- signals added in append_page(). Fixes Gtk-Critical warning about
- GtkAccelGroup being added twice to a window.
-
-2001-10-30 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (itip_send_comp): set a body for the message
-
-2001-10-30 Dan Winship <danw@ximian.com>
-
- * gui/itip-utils.c (itip_send_comp): call
- GNOME_Evolution_Composer_setMultipartType to get a
- multipart/alternative.
-
-2001-10-30 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_on_start_time_changed): don't overwrite
- memory
- (e_meeting_time_selector_on_end_time_changed): ditto
-
-2001-10-30 Damon Chaplin <damon@ximian.com>
-
- * gui/calendar-model.c (dup_date_edit_value): return NULL if passed
- NULL. Should fix bug #14048.
-
-2001-10-30 Federico Mena Quintero <federico@ximian.com>
-
- * gui/calendar-config.c (config_read): Do not ignore the
- exceptions of the cases that do not have defaults.
-
-2001-10-30 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_drag_meeting_time): if we are doing all
- day stuff, make the drag increment 1 day at a time
-
-2001-10-30 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/meeting-page.c (meeting_page_fill_component): Add
- _() to a string that was missing it.
-
-2001-10-30 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/meeting-page.c (table_canvas_focus_out_cb): Commit
- the ETable click-to-add for if the dialog is being destroyed.
- Should fix bug #13959.
-
-2001-10-30 Federico Mena Quintero <federico@ximian.com>
-
- * gui/itip-utils.c (itip_send_comp): Allocate enough space for the
- string! (was missing the null terminator) Possibly fixes #13924.
- Thanks a *LOT* to Michael Zucchi for running this through Purify.
-
-2001-10-30 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-time-sel-item.c
- (e_meeting_time_selector_item_button_press): move in whole day
- increments if we are in all day mode
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_on_start_time_changed): get rid of
- localtime call
- (e_meeting_time_selector_on_end_time_changed): ditto
- (e_meeting_time_selector_update_start_date_edit): set the date
- editor using the meeting time fields directly
- (e_meeting_time_selector_update_end_date_edit): ditto
-
- * gui/dialogs/schedule-page.c (update_time): do the set_show_time
- stuff first
-
- * conduits/calendar/calendar-conduit.c (process_multi_day): don't
- adjust the time, set the default timezone for date values
-
-2001-10-30 Dan Winship <danw@ximian.com>
-
- * gui/alarm-notify/Makefile.am (INCLUDES):
- s/BONOBO_HTML_GNOME_LIBS/BONOBO_HTML_GNOME_CFLAGS/
-
-2001-10-30 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-model.c (e_meeting_model_count_actual_attendees):
- count the actual attendees (doesn't include people delegating
-
- * gui/e-meeting-time-sel.c: use
- e_meeting_model_count_actual_attendees (renamed)
-
- * gui/e-meeting-time-sel-item.c: use
- e_meeting_model_etable_view_to_model_row calls instead of calling
- on the model directly, use e_meeting_model_count_actual_attendees
-
- * gui/e-meeting-model.c
- (e_meeting_model_etable_model_to_view_row): get the real mapping
- (e_meeting_model_etable_view_to_model_row): ditto
- (get_key): e-table-without callback
- (duplicate_key): ditto
- (free_gotten_key): ditto
- (free_duplicated_key): ditto
- (init): create without model
- (e_meeting_model_etable_from_model): build etable from without
- model
-
- * gui/e-meeting-model.h: update protos
-
- * gui/dialogs/meeting-page.c (right_click_cb): convert row from
- view to model row
-
-2001-10-30 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/task-page.c (task_page_fill_widgets): set to the default
- timezone for DATE values, in case the user switches to a DATE-TIME.
-
-2001-10-30 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/task-page.c: handle DATE values for Start and Due dates.
-
-2001-10-30 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/schedule-page.c:
- * gui/dialogs/event-page.c:
- * gui/dialogs/comp-editor-util.c: updated code to handle DATE values.
-
- * gui/gnome-cal.c (gnome_calendar_new_appointment_for):
- * gui/e-day-view.c (e_day_view_key_press): updated DATE code.
-
- * gui/e-cell-date-edit-text.c:
- * gui/calendar-model.c: updated to support DATE values.
-
- * cal-util/cal-recur.c (cal_recur_generate_instances_of_rule): updated
- to use DATE values in same way as Outlook - i.e. the DTEND date is
- not included entirely. Though I did make it so that if the DTSTART
- and DTEND used the same DATE value, it includes the entire day.
- So 1-day events should be the same. Long All-Day events will be
- 1 day shorter.
-
- * cal-util/cal-component.c (cal_component_get_start_plus_duration):
- don't subtract a day from the end date.
-
- * gui/tasks-control.c: updated the EPixmap paths for Cut/Copy etc.
- Removed Print & Print Preview paths, since we don't have menu commands
- for these any more.
-
-2001-10-30 Federico Mena Quintero <federico@ximian.com>
-
- Fix bug #10016.
-
- * gui/dialogs/comp-editor.c (comp_editor_merge_ui): Use
- bonobo_ui_util_set_ui() instead of doing things by hand. Hmmm, if
- only that function had a way of telling us whether it failed so
- that we could avoid setting the verb list...
-
- * gui/dialogs/event-editor.c (event_editor_init): Do not pass the
- filename with the full path so that Bonobo can find it in a smart
- way.
-
- * gui/dialogs/task-editor.c (task_editor_init): Likewise.
-
-2001-10-30 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/delete-comp.c (delete_component_dialog): Use an
- EMessageBox instead of a gnome_dialog_question so that the label
- gets line breaking. Fixes bug #11260.
-
-2001-10-29 Federico Mena Quintero <federico@ximian.com>
-
- Fix bug #13649.
-
- * gui/calendar-config.c
- (calendar_config_get_use_default_reminder): New function.
- (calendar_config_set_use_default_reminder): New function.
- (calendar_config_get_default_reminder_interval): New function.
- (calendar_config_set_default_reminder_interval): New function.
- (calendar_config_get_default_reminder_units): New function.
- (calendar_config_set_default_reminder_units): New function.
- (config_read): Get the options for default reminders.
- (calendar_config_write): Set the options for default reminders.
-
- * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show_config):
- Set the default reminder widgets from the config values.
- (cal_prefs_dialog_update_config): Set the config values from the
- widgets.
-
- * gui/comp-util.c (cal_comp_event_new_with_defaults): New
- function; creates a VEVENT component with the default alarm.
-
- * gui/e-day-view.c (e_day_view_key_press): Use
- cal_comp_event_new_with_defaults ();
-
- * gui/e-week-view.c (e_week_view_key_press): Likewise.
- * gui/calendar-model.c (calendar_model_append_row): Likewise.
- * gui/comp-editor-factory.c (get_default_component): Likewise.
- * gui/gnome-cal.c (gnome_calendar_new_appointment_for): Likewise.
-
- * cal-util/cal-component.c (ensure_alarm_properties_cb): Ensure we
- have a DESCRIPTION property.
- (cal_component_commit_sequence): Ensure we have the mandatory
- alarm properties.
-
-2001-10-30 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-model.c (process_section): process an individual
- section here
- (select_names_ok_cb): call above
- (get_select_name_dialog): listen for ok:dialog signal
-
-2001-10-29 Damon Chaplin <damon@ximian.com>
-
- * importers/Makefile.am (evolution_calendar_importer_LDADD):
- * gui/Makefile.am (evolution_calendar_LDADD):
- * cal-util/Makefile.am (test_recur_LDADD):
- * cal-client/Makefile.am (client_test_LDADD): use libical-evolution.la
-
- * gui/dialogs/schedule-page.c: save the timezone passed in for the
- start time, so if our times are changed we use this. Also, if the
- end time was passed in in a different timezone, convert it.
- Also hide the time fields for DATE values. Note that DATE values still
- do not work.
-
- * gui/dialogs/meeting-page.glade: changed "Invite Others" to
- "Invite Others..." to be consistent with the other page.
-
- * gui/dialogs/event-page.c (times_updated):
- (all_day_event_toggled_cb): set is_date if appropriate.
-
- * gui/e-itip-control.c (write_label_piece): convert all UTC times to
- the current timezone. Outlook sends simple, non-recurring, events as
- UTC times, which isn't very useful.
-
-2001-10-29 Federico Mena Quintero <federico@ximian.com>
-
- * gui/main.c (launch_alarm_daemon): Launch the alarm daemon as
- soon as the calendar component is started. Fixes bug #13867;
- we can't really do much better than this.
-
-2001-10-29 Federico Mena Quintero <federico@ximian.com>
-
- * gui/tasks-control.c (pixmaps): Fix the verb names for the
- pixmaps in the Edit menu; they were out of synch with the XML
- UI description.
-
-2001-10-29 Chris Toshok <toshok@ximian.com>
-
- * pcs/cal-factory.c (cal_factory_dump_active_backends): new
- function.
- (dump_backend): new function.
-
- * pcs/cal-factory.h: add prototype for
- cal_factory_dump_active_backends.
-
-2001-10-29 Federico Mena Quintero <federico@ximian.com>
-
- Fix bug #12163.
-
- * cal-util/cal-util.c (compute_alarm_range): Take alarm
- repetitions into account.
- (add_alarm_occurrences_cb): Add alarm repetitions.
- (generate_absolute_triggers): Likewise.
- (generate_absolute_triggers): Oops, absolute triggers are in UTC,
- so convert them as such. Also, pay attention to the timezones of
- the dtstart and dtend properties.
-
-2001-10-29 JP Rosevear <jpr@ximian.com>
-
- * importers/Makefile.am: include the header as a source so it gets
- dist'ed.
-
-2001-10-29 Ettore Perazzoli <ettore@ximian.com>
-
- * importers/Makefile.am (INCLUDES):
- s/BONOBO_CFLAGS/BONOBO_GNOME_CFLAGS/.
-
-2001-10-29 Rodrigo Moya <rodrigo@ximian.com>
-
- * importers/icalendar-importer.c (load_file_fn): fixed URI
- construction, which was preventing importing into the root
- calendar (~/evo/local/Calendar/)
-
-2001-10-29 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (is_all_day): handle date
- values
-
-2001-10-29 Rodrigo Moya <rodrigo@ximian.com>
-
- * importers/: added evolution-calendar-importer binary, starting
- with an iCalendar file importer
-
-2001-10-29 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/todo-conduit-config.h
- (todoconduit_load_configuration): get the management object by id
-
- * conduits/calendar/calendar-conduit-config.h
- (calconduit_load_configuration): ditto
-
-2001-10-29 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-config.[ch] (calendar_config_get_default_uri):
- (calendar_config_set_default_uri):
- (calendar_config_get_default_tasks_uri):
- (calendar_config_set_default_tasks_uri): new functions for setting
- and retrieving the default calendar URIs
-
- * gui/e-itip-control.c (init): don't use
- hard-coded URI, but use the default calendar URI, as returned
- by calendar_config_get_default_uri
- (start_calendar_server): added a "gboolean tasks" parameter, so
- that the local tasks.ics file is used if the calendar to be
- started is for tasks when no default tasks URI is found in
- the configuration
-
-2001-10-28 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (add_record): unref the
- comp when finished
-
- * conduits/todo/todo-conduit.c (add_record): ditto
-
-2001-10-28 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/task-page.c (task_page_fill_widgets): added break
- statements after each case, when setting the classification.
- Fixes bug #13772.
-
-2001-10-28 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client.c (destroy_wombat_client): removed this
- function, as we don't need to unref at all the WombatClient
- object, since it is aggregated to the CalListener object, which
- will take care of unrefing it (Fixes Ximian #12001)
- (cal_client_open_calendar): create the WombatClient here
-
-2001-10-28 Damon Chaplin <damon@ximian.com>
-
- * gui/print.c (print_todo_details): get the tasks directly from the
- CalendarModel, so we get the filtering & sorting for free. Fixes
- bug #10280. Hmm. This seems too easy. It isn't going to work is it...
-
- * gui/gnome-cal.c (gnome_calendar_get_task_pad): new function to get
- the TaskPad ECalendarTable, for printing.
-
- * gui/calendar-model.c:
- * gui/calendar-config.c (calendar_config_get_hide_completed_tasks_sexp):
- split this out from calendar-model.c so we could use it for printing,
- but ended up doing that a different way.
-
- * gui/dialogs/task-page.c (init_widgets): removed a duplicated signal
- connected to field_changed_cb().
-
-2001-10-27 Damon Chaplin <damon@ximian.com>
-
- * gui/print.c (print_week_view):
- (range_selector_new): when the week start day is set to Sunday, we
- have to be careful to make sure we print the correct week, since
- the previous Saturday is actually printed first. Fixes bug #13687.
- (print_week_summary): always set compress_weekend to true if
- multi_week_view is FALSE (i.e. we are printing the week view).
- Fixes bug #13688.
-
- * gui/e-itip-control.c (send_freebusy): use the timezones from the
- DTSTART and DTEND.
- (write_label_piece): output the date-time and the timezone after it.
- Note that we may want to convert it to the current timezone and display
- that as well. Also converted COMPLETED to the current timezone.
- And fixed all uses of old timezone functions.
-
- * gui/dialogs/comp-editor.c (commit_all_fields): added function to
- set the focus in the window to NULL, so all fields lose their focus,
- so they emit "changed" signals and update their values if needed.
- We call this when most menu commands are used, e.g. 'Save and Close',
- 'Print' etc. Fixes bug #11434. In future we should also check fields
- are valid and show dialogs if they are not.
-
- * gui/calendar-model.c (get_completed): use the completed value
- properly. Fixes bug #13694.
-
- * cal-util/timeutil.c (icaltimetype_to_tm_with_zone): don't check
- from_zone and to_zone != NULL. A NULL zone is valid, it is for
- floating times.
-
-2001-10-27 Federico Mena Quintero <federico@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_text_item_event): Cancel editing
- if the user presses Escape.
-
- * gui/e-week-view.c (e_week_view_on_text_item_event): Likewise.
-
- * gui/cal-search-bar.c: #include <string.h>
-
-2001-10-27 Federico Mena Quintero <federico@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_editing_stopped): Delete
- appointments with empty summaries. Fixes Ximian bug #780.
-
- * gui/e-week-view.c (e_week_view_on_editing_stopped): Likewise.
-
- * gui/dialogs/delete-comp.c (delete_component_dialog): Added an
- argument to specify whether we unconditionally want single
- components to be considered as not having a summary.
-
- * gui/comp-util.c (cal_comp_confirm_delete_empty_comp): New
- function.
-
- * gui/misc.[ch]: New files with miscellaneous utility functions;
- moved string_is_empty() over from calendar-model.c.
-
- * gui/calendar-model.c: Use the string_is_empty()
- function from misc.c.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Added misc.[ch] to
- the list of sources.
-
-2001-10-27 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/todo-conduit.c (local_record_from_comp): touch on
- lookup
- (check_for_slow_setting): write touched only if slow sync
- (match): touch on lookup
-
- * conduits/calendar/calendar-conduit.c (local_record_from_comp):
- touch the record on lookup
- (check_for_slow_setting): write touched only if slow sync
- (pre_sync): don't touch on lookup
- (match): touch on lookup
-
-2001-10-26 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/e-calendar.conduit.in: remove the merges as
- valid sync types
-
- * conduits/todo/e-todo.conduit.in: as above
-
- * conduits/calendar/calendar-conduit.c (pre_sync): write out only
- the touched records if we are doing copies
-
- * conduits/todo/todo-conduit.c: as above
-
- * conduits/calendar/calendar-conduit-config.h
- (calconduit_load_configuration): get the sync type
-
- * conduits/todo/todo-conduit-config.h: as above
-
-2001-10-26 Damon Chaplin <damon@ximian.com>
-
- * gui/e-itip-control.c (write_label_piece): convert the formatted
- date to UTF-8.
-
- * cal-util/cal-recur.c (CAL_OBJ_DEBUG): turn off debug functions.
-
- * gui/dialogs/comp-editor-util.c (parse_contact_string): handle UTF8
- correctly. Bug #4450. Good enough for 1.0.
-
- * gui/e-week-view-event-item.c (e_week_view_draw_time): set the gc
- color before drawing. Should fix bug #11469.
-
- * gui/dialogs/task-editor.c (task_editor_edit_comp): show or hide the
- meeting page as appropriate. Note this may be called more than once,
- if the task gets updated somewhere else and the user clicks 'Update
- the object'. Hopefully fixes bug #12930.
-
- * gui/print.c (print_comp_item): printed more fields and made a little
- prettier. Fixes bug #9352.
- (print_date_label): used the correct timezones for each date field.
-
- * *.c: removed several debug messages.
-
-2001-10-26 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (check_for_slow_setting):
- make debug output more accurate
-
- * conduits/todo/todo-conduit.c (check_for_slow_setting): ditto
-
-2001-10-26 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/todo-conduit.c (pre_sync): remove the uid from the
- map if was archived and is now deleted
-
- * conduits/calendar/calendar-conduit.c: ditto
-
-2001-10-26 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-calendar_table.c (delete_selected_components):
- (selection_received): added status bar messages
-
- * gui/e-day-view.c (e_day_view_cut_clipboard):
- (selection_received): likewise
-
- * gui/e-week-view.c (e_week_view_cut_clipboard):
- (selection_received): likewise
-
-2001-10-26 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.h: modify fields
-
- * conduits/todo/todo-conduit.h: as above
-
- * conduits/calendar/calendar-conduit.c (print_remote): free the
- struct after use
- (e_calendar_context_new): explicitly init context fields
- (e_calendar_context_destroy): free local records and properly free
- changed hash elements
- (start_calendar_server_cb): tidy
- (start_calendar_server): ditto
- (free_local): free a local record
- (local_record_to_pilot_record): use a static buffer to avoid leaks
- (local_record_from_comp): only copy over alarm stuff from the
- original record, we sync everything else
- (local_record_from_uid): unref the comp when we are done
- (pre_sync): free change_id
- (post_sync): ditto
- (for_each): track locals
- (for_each_modified): ditto
- (free_match): use free_local
-
- * conduits/todo/todo-conduit.c: as above
-
-2001-10-26 Federico Mena Quintero <federico@ximian.com>
-
- * pcs/cal.c (cal_construct): Get a fresh CORBA_Environment for
- every CORBA call. Hopefully will fix #11978, but I'm not sure
- about what else could be happening.
- (cal_get_password): Free the exception.
-
-2001-10-25 Damon Chaplin <damon@ximian.com>
-
- * gui/e-itip-control.c: used functions to get PUBLISH_OPTIONS etc.,
- so we can translate them.
-
-2001-10-25 Damon Chaplin <damon@ximian.com>
-
- * cal-util/cal-recur.c (cal_obj_bysetpos_filter): subtract 1 from
- any positive BYSETPOS value, since our array is 0-based.
-
- * gui/dialogs/recurrence-page.c (simple_recur_to_comp):
- (recurrence_page_fill_widgets): Outlook (2000) will not accept monthly
- recurrences like BYDAY=2TU. Instead it uses BYDAY=TU;BYSETPOS=2.
- So to be compatable with it we now do the same, although we still
- accept and convert the old format.
-
- * cal-client/cal-client.c (cal_client_get_component_as_string): new
- function to return a complete VCALENDAR string containing a VEVENT
- or VTODO with all the VTIMEZONEs it uses.
-
- * gui/dialogs/comp-editor.c (save_as_ok): use above function so we
- save the VTIMEZONE data with the VEVENT/VTODO. Fixes bug #8626.
- Also made sure we output "METHOD:PUBLISH" since Outlook (2000) will
- not import it otherwise.
-
- * gui/dialogs/comp-editor.c (page_mapped_cb):
- (page_unmapped_cb): install/uninstall the GtkAccelGroup for the page.
- (comp_editor_append_page): connect to the map/unmap signals to
- install/uninstall the accelerators. (This is all for bug #11609,
- though of course it doesn't work too well in GTK+ 1.2 anyway.)
-
- * gui/dialogs/task-page.c (get_widgets):
- * gui/dialogs/task-details-page.c (get_widgets):
- * gui/dialogs/schedule-page.c (get_widgets):
- * gui/dialogs/recurrence-page.c (get_widgets):
- * gui/dialogs/meeting-page.c (get_widgets):
- * gui/dialogs/event-page.c (get_widgets):
- * gui/dialogs/alarm-page.c (get_widgets): got the GtkAccelGroup from
- the original window, ref'ed it and placed it in the CompEditorPage
- struct.
-
- * gui/dialogs/comp-editor-page.c (comp_editor_page_destroy): unref
- any GtkAccelGroup for the page.
-
- * gui/dialogs/task-page.glade: changed '_Confidential' to
- 'Con_fidential' as it clashed with '_Contacts'. It now matches the
- event editor as well.
-
- * gui/dialogs/event-page.glade:
- * gui/dialogs/task-page.glade: Set CAN_FOCUS to TRUE for the custom
- EDateEdit widgets, and set them as the accel targets of the labels.
-
-2001-10-25 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/comp-editor.c (save_comp): show an error message when
- we can't update the object on the calendar server
-
-2001-10-25 Federico Mena Quintero <federico@ximian.com>
-
- * gui/control-factory.c: Ifdef-ed out the PersistFile bits.
-
- * gui/GNOME_Evolution_Calendar.oaf.in: The tasks folder does not
- support the PersistFile interface; removed it. Removed it as well
- from the calendar folder since it is aggregated but not actually
- implemented.
-
-2001-10-25 Federico Mena Quintero <federico@ximian.com>
-
- * gui/component-factory.c (xfer_folder): Handle tasks folders as
- well; was always using "calendar.ics" as the filename.
-
-2001-10-24 Damon Chaplin <damon@ximian.com>
-
- * gui/GNOME_Evolution_Calendar.oaf.in: added sections for Tasks
- factory and control. I hope someone checks these!
-
-2001-10-24 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c (xfer_folder): Fixed to only copy the
- `calendar.ics' and `calendar.ics~' files.
-
-2001-10-24 Damon Chaplin <damon@ximian.com>
-
- * pcs/cal-backend-file.c (cal_backend_file_update_objects): when
- iterating over the subcomponents, use 'subcomp' rather than 'icalcomp'.
- That meant it wasn't working at all well when an entire VCALENDAR
- was passed in.
-
- * cal-util/cal-component.c: handle DURATION property used instead of
- DTEND or DUE. In cal_component_get_dtend/due we will return DTSTART
- + DURATION if necessary. In set_dtend/due we remove any DURATION
- property. Fixes bug #11262.
-
- * gui/e-meeting-model.c (build_etable):
- * gui/e-calendar-table.c (e_calendar_table_init): use U_ for the
- ECellCombo popdown strings, as it expects UTF-8 strings.
-
-2001-10-24 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
- track the spacer vbox
- (e_meeting_time_selector_style_set): make sure the rows are the
- correct size for the style
-
- * gui/e-meeting-time-sel-item.c
- (e_meeting_time_selector_item_paint_day_top): slight adjustments
- to where the text is drawn
-
- * gui/e-meeting-time-sel.h: new member
-
- * gui/e-meeting-model.c (build_etable): ensure uniform row height
-
- * conduits/todo/todo-conduit.c (comp_from_remote_record): mark
- status as completed in appropriate places and don't overwrite
- legitimate percentages and such
-
-2001-10-24 Federico Mena Quintero <federico@ximian.com>
-
- Fixes bug #5282.
-
- * cal-util/timeutil.c (icaltimetype_to_tm_with_zone): New function
- to avoid copying the same code all over the place.
- (icaltimetype_to_tm): Also set the tm.tm_wday.
-
- * gui/alarm-notify/alarm-queue.c (queue_midnight_refresh): Use
- time_day_end_with_zone().
- (load_alarms_for_today): Likewise. And oops, we were only
- computing the times and not loading the alarms.
- (obj_updated_cb): Likewise.
- (load_alarms): Removed assertion that is no longer valid because
- we may load the alarms for a client in two stages.
-
- * gui/dialogs/alarm-page.c (get_alarm_string): Convert absolute
- trigger times to the local timezone.
-
- * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading):
- Convert the times to the local timezone.
- (alarm_notify_dialog): Likewise, for the window title.
- (alarm_notify_dialog): Set the window layer to WIN_LAYER_ONTOP.
-
- * gui/e-cell-date-edit-text.c (ecd_get_text): Use
- icaltimetype_to_tm_with_zone().
-
- * gui/alarm-notify/save.c (get_config_db): Made public.
- (discard_config_db): Made public.
-
- * gui/alarm-notify/config-data.[ch]: New files with functions to
- fetch the calendar configuration data used by the alarm daemon.
-
-2001-10-23 Damon Chaplin <damon@ximian.com>
-
- * cal-util/cal-component.c (cal_component_event_dates_match): make sure
- we free all the CalComponentDateTime's when we are finished.
-
- * gui/gnome-cal.c (gnome_calendar_notify_dates_shown_changed): just
- return if no time range is set.
-
-2001-10-23 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_table_vadjustment_changed): adjust the
- display canvas when the table scrolls
- (e_meeting_time_selector_construct): listen for table scrolling
-
-2001-10-23 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-model.c (build_etable): no longer set the
- scrollbar policy here
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_update_main_canvas_scroll_region): add an
- extra row to the height so the click to add row can be properly
- seen
- (e_meeting_time_selector_construct): set the scrollbar policy for
- the etable scrolled
-
-2001-10-23 JP Rosevear <jpr@ximian.com>
-
- * cal-util/timeutil.c (icaltimetype_to_tm): convert an
- icaltimetype to a tm
- (tm_to_icaltimetype): vice versa
-
- * cal-util/timeutil.h: new protos
-
- * conduits/calendar/calendar-conduit.c: replace all mktime and
- localtime calls (except for debugging calls)
-
- * conduits/todo/todo-conduit.c: ditto
- (comp_from_remote_record): make sure the completed time is in UTC
-
-2001-10-23 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-query.c (cal_query_construct) set priv->corba_query
- to CORBA_OBJECT_NIL if there was an error
-
-2001-10-22 Damon Chaplin <damon@ximian.com>
-
- * idl/evolution-calendar.idl: added setDefaultTimezone() method.
-
- * pcs/cal-backend.c (cal_backend_get_default_timezone):
- (cal_backend_set_default_timezone): new functions to call class
- methods.
-
- * pcs/cal-backend-file.c: lots of changes to handle the default
- timezone and use it.
-
- * pcs/query.c: use the default timezone.
-
- * gui/dialogs/task-details-page.c (date_changed_cb): initialized
- completed_tt.
-
- * gui/dialogs/event-page.c: changed it to handle DATE values. The
- 'All Day Event' checkbox is only set now when the DTSTART and DTEND
- are DATE values.
-
- * gui/dialogs/comp-editor-util.c (comp_editor_free_dates): free the
- CalComponentDateTime structs as well.
-
- * gui/e-tasks.c: set the default timezone on the server.
-
- * gui/tag-calendar.c:
- * gui/gnome-cal.c:
- * gui/e-week-view.c:
- * gui/e-day-view.c: updates to handle DATE values.
-
- * gui/e-calendar-table.c (date_compare_cb): updated to use the new
- ECellDateEditValue values, so it now works.
- (percent_compare_cb): updated to use GPOINTER_TO_INT values.
- (e_calendar_table_init): use an ECellPercent for the percent field
- and an ECellDateEditText for the date fields.
-
- * gui/comp-util.c (cal_comp_util_compare_event_timezones): return TRUE
- if the DTSTART or DTEND is a DATE value. We don't want to show the
- timezone icons for DATE values.
-
- * gui/comp-editor-factory.c (resolve_pending_requests): set the default
- timezone on the server.
-
- * gui/calendar-model.c: major changes to support sorting properly.
- For date and percent fields we now use subclasses of ECellText, so
- we don't use a char* as the model value. For the percent field we now
- use a GINT_TO_POINTER. For the date fields we now use a
- ECellDateEditValue* as the value.
-
- * gui/calendar-config.c (calendar_config_configure_e_cell_date_edit):
- set the timezone and use_24_hour flags of the new ECellDateEditText.
-
- * conduits/todo/todo-conduit.c (pre_sync):
- * conduits/calendar/calendar-conduit.c (pre_sync): set the default
- timezone on the server.
-
- * cal-util/timeutil.c (time_days_in_month): removed debug message.
-
- * cal-util/test-recur.c: try to handle timezones in the iCalendar
- file properly, and updated to pass default timezone.
-
- * cal-util/cal-util.c (cal_util_generate_alarms_for_comp):
- (cal_util_generate_alarms_for_list): added default timezone argument.
-
- * cal-util/cal-recur.c: changed many of the functions to take a default
- timezone, to use to resolve DATE and floating DATE-TIME values.
-
- * cal-client/cal-client.c (cal_client_set_default_timezone): new
- function to set the default timezone.
- (cal_client_ensure_timezone_on_server): new function to ensure that
- a given timezone is on the server.
-
- * gui/e-cell-date-edit-text.c: new subclass of ECellText to display
- and edit a date value.
-
- * cal-util/cal-recur.c (cal_obj_byday_expand_monthly): changed week_num
- to -week_num when calculating the weeks to go back from the end of the
- month for things like BYDAY=-2WE. Fixes bug #11525.
- (cal_recur_generate_instances_of_rule): only go up to MAX_YEAR (2037).
- We can't really handle anything past that anyway.
- (cal_recur_ensure_rule_end_date): initialize cb_date.end_date to 0,
- so if the RULE doesn't generate COUNT instances we save 0 as the
- time_t.
-
-2001-10-22 Federico Mena Quintero <federico@ximian.com>
-
- * gui/tasks-control-factory.c (tasks_control_factory_fn): Put up a
- warning dialog box if we failed to create the tasks control.
- Fixes bug #13033.
-
-2001-10-22 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (set_date_label): write out the correct
- time in the control
-
- * pcs/cal.c (build_fb_seq): utility function to build sequences of
- f/b data
- (impl_Cal_get_free_busy): use above so we never return a NULL
-
- * conduits/calendar/calendar-conduit-config.h
- (calconduit_save_configuration): fix c/p error
- (calconduit_load_configuration): ditto
-
-2001-10-22 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c (meeting_page_destroy): we don't need
- to save the state
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy):
- ditto
-
- * gui/e-meeting-model.c (build_etable): listen for the etable
- being destroyed
- (table_destroy_cb): save the state when the etable is destroyed
-
-2001-10-21 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/schedule-page.c (init_widgets): listen for changes
- in the date editors
- (schedule_page_set_dates): update the times when they change
- elsewhere
- (update_time): set the time in the dialog
- (time_changed_cb): notify of changed times
-
- * gui/dialogs/comp-editor.c (page_dates_changed_cb): don't call
- the set dates function on the page that noted the change
- (page_summary_changed_cb): same for set summary function
-
- * gui/dialogs/event-page.c (update_time): move time setting stuff
- to util function
- (event_page_set_dates): use it
- (event_page_fill_component): ditto
-
- * gui/e-meeting-time-sel.h: fix comment
-
-2001-10-19 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/alarm-notify.c (add_uri_to_load): Do not assert
- if we fail to load the URI list. This would of course have been a
- bonobo-conf activation problem.
- (remove_uri_to_load): Likewise.
-
- * gui/alarm-notify/notify-main.c (load_calendars): Likewise.
-
- * gui/alarm-notify/alarm-queue.c (load_missed_alarms): Make the
- time range half-open so that we do not display the last alarm
- twice.
-
-2001-10-19 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-model.c (calendar_model_set_status_message): make
- it a public function
-
- * gui/e-tasks.c (e_tasks_open): display progress messages
- (cal_opened_cb): clean up status bar messages
-
- * gui/gnome-cal.c (gnome_calendar_open): display progress messages
- (client_cal_opened_cb): clean up status bar messages
-
-2001-10-19 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-model.c (set_status_message): new function
- (update_query): call set_status_message
- (query_query_done_cb):
- (query_eval_error_cb): clean up status bar messages
- (get_location, set_location): new functions for setting and
- retrieving the location in the calendar model
-
-2001-10-19 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/component-factory.c (owner_set_cb): keep a reference to the
- EvolutionShellClient component
-
- * gui/e-week-view.c (e_week_view_set_status_message): new function
- (update_query): call e_week_view_set_status_message
- (query_query_done_cb):
- (query_eval_error_cb): clean up status bar messages
-
- * gui/e-day-view.c (e_day_view_set_status_message): new function
- (update_query): call e_day_view_set_status_message
- (query_query_done_cb):
- (query_eval_error_cb): clean up status bar messages
-
- * gui/Makefile.am: added EVOLUTION_IMAGESDIR to CFLAGS
-
-2001-10-18 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-time-sel.c
- (e_meeting_time_selector_on_invite_others_button_clicked): call
- the invite others dialog in the model
-
- * gui/e-meeting-attendee.c (e_meeting_attendee_get_atype): pick
- attendee type based on role and cutype
-
- * gui/e-meeting-attendee.h: remove proto
-
- * gui/Makefile.am: compile select names idl
-
- * gui/e-meeting-model.h: new proto
-
- * gui/dialogs/meeting-page.c: remove invite others dialogs bits
- from here
-
- * gui/e-meeting-model.c (e_meeting_model_invite_others_dialog):
- and put them here
-
- * gui/dialogs/Makefile.am: compile corba bits in parent dir
-
- * gui/dialogs/comp-editor-util.h: reflect above in includes
-
- * gui/dialogs/e-delegate-dialog.c: ditto
-
- * gui/dialogs/schedule-page.c: ditto and clean includes
-
-2001-10-18 Larry Ewing <lewing@ximian.com>
-
- * gui/alarm-notify/alarm-notify-dialog.c: add html widget
- (url_requested_cb): add function to load images from file as they
- are requested.
- (write_html_heading): convert to using html.
- (alarm_notify_dialog): convert to use html display.
- (make_html_display): this is the function the custom widget in the
- galde file uses to create the html widget.
-
- * gui/alarm-notify/alarm-notify.glade: add placeholder for the
- custom html widget.
-
- * gui/alarm-notify/Makefile.am: add flags for gtkhtml and gal.
-
-2001-10-18 Federico Mena Quintero <federico@ximian.com>
-
- Adds session management for the alarm daemon. Also makes it store
- a list of calendars to be monitored. Those calendars will all be
- loaded when the alarm daemon starts up.
-
- * idl/evolution-calendar.idl (AlarmNotify): Removed the ::die()
- method. The alarm daemon now handles termination via the session
- manager's commands.
-
- * gui/alarm-notify/notify-main.c (set_session_parameters): New
- function, sets some parameters so that the session manager can
- restart the daemon via the evolution-alarm-client program. Also,
- sets up the "die" signal so that the daemon can terminate when the
- session ends.
- (load_calendars): New function to load the calendars on startup.
- (main): Set the session parameters. Load the calendars on startup.
-
- * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): New
- function, moved over from the impl_ function. Added a
- load_afterwards argument to indicate whether the calendar should
- just be loaded or if it should also be added to the list of
- calendars to load on startup.
- (AlarmNotify_addCalendar): Use alarm_notify_add_calendar().
- (AlarmNotify_removeCalendar): Remove the calendar from the list of
- calendars to load on startup.
-
- * gui/alarm-notify/save.c (save_calendars_to_load): New function,
- saves a sequence of the URIs to load.
- (get_calendars_to_load): New function, loads a sequence of
- calendars to load.
-
- * gui/alarm-notify/alarm.h: Removed stale prototype for alarm_init().
-
- * gui/component-factory.c (remove_folder): Ask the alarm daemon to
- stop monitoring alarms for the folder that is being deleted.
-
-2001-10-18 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-time-sel.c
-
- * gui/e-meeting-time-sel-item.c
- (e_meeting_time_selector_item_paint_day_top): use 12 or 24 hour
- settings
-
- * gui/e-meeting-time-sel.c: strings for 12 hour setting
- (e_meeting_time_selector_construct): increase width slightly
-
- * gui/e-meeting-time-sel.h: extern the new char array
-
-2001-10-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-util/cal-component.[ch] (cal_component_get_location):
- (cal_component_set_location): new functions
-
-2001-10-18 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-model.c (process_callbacks): util routine to
- handle calling back
- (async_close): use above
- (e_meeting_model_refresh_busy_periods): ditto
-
-2001-10-17 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/todo-conduit.c (local_record_from_comp): translate
- 1-5 priorites to 1-9 priorities better
- (comp_from_remote_record): ditto
-
-2001-10-17 JP Rosevear <jpr@ximian.com>
-
- * idl/evolution-calendar.idl: allow some decent exceptions
-
-2001-10-17 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/query.c (match_component): there may be cases when the backend
- will return an invalid component from a valid UID (an UID returned
- by the get_uids method), so don't abort if that's the case
-
-2001-10-15 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.glade: removed Help button. Do we have
- any others?
-
-2001-10-15 Larry Ewing <lewing@ximian.com>
-
- * gui/dialogs/comp-editor.c (set_icon_from_comp): remove warnings.
-
-2001-10-15 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (process_multi_day):
- function to break up multi day events into single events for both
- evo and the pilot and create new CalClientChange structures
- (pre_sync): call above function, and adjust changed list if
- necessary
-
-2001-10-15 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (is_all_day): util function
- to determine if event is all day
- (local_record_from_comp): use new util function
- (comp_from_remote_record): kill use of deprecated time functions
-
-2001-10-13 Larry Ewing <lewing@ximian.com>
-
- * gui/dialogs/comp-editor.c (real_edit_comp): call
- set_icon_from_comp.
- (set_icon_from_comp): set the window icon from the comp.
- (make_icon_from_comp): get the icon path based on comp type.
-
- * gui/dialogs/Makefile.am (iconsdir): EVOLUTION_ICONSDIR bits.
-
-2001-10-13 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-editor.c (task_editor_send_comp): send
- cancellation comp if necessary
-
-2001-10-12 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/alarm-page.c: return fill_component success
-
- * gui/dialogs/task-page.c: ditto
-
- * gui/dialogs/task-details-page.c: ditto
-
- * gui/dialogs/schedule-page.c: ditto
-
- * gui/dialogs/recurrence-page.c: ditto
-
- * gui/dialogs/event-page.c: ditto
-
- * gui/dialogs/meeting-page.c: use e_notice instead of
- duplicate_error
- (meeting_page_get_cancel_comp): duh, deleted_attendees is an array
- now
- (meeting_page_fill_component): spew gui errors if there is no
- organizer or no attendees, return success
-
- * gui/dialogs/event-editor.c (event_editor_send_comp): always call
- parent method and don't send the cancellation comp if the method
- is publish
- (refresh_meeting_cmd): use the orginal comp to refresh
- (forward_cmd): prompt the user for the version they want to send
- (current, original)
-
- * gui/dialogs/task-editor.c (forward_cmd): as above
- (refresh_task_cmd): ditto
-
- * gui/dialogs/comp-editor-page.c
- (comp_editor_page_fill_component): return boolean of whether the
- component could be filled or not
-
- * gui/dialogs/comp-editor-page.h: update proto
-
- * gui/dialogs/comp-editor.c (prompt_to_save_changes): take a param
- on whether to try and send or not
- (comp_editor_get_current_comp): only fill component if its changed
- (comp_editor_save_comp): prompt user as well
-
- * gui/dialogs/comp-editor.h: change proto
-
- * gui/itip-utils.c: replace error_dialog with e_notice
- (comp_content_type): specify charset
-
-2001-10-11 Larry Ewing <lewing@ximian.com>
-
- * gui/e-itip-control.c: large reworking of i18n tagging and now
- uses gtk_html_stream write and U_ where appropriate. More to
- come.
-
-2001-10-10 Larry Ewing <lewing@ximian.com>
-
- * gui/e-itip-control.c (init): set the default character set to
- utf-8.
-
-2001-10-10 Federico Mena Quintero <federico@ximian.com>
-
- * pcs/cal-factory.c (lookup_backend): Return the original key in
- the hash table if requested.
- (backend_last_client_gone_cb): Use lookup_backend() so that we
- have the URI mangling done for us.
- (impl_CalFactory_open): The type should be GtkType *, not GtkType!
-
-2001-10-10 JP Rosevear <jpr@ximian.com>
-
- * cal-client/cal-client.c (cal_set_mode_cb): remove unneeded
- assertions
-
-2001-10-10 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-factory.c (add_uri): fix logic checks
-
- * gui/dialogs/event-editor.c (event_editor_init): init the
- exisiting_org boolean
- (set_menu_sens): base sensitivity on existing_org boolean
- (event_editor_edit_comp): set exisiting_org boolean
-
- * gui/dialogs/task-editor.c: same as above
-
- * gui/calendar-offline-handler.c (add_connection): handle the
- protocol or host being unknown
-
- * cal-util/cal-component.c (cal_component_has_organizer):
- implement
-
-2001-10-09 Federico Mena Quintero <federico@ximian.com>
-
- Fixes bug #884.
-
- * gui/alarm-notify/save.[ch]: New files with functions to
- save/load the last notification time.
-
- * gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): Save the last
- notification time.
- (alarm_queue_init): Load the last notification time when the
- daemon is inited.
- (alarm_queue_add_client): Load the alarms that we missed while the
- alarm daemon was not running.
- (cal_opened_cb): Likewise.
-
- * gui/alarm-notify/Makefile.am (evolution_alarm_notify_SOURCES):
- Added save.[ch] to the list of sources.
-
-2001-10-09 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (get_address): util function to get address
- (itip_addresses_get_default): get only the default address
- (itip_address_free): free single address
- (itip_addresses_free): use above
- (comp_limit_attendees): limit the number of attendees to one, the
- user
- (comp_sentby): set the sentby parameter if the user is not the
- organizer
- (comp_minimal): remove extraneous info for send (for refresh and
- declinecounter)
- (comp_compliant): remove all alarms, do various things to make the
- components comply with itip spec based on method
- (itip_send_comp): use comp_compliant method
-
- * gui/itip-utils.h: new protos
-
- * gui/e-itip-control.c: rescan the component when necessary
- (get_next): don't get stuck in infinite loop if there are no
- viewable components
- (e_itip_control_set_data): if there are no viewable components,
- spit an error message
-
- * gui/dialogs/meeting-page.h: tidy
-
- * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): use
- organizer's cn if possible
- (other_clicked_cb): no longer doing the sent by stuff directly,
- hide more widgets
-
- * pcs/query.c: use bonobo exception stuff
-
- * cal-util/cal-component.c (cal_component_rescan): have the comp
- rescan its libical component (for when you change things directly)
- (free_icalcomponent): take a param on whether to free the
- component or just clean up the mappings
- (cal_component_has_attendees): util function
-
- * cal-util/cal-component.h: new protos
-
-2001-10-09 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-factory.c (lookup_backend, add_backend): deal correctly with
- URIs to be inserted into the hash table, so that we don't add the same
- backend over and over because the URI strings were different (although
- refering to the same backend)
-
- * pcs/cal-backend-file.c (mail_account_*): moved to a common place
- (cal_backend_file_open): check if "uristr != NULL" and not
- "uri != NULL"
-
- * pcs/cal-backend-util.c: moved to here
-
- * gui/e-day-view.c: add missing header file
-
-2001-10-09 Dan Winship <danw@ximian.com>
-
- * gui/e-meeting-model.c (process_free_busy_comp): Fix incorrect
- variable name check.
-
-2001-10-03 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (itip_send_comp): refactor functionality into
- several function
- (comp_string): if we are publishing, empty the attendee list
-
- * gui/dialogs/event-editor.c (schedule_meeting_cmd): when we
- schedule a new meeting, mark the event editor as changed
-
- * pcs/cal.c (cal_class_init): get correct parent class
-
- * gui/dialogs/comp-editor.c (comp_editor_merge_ui): use the
- generated ui component name
-
-2001-10-03 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/component-factory.c:
- * gui/calendar-offline-handler.c:
- * gui/comp-editor-factory.c: replace use of gnome_vfs_uri with e_uri
-
- * gui/e-meeting-model.c (start_addressbook_server): make it return void,
- since the return value does not mind
-
- * pcs/cal.c:
- * pcs/cal-factory.c:
- * pcs/cal-backend.[ch]: don't use GnomeVFS for URI management
-
- * pcs/cal-backend-file.c: ditto, only use GnomeVFS for internal
- operations
-
- * cal-client/cal-client.c (cal_client_open_calendar): don't CORBA_exception_free
- before checking for exceptions
-
-2001-10-03 Christopher James Lahey <clahey@ximian.com>
-
- * gui/e-calendar-table.etspec: Added priorities to a bunch of
- these columns. Fixes Ximian bug #7158.
-
-2001-10-03 Damon Chaplin <damon@ximian.com>
-
- * gui/comp-util.c (cal_comp_util_add_exdate): save the EXDATE as a
- DATE-TIME value, since we know the exact time. Fixes bug #11278.
- (Before we were setting is_date, but icaltime_from_timet_with_zone()
- didn't convert it properly. We need to figure out how to handle DATEs
- when using time_t's.)
-
- * gui/dialogs/recurrence-page.c (get_exception_string): use
- e_time_format_date_and_time() so we show the time as well, if the
- exception is a DATE-TIME value.
-
- * cal-util/timeutil.c: removed time_add_month(), time_year_begin(),
- time_month_begin() & time_week_begin() - old pre-timezone functions
- which we no longer use.
-
- * cal-util/cal-recur.c (cal_recur_from_icalproperty): set
- ir.until.is_date to FALSE before converting to a time_t.
- Hopefully fixes bug #5034.
-
-2001-10-02 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/dialogs/comp-editor.c (setup_widgets): Use
- `bonobo_ui_component_new_default()', not
- `bonobo_ui_component_new()'.
-
-2001-10-02 JP Rosevear <jpr@ximian.com>
-
- * cal-client/cal-query.c: use bonobo-exception to tidy
-
-2001-10-02 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (nth_weekday): handle -1 as
- well
- (comp_from_remote_record): fix monthly by day recurrences and
- handle "last" day type
-
-2001-10-01 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/comp-editor.c (comp_editor_destroy): unref the page
- objects here, instead of in close_dialog(). (This was fixed a while
- ago, but accidentally reverted.) Fixes bug #7543.
-
-2001-10-01 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog):
- Set the window state to sticky. Thanks to Peter Teichman for the
- suggestion.
-
-2001-10-01 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (local_record_from_comp):
- Convert the comp exceptions to the pilot record
- (comp_from_remote_record): record exceptions on the desktop and
- use time zone stuff on recurrence end date
-
-2001-10-01 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend-file.c (cal_backend_file_compute_changes):
- strdup the uid to avoid double free, write out only after
- everything is done
-
-2001-10-01 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_open): don't use
- gnome_vfs_uri_is_local on URIs created with
- gnome_vfs_uri_new_private
-
-2001-09-28 Damon Chaplin <damon@ximian.com>
-
- * gui/print.c (print_comp_item): use bound_text to print the summary,
- so it wraps instead of being clipped to 1 line. Fixes part 3 of bug
- #10285, I think.
-
- * gui/dialogs/alarm-page.glade: left-aligned the Date/Time label.
- Also set the width of the Summary & Date/Time labels to 10, and set
- expand to TRUE, to make sure that the dialog doesn't keep getting
- wider as the summary text on the main page gets longer. Could possibly
- use an EClippedLabel here instead, so we get a '...' at the end if it
- is clipped.
-
- * gui/dialogs/recurrence-page.glade: changed Summary & Date/Time
- widths as above.
-
- * gui/print.c (print_calendar): use landscape mode for the month
- preview.
- (print_border_with_triangles): use EPSILON to account for floating
- point errors. Hopefully fixes part 2b of bug #10285.
-
-2001-09-28 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (local_record_from_comp):
- Handle the fields and category we don't sync by making sure we
- don't overwrite them
- (local_record_to_pilot_record): use local record category
- (pre_sync): track db info
-
- * conduits/calendar/calendar-conduit.h: db info field
-
- * conduits/todo/todo-conduit.[hc]: same as above
-
- * pcs/cal-backend-file.c
- (cal_backend_file_compute_changes_foreach_key): create a dummy
- component of the right type and strdup the uid
- (cal_backend_file_compute_changes): sync the db hash after each
- change and free the uid
-
-2001-09-28 JP Rosevear <jpr@ximian.com>
-
- * cal-client/cal-client.c (cal_client_open_calendar): init the
- execption rather than freeing it
-
-2001-09-28 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client.c (cal_client_construct): use bonobo-exception
- for exceptions
- (cal_client_open_calendar): likewise
-
-2001-09-27 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/calendar-commands.c (pixmaps): Update pixmap menu paths;
- /menu/ComponentToolsPlaceholder/Tools ->
- /menu/Tools/ComponentPlaceholder .
- * gui/tasks-control.c: Likewise.
-
-2001-09-27 Rodrigo Moya <rodrigo@ximian.com>
-
- * idl/evolution-calendar.idl: added InvalidURI and UnsupportedMethod
- exceptions to the CalFactory interface
-
- * pcs/cal-factory.c (impl_CalFactory_open): raise InvalidURI exception on
- URI errors and UnsupportedMethod when we don't support the method for
- a given URI
-
-2001-09-26 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client.c: added support for using multiple calendar
- factories
- (cal_client_uri_list): use the list of factories loaded for this
- CalClient
-
-2001-09-26 Damon Chaplin <damon@ximian.com>
-
- * gui/e-calendar-table.c (date_compare_cb):
- (percent_compare_cb):
- (priority_compare_cb): added comparison functions for these special
- cell types. But the date and percent ones don't work yet due to the
- use of static text buffers for return cell values.
- (e_calendar_table_init): added the comparison functions to the
- ETableExtras. NOTE: task_compare_cb() never seems to be called.
- I'm not sure why it is there.
-
- * gui/e-calendar-table.etspec: set the comparison function names for
- the date/percent/priority fields.
-
- * cal-util/cal-util.c (cal_util_priority_to_string):
- (cal_util_priority_from_string): new utility functions.
-
- * gui/calendar-model.c (get_priority):
- (set_priority): used above utility functions, and removed the warning
- dialog which isn't useful now that the field isn't editable.
-
- * gui/dialogs/event-page.c (times_updated): handle timezones and for
- all-day events make sure it stays an all-day event after adjusting.
- Fixes bugs #5945 and #10222.
-
- * gui/calendar-commands.c (pixmaps): fixed the E_PIXMAP paths - the
- edit items were moved beneath 'EditPlaceholder'. This gets rid of
- those long Bonobo warnings! (and we get the icons back)
-
- * gui/dialogs/comp-editor.c (pixmaps): removed the PrintPreview toolbar
- icon, since it doesn't appear in the xml file. Gets rid of warning.
-
- * gui/dialogs/event-page.c (notify_dates_changed): new function to
- emit the notification signal when the dates are changed. It also
- handles timezones now.
-
- * gui/dialogs/comp-editor-page.h (CompEditorPageDates): used
- CalComponentDateTime for start/end/due so we have the timezone as well
- as the time.
-
- * gui/dialogs/comp-editor-util.c (comp_editor_dates): updated to get
- the timezones as well as the times.
- (comp_editor_free_dates): new function needed to free all the structs.
-
- * gui/dialogs/recurrence-page.c (recurrence_page_set_dates): added call
- to preview_recur() to make sure the preview gets updated.
-
- * gui/dialogs/alarm-page.c (alarm_page_fill_widgets): free the
- CompEditorPageDates struct after use.
-
- * gui/tag-calendar.c (tag_calendar_by_comp): added 'comp_is_on_server'
- argument. If FALSE, we try to use builtin timezones first. This is
- needed for the recurrence page of the event editor, because the
- timezones may not have been added to the server yet. This and the
- changes to the notification stuff should fix bug #5034.
-
- * gui/gnome-cal.c (dn_query_obj_updated_cb): call above
- tag_calendar_by_comp() with TRUE since the events will be on the
- server in this case.
-
- * gui/e-day-view-layout.c:
- * gui/e-day-view.c: made sure an event always takes up at least one
- row, even when the start & end times are the same. Fixes bug #5944.
- I don't know if we should try to also handle events with the end time
- before the start time.
-
- * gui/e-week-view.c (e_week_view_style_set): check that the small font
- is actually smaller than the normal font. If it isn't, don't use it.
- Hopefully fixes bug #6876.
- (e_week_view_on_new_appointment): if only one day is selected, then
- we set the initial time of the event to 1/2-hour from the start of the
- working day, to differentiate 'New Appointment' from 'New All Day
- Event'. Fixes bug #8892.
-
- * gui/e-day-view.c (e_day_view_on_new_appointment): do the same as the
- above.
-
-2001-09-26 Federico Mena Quintero <federico@ximian.com>
-
- Fixes the GUI part of bug #7892.
-
- * gui/dialogs/alarm-page.c (get_alarm_duration_string): Return
- NULL if the duration is zero.
- (get_alarm_string): Handle duration of zero. Also, hopefully
- make the strings be more l10n-friendly.
-
- * gui/alarm-notify/alarm.c (alarm_ready_cb): I am a moron. Fix
- reversed test.
-
-2001-09-26 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor.c (comp_editor_destroy): disconnect
- signals first thing
-
-2001-09-26 Dan Winship <danw@ximian.com>
-
- * gui/Makefile.am (evolution_calendar_LDFLAGS): Add
- -export-dynamic to make glade custom widgets work on non-Linux.
-
-2001-09-26 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-util/cal-util.h: added CAL_MODE_INVALID to CalMode enum
-
-2001-09-26 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal.h: new proto
-
- * pcs/cal.c (impl_Cal_set_mode): implement set mode method
- (cal_class_init): set setMode function in epv
- (cal_notify_mode): notify listener of mode change
-
- * pcs/cal-factory.c (add_uri): deal with UriType renaming
-
- * pcs/cal-backend.h: add new virtual methods and protos
-
- * pcs/cal-backend.c (cal_backend_class_init): init new virtual
- methods to null
- (cal_backend_set_mode): sets mode
- (cal_backend_get_mode): gets mode
-
- * pcs/cal-backend-file.c (cal_backend_file_class_init): overide
- get_mode and set_mode methods
- (cal_backend_file_get_mode): return mode
- (notify_mode): have listeners notified of the set mode call
- (cal_backend_file_set_mode): set the mode by indicating not
- supported
-
- * cal-client/cal-listener.h: update proto
-
- * cal-client/cal-listener.c (impl_notifyCalSetMode): implement set
- mode callback
- (cal_listener_construct): take set mode callback
- (cal_listener_new): ditto
-
- * cal-client/cal-client.h: update protos, add signal proto
-
- * cal-client/cal-client.c (cal_client_class_init): add
- cal_set_mode signal
- (cal_set_mode_cb): handle set mode callback from listener
- (cal_client_open_calendar): pass additional param to cal_listener_new
- (cal_client_set_mode): wrapper to set the calendar mode
-
- * idl/evolution-calendar.idl: make UriType into CalMode, add
- SetModeStatus enum and notifyCalSetMode method to the listener
-
- * gui/calendar-offline-handler.c (create_connection_list): fetch
- the uri list ourselves
- (impl_prepareForOffline): reflect param change of
- create_connect_list
- (update_offline): ditto
- (backend_cal_set_mode): set mode call back
- (backend_cal_opened): cal opened call back, set mode to local
- (impl_goOffline): reflect UriType renaming
-
- * cal-util/cal-util.h: rename UriType to CalMode
-
-2001-09-25 Federico Mena Quintero <federico@ximian.com>
-
- Warning fixes courtesy of Chris Lahey <clahey@ximian.com>.
-
- * gui/e-itip-control.c (write_html): Warning fixes. Also, don't
- strdup() more than necessary.
-
- * gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_cb):
- Warning fixes.
-
- * gui/itip-utils.c (itip_addresses_get): Warning fixes.
-
- * gui/print.c (print_day_background): Warning fixes.
-
- * gui/dialogs/alarm-options.c (alarm_to_aalarm_widgets): Warning
- fixes.
- (alarm_to_palarm_widgets): Likewise.
-
- * gui/dialogs/delete-comp.c: #include "../calendar-config.h"
-
-2001-09-25 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/alarm.c (alarm_ready_cb): Check that the
- timeout is not set up before we create a new one; the alarm_fn
- callback may cause the alarm system to re-enter and add a new
- alarm. Fixes bug #10840.
- (pop_alarm): Assert that there is at least one alarm in the queue.
-
-2001-09-25 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal.c: use bonobo-exception stuff to clean code
-
- * pcs/cal-factory.c (add_uri): add uri to the list if the type
- matches
- (impl_CalFactory_uriList): implement uriList method
-
- * pcs/cal-backend.h: new virtual function member
-
- * pcs/cal-backend.c (cal_backend_is_remote): call virtual function
-
- * pcs/cal-backend-file.c (cal_backend_file_class_init): override
- virtual function
- (cal_backend_file_is_remote): new virtual function, always return
- FALSE
-
- * idl/evolution-calendar.idl: uriList factory call, with flags for
- types to get
-
- * gui/dialogs/comp-editor.c (comp_editor_destroy): cast to remove
- warning
-
- * gui/e-itip-control.c (write_label_piece): kill warnings by take
- const char *
-
- * gui/component-factory.c (create_object): aggregate offline
- interface
-
- * gui/Makefile.am: compile new files
-
- * calobj.[hc]: Remove obsolete files
-
- * cal-util/cal-util.h: enum URI types for uriList call
-
- * cal-client/cal-client.c (build_uri_list): build list from string
- sequence
- (cal_client_uri_list): factory call to get uri list
-
- * cal-client/cal-client.h: new proto
-
- * cal-client/cal-client.c: use bonobo exception stuff to clean
- code
-
- * gui/calendar-offline-handler.[hc]: Start some skeleton routines
- for online/offline handling
-
- * pcs/cal-factory.c (launch_backend_for_uri): use accessor and
- remove FIXME
-
-2001-09-23 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (set_date_label): base text on component
- type
-
-2001-09-20 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/component-factory.c: don't use gnome_vfs_uri_new_private
- (fixes Ximian #10544)
-
-2001-09-20 Federico Mena Quintero <federico@ximian.com>
-
- * gui/component-factory.c: #include a few files we were missing
- from libgnomevfs.
-
-2001-09-20 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend-file.c (load_db): gets a config db
- (cal_backend_file_destroy): release config db
- (cal_backend_file_init): use load_db
- (mail_account_get): gets a mail account by number
- (mail_account_get_default): gets the default mail account
- (mail_account_is_valid): looks to see if any accounts have the
- given address
- (create_user_free_busy): modularize so we can call multiple times
- if necessary, set organizer
- (cal_backend_file_get_free_busy): if the list of users is null,
- use the default account otherwise get the same info for each
- address that is an identity in the mailer
-
- * gui/itip-utils.c (itip_addresses_get): s/gint/glong/ for bonobo
- conf returns
-
- * gui/calendar-commands.c (publish_freebusy_cmd): fix problems
- from a merge so that we publish 6 weeks of free/busy information
- again
-
-2001-09-20 Larry Ewing <lewing@ximian.com>
-
- * gui/dialogs/recurrence-page.c (recurrence_page_destroy): make
- sure to release the ref on priv->comp.
-
- * gui/dialogs/comp-editor.c (real_edit_comp): make sure to release
- the ref on priv->comp.
-
-2001-09-19 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/alarm-queue.c (audio_notification): Display a
- notification message always, in addition to playing the sound.
- (procedure_notification): Present a confirmation dialog before
- actually running the alarm's program.
- (procedure_notification): Use gnome_execute_shell() instead of
- gnome_execute_async() so that we handle multiple arguments
- properly. Plus, it is most likely what the user expects.
- (mail_notification): Display a message about unsupported email
- reminders instead of blindly dropping the alarm.
-
- * gui/dialogs/alarm-options.glade: Added an explanatory message
- about mail alarms not being supported.
-
- * gui/dialogs/alarm-page.glade: Removed the "Send an email"
- option.
-
- * gui/dialogs/alarm-page.c (action_map): Removed CAL_ALARM_EMAIL.
-
-2001-09-19 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-editor.c (init_widgets): listen for model
- changes
- (task_editor_edit_comp): add the attendees to the model and notify
- of need send
- (row_count_changed_cb): mark as changed when row added/deleted
- (model_row_changed_cb): mark as changed when row changes
-
- * gui/dialogs/event-editor.c (init_widgets): listen for model
- changes
- (event_editor_init): flip page order
- (event_editor_edit_comp): set needs send value
- (schedule_meeting_cmd): flip page order
- (row_count_changed_cb): mark as changed when row added/deleted
- (model_row_changed_cb): mark as changed when row changes
-
- * gui/dialogs/schedule-page.c: remove model change notification
- stuff
- (schedule_page_fill_widgets): no need to do the needs_send here
- because the editor handles this since it owns the model
-
- * gui/dialogs/event-editor.c (init_widgets): listen for model
- changes
- (event_editor_init): flip page order
- (event_editor_edit_comp): set needs send value
- (schedule_meeting_cmd): flip page order
- (row_count_changed_cb): mark as changed when row added/deleted
- (model_row_changed_cb): mark as changed when row changes
-
- * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): no need
- to do the needs_send here because the editor handles this since it
- owns the model
- (invite_entry_changed): ditto
-
- * gui/dialogs/comp-editor.c (comp_editor_set_changed): new
- accessor
- (comp_editor_get_changed): ditto
- (comp_editor_set_needs_send): ditto
- (comp_editor_get_needs_send): ditto
-
- * gui/dialogs/comp-editor.h: new protos
-
- * gui/itip-utils.c (itip_addresses_get): reflect configuration
- path changes in the mailer
-
- * gui/e-meeting-model.c: remove commented out code, ifdef one
- section for later
-
-2001-09-19 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-factory.c (cal_factory_oaf_register): add a new parameter
- (const char *iid) to specify the OAFIID of the factory being
- registered
-
-2001-09-19 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-model.c (e_meeting_model_refresh_busy_periods):
- remove silly debug #if 0
-
- * gui/calendar-commands.c (publish_freebusy_cmd): g_list_free
- rather than g_free
-
- * gui/e-itip-control.c (write_html): eliminate code path that
- caused double freed memory
-
-2001-09-18 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/schedule-page.*: A page that shows the meeting time
- selector and free/busy data for attendees
-
- * gui/dialogs/meeting-page.c: use the meeting model to track/edit
- attendees, remove table value conversion routines and simple table
- routines
- (set_attendees): take a pointer array
- (meeting_page_destroy): destroy the pointer array, save state
- (meeting_page_init): new pointer array
- (meeting_page_fill_widgets): don't null the deleted attendees
- field
- (popup_delegate_cb): array add
- (popup_delete_cb): array add
- (cleanup_attendees): iterate over the array to unref now
- (meeting_page_fill_widgets): don't null out fields, no need to add
- attendees here
- (invite_entry_changed): use e_meeting_attendee routines
- (popup_delegate_cb): ditto
- (popup_delete_cb): ditto
- (meeting_page_new): take new arg and pass it to construct
- (meeting_page_construct): take new arg, use e-meeting-model
- routines to construct table
-
- * gui/dialogs/task-editor.c (task_editor_init): new meeting model
- (task_editor_destroy): unref the model
-
- * gui/dialogs/event-editor.c (event_editor_init): make new model
- and pass it to meeting and schedule pages
- (event_editor_set_cal_client): virtual function, set meeting model
- client
- (event_editor_edit_comp): add the attendees to the model
- (event_editor_destroy): unref model
-
- * gui/dialogs/comp-editor.h: add virtual function
- * gui/dialogs/comp-editor.c (comp_editor_set_cal_client): make
- set_cal_client a virutal function
-
- * gui/e-meeting-types.h: generally useful type defines
-
- * gui/e-meeting-time-sel*.[hc]: Move here and use an e-table for
- the attendee list and extract display information from the new
- meeting model and attendees
-
- * gui/e-meeting-time-sel.etspec: spec for the table
-
- * gui/e-meeting-attendee.[hc]: meeting attendees for the model,
- with to/from conversions for CalComponentAttendee structure, emits
- changed signal and allows getting and setting of free busy
- periods
-
- * gui/e-meeting-model.[hc]: move the model out on its own
-
- * gui/e-itip-control.c (write_error_html): clean up warnings
-
-2001-09-18 Federico Mena Quintero <federico@ximian.com>
-
- Fixes bug #6350.
-
- * gui/component-factory.c (remove_folder): Use a simplified method
- for removing our folder data; we just need to remove calendar.ics
- or tasks.ics and the corresponding backup files.
-
-2001-09-18 Federico Mena Quintero <federico@ximian.com>
-
- Fixes bug #2830.
-
- * gui/calendar-config.c (calendar_config_get_confirm_delete): New
- function.
- (calendar_config_set_confirm_delete): New function.
- (config_read): Get the default value for the ConfirmDelete option.
- (calendar_config_write): Set the value of ConfirmDelete.
-
- * gui/dialogs/delete-comp.c (delete_component_dialog): Handle the
- configuration option for confirmation.
-
- * gui/dialogs/cal-prefs-dialog.c (CalPrefsDialogPrivate): Added
- the fields for the Other page.
- (get_widgets): Handle the new widgets.
- (cal_prefs_dialog_show_config): Likewise.
- (cal_prefs_dialog_update_config): Likewise.
-
-2001-09-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client-multi.[ch]: new class for managing multiple
- calendars, with an API very similar to the CalClient one,
- for ease of transition from one to the other
-
- * gui/component-factory.c (xfer_folder, remove_folder, create_folder):
- reworked to be able to manage folders for any calendar backend, and
- not only the file: one
-
-2001-09-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * idl/evolution-calendar.idl: changed signature for the getFreeBusy
- method, to return a sequence of CalObj's, and added sequence of users
- as a new parameter to that method
-
- * cal-client/cal-client.c (cal_client_get_free_busy): adapted to new
- IDL method signature, by adding a new "GList *users" parameter, for
- callers to be able to specify a list of users
-
- * pcs/cal-backend.[ch] (cal_backend_get_free_busy):
- * pcs/cal-backend-file.c (cal_backend_file_get_free_busy): add the
- "GList *users" parameter. In cal_backend_file_get_free_busy, call
- lookup_component to get the CalComponent for each uid, instead
- of calling cal_backend_get_object, which meant converting the
- component to a string and then parsing it again.
-
- * cal-client/client-test.c (cal_opened_cb):
- * gui/e-itip-control.c (send_freebusy):
- * gui/calendar-commands.c (publish_freebusy_cmd): adapted to
- new getFreeBusy method signature
-
-2001-09-17 Damon Chaplin <damon@ximian.com>
-
- * gui/calendar-model.c: added a timeout to refresh the list every
- 10 minutes. Not ideal, as the user may be editing a task when it gets
- refreshed.
- (adjust_query_sexp): use the 'completed-before?' operator to filter
- out tasks according to the config settings.
-
- * gui/dialogs/task-details-page.c (task_details_page_fill_widgets):
- added support for the 'Completed' date. This code must have got lost
- somewhere, as it used to work.
- (date_changed_cb): set the priv->updating flag while updating the other
- widgets.
-
- * pcs/cal-backend-file.c (cal_backend_file_update_objects): made sure
- we freed the components.
-
- * pcs/query.c (func_completed_before): added 'completed-before?'
- operator.
-
- * gui/calendar-config.c (calendar_config_configure_e_cell_date_edit):
- don't set the lower & upper hour. Use 0-24 like the EDateEdit does.
-
- * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show_config): set
- the 12/24-hour time format options sensitive only if we support both.
-
- * gui/calendar-config.c (config_read): if the locale doesn't define
- 'am' and 'pm' strings then we must use 24-hour format.
-
- * gui/calendar-commands.c (calendar_set_folder_bar_label): don't
- translate the '%d' as it doesn't make much sense. Resolves bug #8027.
-
-2001-09-17 Federico Mena Quintero <federico@ximian.com>
-
- * gui/component-factory.c (owner_set_cb): Do not call
- calendar_config_init() here.
-
- * gui/main.c (main): Call calendar_config_init() here.
-
-2001-09-17 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/alarm.c (queue_alarm): Duh, only setup the
- timeout if the list was empty.
- (alarm_ready_cb): Notify with the ID of the original alarm.
- (alarm_remove): Likewise.
-
-2001-09-17 Federico Mena Quintero <federico@ximian.com>
-
- Switch the alarm system from using SIGALRM to normal glib timers.
- Also, use a more robust de-queueing mechanism.
-
- * gui/alarm-notify/alarm.c (alarm_init): Removed.
- (alarm_done): Remove the glib timeout instead of closing the pipes
- and the signal handler.
- (alarm_add): Allow adding alarms that happen before right now.
- (queue_alarm): Use a glib timer instead of a signal.
- (alarm_remove): Adjust the timeout as appropriate.
-
- * gui/alarm-notify/notify-main.c (main): There is no need to
- initialize the alarm system now.
-
- * gui/main.c (main): Likewise.
-
-2001-09-17 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-model.c (calendar_model_init): get itip addresses
- (calendar_model_destroy): destroy same
- (calendar_model_value_at): do more thorough checking on whether to
- use recurring, assigned, assigned to or regular task icons
-
-2001-09-17 JP Rosevear <jpr@ximian.com>
-
- * cal-util/cal-component.c (for_each_remove_all_alarms): for each
- call back, removes the alarms
- (cal_component_remove_all_alarms): remove all alarms from the
- component
-
- * cal-util/cal-component.h: new proto
-
- * gui/e-itip-control.c (write_error_html): writes error messages
- rather than normal html
-
- * gui/itip-utils.c (itip_send_comp): remove all alarms if the
- method warrants it
-
-2001-09-16 Christopher James Lahey <clahey@ximian.com>
-
- * gui/dialogs/meeting-page.c (build_etable): Updated this to match
- the new ETableSimple interface.
-
-2001-09-14 Ettore Perazzoli <ettore@ximian.com>
-
- [Automake 1.5 fixes pointed out by Richard Boulton
- <richard@tartarus.org>, as per #9258.]
-
- * cal-client/Makefile.am: Set CLEANFILES directly instead of using
- `+='.
- * gui/Makefile.am: Likewise.
- * gui/alarm-notify/Makefile.am: Likewise.
- * pcs/Makefile.am: Likewise.
-
-2001-09-14 Damon Chaplin <damon@ximian.com>
-
- * gui/e-itip-control.c (ok_clicked_cb): added space after 'identities'
- in the message. Fixes bug #9896.
-
-2001-09-14 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/e-calendar.conduit.in: remove translation
- marker for now
-
-2001-09-13 JP Rosevear <jpr@ximian.com>
-
- * cal-util/cal-component.h: use ical partstat, role, cutypes
- directly
-
- * cal-util/cal-component.c: ditto
-
- * gui/e-itip-control.c (find_my_address): set my addresses if the
- addresses match
- (find_attendee): strstr returns non-null on a match
- (write_html): use new icon, select the name displayed (organizer
- or attendee) based on method,
- (ok_clicked_cb): when rsvp'ing strip off all but the attendee
- being replied for as is specified in the spec
- (find_attendee_partstat): new util function to extract the
- partstat of an attendee
- (update_attendee_status): updates the partstat of a specific
- attendee in the reply message
-
- * gui/dialogs/meeting-page.c: use ical partstat, role, cutypes
- directly
- (popup_delegate_cb): if we delegate, notify of needs send and
- changed
- (popup_delete_cb): notify of needs send and changed for each
- deletion
-
-2001-09-12 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-commands.c (publish_freebusy_cmd): send 6 weeks of
- free busy info starting with the UTC start of day
-
- * gui/itip-utils.c (get_label): create a text representation of
- the given icaltime
- (itip_send_comp): if the summary is empty, set the subject based
- on the type of component, put the right extension on free/busy
- components and base descriptions on type of component, include
- start/end for free/busy info
-
-2001-09-11 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/alarm-queue.c (display_notification): Added an
- use_description argument so that other alarms can fall back to
- this type.
- (audio_notification): Implemented.
- (remove_comp): Call remove_queued_alarm() here; there is no longer
- a destroy notification function for alarms so must we do this
- manually.
- (alarm_trigger_cb): Do not pass the alarm to the notification
- functions so that we can free it ourselves before all the alarms
- in the component get freed.
- (display_notification): Get the alarm here instead of getting it
- as an argument.
- (procedure_notification): Implemented.
-
-2001-09-11 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c (invite_entry_changed): free the
- destination vector when we finish with it, if we actually add
- anyone, notify listeners of the needs send and changed info. Fixes
- bug #8632.
-
-2001-09-10 Zbigniew Chyla <cyba@gnome.pl>
-
- * gui/print.c
- (format_date): Convert string generated by strftime to UTF-8.
- (print_week_view_background): Ditto.
- (print_month_summary): Ditto.
- (print_month_small): Use U_() instead of _().
- (print_day_background): Ditto.
- (print_todo_details): Ditto.
- (print_date_label): Convert generated string to UTF-8.
-
-2001-09-10 Federico Mena Quintero <federico@ximian.com>
-
- * cal-util/cal-component.c (cal_component_alarm_get_attach):
- Handle the new icalattach type instead of struct icalattachtype.
- (cal_component_alarm_set_attach): Likewise.
-
- * gui/dialogs/alarm-options.c (alarm_to_aalarm_widgets): Likewise.
- (alarm_to_palarm_widgets): Likewise.
- (aalarm_widgets_to_alarm): Likewise.
- (palarm_widgets_to_alarm): Likewise.
-
-2001-09-05 Ettore Perazzoli <ettore@ximian.com>
-
- [Fix #958, ShellComponents should not be created by factories, for
- the calendar.]
-
- * gui/GNOME_Evolution_Calendar.oaf.in: Remove the
- ShellComponentFactory.
-
- * gui/component-factory.c (create_object): Renamed from
- `component_fn'. Don't get any args.
- (component_factory_init): Create the component using
- `create_object()' and register it into OAF.
- (COMPONENT_FACTORY_ID): Removed.
- (COMPONENT_ID): New.
-
-2001-09-04 Federico Mena Quintero <federico@ximian.com>
-
- * gui/component-factory.c (sc_user_create_new_item_cb):
- Implemented.
-
- * gui/main.c (component_editor_factory_init): New function to
- create the factory for the comp_editor_factory.
-
- * gui/comp-editor-factory.c: Finished implementation.
-
- * gui/alarm-notify/alarm-queue.c (edit_component): Implemented the
- Edit command.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Added
- comp-editor-factory.[ch] to the list of sources.
-
-2001-09-03 Damon Chaplin <damon@ximian.com>
-
- * gui/calendar-commands.c (calendar_control_activate):
- * gui/tasks-control.c (tasks_control_activate): don't call
- calendar_config_check_timezone_set() now, since the startup wizard
- handles that.
-
- * gui/e-tasks.c (e_tasks_class_init): changed selection_changed signal
- to GTK_RUN_LAST. It has no reason to be GTK_RUN_FIRST.
-
- * gui/gnome-cal.c:
- * gui/e-week-view.c:
- * gui/e-day-view.c: added "selection_changed" signal,
- XX_delete_event() and XX_get_num_events_selected().
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw): fix the shadow
- around the dates at the top - it was 1 pixel off.
-
- * gui/calendar-commands.c: added sensitize_commands(), similar to in
- tasks-control.c, so we only make Cut/Copy/Delete sensitive when an
- event is selected. Also added delete_event_cmd().
-
- * gui/dialogs/task-page.c (task_page_set_summary):
- * gui/dialogs/event-page.c (event_page_set_summary): do nothing,
- since the summary only gets changed on the main event/task page now.
- Fixes bug #6939.
-
- * gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received):
- (e_day_view_on_top_canvas_drag_data_received): check that we are
- dragging an event from the same EDayView. We currently don't support
- DnD from other widgets.
- (e_day_view_update_top_canvas_drag): only get the summary if we
- actually have an event. Fixes bug #5162.
-
- * gui/e-day-view.c (e_day_view_on_editing_stopped): if the text hasn't
- changed we need to call e_day_view_update_event_label() to show the
- times again if necessary. Fixes bug #1813.
-
- * gui/dialogs/comp-editor.c (comp_editor_destroy): destroy the
- CompEditorPage objects here rather than in close_dialog(), after the
- widgets have been destroyed. We do this because the widgets have lots
- of signal handlers connected with the CompEditorPage objects as the
- signal data, so we want to ensure that the data pointer is always
- valid. (Alternatively we could disconnect all the handlers when the
- CompEditorPage objects are destroyed, or use connect_while_alive()).
- Fixes bug #7543.
-
- Note: there is still a small bug in that if you type in a time and
- then hit 'Save and Close', the time won't be saved. I'm not sure
- where this should be fixed - should the actions which close the
- dialog grab the focus to the toplevel, so any widgets currently
- being edited finish the edit and emit 'changed'?
-
- * gui/dialogs/recurrence-page.c (append_exception): use
- gtk_clist_set_row_data_full() so freeing is handled automatically by
- the GtkClist. This helps avoid problems at destroy-time.
- (exception_delete_cb): just call gtk_clist_remove() now. No need to
- free the row data as GtkCList now handles it.
- (recurrence_page_destroy): no need to free the data in the clist.
-
- * gui/dialogs/alarm-page.c: ditto.
-
- * gui/dialogs/meeting-page.c: ditto.
- (etable_destroy_cb): save the ETable state in this new handler cb
- rather than in the destroy method, since the widget will already be
- destroyed by then.
-
-2001-08-31 Damon Chaplin <damon@ximian.com>
-
- * gui/e-itip-control.c: changed 3 occurrences of 'Replyed' to 'replied'
-
-2001-08-31 Zbigniew Chyla <cyba@gnome.pl>
-
- * gui/e-itip-control.c (write_html):
- Marked strings for translation (with U_).
-
- * gui/itip-utils.c (itip_send_comp):
- Ditto.
-
-2001-08-31 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget):
- (comp_editor_contacts_to_component): fix debugging messages so they
- use "" rather than NULL. Fixes bug #8559.
-
-2001-08-29 Federico Mena Quintero <federico@ximian.com>
-
- * pcs/cal-backend-file.c (cal_backend_file_remove_object): See if
- the set of categories changed by using the removed_categories hash
- table.
- (cal_backend_file_init): Create a table of removed categories.
- This allows us to notify if and only if the set of category
- changes when an object is updated/removed, instead of
- unconditionally notifying if an object is updated.
- (cal_backend_file_update_objects): Only notify if the set of
- categories really changed.
- (update_categories_from_comp): Shuffle the categories between the
- priv->categories and priv->removed_categories lists.
-
-2001-08-28 Federico Mena Quintero <federico@ximian.com>
-
- Fixes bug #7879, a query may receive an update notification from
- the backend before the query itself gets populated.
-
- * pcs/query.c (ensure_sexp): New function; ensures that the esexp
- is created and notifies of parse errors. It is the bulk of
- start_query_cb() but put in a separate function so that we can
- share it elsewhere.
- (start_query_cb): Use ensure_sexp().
- (process_component_cb): Oops, notify of a successfully finished
- query.
- (match_component): Call ensure_sexp(). This function can be
- called by the backend notification callbacks before the query is
- populated, so we need to make sure the esexp exists here.
-
-2001-08-22 Federico Mena Quintero <federico@ximian.com>
-
- * gui/cal-search-bar.c (cal_search_bar_construct): Set the
- "category is" criterion as the default for the calendar and tasks.
-
-2001-08-22 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/recurrence-page.c (recurrence_page_fill_widgets):
- Unset the priv->updating flag before returning in the case the
- component has no recurrence information. Fixes bug #6850.
-
-2001-08-22 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/alarm-queue.c (QueuedAlarm): Added a snooze
- flag to differentiate snoozed alarms from real occurrences.
- (add_component_alarms): Do not specify a destroy function for the
- alarm trigger. We handle this in the callbacks now.
- (alarm_trigger_cb): Just remove the alarms for the unimplemented
- notification types.
- (create_snooze): Implemented snooze.
- (notify_dialog_cb): Snooze as appropriate.
-
-2001-08-22 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (foreach_tzid_callback): call back to add
- timezones to the top level
- (itip_send_comp): call icalcomponent_foreach_tzid
-
-2001-08-22 Dan Winship <danw@ximian.com>
-
- * gui/gnome-cal.c: #include <libgnomevfs/gnome-vfs-types.h> so
- this will compile against gnome-vfs 1.0.1.
-
-2001-08-22 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_open): open the tasks folder
- associated with the calendar being opened, and not always the local
- tasks.ics file
-
- * pcs/cal-factory.c (open_fn): use gnome_vfs_uri_new_private when
- parsing the URI to allow non-registered URIs
-
-2001-08-21 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/alarm-options.c (alarm_to_palarm_widgets): Handle
- the case where there is no attachment. Fixes bug #7257.
-
-2001-08-21 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (write_html): strip the mailto bit for the
- email address if we display it
-
-2001-08-21 Damon Chaplin <damon@ximian.com>
-
- * pcs/query.c (func_is_completed): added new e-sexp operator. We
- don't currently use it though.
-
- * gui/dialogs/cal-prefs-dialog.glade: Changed '_Overdue' to 'O_verdue'
- since we have an '_Other' notebook tab. Added '_Hide' accel.
-
- * gui/dialogs/cal-prefs-dialog.c: hooked up config options to dialog.
-
- * gui/calendar-config.c: added config options for hiding completed
- tasks.
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw):
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
- * gui/e-day-view.c (e_day_view_reshape_long_event): added 2 pixels
- extra space between icons and text for long events, and 1 pixel space
- between icons in all events.
- (e_day_view_realize): changed the background color to match the
- EGrayBar in the shell.
-
-2001-08-21 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-util.[ch]: new files to contain utility functions
- for calendar backends
-
- * pcs/cal-backend.c (cal_backend_add_cal): implement it here, and not in
- the calendar backends. Add a "cal_added" signal, so that backends are
- notified when a new Cal is added, if they need to
- (cal_backend_get_type_by_uid): implement it here
-
- * pcs/cal-backend-file.c (fill_alarm_instances_seq): moved to
- cal-backend-util.c
- (cal_backend_file_add_cal): removed
- (cal_backend_file_init): connect to the "cal_added" signal in the
- CalBackend class so that we can update categories when a new Cal is
- added
- (cal_backend_file_get_type_by_uid): removed
-
- * pcs/cal-backend-db.c (fill_alarm_instances_seq): moved to
- cal-backend-util.c
- (cal_backend_db_add_cal): removed
- (cal_backend_db_get_type_by_uid): removed
-
- * AUTHORS: added JP and Damon to list of authors
-
-2001-08-20 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-util/cal-util.[ch] (cal_util_generate_alarms_for_list):
- (cal_util_generate_alarms_for_comp):
- new functions moved from the CalBackendFile, to allow its use outside
- of it. The signature has changed a little bit, since these functions
- need a way to get the timezones from the callers, so a callback
- function to resolve the timezones has been added to the list of
- parameters
-
- * pcs/cal-backend-file.c (generate_alarms_for_list):
- (generate_alarms_for_comp): moved to cal-util, with all their related
- functions/structures
-
- * pcs/cal-backend-db.c: removed functions that were moved to cal-util
-
-2001-08-20 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/comp-editor.c (pixmaps): use Delete icon in menu, and
- change to bigger Save icon in toolbar.
-
- * gui/tasks-control.c:
- * gui/calendar-commands.c (pixmaps): used new_task-16.png and
- goto-16.png.
-
-2001-08-20 Damon Chaplin <damon@ximian.com>
-
- * gui/calendar-commands.c (pixmaps): added delete icons for menu
- and toolbar.
-
-2001-08-20 Damon Chaplin <damon@ximian.com>
-
- * gui/tasks-control.c: added Cut/Copy/Paste icons for toolbar.
-
-2001-08-20 Damon Chaplin <damon@ximian.com>
-
- * gui/tasks-control.c: uses new delete icons in menu & toolbar.
-
-2001-08-19 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c: Update the folder list to include a
- display name and a description.
-
-2001-08-20 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/comp-editor.c (pixmaps): use new delete icon for toolbar.
-
-2001-08-19 Damon Chaplin <damon@ximian.com>
-
- * gui/e-itip-control.c: fixed typo, 'send' -> 'sent'. Bug #7621.
-
-2001-08-18 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.glade: added option to hide completed
- tasks after a given number of minutes/hours/days. Unfinished.
-
- * gui/dialogs/event-page.c (event_page_fill_component): initialize
- zone to NULL to avoid a warning.
- (contacts_clicked_cb): work around a bug in SelectNames by notifying
- that the page has changed when you click the 'Contacts' button.
- Otherwise it is easy to lose changes.
-
- * gui/dialogs/task-page.c (contacts_clicked_cb): ditto.
-
-2001-08-18 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/comp-editor.c (pixmaps): used new Save/Save As icons.
-
- * gui/tasks-control.c:
- * gui/calendar-commands.c (pixmaps): added new Cut/Copy/Paste icons,
- and changed the 'New Task' icon to use the bigger one I made.
-
-2001-08-05 Zbigniew Chyla <cyba@gnome.pl>
-
- * gui/dialogs/task-page.c (summary_changed_cb):
- Use e_dialog_editable_get instead of gtk_editable_get_chars (we need
- UTF-8 string).
-
-2001-08-18 Zbigniew Chyla <cyba@gnome.pl>
-
- * gui/calendar-config.c (locale_uses_24h_time_format): New.
- (config_read): Use locale's setting as default for
- /Calendar/Display/Use24HourFormat so that Europeans don't have to
- switch to 24-hour format manually.
-
-2001-08-17 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (destroy): destroy the addresses
- (clean_up): don't free the addresses, we need them
-
-2001-08-17 Damon Chaplin <damon@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_new_task): new function to open the
- task editor to add a new task.
-
- * gui/calendar-commands.c: added new_task_cb() to create a new task
- in the calendar folder, and added menu commands for it, and a toolbar
- button (I think that is what Ettore wanted. Maybe he just meant menu
- commands. Anyway, it is easy to take out.) Note that we don't have a
- decent icon for 'New Task' for the toolbar.
- Also added the new Goto button (but we don't have a similar one for
- the menu command).
-
-2001-08-16 Iain Holmes <iain@ximian.com>
-
- * gui/Makefile.am: Add the libetimezonedialog.a lib link
-
- * gui/calendar-config.c: Change the #include for the timezone dialog
-
- * gui/e-timezone-entry.c: Ditto.
-
- * gui/dialogs/Makefile.am: Remove the e-timezone-dialog stuff.
-
-2001-08-16 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/event-page.c: hide the timezone fields for all-day
- events. We will use DATE values for these eventually, and these
- don't have timezones associated with them. Currently we just use the
- default timezone for all-day events, as a workaround until we have
- DATE values working.
-
- * gui/dialogs/comp-editor-util.c (comp_editor_new_date_edit): added
- make_time_insensitive flag. Though we may not use it.
-
- * gui/dialogs/event-page.glade: made the 'All day event' toggle
- right-aligned, so it doesn't move when the other widgets are shown
- and hidden.
-
- * gui/e-timezone-entry.c (e_timezone_entry_set_default_timezone): new
- function to set the default timezone of the widget. If the current
- timezone setting matches the default then the entry field is hidden.
- Most people won't use timezones so this makes the GUI simpler.
-
- * gui/dialogs/event-page.c (init_widgets):
- * gui/dialogs/task-page.c (init_widgets): set the default timezone
- using the above function.
-
- * gui/dialogs/task-page.c (task_page_fill_widgets): if the start date
- or due date is not set, we use the default timezone, so the user
- doesn't have to set this each time they set the date.
-
-2001-08-16 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/alarm-page.c (alarm_page_fill_widgets): If the
- component has no alarms remember to set the priv->updating flag to
- FALSE before returning.
-
-2001-08-16 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/e-delegate-dialog.c
- (e_delegate_dialog_get_delegate_name): get the destinations
- property, not the text property
-
-2001-08-16 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/alarm-page.c (clear_widgets): Set the default-to-add
- notification to be display a message 15 minutes before the start
- of the appointment. Fixes bug #7175.
-
-2001-08-16 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/comp-editor-util.c (comp_editor_strip_categories):
- New function to strip surrounding whitespace from a string of
- categories entered by the user.
-
- * gui/dialogs/task-page.c (task_page_fill_component): Use
- comp_editor_strip_categories().
-
- * gui/dialogs/event-page.c (event_page_fill_component): Likewise.
-
-2001-08-16 Federico Mena Quintero <federico@ximian.com>
-
- * gui/calendar-config.c (calendar_config_configure_e_date_edit):
- Do not set the time popup range. We also want to be able to
- create appointments that are not within nine-to-five! Think of
- going to the movies! Fixes bug #7436.
-
- * gui/dialogs/cal-prefs-dialog.glade: "am/pm" is now "AM/PM".
- Fixes bug #7367.
-
-2001-08-16 Jon Trowbridge <trow@ximian.com>
-
- * gui/cal-search-bar.c: Changed to reflect my renaming of some of
- the more hideously-named functions in the ESearchBar API.
-
-2001-08-15 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor.c (save_comp): only fill the component
- and save it if something has changed
- (save_comp_with_send): only try to send if something has changed
- and the editor needs a send
-
-2001-08-15 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.glade: OK, re-added the default
- alarm options. Way too many people are asking for them.
-
-2001-08-15 Federico Mena Quintero <federico@ximian.com>
-
- * gui/component-factory.c (factory_fn): Add the user creatable
- items. The callback is not actually implemented yet; this is just
- to finalize the GUI.
-
- * gui/dialogs/cal-prefs-dialog.glade: Added an option to ask for
- confirmation when deleting items. Added underlined shortcuts
- (they may not all work currently).
-
-2001-08-14 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/task-page.c:
- * gui/dialogs/event-page.c: added support for the Contacts field.
- Note that I'm not sure what we should put in the iCalendar CONTACT
- properties. Currently we put "name <email>", but it isn't recognized
- as a contact when we reopen the dialog, so we may need more info here.
- Also we currently use a simple parser to parse the above format, and
- we should maybe use some camel function.
-
- * gui/dialogs/task-page.glade:
- * gui/dialogs/event-page.glade: replaced the GtkEntry fields for the
- Contacts with a GtkEventBox which we put the BonoboControl in at
- runtime.
-
- * gui/dialogs/meeting-page.c (invite_entry_changed): added FIXMEs
- since it doesn't seem to be freeing the EDestination stuff. JP?
-
- * gui/dialogs/comp-editor-util.c: added bunch of utility functions to
- handle the Contacts field in the main Event and Task pages.
-
- * gui/gnome-cal.c: added visible_start and visible_end fields, so we
- only emit the 'dates-shown-changed' signal when really necessary.
- Currently changing the folder title bar label results in a complete
- redraw of the Evolution window (silly GtkLabel queueing a resize),
- so we want to avoid that as much as possible.
- (gnome_calendar_new_appointment_for): only move the event's end time
- to the end of the day if it is not already 00:00:00.
-
- * gui/e-week-view-event-item.c:
- * gui/e-week-view.c:
- * gui/e-day-view.c: added support for double-clicking on an event to
- open it, and for double-clicking on the background to create a new
- event. There is still a minor problem to sort out, but it basically
- works.
-
- * cal-util/cal-component.c: added support for CONTACT properties,
- mainly by copying the code for COMMENT properties which are exactly
- the same type.
-
- * gui/e-day-view.c (e_day_view_realize): use the same color for the
- top canvas background as the shortcut bar, to make it look a little
- nicer (I think). Although we still have the theme problem with
- hard-coded colors.
-
-2001-08-14 Federico Mena Quintero <federico@ximian.com>
-
- * gui/e-calendar-table.etspec: Made the click-to-add message
- shorter. Fixes bug #7177.
-
-2001-08-14 Federico Mena Quintero <federico@ximian.com>
-
- * gui/calendar-commands.c (pixmaps): Added Tigert's new icons for
- Prev and Next.
-
-2001-08-14 Federico Mena Quintero <federico@ximian.com>
-
- * gui/cal-search-bar.c (make_suboptions): Make the "Any Category"
- item consistent with the one in the addressbook. Also, free the
- items correctly.
-
-2001-08-14 Federico Mena Quintero <federico@ximian.com>
-
- * gui/cal-search-bar.c (get_current_category): Handle an array of
- categories in the CalSearchBar instead of our own menu items.
- (notify_query_contains): Fetch the text from the search bar here
- instead of in regen_query().
- (regen_query): Handle category searches.
- (notify_category_is): New function.
- (cal_search_bar_construct): Do not create an option menu.
- (make_suboptions): New function to create the suboption items from
- the list of categories.
- (notify_query_contains): Do not include a category sexp here.
-
-2001-08-13 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (update_item): add dialog for feedback
- (remove_item): ditto
- (send_item): ditto
- (send_freebusy): ditto
-
-2001-08-13 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c: rewrite the gui to use gtkhtml
-
- * gui/Makefile.am: define the icon dir
-
-2001-08-12 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/e-itip-control.h: Remove #include <config.h> from here.
- * gui/itip-utilss.h: Same here.
-
-2001-08-11 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/tasks-control.c: Update the paths of the Tools menu
- according to the changes in the XML [i.e. things are moved to the
- ComponentToolsPlaceholder].
-
- * gui/calendar-commands.c: Likewise.
-
-2001-08-11 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/event-page.c (init_widgets):
- * gui/dialogs/task-page.c (init_widgets): turn on word-wrap for the
- description fields. Fixes bug #6821.
-
-2001-08-10 Jon Trowbridge <trow@ximian.com>
-
- * gui/cal-search-bar.c: Where we have ESearchBarItems, set their
- subitems to NULL.
-
-2001-08-09 Damon Chaplin <damon@ximian.com>
-
- * pcs/cal-backend.c (cal_backend_get_object_component): added new
- backend method to get the component given a UID.
-
- * pcs/cal-backend-file.c (cal_backend_file_get_object_component):
- added implementation of above virtual method.
-
- * pcs/query.c (match_component): use the new backend function to get
- the CalComponent rather than the string. This avoids converting all
- the calendar components to strings and parsing them back into
- components for every query! (That wasn't a good idea, was it ;)
-
- * gui/e-week-view.c:
- * gui/e-day-view.c: use a timeout handler to layout the events,
- to avoid doing a layout for each event we get from a query.
-
- * gui/print.c (print_day_add_event):
- * gui/e-day-view.c (e_day_view_add_event): set start_row_or_col and
- num_columns to 0. They are guint8's.
-
- * gui/e-week-view.c (e_week_view_free_events): hide all the jump
- buttons. Fixes bug #5946.
-
- * gui/calendar-commands.c (calendar_set_folder_bar_label): added the
- day numbers for the month view.
-
- * gui/dialogs/recurrence-page.glade: changed "_Delete" to "_Remove",
- since it clashed with "_Add". Also added underlined accelerators for
- the recurrence radio buttons. Note that none of these accelerators
- actually work at present, due to the way we are using .glade files
- for each notebook page. I need to add a bug about this.
- Also, the "_Action" menu doesn't popup when I press Alt+A, even though
- the "_File" menu does popup when I press Alt+F. Strange.
-
- * pcs/cal-backend-file.c (cal_backend_file_get_timezone_object):
- removed debug msgs.
-
-2001-08-09 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
- unref the GdkPixmap and GdkBitmap returned by the function
- e_categories_config_get_icon_for ()
-
-2001-08-09 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-page.*: Remove progress frame
-
- * gui/dialogs/task-details-page.*: Put in progress frame, remove
- basics frame
-
- * gui/dialogs/task-editor.c (set_menu_sens): util function to set
- menu sensitivity based on state
- (task_editor_init): add meeting page
- (task_editor_edit_comp): show page if necessary
- (task_editor_destroy): unref meeting page
- (assign_task_cmd): bring up meeting page
- (refresh_task_cmd): save before sending
- (forward_cmd): ditto
-
- * gui/dialogs/comp-editor.c (save_cmd): implement new save command
-
-2001-08-09 Federico Mena Quintero <federico@ximian.com>
-
- * gui/e-itip-control.c (destroy): Chain to the destroy handler in
- the parent class!
-
- * gui/dialogs/comp-editor-page.c (comp_editor_page_destroy):
- Likewise. Sigh.
-
- * gui/cal-search-bar.c (cal_search_bar_destroy): Whoops, added a
- destroy handler.
-
-2001-08-08 Damon Chaplin <damon@ximian.com>
-
- * gui/goto-dialog.glade: removed underlined accelerator key from
- "_Go To Today" button. GnomeDialog doesn't actually support underlined
- accelerator keys for buttons. We could hack it, like Glade does, if
- we really need to. Fixes bug #6418.
-
-2001-08-08 Federico Mena Quintero <federico@ximian.com>
-
- * gui/e-day-view.c (update_query): Stop editing any event. Fixes
- bug #5949.
-
-2001-08-08 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/alarm-page.c (alarm_page_fill_component): Duuuh, set
- the alarm_copy on the component, not the original alarm. Fixes
- bug #5214.
-
-2001-08-08 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c (set_attendees): set the attendees of
- a component
- (meeting_page_fill_component): use above
- (meeting_page_get_cancel_comp): return a comp with the attendees
- to be cancelled
-
- * gui/dialogs/meeting-page.h: get a component that will be sent as
- a cancellation
-
- * gui/dialogs/event-editor.c (event_editor_class_init): override
- send_comp class method
- (event_editor_send_comp): send cancellation notices to deleted
- attendees
- (refresh_meeting_cmd): save before send
- (forward_cmd): ditto
-
- * gui/dialogs/comp-editor.c (comp_editor_class_init): set default
- send_comp method
- (real_send_comp): do the real work
- (comp_editor_send_comp): call class method
- (save_comp): don't do any sending
- (save_comp_with_send): save and send here
- (prompt_to_save_changes): use above
- (save_close_cmd): ditto
-
- * gui/dialogs/comp-editor.h: add virtual function
-
-2001-08-08 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-week-view-event-item.c
- (e_week_view_event_item_draw_icons): don't use a NULL mask in the
- call to gdk_gc_set_clip_mask
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
- ditto
-
- * gui/e-day-view-main-item.c
- (e_day_view_main_item_draw_day_event): ditto
-
-2001-08-08 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit-config.h: fix pre-processor
- macros
-
- * conduits/calendar/calendar-conduit.h: ditto
-
- * conduits/todo/todo-conduit-config.h: fix pre-processor macros
-
- * conduits/todo/todo-conduit.h: ditto
-
-2001-08-07 Federico Mena Quintero <federico@ximian.com>
-
- * cal-client/cal-listener.c (cal_listener_stop_notification): New
- function to stop further notification from happening.
- (impl_notifyCalOpened): Do not notify if requested.
- (impl_notifyObjUpdated): Likewise.
- (impl_notifyObjRemoved): Likewise.
- (impl_notifyCategoriesChanged): Likewise.
- (CalListenerPrivate): Do not keep a reference to the server-side
- Cal. This would create a circular reference since the server
- keeps a reference to the listener.
- (cal_listener_destroy): Likewise.
- (impl_notifyCalOpened): Likewise.
-
- * pcs/cal.c (cal_destroy): bonobo_object_release_unref() the listener.
-
- * cal-client/cal-client.c (cal_client_destroy): Ask the listener
- to stop notifications. Also, do not unref it as the server does
- that itself when we unref the Cal.
-
-2001-08-07 Federico Mena Quintero <federico@ximian.com>
-
- * gui/calendar-model.c (calendar_model_free_value): Only unref the
- FIELD_COMPONENT if it is non-NULL. We return a NULL for that
- field from ::initialize_value(), after all. Fixes bug #6098.
-
-2001-08-07 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (itip_send_comp): Make calendar.ics the
- suggested name when attaching the ical object
-
-2001-08-06 Damon Chaplin <damon@ximian.com>
-
- * gui/e-week-view.h:
- * gui/e-day-view.h: added 'different_timezone' fields to EDayViewEvent
- and EWeekViewEvent, to note that the event is in a different timezone.
- We now compute this once when we add the event to the array, rather
- than each time we draw the event. If it is set, we will draw the
- timezone icon next to the event.
-
- * gui/e-day-view-main-item.c: take transparency into account when
- drawing the blue vertical bars to represent busy time.
-
- * gui/tag-calendar.c: take transparency into account when tagging
- the mini calendar.
-
- * gui/e-calendar-table.c (e_calendar_table_init): removed the "None"
- options for transparency and classification, since these properties
- have defaults anyway, so we may as well use those to keep it simple.
- Also use "Free" and "Busy" for transparency, rather than "Transparent"
- and "Opaque".
-
- * gui/calendar-model.c: updated classification & transparency code
- as above.
-
- * gui/e-calendar-table.etspec: changed "Transparency" to "Show Time As"
- since people have a chance of understanding that.
-
- * gui/e-week-view.c:
- * gui/e-day-view.c:
- * gui/gnome-cal.c: added functions to get the visible time range.
-
- * gui/calendar-commands.c: finished stuff to set the folder bar
- label to the dates currently displayed.
-
- * gui/control-factory.c (control_factory_new_control): connected
- signal to update the folder title bar label when the dates shown
- are changed. I had to connect it here since we need the BonoboControl
- in the callback, and I don't know how to get the control from the
- widget.
-
- * gui/tasks-control.c (tasks_control_activate): clear the folder bar
- label. We could display something here at some point.
-
- * gui/dialogs/recurrence-page.glade: changed "_Add" to "A_dd", since
- we have an "_Actions" menu. (These also use Alt+key, right?)
-
- * gui/dialogs/event-page.glade:
- * gui/dialogs/event-page.c: added 'Show Time As' field, which is
- really the TRANSP property but with a better name!
- Also changed one of the "_Confidential" to "Con_fidential" since we
- already have "_Contacts" using the same 'C' key.
-
- * pcs/cal-backend-file.c (cal_backend_file_get_free_busy): skip
- events that are TRANSPARENT. Also added comment as this code looks
- inefficient.
-
- * cal-util/cal-component.c: removed stuff for comparing timezones.
-
- * gui/comp-util.c (cal_comp_util_compare_event_timezones): moved the
- above function here, and updated it to compare the UTC offsets of the
- times as well as the TZIDs.
-
-2001-08-06 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.glade: In process of fixing bug
- #6005. The "Calendar" page is now "Display", and it has no
- frames. The "Task list" page has colons between the labels and
- the color pickers, and it has no frame.
-
-2001-08-06 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client.c (destroy_wombat_client): added check for
- NULL pointers. Maybe fixes #5203 (I can't reproduce it, so I'm not
- sure)
-
-2001-08-03 Federico Mena Quintero <federico@ximian.com>
-
- * cal-client/query-listener.c (query_listener_stop_notification):
- New function; stops further notification from happening. This is
- needed since the listener is destroyed asynchronously from the
- Wombat and the corresponding CalQuery may already have died.
- (impl_notifyObjUpdated): Do not notify if requested.
- (impl_notifyObjRemoved): Likewise.
- (impl_notifyQueryDone): Likewise.
- (impl_notifyEvalError): Likewise.
-
- * cal-client/cal-query.c (cal_query_destroy): Use
- query_listener_stop_notification().
-
- * cal-client/cal-listener.c (cal_listener_destroy): Nullify the
- pointers to the callback functions.
-
- * gui/e-day-view.c (update_query): Commit our state of no longer
- having a query before unrefing it. We may reenter from the ORBit
- main loop and we *really* want this information to be committed.
-
- * gui/e-week-view.c (update_query): Likewise.
-
- * gui/calendar-model.c (update_query): Likewise.
-
- * gui/tag-calendar.c (tag_calendar_by_comp): Added a "clear_first"
- argument that indicates whether the ECalendar should be cleared of
- any marks first.
-
- * gui/calendar-commands.c (calendar_control_activate): Removed
- ifdefed-out view buttons code from the Gnomecal days.
-
- * gui/gnome-cal.c (client_categories_changed_cb): Merge the
- categories of the calendar and tasks clients so that we can
- display the categories in both sets.
- (gnome_calendar_construct): Connect to "categories_changed" on
- both clients.
- (gnome_calendar_on_date_navigator_selection_changed): Removed call
- to gnome_calendar_update_view_buttons().
- (gnome_calendar_update_view_buttons): Removed. We cannot have
- this until Bonobo supports radio toolbar items.
- (gnome_calendar_set_view_buttons): Removed.
- (gnome_calendar_dayjump): Do not use priv->day_button.
- (GnomeCalendarPrivate): Removed the {day,work_week,week,month}_button
- fields.
- (gnome_calendar_set_query): Start a retagging process of the date
- navigator so that it reflects the current query.
- (update_query): New function to restart a query for the date navigator.
- (initial_load): Use update_query() instead of tagging the date
- navigator directly.
- (gnome_calendar_on_date_navigator_date_range_changed): Likewise.
- (client_cal_opened_cb): Use update_query() instead of initial_load().
- (initial_load): Removed.
- (client_obj_updated_cb): Removed.
- (client_obj_removed_cb): Removed.
- (gnome_calendar_new_appointment_for): Set the default category of
- the new component.
- (search_bar_category_changed_cb): Set the default category for the
- calendar views.
-
- * gui/cal-search-bar.c (cal_search_bar_set_categories): Sort the
- categories before creating the menu.
-
- * gui/e-day-view.c (adjust_query_sexp): Return NULL instead of
- "#f" if the time range is not set yet.
- (update_query): Do not start a query if the time range is not set.
- (e_day_view_set_default_category): New function.
- (e_day_view_key_press): Set the default category on the new
- component.
-
- * gui/e-week-view.c (adjust_query_sexp): Analogous to the above.
- (update_query): Analogous to the above.
- (e_week_view_set_default_category): Analogous to the above.
- (e_week_view_key_press): Analogous to the above.
-
-2001-08-03 Federico Mena Quintero <federico@ximian.com>
-
- Fixes bug #1407.
-
- * gui/dialogs/cal-prefs-dialog.glade: Removed the alarm
- preferences page, since we decided it was unnecessary.
-
-2001-08-03 Zbigniew Chyla <cyba@gnome.pl>
-
- I18n fixes.
-
- * gui/dialogs/event-page.c (summary_changed_cb):
- Use e_dialog_editable_get instead of gtk_editable_get_chars (we need
- UTF-8 string).
-
- * gui/itip-utils.c:
- Added missing #include <config.h>
-
-2001-08-02 Jon Trowbridge <trow@ximian.com>
-
- * gui/Makefile.am: Added camel dependency (now needed by ebook).
-
-2001-08-01 Federico Mena Quintero <federico@ximian.com>
-
- * gui/calendar-model.c (calendar_model_value_is_empty): If the
- default category is the same as the value passed in to this
- function, return TRUE. This could be a hack or not, but it
- prevents two items from being added to the table if a category is
- selected.
-
- * gui/e-tasks.c (setup_widgets): Allow the search bar to shrink
- horizontally.
-
- * gui/dialogs/task-page.c (clear_widgets): Pass valid values to
- e_dialog_option_menu_set(); these need to come from the status map.
-
-2001-08-01 Damon Chaplin <damon@ximian.com>
-
- * cal-client/cal-client.c: removed debugging messages.
-
-2001-08-01 Federico Mena Quintero <federico@ximian.com>
-
- The calendar search bar widget now includes a drop-down menu of
- available categories.
-
- * pcs/query.c (func_has_categories): Handle one and only one #f
- value as meaning "unfiled", for components that have no categories
- at all.
-
- * pcs/cal-backend-file.c (open_cal): Duh, do not notify here about
- changed categories since at this point we don't have any clients
- bound to us yet.
- (create_cal): Likewise.
- (cal_backend_file_add_cal): Notify here.
-
- * gui/cal-search-bar.h (CalSearchBarClass): New signal
- "category_changed".
-
- * gui/cal-search-bar.c (cal_search_bar_construct): Add a drop-down
- menu for the list of categories.
- (search_option_items): Removed the "Has category" option, since we
- now have the drop-down menu instad and it would be confusing to
- have both options.
- (regen_query): Likewise. Also, this function is now the old
- cal_search_bar_query_changed() and is shared by that very function
- and by the callback from the drop-down menu.
- (notify_query_contains): Include the sub-sexp for the categories.
- (cal_search_bar_set_categories): New function.
- (cal_search_bar_get_category): New function.
- (categories_selection_done_cb): Emit the "category_changed" signal.
-
- * gui/e-tasks.c (obj_updated_cb): Removed function since it did
- not do anything; all updates are handled by the CalendarModel.
- (obj_removed_cb): Likewise.
- (ETasksPrivate): Removed the fields for the categories option
- menu, since now it is in the ESearchBar.
- (search_bar_sexp_changed_cb): Use calendar_model_set_query()
- directly here, as we do not need to frob the sexp anymore.
- (update_query): Removed.
- (client_categories_changed_cb): New callback.
- (search_bar_category_changed_cb): New callback.
- (e_tasks_new_task): Set the default category on the component to
- the one that is selected in the search bar.
- (e_tasks_on_filter_selected): Removed.
- (e_tasks_on_categories_changed): Removed.
- (e_tasks_rebuild_categories_menu): Removed.
- (e_tasks_add_menu_item): Removed.
- (e_tasks_setup_view_menus): Sanitized not to sink objects wildly.
- (e_tasks_discard_view_menus): New function.
-
- * gui/calendar-model.h (CalendarModelClass): Removed the
- "categories_changed" signal since this is handled in the Wombat
- now.
-
- * gui/calendar-model.c (calendar_model_get_categories): Removed.
- (calendar_model_set_value_at): Do not collect the categories.
- (query_obj_updated_cb): Likewise.
- (calendar_model_collect_categories): Removed.
- (calendar_model_set_default_category): Constify.
-
- * gui/tasks-control.c (tasks_control_deactivate): Call
- e_tasks_discard_view_menus().
-
- * gui/gnome-cal.c (search_bar_category_changed_cb): Set the
- default category for the task pad's model.
-
-2001-07-31 Federico Mena Quintero <federico@ximian.com>
-
- The Wombat now keeps track of which categories are present in the
- objects of a calendar. It will notify the clients of changes in
- this set. This is to make the category drop-down menus in the
- calendar/tasks views be always up to date.
-
- * idl/evolution-calendar.idl (Listener): Added a
- notifyCategoriesChanged() method. The Wombat now keeps track of
- the categories within a calendar.
-
- * cal-client/cal-listener.[ch]: Switched it to use BonoboXObject.
- Also added the notifyCategoriesChanged implementation.
-
- * cal-client/cal-client.[ch]: Added a "categories_changed" signal.
-
- * pcs/cal-backend-file.c: Maintain a list of the live categories.
- (update_categories_from_comp): New function to maintain the set of
- live categories.
- (add_component): Update the set of categories.
- (remove_component): Likewise.
- (open_cal): Notify about changes in the set of categories.
- (create_cal): Likewise.
- (cal_backend_file_update_objects): Likewise.
- (cal_backend_file_remove_object): Likewise.
- (notify_categories_changed): New function to notify the clients
- about the current set of categories.
-
- * pcs/cal.c (cal_notify_categories_changed): New function.
-
-2001-07-31 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.c (selection_received):
- * gui/e-week-view.c (selection_received): yes, set the end date, but
- correctly calculated, not by using the component's duration, which
- may not exist. Now really fixes #5836
-
-2001-07-31 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.c (selection_received):
- * gui/e-week-view.c (selection_received): don't set the end date
- for the pasted components, since it will be recalculated when the start
- date is set, thus keeping the same duration than the original
- cut/copied component. Fixes #5836
-
-2001-07-30 Damon Chaplin <damon@ximian.com>
-
- * gui/gnome-cal.c:
- * gui/calendar-commands.c (clear_folder_bar_label): started some code
- to show the currently displayed dates in the folder title bar.
- Unfinished.
-
- * gui/e-itip-control.c (set_date_label):
- * conduits/todo/todo-conduit.c (local_record_from_comp):
- * conduits/calendar/calendar-conduit.c (local_record_from_comp): free
- the CalComponentDateTimes. (Note the iTIP control needs updating for
- timezone support.)
-
- * cal-util/cal-component.c: Changed CalComponentDateTime so that the
- TZID is malloc'ed and freed rather than being a pointer to a static
- string. This was causing problems as sometimes we were freeing the
- string that was being pointed to, so we got corrupted TZIDs.
-
- * gui/comp-util.c (cal_comp_util_add_exdate): set TZID to NULL.
- DATE values do not have timezones.
-
- * gui/e-week-view.c:
- * gui/e-day-view.c: Moved 'Paste' after the New Appointment commands,
- since I think they are more commonly-used. Also added underlined
- accelerator keys.
-
- * gui/e-calendar-table.c: changed 'Edit this task' to 'Open' in the
- popup menu to be consistent with other folders, and separated from the
- clipboard commands. Also changed to use EPopupMenu so the accelerators
- work, and the masks may be useful at some point.
-
- * gui/dialogs/recurrence-page.c: use DATE values for UNTIL, since
- that makes it simpler. Fixes bug #5034.
-
- * gui/calendar-config.c (calendar_config_set_timezone): strdup the
- location string. Fixes bug #4990.
-
- * gui/tag-calendar.c (tag_calendar_cb): take 1 off iend as the times
- don't include the end time.
-
- * gui/e-week-view-layout.c (e_week_view_layout_event): fixed
- days_shown. Fixes bug #5709.
-
- * cal-client/cal-client.c (cal_client_get_timezone): took out some
- debugging messages.
-
-2001-07-30 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.glade: added Help button. Though of
- course it doesn't do anything yet.
-
-2001-07-30 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c: Mark strings for translation
-
-2001-07-30 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/client-test.c (cal_opened_cb): call
- cal_client_get_free_busy for testing the new method
-
- * pcs/cal-backend-file.c (cal_backend_file_get_free_busy): implemented
-
-2001-07-28 Federico Mena Quintero <federico@ximian.com>
-
- Fixes bug #5352.
-
- * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show): Added a
- `page' argument so that we can select which page to show when
- popping up the dialog.
- (cal_prefs_dialog_construct): Added the `page' argument as well.
- (cal_prefs_dialog_new): Likewise.
-
- * gui/calendar-commands.c (settings_cmd): Set the page to the main
- calendar settings one.
-
- * gui/tasks-control.c (tasks_control_settings_cmd): Implemented
- callback for the "Task Settings" command.
- (verbs): Added the "TasksSettings" verb.
- (pixmaps): Added an icon for the tasks settings command.
-
-2001-07-27 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (local_record_from_comp):
- recur is always in UTC
-
-2001-07-27 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c: handle timezones
- everywhere
- (get_timezone): new function to get a timezone based
- on a tzid
- (get_default_timezone): get default timezone
-
- * conduits/calendar/calendar-conduit.h: time zone field for the
- context
-
- * conduits/calendar/Makefile.am: link to bonobo conf
-
- * conduits/todo/todo-conduit.c: handle timezones
- everywhere
- (get_timezone): new function to get a timezone based
- on a tzid
- (get_default_timezone): get default timezone
-
- * conduits/todo/todo-conduit.h: time zone field for the
- context
-
- * conduits/todo/Makefile.am: link to bonobo conf
-
-2001-07-27 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
- initialize to NULL some pointers
-
- * e-calendar-table.c (selection_received): deal correctly with
- VCALENDAR objects
- (e_calendar_table_copy_clipboard): g_strdup the value returned by
- icalcomponent_get_as_ical_string
-
-2001-07-27 Federico Mena Quintero <federico@ximian.com>
-
- * gui/gnome-cal.c (gnome_calendar_set_query): Constify and set the
- query sexp on the task pad's model as well.
-
-2001-07-27 Federico Mena Quintero <federico@ximian.com>
-
- * gui/cal-search-bar.[ch]: New files with a derivative of
- ESearchBar that generates sexps for calendar queries directly.
-
- * gui/gnome-cal.c (setup_widgets): Use CalSearchBar instead of
- ESearchBar.
-
- * gui/e-calendar-table.h (ECalendarTable): Removed the ->colors
- array since it is handled by ETableExtras now.
-
- * gui/e-calendar-table.[ch]: Removed the subset_model. Now we use
- the live query facility to filter tasks. Removed the filter
- function stuff as well.
-
- * gui/e-tasks.c (e_tasks_construct): Use
- calendar_model_set_cal_client() directly instead of
- e_calendar_table_set_model().
- (setup_widgets): Create a calendar search bar for the tasks
- component.
- (search_bar_sexp_changed_cb): Set the query sexp on the table model.
- (e_tasks_on_filter_selected): Regenerate the query from the
- selected category and the current sexp.
- (update_query): New convenience function to recompute the real
- query sexp.
-
- * gui/gnome-cal.c (gnome_calendar_construct): Likewise.
-
- * gui/e-calendar-table.c (e_calendar_table_set_cal_client):
- Removed function; people are now supposed to get the model from
- the calendar table and operate on it.
-
- * gui/calendar-commands.c (verbs): Consistency fixes with the XML
- file.
- (pixmaps): Likewise.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Added
- cal-search-bar.[ch] to the list of sources.
-
-2001-07-20 Federico Mena Quintero <federico@ximian.com>
-
- * idl/evolution-calendar.idl (CompEditorFactory): New interface to
- a centralized factory for calendar component editors. Has
- editExisting() and editNew() methods to edit an existing component
- from a URI/UID pair, and to create a new component in a calendar
- that is in a particular URI, respectively.
-
- * gui/comp-editor-factory.[ch]: Implementation files for the
- component editor factory.
-
- * gui/GNOME_Evolution_Calendar.oaf.in: Added the CompEditorFactory
- stuff.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Added
- comp-editor-factory.[ch] to the list of sources.
-
-2001-07-26 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c (invite_entry_changed): when an entry
- has changed, iterate over the elements of the entry and add them
- to the list if need be
- (get_select_name_dialog): add a Chair Persons section
-
- * gui/itip-utils.c (itip_send_comp): send the empty string as
- subject if there is no summary
-
-2001-07-26 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c (itip_send_comp): send the empty string as
- subject if there is no summary
-
- * gui/dialogs/meeting-page.c (cleanup_attendees): free a list of
- attendees
- (meeting_page_fill_widgets): clean up attendee lists and fix typo
- (find_match): add ability to return pos of match
- (popup_delete_cb): if deletion happens, make sure to tidy up
- delegation chain
-
- * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct):
- use the destination rather than text property
- (e_delegate_dialog_get_delegate): ditto
- (e_delegate_dialog_new): take name/address pair for dialog default
-
- * gui/dialogs/e-delegate-dialog.h: update protos
-
- * gui/e-itip-control.c (clean_up): only unref the object if we
- have one
-
- * gui/itip-control-factory.c (stream_read): make sure we null
- terminate the final buffer
-
- * gui/itip-utils.c (itip_send_comp): strip the mailto: from the
- organizer address if necessary
-
-2001-07-26 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/recurrence-page.c (exception_select_row_cb): check that
- the row passed in is valid. Sometimes we get the "row-selected"
- signal for row 0 when there are no rows in the list. Fixes bug #4266.
-
- * cal-client/cal-client.c (cal_client_get_object): prefetch all the
- timezone data needed by the object, to try to avoid making Corba
- calls all over the place. They can cause problems because they call
- the GTK+ main loop recursively. This currently leads to an assertion
- failure in the GnomeCanvas occasionally.
-
-2001-07-25 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (e_itip_control_set_data): gracefully
- handle the lack of a method
-
-2001-07-25 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.c (selection_received_cb): check type of component
- before actually pasting.
- Deal with VCALENDAR components also (fixes bug #5140)
-
- * gui/e-week-view.c (selection_received_cb): ditto
-
- * cal-client/cal-client.c (cal_client_update_object): check the return
- value from cal_component_get_as_string and don't call
- GNOME_Evolution_Calendar_Cal_updateObjects if NULL
-
-2001-07-25 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/comp-editor.c (pixmaps): used the new print preview icon.
-
- * gui/print.c (range_selector_new): changed the 'Current day/week...'
- strings to 'Selected day/week...' to make a little less confusing.
- Fixes bug #5451.
-
-2001-07-25 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c (is_duplicate): see if the address is
- already in the list of attendees
- (duplicate_error): throw up an error dialog
- (popup_delegate_cb): if the attendee has already delegated, delete
- the old delegatee
- (value_at): cast to kill warnings
- (append_row): don't add the new attendee if they are already in
- the list
-
-2001-07-24 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/recurrence-page.c (get_exception_string): calculate
- tmp_tm.tm_wday ourselves. strftime has a habit of crashing if you
- have weird values here. I think this fixes bug #4574.
-
-2001-07-24 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c (value_at): stip the delto and
- delfrom
- (popup_delegate_cb): show a delegate dialog and add the new
- delegatee and update the delegator
- (add_section): listen for changes in a more direct manner
- (get_select_name_dialog): add_section now takes a limit argument
-
- * gui/dialogs/e-delegate-dialog.[hc]: New dialog to query the user
- for a person to delegate to
-
- * gui/dialogs/Makefile.am: build/install new files
-
- * gui/Makefile.am: add ldadd line for ebook
-
-2001-07-21 Damon Chaplin <damon@ximian.com>
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw): fixed
- the test to see whether we should draw the icons.
-
-2001-07-22 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c (get_local_file_name_for_folder_type):
- New helper function.
- (remove_folder): Add a @type arg and handle it, by deleting
- "tasks.ics" instead of "calendar.ics" if the type is "tasks". If
- the type is not "tasks" or "calendar", report an
- `UNSUPPORTED_TYPE' error.
- (xfer_folder): Likewise.
-
-2001-07-21 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c: Make folders of type "calendar" and
- "tasks" user-creatable by setting `user_creatable' to %TRUE in the
- `EvolutionShellComponentFolderType's.
-
-2001-07-19 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/event-editor.h (event_editor_update_widgets):
- Removed unused prototype.
-
- * gui/dialogs/task-editor.h (task_editor_update_widgets):
- Likewise.
-
-2001-07-19 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (clean_up): free various data related
- settings
- (destroy): use cleanup and unref the clients
- (e_itip_control_set_data): clean up before setting the data and
- store the timezones in a top level component
- (update_item): use cal_client_update_objects and our top level
- (including the timezones)
-
-2001-07-19 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/comp-editor.c (pixmaps):
- * gui/calendar-commands.c (pixmaps): updated to use new print icon.
-
-2001-07-17 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/recurrence-page.c (init_widgets): don't show the time
- in the EDateEdit widget for adding EXDATEs.
-
- * cal-util/cal-component.c (cal_component_alarm_set_trigger): don't
- set t.time.is_date to -1. It is a boolean flag, 0 or 1. We probably
- don't want a date value, so we leave it at 0.
-
-2001-07-18 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
- do not discard drawing icon if mask is NULL
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
- ditto
-
-2001-07-17 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (get_next): find the next displayable
- component
- (get_prev): find the previous displayable component
- (e_itip_control_set_data): use above
- (prev_clicked_cb): ditto
- (next_clicked_cb): ditto
-
-2001-07-17 Federico Mena Quintero <federico@ximian.com>
-
- Really fixes #4380. The previous fix was necessary but not
- sufficient; it worked for me because my system timezone happens to
- match the Evolution timezone --- if they don't match, the bug
- would persist. Not matching is *not* an error; it is just a
- matter of Unix sucking a lot and XST not being finished :)
-
- * cal-util/timeutil.c (time_to_gdate_with_zone): New function. We
- cannot use g_date_set_time() anymore because it does not take
- timezones into account.
-
- * gui/gnome-cal.c (get_days_shown): Use the function above.
-
- * gui/e-day-view.c (e_day_view_find_work_week_start): Likewise.
-
- * gui/e-week-view.c (e_week_view_set_selected_time_range): Likewise.
-
-2001-07-17 Jon Trowbridge <trow@ximian.com>
-
- * gui/dialogs/meeting-page.c (invite_entry_changed): Print
- a g_message when the list of invited people changes
- in the SelectNames control.
- (add_section): #if 0/#endif out some (broken?) code.
- (get_select_name_dialog): Listen for changes in the
- SelectNames control.
-
-2001-07-17 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/e-timezone-dialog.c (e_timezone_dialog_destroy): destroy
- the dialog widget here. Fixes bug #4198.
-
-2001-07-16 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/task-page.c (task_page_fill_widgets):
- * gui/dialogs/event-page.c (event_page_fill_widgets): try to use
- builtin timezones before getting them from the server. When creating
- new events/tasks the timezones may not be on the server.
-
- * gui/dialogs/event-page.c (event_page_fill_widgets): for all-day
- events we subtract a day from the end date rather than add it.
-
- * gui/dialogs/e-timezone-dialog.c (on_map_leave): ignore the event
- if it isn't a GDK_CROSSING_NORMAL event. For some reason we are getting
- leave events when the button is pressed, which meant that selecting
- timezones in the map didn't work.
-
- * gui/dialogs/comp-editor-util.c (comp_editor_dates):
- * gui/print.c (print_date_label): only free icaltimetype if not NULL.
-
-2001-07-12 Taylor Hayward <taylorhayward@yahoo.com>
-
- * gui/goto-dialog.glade:
- * gui/meeting-mockup.glade:
- * gui/alarm-notifyålarm-notify.glade:
- * gui/dialogs/alarm-page.glade:
- * gui/dialogs/meeting-page.glade:
- * gui/dialogs/recurrence-page.glade: Added missing underlined
- shortcuts.
-
-2001-07-12 JP Rosevear <jpr@ximian.com>
-
- * cal-util/cal-util.h: new proto
-
- * cal-util/cal-util.c (cal_util_new_top_level): standard place to
- get your top level calendar component
-
- * pcs/cal-backend-file.c (create_cal): use it
-
- * gui/itip-utils.c (itip_send_comp): ditto
-
- * gui/e-calendar-table.c (e_calendar_table_copy_clipboard): ditto
-
-2001-07-12 JP Rosevear <jpr@ximian.com>
-
- * gui/e-calendar-table.c (e_calendar_table_copy_clipboard): fix
- typo breaking compilation
-
- * gui/dialogs/meeting-page.c: fix include
-
- * gui/dialogs/Makefile.am: build select names idl here
-
- * gui/Makefile.am: remove select names compilation from here
-
-2001-07-12 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-details-page.c (task_details_page_set_dates):
- guard against infinite loops with the updating boolean, fixes 4270
-
-2001-07-12 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-calendar-table.c: added support for multiple selections in
- cut/copy/paste. Also, it's now ready for the
- s/update_object/update_objects change (I think)
-
-2001-07-11 Damon Chaplin <damon@ximian.com>
-
- * idl/evolution-calendar.idl: renamed updateObject to updateObjects
- and removed the UID argument, since it can add/update multiple objects
- at once. (It can't yet, but it will!)
-
- * pcs/cal.c:
- * pcs/cal-backend.[hc]:
- * pcs/cal-backend-file.c: renamed update_object to update_objects and
- got rid of the UID arg.
-
- * cal-client/cal-client.c (cal_client_update_objects): new function to
- add/update multiple objects in one go, i.e for iTIP and for importing
- calendars.
-
- * gui/print.c (print_date_label): fixed type bug.
-
- * gui/e-week-view.[hc]:
- * gui/e-week-view-event-item.c: draw the timezone icons if the event's
- DTSTART or DTEND is in a different timezone to the current one.
- Note that we may want to change this so it compares the UTC offsets
- rather than the TZIDs, since currently it will draw the icons for all
- events coming from iTIP requests from other clients.
-
-2001-07-11 Federico Mena Quintero <federico@ximian.com>
-
- Fixes bug #4380 as well as some leftovers from the days of struct
- tm and some uninitialized values.
-
- * gui/gnome-cal.c
- (gnome_calendar_on_date_navigator_selection_changed): Initialize
- the icaltimetype structures completely.
- (gnome_calendar_init): Do not reset priv->zone to NULL here, since
- it was set by gnome_calendar_update_config_settings() from
- setup_widgets().
-
- * gui/calendar-model.c (set_completed): Do not set is_daylight.
-
- * gui/e-day-view.c (e_day_view_convert_grid_position_to_time):
- Likewise.
-
- * gui/e-week-view.c (e_week_view_set_timezone): Likewise.
-
- * cal-util/cal-recur.c (generate_instances_for_chunk): Likewise,
- and initialize start_tt and end_tt completely.
-
- * cal-util/timeutil.c (time_year_begin_with_zone): Likewise.
- (time_month_begin_with_zone): Likewise.
- (time_week_begin_with_zone): Likewise.
- (time_day_begin_with_zone): Likewise.
- (time_day_end_with_zone): Likewise.
- (time_from_isodate): Likewise.
-
- * gui/dialogs/task-page.c (task_page_fill_component): Initialize
- icaltime before using it.
-
- * gui/dialogs/event-page.c (event_page_fill_component): Likewise.
-
- * gui/dialogs/recurrence-page.c (simple_recur_to_comp): Removed an
- unused icaltimetype.
-
- * gui/dialogs/task-details-page.c
- (task_details_page_fill_component): Initialize icaltime before
- using it.
-
-2001-07-11 JP Rosevear <jpr@ximian.com>
-
- * gui/component-factory.c: fix the calendar not exiting with a
- gross hack because i don't have time to fix the ref counting right
- now
-
-2001-07-11 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c: be careful about adding and
- stripping MAILTO:'s properly
-
- * gui/dialogs/meeting-page.etspec: add missing columns
-
- * gui/itip-utils.c (itip_strip_mailto): point to the real start of
- the email address
-
- * gui/itip-utils.h: add proto
-
- * gui/itip-control-factory.c: get rid of the my address property
-
- * gui/e-itip-control.c: use the users real identity to figure out
- which attendee they are
- (find_my_address): figure out who the user is among the attendees
-
- * gui/e-itip-control.h: remove protos
-
- * gui/dialogs/Makefile.am: extra dist etspecs
-
- * gui/Makefile.am: ditto
-
-2001-07-11 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/e-calendar-table.c: Added a hack to get the last
- string translated since xml-i18n-tools doesn't recognize
- _click-to-add-message="Click here to add a task".
-
-2001-07-10 Peter Williams <peterw@ximian.com>
-
- * gui/Makefile.am (BUILT_SOURCES): Move this higher so that
- Makefile properly depends on us. Fixes distcheck.
-
-2001-07-11 Jason Leach <jleach@ximian.com>
-
- [Fix bug #4389: ETableSpecification still in e-calendar-table.c
- file]
-
- * gui/e-calendar-table.etspec: New file containing the spec that
- was in e-calendar-table.c as a big string.
-
- * gui/e-calendar-table.c (e_calendar_table_init): Use the spec
- file instead of a string.
- (e_calendar_table_get_spec): Removed this function, we don't need
- it anymore.
-
- * gui/e-tasks.c (e_tasks_setup_menus): Don't load from string,
- from file instead.
-
- * gui/Makefile.am: Necessary changes to get the new .etspec file
- installed.
-
-2001-07-10 Jason Leach <jleach@ximian.com>
-
- [Fix bug #4388: ETableSpecification still in meeting-page.c file]
-
- * gui/dialogs/meeting-page.etspec: New file containing the spec
- that was previously in meeting-page.c as a string.
-
- * gui/dialogs/meeting-page.c: One line change to get it to use
- this spec file instead of a string.
-
- * gui/dialogs/Makefile.am: Necessary changes to get the new
- meeting-page.etspec installed.
-
-2001-07-10 Damon Chaplin <damon@ximian.com>
-
- * gui/calendar-model.c:
- * gui/e-calendar-table.c:
- * gui/e-day-view-main-item.c:
- * gui/e-day-view-top-item.c:
- * gui/e-day-view.[hc]:
- * gui/e-week-view.c:
- * gui/gnome-cal.c:
- * gui/print.c:
- * gui/dialogs/cal-prefs-dialog.c:
- * gui/dialogs/comp-editor-util.c:
- * gui/dialogs/event-page.c:
- * pcs/cal-backend-file.c:
- * pcs/query.c:
- * cal-util/cal-component.[hc]:
- * cal-util/cal-recur.c:
- * cal-util/timeutil.[hc]:
- * cal-client/cal-client.[hc]: more timezone updates. I'm pretty much
- done with the calendar code now, except for alarms and conduits,
- which Federico and JP know more about. And there are a couple of
- other minor things to fix. But it is still pretty buggy.
-
-2001-07-10 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c: Add popup support so you can delete
- users from the list
-
- * gui/dialogs/comp-editor.c (setup_widgets): fix typo
-
-2001-07-10 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): Handle the
- different alarm actions.
- (display_notification): Do the alarm notification dialog here.
-
- * gui/alarm-notify/alarm-notify-dialog.c (make_heading): Take in a
- CalComponentVType, not a whole component.
- (alarm_notify_dialog): Take in a CalComponentVType and the final
- message instead of generating it ourselves.
-
-2001-07-09 Federico Mena Quintero <federico@ximian.com>
-
- * pcs/cal-backend-file.c (generate_alarms_for_comp): Pass the
- parent vCalendar component as the timezone closure of
- cal_recur_generate_instances().
-
- * gui/dialogs/alarm-page.c (get_alarm_string): Make the string
- consistent with the option menu text.
- (get_alarm_string): Removed extra spaces from the last part of the
- alarm string.
-
-2001-07-09 Federico Mena Quintero <federico@ximian.com>
-
- * gui/e-day-view.c (e_day_view_key_press): Use
- e_utf8_from_gtk_event_key() so that we can input utf8 text
- properly.
- (e_day_view_cut_clipboard): Constify.
- (e_day_view_on_cut): Constify.
- (e_day_view_reshape_long_event): Remove unused variable.
-
- * gui/e-week-view.c (e_week_view_key_press): Use
- e_utf8_from_gtk_event_key() so that we can input utf8 text
- properly.
- (e_week_view_cut_clipboard): Constify.
- (e_week_view_on_cut): Constify.
-
- * cal-client/cal-client.c (cal_client_resolve_tzid_cb): Fix the
- prototype so that this matches CalRecurResolveTimezoneFn. Also
- renamed it so that it is clear that it is supposed to be a
- callback.
-
-2001-07-06 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c (init_widgets): connect to the entry
- not the combo
-
- * gui/dialogs/event-editor.c (set_menu_sens): set menu
- sensitivities based on whether or not the meeting page is shown
- (event_editor_init): call above
- (event_editor_edit_comp): ditto
- (schedule_meeting_cmd): ditto
-
- * gui/dialogs/comp-editor.h: new proto
-
- * gui/dialogs/comp-editor.c (comp_editor_set_ui_prop): new
- function to allow for set of ui props (esp. "sensitive")
-
-2001-07-06 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c (clear_widgets): actually clear some
- widgets and hide/show widgets in the default setup
- (meeting_page_destroy): destroy the address lists
- (meeting_page_fill_widgets): allow the user to select among their
- identities as a new organizer, or show the existing organizer as
- label
- (meeting_page_fill_component): set the "MAILTO:" bit of the
- organizer to match spec, set CN properly if we know it
- (get_widgets): load new widgets
- (other_clicked_cb): handle "Other Organizer" click
- (change_clicked_cb): handle "Change Organizer" click
- (init_widgets): listen for clicks on new buttons
-
- * gui/dialogs/comp-editor.c (comp_editor_remove_page): remove the
- page from our internal list and unref it
-
- * gui/itip-utils.c (itip_addresses_get): get the configure mail
- identities
- (itip_addresses_free): free a list of identities returned by
- itip_addresses_get
-
- * gui/itip-utils.h: remove obsolete protos, and new protos
-
- * gui/gnome-cal.html: Remove ancient file
-
-2001-07-04 Federico Mena Quintero <federico@ximian.com>
-
- Fixes bug #4018 and what would be the analogous bugs for the other
- component editors.
-
- * gui/dialogs/comp-editor-page.h (CompEditorPageClass): New
- virtual method "::focus_main_widget()".
-
- * gui/dialogs/comp-editor-page.c
- (comp_editor_page_focus_main_widget): New function.
-
- * gui/dialogs/comp-editor.c (comp_editor_append_page): If we are
- inserting the main page, ask it to focus its main widget.
-
- * gui/dialogs/alarm-page.c (alarm_page_focus_main_widget):
- Implemented.
-
- * gui/dialogs/event-page.c (event_page_focus_main_widget):
- Implemented.
- #include "e-util/e-categories-config.h".
-
- * gui/dialogs/meeting-page.c (meeting_page_focus_main_widget):
- Implemented.
-
- * gui/dialogs/recurrence-page.c
- (recurrence_page_focus_main_widget): Implemented.
-
- * gui/dialogs/task-details-page.c
- (task_details_page_focus_main_widget): Implemented.
-
- * gui/dialogs/task-page.c (task_page_focus_main_widget):
- Implemented.
-
-2001-07-04 Federico Mena Quintero <federico@ximian.com>
-
- * gui/calendar-commands.c (clear_folder_bar_label): New function.
- (calendar_control_activate): Clear the folder bar label; we really
- don't have anything interesting to display.
-
-2001-07-03 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/meeting-page.c: Add new columns for information
- specification
- (meeting_page_destroy): save the table state
- (build_etable): load new table state
-
- * gui/dialogs/task-editor.c (task_editor_destroy): unref pages
-
- * gui/dialogs/event-editor.c (event_editor_destroy): unref pages
-
- * gui/dialogs/comp-editor.c (setup_widgets): kill warning
- (comp_editor_append_page): ref page passed in
- (close_dialog): unref pages
-
-2001-07-03 Damon Chaplin <damon@ximian.com>
-
- * gui/e-day-view.c (query_obj_updated_cb): fix warning, and added
- some debug messages.
-
- * gui/dialogs/comp-editor-util.c (write_label_piece):
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw): call mktime()
- to set the weekday, though this is a temporary fix.
-
-2001-07-03 Damon Chaplin <damon@ximian.com>
-
- * pcs/cal-backend.[hc]: added virtual method to get a VTIMEZONE
- component given a TZID. We need this to resolve TZIDs when expanding
- an event using cal_recur_generate_instances() in query.c.
-
- * pcs/cal-backend-file.c (cal_backend_file_get_timezone): implemented
- virtual method.
- (cal_backend_file_update_object): fixed bug, kind -> child_kind.
-
- * pcs/query.c (func_occur_in_time_range): use the virtual method for
- resolving TZIDs. The other way didn't work anyway, as we didn't have
- the entire VCALENDAR with VTIMEZONEs in it.
-
- * gui/dialogs/recurrence-page.c (init_widgets):
- (make_ending_until_special): moved the call to
- e_date_edit_set_get_time_callback() from init_widgets to
- make_ending_until_special(), since that is where the widget gets
- created.
-
- * gui/e-timezone-entry.c (e_timezone_entry_set_timezone): handle zone
- being NULL.
-
-2001-07-02 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/alarm-options.[ch]: New files with the alarm options
- dialog; this configures the repeat/duration properties and the
- options specific to each alarm action type.
-
- * gui/dialogs/alarm-page.c (AlarmPagePrivate): Added the alarm
- options button. Also, keep an alarm structure which we are
- editing and an alarm options dialog.
- (init_widgets): Connect to the options button.
- (add_clicked_cb): Clone the component we are editing instead of
- creating a new one so that we preserve the data from the alarm
- options dialog.
- (button_options_clicked_cb): Pop up the alarm options dialog.
-
- * cal-util/cal-component.c (cal_component_alarm_new): Doh,
- initialize the other fields in the new alarm.
-
-2001-07-03 Damon Chaplin <damon@ximian.com>
-
- * cal-client/cal-client.[hc]
- * cal-util/cal-component.c
- * cal-util/cal-recur.[hc]
- * cal-util/test-recur.c
- * cal-util/timeutil.c
- * gui/calendar-config.c
- * gui/calendar-model.[hc]
- * gui/comp-util.[hc]
- * gui/e-calendar-table.c
- * gui/e-day-view-main-item.c
- * gui/e-day-view-top-item.c
- * gui/e-day-view.[hc]
- * gui/e-itip-control.c
- * gui/e-timezone-entry.[hc]
- * gui/e-week-view.[hc]
- * gui/gnome-cal.[hc]
- * gui/goto.c
- * gui/tag-calendar.[hc]
- * gui/dialogs/cal-prefs-dialog.c
- * gui/dialogs/comp-editor-page.[hc]
- * gui/dialogs/comp-editor-util.[hc]
- * gui/dialogs/comp-editor.c
- * gui/dialogs/e-timezone-dialog.[hc]
- * gui/dialogs/event-page.c
- * gui/dialogs/meeting-page.c
- * gui/dialogs/recurrence-page.c
- * gui/dialogs/task-details-page.c
- * gui/dialogs/task-details-page.glade
- * gui/dialogs/task-page.c
- * idl/evolution-calendar.idl
- * pcs/cal-backend-file.c
- * pcs/cal-backend.c
- * pcs/cal-backend.h
- * pcs/cal.c
- * pcs/query.c: timezone changes everywhere. There's still quite a
- few things to update, and its not working well at present.
-
-2001-07-02 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-commands.c (publish_freebusy_cmd): publish
- free/busy information for the currently viewed time range
-
-2001-07-02 Christopher James Lahey <clahey@ximian.com>
-
- * gui/Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS).
- (evolution_calendar_LDADD): Added $(BONOBO_CONF_LIBS).
-
-2001-07-02 Federico Mena Quintero <federico@ximian.com>
-
- Support for ATTACH, DESCRIPTION properties in alarm components.
-
- * cal-util/cal-component.c (scan_alarm_property): Deal with
- ATTACH, DESCRIPTION properties.
- (cal_component_alarm_get_attach): New function. Libical is
- actually bogus; supposedly icalattachtype structures are
- refcounted but the property functions return them by value.
- (cal_copmonent_alarm_set_attach): New function.
- (cal_component_alarm_get_description): New function.
- (cal_component_alarm_set_description): New function.
-
-2001-07-02 Federico Mena Quintero <federico@ximian.com>
-
- Support for repeat/duration properties in alarm components.
-
- * cal-util/cal-component.h (CalAlarmRepeat): New structure that
- pairs the repeat/duration values of an alarm component, which must
- be set both together or not set at all.
-
- * cal-util/cal-component.c (CalComponentAlarm): Added fields for
- the repeat and duration properties.
- (scan_alarm_property): Scan the DURATION and REPEAT properties.
- (make_alarm): Nullify/initialize all the fields in the alarm.
- (cal_component_alarm_get_repeat): New function.
- (cal_component_alarm_set_repeat): New function.
-
- * gui/dialogs/alarm-page.glade: Changed the label of display
- alarms from "Show a dialog" to "Display a message".
-
-2001-07-02 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-details-page.c
- (task_details_page_fill_widgets): fill in delegated from field
-
-2001-07-02 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/dialogs/task-page.c (categories_clicked_cb):
- * gui/dialogs/event-page.c (categories_clicked_cb): use the new
- self-contained e_categories_config_open_dialog_for_entry() function
-
- * gui/e-week-view-event-item.c (e_week_view_item_draw_icons):
- * gui/e-day-view-top-item.c (e_day_view_reshape_long_event):
- (e_day_view_reshape_day_event): ditto
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
- use e_categories_config_get_icon_for() to retrieve the icon
- associated with each category
-
-2001-07-02 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (send_freebusy): implement
-
- * cal-util/cal-component.c (set_attendee_list): add the delto
- property rather than the delfrom property twice
-
- * gui/dialogs/task-editor.c (task_editor_edit_comp): show
- delegation info if appropriate
- (delegate_task_cmd): delegate command
- (cancel_task_cmd): cancel command
- (refresh_task_cmd): refresh command
-
- * gui/dialogs/task-details-page.c: Load new widgets
- (task_details_page_show_delegation): show/hide delegation info widgets
-
- * gui/dialogs/task-details-page.h: new proto
-
- * gui/dialogs/event-editor.c (event_editor_edit_comp): free
- attendee list when finished
-
- * gui/dialogs/comp-editor.c (setup_widgets): explicitly show the
- widgets, update pixmaps after the verbs have been added
- (comp_editor_focus): don't do a show all
-
-2001-07-02 Federico Mena Quintero <federico@ximian.com>
-
- Fixes bug #1406.
-
- * gui/calendar-config.c (config_read): Handle the options for the
- task list colors.
- (calendar_config_write): Ditto.
- (calendar_config_get_tasks_due_today_color): New function.
- (calendar_config_set_tasks_due_today_color): New function.
- (calendar_config_get_tasks_overdue_color): New function.
- (calendar_config_set_tasks_overdue_color): New function.
- (calendar_config_configure_e_calendar_table): Use
- e_table_model_changed() for the colors.
-
- * gui/dialogs/cal-prefs-dialog.glade: Updated the options for the
- task list and alarms.
-
- * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show_config):
- Update the task list settings.
- (cal_prefs_dialog_update_config): Ditto.
-
- * gui/calendar-model.c (get_color): Deal with tasks for today as
- well as overdue tasks. Make it cleaner, even though we have to
- duplicate a chunk of is_overdue().
-
- * gui/calendar-commands.c (preferences_cmd): Renamed from
- properties_cmd().
-
-2001-07-01 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view-main-item.c
- (e_day_view_main_item_draw_day_event): draw icons per category
-
- * gui/e-day-view-top-item.c
- (e_day_view_top_item_draw_long_event): draw icons per category
-
- * gui/e-day-view.c
- (e_day_view_reshape_long_event):
- (e_day_view_reshape_day_event): calculate space for category icons
-
- * gui/e-week-view-event-item.c
- (e_week_view_event_item_draw_icons): draw icons per category
-
- * gui/e-week-view.c
- (e_week_view_reshape_event_span): calculate space for category icons
-
-2001-07-01 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.c (e_day_view_*_clipboard): fixed clibpoard
- command activation from the menu entries. CTRL-C and CTRL-X don't
- work though, since it seems the key presses are being captured by
- the text item
-
- gui/e-week-view.c (e_week_view_*_clipboard): ditto
-
-2001-06-30 Federico Mena Quintero <federico@ximian.com>
-
- * gui/e-week-view-event-item.c
- (e_week_view_event_item_button_press): Only set the
- pressed_event_num and pressed_span_num if button 1 was pressed.
- Fix up return values a bit. This fixes bug #3780.
-
- * gui/gnome-cal.c
- (gnome_calendar_on_date_navigator_selection_changed): Doh, the
- call for the day view was supposed to be
- gnome_calendar_set_view(), not set_view(). Fixes bug #3779.
-
-2001-06-30 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/tasks-control.c (tasks_control_cut_cmd): call
- e_calendar_table_cut_clipboard with the correct object
-
- (tasks_control_copy_cmd): ditto
-
- (sensitize_commands): sensitize clipboard commands based on the
- number of selected tasks
-
-2001-06-28 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-calendar-table.[ch] (e_calendar_table_cut_clipboard),
- (e_calendar_table_copy_clipboard),
- (e_calendar_table_paste_clipboard): new functions for allowing the
- execution of clipboard-related commands
-
- * gui/tasks-control.c (tasks_control_cut_cmd),
- (tasks_control_copy_cmd), (tasks_control_paste_cmd): added
- callbacks for the new clipboard-related menu entries
-
-2001-06-28 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/component-factory.c: removed not-uses-anymore parameter in
- call to evolution_shell_component_new
-
- * gui/gnome-cal.[ch] (gnome_calendar_cut_clipboard),
- (gnome_calendar_copy_clipboard), (gnome_calendar_paste_clipboard):
- new functions for allowing execution of clipboard-related commands
-
- * gui/e-day-view.[ch] (e_day_view_cut_clipboard),
- (e_day_view_copy_clipboard), (e_day_view_paste_clipboard): ditto
-
- * gui/e-week-view.[ch] (e_week_view_cut_clipboard),
- (e_week_view_copy_clipboard), (e_week_view_paste_clipboard): ditto
-
-2001-06-27 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/calendar-commands.c (cut_event_cmd),
- (copy_event_cmd), (paste_event_cmd): added callbacks for the new
- clipboard-related menu entries
-
-2001-06-27 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c (factory_fn): Pass NULL as the
- @external_uri_schemas argument to
- `evolution_shell_component_new()'.
-
-2001-06-27 Peter Williams <peterw@ximian.com>
-
- * conduits/*/Makefile.am (INCLUDES): More srcdir != builddir
- fixes.
-
-2001-06-27 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-calendar-table.c (selection_received): fixed
- (e_calendar_table_on_copy): fixed
-
-2001-06-26 Federico Mena Quintero <federico@ximian.com>
-
- * idl/evolution-calendar.idl (CalAlarmInstance): Renamed the occur
- field to occur_start; added an occur_end field. This way we can
- present the complete times for the occurrence from the server.
-
- * cal-util/cal-component.h (CalAlarmInstance): Likewise.
-
- * pcs/cal-backend-file.c (add_alarm_occurrences_cb): Fill the new
- fields appropriately.
- (generate_absolute_triggers): Likewise; we use -1 in case the
- component has no DTSTART or DTEND because there are no meaningful
- occurrence dates here.
- (fill_alarm_instances_seq): Fill in the new fields.
-
- * cal-client/cal-client.c (build_alarm_instance_list): Likewise.
-
- * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog):
- Take in both the occur_start and occur_end times.
-
- * gui/goto.c (goto_dialog): Free the dlg structure on the bail-out
- cases.
-
- * gui/dialogs/event-page.c (get_widgets): Do not assert if we
- cannot find the main widget; just return FALSE.
-
- * gui/dialogs/alarm-page.c (get_widgets): Likewise.
-
- * gui/dialogs/task-page.c (get_widgets): Likewise.
-
- * gui/dialogs/task-details-page.c (get_widgets): Likewise.
-
- * gui/dialogs/meeting-page.c (get_widgets): Likewise.
-
-2001-06-25 Peter Williams <peterw@ximian.com>
-
- * conduits/calendar/Makefile.am (INCLUDES): Fixes for
- srcdir != builddir. Link to the static libwombat.
-
- * conduits/todo/Makefile.am (INCLUDES): Here too.
-
-2001-06-24 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/notify-main.c (main): Initialize libglade.
-
- * pcs/cal-backend-file.c (compute_alarm_range):
- icaldurationtype_as_int() will now return a negative value if
- dur->is_neg is true, so we need to flip the sign of some
- operations here.
- (add_alarm_occurrences_cb): Likewise.
-
- * pcs/cal-backend-db.c (compute_alarm_range): Likewise.
- (add_alarm_occurrences_cb): Likewise.
-
-2001-06-24 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/alarm-notify.c: Converted to use BonoboXObject.
-
- * gui/gnome-cal.c (gnome_calendar_open): Ask the alarm
- notification service to add the calendar and tasks URIs.
- (add_alarms): New function.
-
- * gui/alarm-notify/notify-main.c (main): Doh, fixed typo in the
- OAFIID.
- (main): Initialize and shut down gnome-vfs.
-
- * gui/Makefile.am (IDLS): Added evolution-calendar.idl, sigh.
- (evolution_calendar_SOURCES): Added the files generated from the IDL.
-
- * gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): New function
- used when an alarm is triggered.
-
- * gui/dialogs/Makefile.am: Removed the alarm-notify-dialog files;
- they are now in gui/alarm-notify.
-
- * gui/alarm-notify/Makefile.am: Added the alarm-notify-dialog
- files.
-
- * pcs/cal.c (cal_forget_password): This was incorrectly named
- cal_client_forget_password(); renamed it.
-
- * gui/main.c (main): Initialize and shut down gnome-vfs.
-
-2001-06-23 Federico Mena Quintero <federico@ximian.com>
-
- * gui/e-calendar-table.c (task_compare_cb): New function to
- compare tasks like the Pilot task list.
-
- * cal-util/cal-component.h (CalComponentField): Added a
- semi-hackish CAL_COMPONENT_FIELD_COMPONENT. In the ETable model,
- it is intended to return a pointer to the component itself.
-
- * gui/calendar-model.c (calendar_model_value_at): Return the
- component itself for CAL_COMPONENT_FIELD_COMPONENT. Be more
- paranoid about invalid columns.
- (calendar_model_set_value_at): Be more paranoid about invalid
- columns.
- (calendar_model_duplicate_value): Ref the component field.
- (calendar_model_initialize_value): Deal with the component field.
- (calendar_model_value_is_empty): Likewise.
- (calendar_model_value_to_string): Likewise.
-
-2001-06-22 Jeffrey Stedfast <fejj@ximian.com>
-
- * gui/Makefile.am: Added itip-control-factory.* to the build.
-
-2001-06-22 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal.[ch] (cal_get_password): new function for the backends to
- be able to call the getPassword method on the associated
- WombatClient
- (cal_forget_password): ditto for the forgetPassword method
-
-2001-06-22 Rodrigo Moya <rodrigo@ximian.com>
-
- * idl/evolution-calendar.idl: changed getFreeBusy method to return
- a CalObj instead of a sequence
-
- * cal-client/cal-client.[ch] (cal_client_get_free_busy): changed it to
- work like the cal_client_get_object function, that is, it does not
- return anymore a list of UIDs, but a CalClientGetStatus code, and
- added a new parameter for the caller to get the component back when
- this function returns
- (cal_client_open): aggregate WombatClient interface to the CalListener
- being used
-
- * pcs/cal-backend-db.c, pcs/cal-backend-file.c (..get_free_busy): set
- return value to "char *" as it will be returning a FreeBusy object,
- and not a list of UIDs
-
- * pcs/cal-backend.[ch] (cal_backend_get_free_busy): ditto
-
- * pcs/cal.c (cal_construct): queryInterface on the listener to obtain
- the WombatClient interface
-
-2001-06-21 JP Rosevear <jpr@ximian.com>
-
- * gui/main.c (main): update to new call
-
- * gui/e-itip-control.[hc]: break the widget bits out on their own
- into a proper object, basic stuff seems to be working again
-
- * gui/itip-control-factory.c: put the control specific bits here
- from e-itip-control.c
-
- * gui/itip-control-factory.h: new header
-
-2001-06-21 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/Makefile.am (gladedir): add include path
-
- * gui/dialogs/comp-editor.c (setup_widgets): remove buttons and
- use evolution's standard ui config
-
- * gui/print.c (print_comp_item): print description text
-
-2001-06-21 Rodrigo Moya <rodrigo@ximian.com>
-
- * cal-client/cal-client.[ch]:
- (cal_client_init): create a WombatClient when creating a CalClient
- object, so that we can receive authentication notifications from
- the wombat
- (cal_client_destroy): destroy the WombatClient object when dying
- (cal_client_set_auth_func): new function to set the authentication
- function to be called when a password is required by the calendar
- server (through the WombatClient object)
- (cal_client_get_free_busy): new function for calling the new IDL
- method Cal::getFreeBusy
-
- * gui/alarm-notify/Makefile.am: add libwombat to LDADD
-
- * gui/Makefile.am: add libwombat to LDADD
-
-2001-06-20 Dave Camp <dave@ximian.com>
-
- * gui/itip-utils.c (itip_send_comp): Changed attach_data
- to be a GNOME_Evolution_Composer_AttachmentData rather than a
- CORBA_char*.
-
-2001-06-20 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor.c (print_cmd): print menu command
- (print_preview_cmd): ditto for print preview
- (print_setup_cmd): ditto for print setup
- (comp_editor_set_cal_client): listen for updated and removed
- signals
- (obj_updated_cb): if the item changes else where, query the user
- for the course of action
- (obj_removed_cb): ditto for removal
-
- * gui/print.c (print_setup): rudimentary page setup support
- (print_comp): rudimentary individual event/task printing support
-
- * gui/print.h: new protos
-
- * gui/dialogs/changed-comp.[hc]: dialog to query the user about
- what to do when a item is changed elsewhere
-
- * gui/dialogs/Makefile.am: build new files
-
- * gui/dialogs/send-comp.c (send_component_dialog): remove useless
- assignment
-
-2001-06-20 Rodrigo Moya <rodrigo@ximian.com>
-
- * idl/evolution-calendar.idl: added getFreeBusy method
-
- * pcs/cal.c (impl_Cal_get_free_busy): implementation of the new
- getFreeBusy added method
-
- * pcs/cal-backend.[ch]: added new virtual method to the CalBackend
- class (get_free_busy)
-
- * pcs/cal-backend-db.c (cal_backend_db_get_free_busy): new function,
- not implemented yet
-
- * pcs/cal-backend-file.c (cal_backend_file_get_free_busy): new funtion,
- not implemented yet
-
-2001-06-20 Damon Chaplin <damon@ximian.com>
-
- * gui/calendar-config.[hc]:
- * gui/gnome-cal.[hc]:
- * gui/tasks-control.c (tasks_control_activate):
- * gui/calendar-commands.c (calendar_control_activate): moved the
- function to check for a default timezone to calendar-config.c, and
- also used it in the tasks control.
-
- * gui/dialogs/e-timezone-dialog.h: #include <gtk/gtkwidget.h> fix.
-
-2001-06-20 Damon Chaplin <damon@ximian.com>
-
- * gui/calendar-commands.c (calendar_control_activate):
- * gui/gnome-cal.[hc]: added code to show the timezone dialog if the
- user hasn't set a default timezone yet.
-
- * gui/dialogs/e-timezone-dialog.c (e_timezone_dialog_add_timezones):
- set the "None" item string before adding it to the combo, to stop the
- combo putting "None" in the entry initially.
-
-2001-06-19 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-calendar-table.[ch]: added cut/copy/paste support. It works
- with single selections (a single component selected) and with
- multiple ones (several components selected)
-
-2001-06-19 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/event-page.c: if the timezones of the start and end of
- the event are the same, then if the start timezone is changed we
- change the end timezone as well, since that is what most users will
- want.
-
-2001-06-19 Damon Chaplin <damon@ximian.com>
-
- * pcs/cal.c:
- * idl/evolution-calendar.idl:
- * cal-client/cal-client.[hc]: removed stuff to get builtin timezone
- info from the server.
-
-2001-06-19 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/cal-prefs-dialog.c: added a 'Time zone' setting. Also
- rearranged a little, adding a new 'General' page, since we had too
- many settings on the 'Calendar' page.
-
- * gui/e-timezone-entry.[hc]:
- * gui/dialogs/e-timezone-dialog.[hc]:
- * gui/dialogs/comp-editor.c:
- * gui/dialogs/comp-editor-page.[hc]:
- * gui/dialogs/event-page.c:
- * gui/dialogs/task-details-page.c:
- * gui/dialogs/task-page.c: removed CalClient stuff. The timezone dialog
- now uses the timezone data directly from the client's libical library.
-
-2001-06-19 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-editor.c (task_editor_init): add ui
- (forward_cmd): implement forward command
-
- * gui/dialogs/comp-editor.c (save_as_ok): bug fix, seems to work
- now
-
-2001-06-19 JP Rosevear <jpr@ximian.com>
-
- * gui/control-factory.c (control_factory_init): add auto exit unref
-
- * gui/component-factory.c (destroy_cb): destroy our selves if we
- have no more shells
- (component_factory_init): add auto exit unref
-
-2001-06-19 JP Rosevear <jpr@ximian.com>
-
- * gui/Makefile.am: don't compile or install the old meeting edit
- stuff
-
- * gui/e-week-view.c: ditto
-
- * gui/e-day-view.c: Remove scheduling menu option
-
-2001-06-19 JP Rosevear <jpr@ximian.com>
-
- * gui/itip-utils.c: add some needed commas
- (itip_send_comp): if publishing, don't set the to list and show
- the message. unless publishing, just send the email
-
- * gui/Makefile.am: remove typo
-
-2001-06-19 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/send-comp.c: itip/imip send dialog
-
- * gui/dialogs/send-comp.h: new proto
-
- * gui/dialogs/recurrence-page.c (recurrence_page_set_dates): only
- use the weekday picker if visible
-
- * gui/dialogs/meeting-page.c: just show the meeting list
-
- * gui/dialogs/event-editor.c (event_editor_edit_comp): remove the
- meeting page if no attendees
- (schedule_meeting_cmd): schedule a meeting menu item
- (refresh_meeting_cmd): refresh meeting request menu item
- (cancel_meeting_cmd): ditto for cancel
- (forward_cmd): send as attachment
-
- * gui/dialogs/comp-editor.c (comp_editor_remove_page): remove page
- from dialog
- (comp_editor_show_page): show a given page
- (comp_editor_get_current_comp): return a cal component
- representing the current widget state
- (comp_editor_save_comp): save the cal component
- (comp_editor_delete_comp): delete the cal component
- (comp_editor_send_comp): send the cal component
- (comp_editor_merge_ui): merge xml in to the bonobo gui
- (setup_widgets): use a bonobo window instead of a gtk window, add menus again
- (save_as_cmd): save to file on disk - still broken
- (save_close_cmd): close menu command
- (save_close_cmd): save and close menu command
-
- * gui/dialogs/comp-editor.h: new protos
-
- * gui/dialogs/cancel-comp.c (cancel_component_dialog): itip/imip
- cancellation dialog
-
- * gui/dialogs/cancel-comp.h: new proto
-
- * gui/dialogs/Makefile.am: build new files
-
- * gui/dialogs/comp-editor-page.c
- (comp_editor_page_notify_needs_send): emit needs_send signal
-
- * gui/dialogs/comp-editor-page.h: new signal protos
-
- * gui/itip-utils.c (itip_send_comp): new function to send cal
- components
-
- * gui/itip-utils.h: new proto
-
- * gui/e-itip-control.c (pstream_load): trim using cal-component
- wrapper stuff
- (accept_button_clicked_cb): use itip_send_comp
- (tentative_button_clicked_cb): ditto
- (decline_button_clicked_cb): ditto
-
- * gui/Makefile.am: compile select name idl stuff
-
- * cal-util/cal-component.c (cal_component_get_organizer): get the organizer
- (cal_component_set_organizer): set the organizer
- (cal_component_get_recurid): get the recurrence id
- (cal_component_set_recurid): set the recurrence id
- (set_attendee_list): actually set the attendee list
- (get_attendee_list): build the attendee list
-
- * cal-util/cal-component.h: new protos
-
-2001-06-19 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/task-details-page.glade:
- * gui/dialogs/task-page.glade:
- * gui/dialogs/event-page.glade: added timezone fields. Also moved the
- 'All Day' flag into an alignment so it doesn't mess up the height of
- the other widgets.
-
- * gui/dialogs/task-details-page.c:
- * gui/dialogs/task-page.c:
- * gui/dialogs/event-page.c: added code to handle the timezone fields.
- This still needs to be hooked up when the libical code is finished.
-
- * gui/dialogs/e-timezone-dialog.c (on_map_leave): new function to
- clear the preview label and turn off the highlighted point on the
- map when you move the mouse outside it.
- (find_selected_point): new function to try to find the point
- corresponding to the text in the combo.
- (on_combo_changed): call the above function to update the selected
- point.
- (on_map_leave): turn off the preview point & label when the mouse
- leaves the map.
- (e_timezone_dialog_set_cal_client): changed it so that selecting "None"
- clears the entry.
-
- * gui/dialogs/comp-editor-page.[hc]: added set_cal_client() virtual
- method since some pages need to access the CalClient to get timezone
- information. Also added comp_editor_page_set_cal_client() to call
- the virtual method.
-
- * gui/dialogs/comp-editor.c (comp_editor_set_cal_client): called
- comp_editor_page_set_cal_client() on each page.
-
- * gui/calendar-config.c: added functions to get & set the timezone.
-
-2001-06-18 Eskil Heyn Olsen <eskil@eskil.dk>
-
- * conduits/calendar/calendar-conduit.c: (comp_from_remote_record),
- (check_for_slow_setting), (conduit_get_gpilot_conduit):
- * conduits/todo/todo-conduit.c: (check_for_slow_setting),
- (conduit_get_gpilot_conduit):
- Tweaked for some gnome-pilot api changes
-
-2001-06-15 Federico Mena Quintero <federico@ximian.com>
-
- * gui/calendar-view.[ch]: New files with the generic calendar view
- object. It sucks that we have to implement at least two classes
- to define a GalView and its factory.
-
- * gui/calendar-view-factory.[ch]: New files; factory for calendar
- views.
-
- * gui/gnome-cal.h (GnomeCalendarViewType): Moved from gnome-cal.c
- and renamed from ViewType. We no longer use strings to identify
- the view types.
-
- * gui/gnome-cal.c (gnome_calendar_get_view_type): New function.
- (set_view): Renamed from gnome_calendar_set_view_internal().
- (gnome_calendar_set_query): Made public; renamed from set_query().
- (gnome_calendar_setup_view_menus): New function to set up the view
- collection and the GalViewMenus.
- (gnome_calendar_discard_view_menus): New function to discard them.
-
- * gui/calendar-commands.c (calendar_control_activate): Set up the
- GalView menus.
- (calendar_control_deactivate): Discard the GalView menus.
-
- * gui/e-day-view.c: #include <gtk/gtkinvisible.h>
-
- * gui/dialogs/comp-editor.c (comp_editor_get_type): The type info
- structure should be static.
-
-2001-06-15 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.c (selection_received): generate a new UID
- when pasting
-
- * gui/e-week-view.c (selection_received): ditto
-
-2001-06-15 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.c (selection_received): finished implementation
- of Paste stuff
-
- * gui/e-week-view.c (selection_received): ditto
-
-2001-06-14 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.[ch]: added popup menu items for cut/copy/paste
-
- * gui/e-week-view.[ch]: ditto
-
-2001-06-14 Damon Chaplin <damon@ximian.com>
-
- * gui/e-timezone-entry.[hc]: new widget to enter a timezone.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): added the above.
- * gui/Makefile.am (evolution_calendar_LDADD): had to move
- libcal-dialogs.a above libmiscwidgets.a to get it to compile.
-
-2001-06-14 Damon Chaplin <damon@ximian.com>
-
- * gui/dialogs/e-timezone-dialog.[hc]:
- * gui/dialogs/e-timezone-dialog.glade: new dialog for setting the
- time zone.
-
- * gui/dialogs/Makefile.am: added timezone dialog files.
-
- * idl/evolution-calendar.idl: added CalTimezoneInfo struct and seq,
- and getBuiltinTimezoneInfo method.
-
- * pcs/cal.c (impl_Cal_get_builtin_timezone_info): implemented method.
- (cal_class_init): added method to epv.
-
- * cal-client/cal-client.c (struct CalClientPrivate): added
- timezone_info array to contain cached info on builtin timezone city
- names and coordinates.
- (cal_client_get_builtin_timezone_info): new function to get the info
- about builtin timezones.
-
- * cal-client/cal-client.h: added CalTimezoneInfo struct, to contain
- the city names and coords of the builtin timezones.
-
-2001-06-13 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor-util.c (comp_editor_date_label): remove
- unnecessary space
-
- * gui/dialogs/task-page.c (task_page_set_summary): indicate we are
- updating, Fixes #3307
-
-2001-06-13 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-details-page.c (task_details_page_set_dates):
- set the completed time in the date editor if appropriate
-
- * gui/dialogs/task-page.c (task_page_set_dates): if we are
- updating, return
- (complete_date_changed): don't returns if we are updating - the
- guards are done in the calling function
- (status_changed): indicate when we are updating and when we are
- finished, round the completion time to the nearest minute
- (percent_complete_changed): indicate when are updating and when we
- are finished
- (percent_complete_changed): notify of the date change after the
- option menu is updated
-
-2001-06-11 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/e-day-view.[ch]: added cut&paste support, by using a GtkInvisible
- widget to manage the clipboard selections.
-
- * gui/e-week-view.[ch]: ditto
-
-2001-06-08 Iain Holmes <iain@ximian.com>
-
- * gui/component-factory.c: Removed the executive-summary includes.
- (component_factory_init): Don't init the summary factory.
-
- * gui/calendar-summary.[ch]: Removed.
-
- * gui/Makefile.am: Remove executive-summary stuff, move some libs
- around a bit.
-
-2001-06-04 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/recurrence-page.c (recurrence_page_set_dates):
- update the blocked/selected days if the starting day of the
- appointment changes, fixes #2188
-
- * gui/dialogs/task-details-page.h: tidy proto
-
-2001-06-03 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/e-itip-control.c: #include <bonobo/bonobo-context.h> instead
- of <bonobo/bonobo-running-context.h>.
- * gui/tasks-control-factory.c: Likewise.
-
- * gui/Makefile.am (evolution_calendar_LDADD): Move `$(DB3_LDADD)'
- before libeutil.
-
-2001-06-01 JP Rosevear <jpr@ximian.com>
-
- * gui/Makefile.am: no longer build widget-util.*, the code has
- been moved
-
-2001-06-01 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/event-page.c (make_date_edit): use new func
-
- * gui/dialogs/task-details-page.c
- (task_details_page_create_date_edit): ditto
-
- * gui/dialogs/recurrence-page.c (make_ending_until_special): ditto
-
- * gui/dialogs/comp-editor-util.c (comp_editor_new_date_edit):
- rename date_edit_new function
-
- * gui/dialogs/comp-editor-util.h: new proto
-
- * gui/dialogs/task-page.c (task_page_set_summary): no longer any
- need to block/unblock the handler
- (task_page_create_date_edit): use new func
-
-2001-06-01 JP Rosevear <jpr@ximian.com>
-
- * gui/.cvsignore: Update
-
- * gui/evolution-calendar-control.c: Remove dead file
-
- * gui/*.vcf: Remove dead files
-
-2001-06-01 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/comp-editor-page.[hc]: renamed from editor-page for
- consistency, more complete implementation
-
- * gui/dialogs/comp-editor.[hc]: More complete implementation
-
- * gui/dialogs/*-page.*: The various pages needed to construct the
- event and task dialogs
-
- * gui/dialogs/comp-editor-util.[hc]: useful utility functions for the
- component editor pages to use
-
- * gui/dialogs/Makefile.am: Build and install new files
-
- * gui/event-editor*: Remove, obsoleted by the new comp-editor
- stuff
-
- * gui/dialogs/task-editor-dialog.glade: ditto
-
- * gui/e-calendar-table.c (open_task): update to use comp editor
- stuff
-
- * gui/e-tasks.c (e_tasks_new_task): ditto
-
- * gui/gnome-cal.c (gnome_calendar_edit_object): ditto
-
- * gui/Makefile.am: don't build non-existent files nor try to
- install them
-
-2001-06-01 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (e_itip_control_factory_init): ditto
-
- * gui/tasks-control-factory.c (tasks_control_factory_init):
- auto_exit_unref the factory
-
-2001-06-01 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/Makefile.am (evolution_calendar_LDADD): Add `$(DB3_LDADD)'.
-
-2001-05-29 Federico Mena Quintero <federico@ximian.com>
-
- * gui/e-tasks.c (e_tasks_get_calendar_table): New function.
-
- * gui/tasks-control.c (tasks_control_activate): Connect to the
- "selection_changed" signal of the tasks widget here, not in
- tasks_control_new(). Also, update the sensitivity of the commands
- here for the first time.
- (tasks_control_deactivate): Disconnect from the signal here since
- it only makes sense to monitor selection changes while the control
- is active.
- (selection_changed_cb): Removed hack that tested the presence of
- the remote UI container.
- (sensitize_commands): New function.
-
-2001-05-28 Damon Chaplin <damon@ximian.com>
-
- * gui/e-week-view-layout.[hc]:
- * gui/e-day-view-layout.[hc]: new files to contain layout code split
- off from EDayView an EWeekView, so we can use it for printing.
-
- * gui/print.c: rewritten to use the same layout code as the EDayView
- and EWeekView widgets.
-
- * gui/gnome-cal.c (gnome_calendar_get_task_pad_cal_client): added
- function so we can get the CalClient used for the TaskPad for printing.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): added
- e-day-view-layout.[hc] amd e-week-view-layout.[hc].
-
- * cal-util/timeutil.c (time_week_begin):
- (time_week_end): added week_start_day argument.
-
- * cal-util/cal-recur.c: added comments describing problems in it.
-
-2001-05-27 Rodrigo Moya <rodrigo@ximian.com>
-
- * gui/component-factory.c (remove_folder): implemented the
- 'remove_folder' function for the calendar shell component
- (xfer_folder): ditto for 'xfer_folder'
-
-2001-05-27 Dan Winship <danw@ximian.com>
-
- * gui/calendar-commands.c: #include
- "evolution-shell-component-utils.h" rather than "e-gui-utils.h"
- for e_pixmaps_update.
-
- * gui/tasks-control.c: Likewise.
-
-2001-05-25 Peter Williams <peterw@ximian.com>
-
- * gui/Makefile.am: Reference libeshell.la instead of libeshell.a.
-
-2001-05-23 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/recurrence-page.c: Finished porting from the old
- event-editor.c. Made it store a clone of the component for when
- we need to expand the recurrence set.
-
- * gui/dialogs/event-page.c (event_page_get_dates): New function.
-
- * gui/dialogs/editor-page.c (editor_page_set_dates): Renamed from
- editor_page_set_dtstart(); now sets both DTSTART and DTEND.
-
- * gui/dialogs/alarm-page.c (alarm_page_set_dates): Ahem, it is a
- label, not an entry.
-
-2001-05-21 Federico Mena Quintero <federico@ximian.com>
-
- Fix bug #2831; the tasks toolbar and menu now have a button to
- delete the selected tasks.
-
- * gui/e-calendar-table.c (e_calendar_table_delete_selected): New
- function.
- (delete_cb): Use e_calendar_table_delete_selected().
- (e_calendar_table_get_table): New function.
-
- * gui/tasks-control.c (tasks_control_new_task_cmd): Handle the
- delete command.
- (selection_changed_cb): Change the sensitivity of the TasksDelete
- command when the selection in the table changes.
-
- * gui/e-tasks.c (table_selection_change_cb): Notify upstream when
- the ETable selection changes.
-
-2001-05-18 Federico Mena Quintero <federico@ximian.com>
-
- Fix bug #2829.
-
- * gui/dialogs/delete-comp.c (delete_component_dialog): Allow the
- caller to specify whether just one or many components are to be
- deleted.
-
- * gui/e-calendar-table.c (tasks_popup_one): Popup menu definition
- for when one and only one task is selected.
- (tasks_popup_many): Likewise, for more than one task.
- (e_calendar_table_on_right_click): Do not create a structure for
- the closure data; we can simply pass the cal_table. Use a
- different menu depending on the number of selected tasks.
- (mark_as_complete_cb): Renamed; now iterates over the selected
- rows.
- (delete_selected_components): New function to delete all the
- selected components.
- (delete_cb): Adjusted for delete_component_dialog().
- (open_task): New function, simply open a CalComponent in the task
- editor.
- (open_task_by_row): Renamed; use open_task().
-
- * gui/e-week-view.c (e_week_view_on_delete_appointment): Updated
- for delete_component_dialog().
-
- * gui/e-day-view.c (e_day_view_on_delete_appointment): Likewise.
-
-2001-05-16 Duncan Mak <duncan@ximian.com>
-
- * gui/Makefile.am (evolution_calendar_SOURCES): removed
- editor-page.[ch] because they've now moved dialogs.
-
-2001-05-16 Federico Mena Quintero <federico@ximian.com>
-
- Split the event and task editors into different objects for the
- separate pages; this way they can be shared by both editors.
-
- * gui/dialogs/editor-page.[ch]: New abstract class for a page in a
- calendar component editor.
-
- * gui/dialogs/event-page.[ch]: Main page of an event editor.
-
- * gui/dialogs/alarm-page.[ch]: Alarm page of a calendar component
- editor.
-
- * gui/dialogs/recurrence-page.[ch]: Recurrence page of a calendar
- component editor.
-
- * gui/dialogs/event-page.c (event_page_fill_widgets): Eeek, this
- was missing a bunch of break statements.
- (event_page_fill_component): Use a temporary variable rather than
- allocating a struct icaltimetype.
-
- * gui/dialogs/alarm-page.c (get_alarm_string): Do not use
- fixed-size buffers.
- (alarm_page_fill_widgets): Use cal_obj_uid_list_free().
- (append_reminder): Now the list stores the plain CalComponentAlarm
- structures in the row data. We do *NOT* want to be frobbing the
- component's data directly. Rather, we clone the alarms from the
- component and maintain them on our own.
- (alarm_page_fill_component): Clone the alarms before adding them
- to the component so that we maintain the invariant that the alarm
- structures in the list did *not* come from the component.
-
- * cal-util/cal-component.c (cal_component_add_alarm): Added
- documentation.
- (cal_component_remove_alarm): Added documentation.
- (cal_component_remove_alarm): Do a lookup in our hash table of
- alarms instead of scanning the whole component.
- (CalComponentAlarm): Removed the `parent' field, since it was
- unused.
- (cal_component_free_alarm_uids): Removed function, since
- cal_component_get_alarm_uids() is documented so that the user will
- know that he must use cal_obj_uid_list_free().
- (cal_component_alarm_clone): New function.
-
-2001-05-09 Federico Mena Quintero <federico@ximian.com>
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Added
- editor-page.[ch] to the list of sources.
-
-2001-05-09 JP Rosevear <jpr@ximian.com>
-
- * gui/event-editor.c (reminder_add_cb): switch on the correct
- widget and map
-
-2001-05-08 JP Rosevear <jpr@ximian.com>
-
- * gui/e-itip-control.c (e_itip_control_factory): unref the
- property bag when we finish with it
-
- * gui/evolution-calendar-control.c (calendar_properties_init): ditto
-
- * gui/control-factory.c (calendar_properties_init): ditto
-
- * gui/calendar-summary.c (create_summary_view): ditto
-
-2001-05-08 JP Rosevear <jpr@ximian.com>
-
- * cal-util/cal-component.c (cal_component_alarm_free):
- (cal_component_alarm_free): free the alarm component if it doesn't
- have a parent, rather than if it does
-
- * gui/Makefile.am: sanitize LD_ADDS and CFLAGS so the libtool
- lines are shorter (fixes problem on solaries due to sed)
-
-2001-05-07 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-factory.[hc]: Convert to bonobo xobject
-
- * pcs/cal.[hc]: Convert to bonobo xobject
-
-2001-05-07 Gediminas Paulauskas <menesis@delfi.lt>
-
- * gui/event-editor.c (make_title_from_comp): conversion summary
- from utf8 here, use translated strings as is.
- (set_title_from_comp): reflect this, simplify.
-
- * gui/dialogs/task-editor.c: updated copies of above functions here.
-
- * gui/gnome-cal.c: use defines from widgets/misc/e-filter-bar.h for
- consistency in "Show all".
-
-2001-05-04 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-model.c (calendar_model_append_row): unref the
- calcomponent when we're done with it
-
- * cal-util/cal-component.c (cal_component_gen_uid): free the iso
- date string when we finish with it
-
-2001-04-27 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-edit.c (put_property_in_list): remove hardcoded
- values
- (edit_attendee): ditto, and there are only 4 roles now
-
- * gui/e-meeting-dialog.glade: tweak
-
- * gui/itip-utils.c: There shouldn't be an "other" role
-
-2001-04-26 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-edit.c (edit_attendee): use enums not hard code
- values
-
-2001-04-26 JP Rosevear <jpr@ximian.com>
-
- * gui/e-meeting-edit.c (add_button_clicked_cb):
- icalparameter_new_rsvp now takes an enum
-
-2001-04-26 JP Rosevear <jpr@ximian.com>
-
- * cal-util/cal-component.c (cal_component_alarm_set_trigger): the
- value type should be inited with ICAL_VALUE_* rather than
- ICAL_*_VALUE because it is a param argument.
-
-2001-04-26 Federico Mena Quintero <federico@ximian.com>
-
- * gui/calendar-model.c (get_is_overdue): Replace "<" by "<=" in
- the comparison for due dates against the current time. This makes
- tasks appear immediately as red when you click Now in the due date
- popup field.
-
- This is not a complete solution to the more general problem of
- tasks staying the same color even if they become overdue while the
- task list remains the same on the screen. This has been logged as
- bug #2399.
-
-2001-04-26 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/dialogs/Makefile.am (INCLUDES): Add `$(EXTRA_GNOME_CFLAGS)'.
-
-2001-04-26 Dan Winship <danw@ximian.com>
-
- * conduits/todo/Makefile.am (libetodo_conduit_la_LIBADD): Remove
- UNICODE_LIBS
-
- * cal-client/Makefile.am (client_test_LDADD): Remove -lunicode
-
-2001-04-24 Duncan Mak <duncan@ximian.com>
-
- * gui/alarm-notify/notify-main.c (funny_trigger_cb): Fixed
- Strftime so it uses the locale prefered way to display date/time.
- ("%x %X" instead of "%Y/%m/%d %H:%M:%S")
-
-2001-04-21 Gediminas Paulauskas <menesis@delfi.lt>
-
- * gui/calendar-summary.c: translate "Things to do" etc. and convert them
- to utf8. Changed some link from helixcode to ximian.
-
-2001-04-18 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/dialogs/Makefile.am (INCLUDES): Add
- `-I$(top_srcdir)/calendar/cal-client',
- `-I$(top_builddir)/calendar/cal-client'.
- * gui/Makefile.am (INCLUDES): Likewise.
-
- * cal-client/cal-query.h: #include "evolution-calendar.h".
-
-2001-04-17 Federico Mena Quintero <federico@ximian.com>
-
- * gui/event-editor.c (init_widgets): Connect to the "changed"
- signal of the categories entry so that they will be applied
- correctly.
- (EventEditorPrivate): Added fields for the contacts button and
- entry.
- (init_widgets): Disable the contacts widgets as we do not support
- them yet.
- (get_widgets): Get the contacts widgets.
-
- * gui/dialogs/task-editor.c (get_widgets): Get the contacts
- button, which was missing.
- (init_widgets): Disable the contacts widgets as we do not support
- them yet.
-
- * pcs/query.c (matches_text_list): Use e_utf8_strstrcasedecomp()
- instead of plain e_utf8_strstrcase().
- (matches_summary): Likewise.
-
-2001-04-17 JP Rosevear <jpr@ximian.com>
-
- * cal-util/cal-component.c (cal_component_alarm_set_action): the
- libical action stuff uses enums rather than strings to enumerate
- the various actions now
- (cal_component_alarm_get_action): ditto
-
-2001-04-17 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/alarm-notify/Makefile.am (evolution_alarm_notify_SOURCES):
- Add `$(CORBA_GENERATED)'.
-
-2001-04-16 Dan Winship <danw@ximian.com>
-
- * pcs/Makefile.am (INCLUDES): Add EXTRA_GNOME_CFLAGS, for gal.
-
-2001-04-15 Federico Mena Quintero <federico@ximian.com>
-
- * gui/gnome-cal.c (setup_widgets): Create the ESearchBar thingy.
- (search_bar_query_changed_cb): Build the different queries based
- on the type and string.
-
- * pcs/query.c (backend_obj_updated_cb): Ref the query while we are
- notifying the listener so that it will not disappear from under us.
- (backend_obj_removed_cb): Likewise.
- (process_component_cb): Likewise.
- (func_contains): New function to match text fields.
- (matches_comment): New function to match comment lists.
- (matches_description): New function to match description lists.
- (matches_summary): New function to match summaries.
- (matches_any): New function to match any text field.
- (func_has_categories): New function to match categories.
-
-2001-04-14 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/notify-main.c (main): Initialize the trigger
- and queue systems.
-
-2001-04-13 Dan Winship <danw@ximian.com>
-
- * cal-util/timeutil.c (time_from_isodate): Fix the syntactic bogon
- here, and attempt to fix the logical bogon too. (tm_gmtoff and
- timezone have opposite signs... I'm assuming Federico tested the
- Linux case, so I'm flipping the sign of the BSD case. But maybe he
- didn't and it's supposed to be the other way...)
-
-2001-04-12 Federico Mena Quintero <federico@ximian.com>
-
- * gui/e-day-view.c (update_query): New function to restart a query
- for the day view.
- (query_obj_updated_cb): Renamed from obj_updated_cb(); updated for
- queries instead of calendar clients.
- (query_obj_removed_cb): Likewise.
- (cal_opened_cb): Just update_query() instead of queueing reloading
- all the events.
- (e_day_view_set_cal_client): Likewise.
- (e_day_view_set_query): Likewise.
- (e_day_view_set_selected_time_range): Likewise.
- (e_day_view_set_days_shown): Likewise.
- (e_day_view_recalc_work_week): Likewise.
- (e_day_view_queue_reload_events): Removed function now that events
- are updated entirely by the query.
- (e_day_view_reload_events_idle_cb): Likewise.
- (e_day_view_reload_events): Likewise.
- (e_day_view_init): Use a pretty arrow instead of GDK_TOP_LEFT_ARROW.
-
- * gui/e-week-view.c: Analogous changes to the ones in e-day-view.c.
- (e_week_view_init): Use a pretty arrow instead of GDK_TOP_LEFT_ARROW.
-
- * cal-util/timeutil.c (isodate_from_time_t): Return a g_strdup()ed
- version of the string instead of a pointer to a static buffer.
- (time_from_isodate): Resurrected function. Polished up to our
- current standards of paranoia.
-
- * pcs/query.c (func_time_now): New function (time-now).
- (func_make_time): New function (make-time ISODATE).
- (func_time_add_day): New function (time-add-day TIME N).
- (func_time_day_begin): New function (time-day-begin TIME).
- (func_time_day_end): New function (time-day-end TIME).
- (func_occur_in_time_range): Use time_t values instead of ints.
- (match_component): Free the stringized component. Free the ESexp
- result value.
-
- * gui/e-day-view.h: Removed a couple of unused prototypes.
-
- * pcs/query.c (query_destroy): Oops, disconnect from the backend.
-
- * pcs/cal.c (Cal_get_query): Duplicate the query reference before
- we return it.
-
- * gui/calendar-commands.c (pixmaps): Fixed paths to image files.
-
-2001-04-11 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend-file.c (cal_backend_file_compute_changes):
- prepend to both changes and change_ids when different and mark as
- modified, not added
-
-2001-04-11 Christopher James Lahey <clahey@ximian.com>
-
- * gui/calendar-model.c (calendar_model_append_row): Fix this to
- just send the data to the wombat instead of inserting it
- ourselves.
-
-2001-04-11 Gediminas Paulauskas <menesis@delfi.lt>
-
- Display fixes, thanks to Kjartan for finding these.
-
- * gui/event-editor.c: use simple (not e_utf8_) gtk_clist_append for
- strings which are never in utf-8.
- * dialogs/delete-comp.c (delete_component_dialog): convert only
- summary from utf-8 to gtk charset. Translated values are in correct
- craset already.
-
-2001-04-04 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/calendar-commands.c: Fix headers.
- * gui/calendar-config.c: Same here.
- * gui/calendar-model.c: Same here.
- * gui/e-day-view-time-item.c: Same here.
- * gui/e-day-view-top-item.c: Same here.
- * gui/e-day-view.c: Same here.
- * gui/e-meeting-edit.c: Same here.
- * gui/e-week-view-main-item.c: Same here.
- * gui/e-week-view.c: Same here.
- * gui/event-editor.c: Same here.
- * gui/gnome-cal.c: Same here.
- * gui/goto.c: Same here.
- * gui/main.c: Same her.
- * gui/print.c: Same here.
-
-2001-04-02 Federico Mena Quintero <federico@ximian.com>
-
- * gui/e-tasks.c (e_tasks_setup_menus): Plug leak.
-
- * gui/event-editor.c (obj_updated_cb): Do nothing for now until we
- think of something sensible to do.
- (obj_removed_cb): Likewise.
-
- * gui/dialogs/task-editor.c (obj_updated_cb): Likewise.
- (obj_removed_cb): Likewise.
-
- * gui/event-editor.c (dialog_to_comp_object): Plug leak.
-
-2001-04-01 Federico Mena Quintero <federico@ximian.com>
-
- Client-side glue for the live query engine.
-
- * cal-client/query-listener.[ch]: New files with the
- implementation fo the QueryListener interface.
-
- * cal-client/cal-query.[ch]: New files with the client-side
- convenience object for live queries.
-
- * cal-client/cal-listener.h (CalListenerClass): Removed unused
- slots for signal handlers.
-
- * cal-client/Makefile.am (libcal_clientinclude_HEADERS): Now we
- install the evolution-calendar.h header. This sucks a bit.
-
-2001-04-01 Gediminas Paulauskas <menesis@delfi.lt>
-
- * gui/calendar-commands.c: use new pixmap cache. Added some menu icons
- and changed filenames of renamed icons.
- * gui/tasks-control.c: added icons for new task and print in menu.
-
-2001-03-29 Federico Mena Quintero <federico@ximian.com>
-
- Engine for live queries to calendars. A query object watches a
- CalBackend in the PCS and is otherwise completely separate from
- it; backends need to do nothing to support live queries. Right
- now we have the following functions:
-
- (get-vtype)
-
- Returns a string indicating the type of component
- (VEVENT, VTODO, VJOURNAL, VFREEBUSY, VTIMEZONE,
- UNKNOWN).
-
- (occur-in-time-range? START END)
-
- START - int, time_t start of the time range
- END - int, time_t end of the time range
-
- Returns a boolean indicating whether the component
- has any occurrences in the specified time range.
-
- * idl/evolution-calendar.idl (Cal::getQuery): New method that
- initiates a live query.
- (Query): New interface for a handle to a live query.
- (QueryListener): New interface for a listener to changes in a live
- query.
-
- * pcs/query.[ch]: New files with the live query engine.
-
- * pcs/cal-backend.h (CalBackendClass): Added notification signals
- so that the query system can catch them.
- (CalBackendClass): New virtual method ::get_load_state().
-
- * pcs/cal-backend.c (cal_backend_opened):
- (cal_backend_obj_updated):
- (cal_backend_obj_updated): New functions to emit the notification
- signals; to be used only by backend implementations.
- (cal_backend_get_load_state): New function.
-
- * pcs/cal-backend-file.c (notify_update): Call
- cal_backend_obj_updated().
- (notify_remove): Call call_backend_obj_removed().
- (open_cal): Free the icalcomp if it is not of the correct type.
- (cal_backend_file_get_load_state): Implemented new method.
-
- * pcs/cal-backend-db.c (cal_backend_db_update_object): Call
- cal_backend_obj_updated().
- (cal_backend_db_remove_object): Call cal_backend_obj_removed().
- (cal_backend_db_get_load_state): Implemented new method.
-
- * pcs/cal.c (Cal_get_query): Implementation of the ::getQuery()
- method.
-
-2001-03-27 Anna Marie Dirks <anna@ximian.com>
-
- * gui/e-itip-control.c: fixed button placement to comply
- with gnome standards.
-
-2001-03-27 Anna Marie Dirks <anna@ximian.com>
-
- * gui/e-itip-control.glade: fixed spacing and label alignment to
- comply with gnome standards. Also removed shadows from extraneous
- scrolled windows to avoid bevelitous. There are many more changes
- that need to happen to this viewer, but they all require a hacker
- to do some c-coding, so I will avoid committing them until after the
- .10 release.
-
-2001-03-26 Kjartan Maraas <kmaraas@gnome.org>
-
- * cal-client/client-test.c: Replace includes of <gnome.h>, <bonobo.h>
- and <gtk/gtk.h> with the needed headers to speed up compile.
- * cal-util/test-recur.c: Same here for <gtk/gtk.h>
- * gui/calendar-commands.c: Replace <bonobo.h> and remove
- <libgnorba/gnorba.h>
- * gui/calendar-summary.c: Replace <gnome.h> and <bonobo.h>
- * gui/calendar-summary.h: Added <bonobo/bonobo-generic-factory.h>
- * gui/component-factory.c: Remove <bonobo.h>
- * gui/control-factory.c: Replace <bonobo.h>
- * gui/e-calendar-table.c: Remove <gnome.h>
- * gui/e-itip-control.c: Replace <gnome.h> and <bonobo.h>
- * gui/e-meeting-edit.c: Replace <bonobo.h>
- * gui/e-tasks.c: Replace <gnome.h>
- * gui/e-tasks.h: Replace <bonobo.h>
- * gui/gnome-cal.h: Remove <bonobo.h>
- * gui/main.c: Replace <bonobo.h> and <glade/glade.h>
- * gui/tasks-control-factory.c: Replace <bonobo.h>
- * gui/tasks-control.c: Replace <gnome.h> and <bonobo.h>
- * gui/weekday-picker.c: Add <string.h> and <libgnome/gnome-defs.h>
- * gui/alarm-notify/client-main.c: Remove <gnome.h> and <bonobo.h>
- * gui/alarm-notify/notify-main.c: Replace <gnome.h> and <bonobo.h>
- * gui/dialogs/alarm-notify-dialog.c: Replace <gnome.h>
- * pcs/cal-backend.c: Replace <gtk/gtk.h>
-
-2001-03-25 Federico Mena Quintero <federico@ximian.com>
-
- * gui/e-calendar-table.c (e_calendar_table_init): The
- model_rows_{inserted,deleted} signals changed names; deal with it.
- (e_calendar_table_on_rows_inserted): Updated for new ETable API.
- (e_calendar_table_on_rows_deleted): Likewise.
-
- * gui/gnome-cal.h (GnomeCalendarOpenMode): Removed unused enum.
-
- * gui/gnome-cal.c (gnome_calendar_open): Constify.
-
- * gui/calendar-commands.c (calendar_set_uri): Removed function,
- since it was just calling gnome_calendar_open().
-
- * gui/control-factory.c (set_prop): Replace usage of
- calendar_set_uri() with gnome_calendar_open().
- (load_calendar): Likewise.
- (calendar_persist_init): Made static.
-
- * gui/e-tasks.c: #include "calendar-config.h"
- (e_tasks_update_all_config_settings): We are configuring a table,
- not a calendar! Use the appropriate function.
-
-2001-03-17 Miguel de Icaza <miguel@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_new_event,
- e_day_view_on_new_appointment): Simplifed this function to use the
- shared code.
-
- * gui/e-week-view.c (e_week_view_on_new_event,
- e_week_view_on_new_appointment): ditto.
-
- * gui/gnome-cal.c (gnome_calendar_new_appointment_for): New
- function used to launch editor components with a time range. A
- bunch of functions use this code now instead of duplicating code
- all over the place
-
- * gui/e-week-view.c (e_week_view_new_event): Moved functionality
- here from e_day_view_on_new_appointment. Allows setting for "full
- day" event.
- (e_week_view_on_new_full_day): New function for making a full day
- event.
- (e_week_view_on_goto_date): Go To support.
- (e_week_view_on_goto_today): Goto today support.
-
- * gui/e-day-view.c (e_day_view_new_event): Moved functionality
- here from e_day_view_on_new_appointment. Allows setting for "full
- day" event.
- (e_day_view_on_new_full_day): New function for making a full day
- event.
- (e_day_view_on_goto_date): Go To support.
- (e_day_view_on_goto_today): Goto today support.
-
- * main_items: Add New All Day Event; Go to Today; Go to Date.
-
-2001-03-07 Miguel de Icaza <miguel@ximian.com>
-
- * gui/control-factory.c (calendar_persist_init): New function:
- inits the BonoboPersistFile server.
-
- * gui/GNOME_Evolution_Calendar.oaf.in: Added BonoboPropertyBag to
- the list of supported interfaces that were supported but not
- reported. Add the new PersistFile.
-
- Add text/calendar mime type attribute.
-
-2001-03-15 Dan Winship <danw@ximian.com>
-
- * gui/e-week-view.c (e_week_view_start_editing_event):
- * gui/e-day-view.c (e_day_view_start_editing_event): Update
- arguments to e_canvas_item_grab_focus.
-
-2001-03-15 Gediminas Paulauskas <menesis@delfi.lt>
-
- * gui/*.xpm: moved to ../art.
- * gui/Makefile.am: removed *.xpm and oaf_DATA from EXTRA_DIST.
- * gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c:
- #include "art/*.xpm".
-
-2001-03-09 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/Makefile.am: PISOCK_INCLUDEDIR has become
- PISOCK_CFLAGS in gnome-pilot.m4 and remove capplet foo
-
- * conduits/calendar/Makefile.am: ditto
-
-2001-03-08 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/component-factory.c (factory_fn): Specify a NULL
- `EvolutionShellComponentGetDndSelectionFn'.
-
-2001-02-27 Miguel de Icaza <miguel@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize
- the menus to have entries always in a consistent fashion, as
- reported to the genepool mailing list.
- (e_day_view_on_event_right_click): Added a FIXME comment to the
- FIXME comment without a FIXME.
-
- Now we use e_popup_menu. This allows us to hide/show items on
- demand, and to sensitize/de-sensitize items depending on their
- state.
-
- This will also let us add icon support (when we get nice icons for
- this)
-
- * gui/e-week-view.c (e_week_view_show_popup_menu): Ditto.
-
- The files popup-menu.c and popup-menu.h can now be removed.
-
-2001-03-05 Damon Chaplin <damon@ximian.com>
-
- * gui/e-tasks.c: keep list of all Tasks folders so we can update the
- preference settings when necessary.
-
- * gui/gnome-cal.c: configure the TaskPad according to the settings.
-
- * gui/e-calendar-table.c: use ECellCombo and ECellDateEdit for fields,
- so the tasks folders is almost usable now.
-
- * gui/calendar-model.c: added support for the Status property.
-
- * gui/calendar-config.[hc]: added convenience functions to setup
- ECalendarTable and ECellDateEdit objects.
-
- * gui/calendar-commands.c: connected to "destroy" signal of calendars
- so we can remove them from all_calendars list.
-
- * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config):
- call e_tasks_update_all_config_settings() to update all the settings
- in the Tasks folders as well.
-
- * cal-util/cal-component.h: added CAL_COMPONENT_FIELD_STATUS.
-
- * cal-util/cal-component.c (cal_component_get_transparency): fixed
- calls to strcasecmp so they check for '== 0'.
-
- Applied patch from Miguel...
-
-2001-02-27 Miguel de Icaza <miguel@ximian.com>
-
- * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize
- the menus to have entries always in a consistent fashion, as
- reported to the genepool mailing list.
- (e_day_view_on_event_right_click): Added a FIXME comment to the
- FIXME comment without a FIXME.
-
- Now we use e_popup_menu. This allows us to hide/show items on
- demand, and to sensitize/de-sensitize items depending on their
- state.
-
- This will also let us add icon support (when we get nice icons for
- this)
-
- * gui/e-week-view.c (e_week_view_show_popup_menu): Ditto.
-
- The files popup-menu.c and popup-menu.h can now be removed.
-
-2001-03-02 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/e-todo.conduit.in: update for new pilot foo
-
- * conduits/calendar/e-calendar.conduit.in: ditto
-
- * conduits/todo/Makefile.am: update sed script
-
- * conduits/calendar/Makefile.am: ditto
-
-2001-02-28 Federico Mena Quintero <federico@ximian.com>
-
- * gui/event-editor.c (recurrence_exception_select_row_cb): New
- function to set the EDateEdit's value when a row is selected in
- the exception date list. Fixes bug #1638.
- (append_exception): Set the value as well. Block/unblock signals
- from the clist as appropriate. Gotta love non-model/view widgets.
- (recurrence_exception_delete_cb): Be more paranoid about the
- contents of the list row's data.
- (recur_to_comp_object): Likewise.
- (fill_exception_widgets): Select the first row after we are done
- appending the exception dates.
-
-2001-02-26 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/Makefile.am (libalarm_a_SOURCES): Create a
- little stand-alone library for the low-level alarm trigger
- mechanism. This is so that the GUI parts of the calendar can use
- it in addition to the alarm daemon.
-
- * gui/main.c: #include "alarm-notify/alarm.h".
-
- * gui/calendar-summary.c: Likewise.
- (alarm_fn): Do not remove the previous alarm; it is removed
- automatically when it is triggered.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Removed alarm.[ch]
- from the sources.
-
- * gui/alarm.[ch]: Removed obsolete files.
-
-2001-02-23 Federico Mena Quintero <federico@ximian.com>
-
- * gui/alarm-notify/alarm-notify.c (AlarmNotify_addCalendar):
- Switched to using our own refcounted structure for loaded clients.
- (AlarmNotify_removeCalendar): Ditto. Also, do the full
- destruction of the client.
- (alarm_notify_destroy): Destroy each element in the hash table.
-
- * cal-client/cal-client.c (cal_client_construct): Test for
- exceptions from OAF when activating the Wombat calendar factory.
-
- * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.oaf.in:
- New .oaf.in file.
-
- * gui/alarm-notify/Makefile.am (oaf_in_files): Updated.
-
- * gui/GNOME_Evolution_Calendar.oaf.in: Put all the servers here
- instead of in a million files.
-
- * gui/GNOME_Evolution_Calendar_Control.oaf.in: Removed file.
-
- * gui/GNOME_Evolution_Calendar_gnomecal.oaf.in: Removed *REALLY*
- obsolete file.
-
- * gui/Makefile.am (oaf_in_files): Updated.
-
-2001-02-23 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-db.c (add_history): fixed generation of history records
-
-2001-02-16 Federico Mena Quintero <federico@ximian.com>
-
- * pcs/cal-factory.c (CalFactoryPrivate): Added a `registered'
- field.
- (cal_factory_oaf_register): New function; now the factory performs
- its own registration with OAF.
- (cal_factory_destroy): Unregister from OAF if appropriate.
-
-2001-02-19 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/Makefile.am: Remove PISOCK_LIBDIR
-
- * conduits/calendar/Makefile.am: ditto
-
-2001-02-16 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/calbackend-db.c (cal_backend_db_destroy): close DB environment.
- Some compilation warnings removed
-
-2001-02-13 Christopher James Lahey <clahey@ximian.com>
-
- * gui/Makefile.am (evolution_calendar_LDADD): Added libmenus.la.
-
- * gui/e-calendar-table.c, gui/e-calendar-table.h
- (e_calendar_table_get_spec): Added this function.
-
- * gui/e-tasks.c, gui/e-tasks.h (e_tasks_setup_menus): Added this
- function.
-
- * gui/tasks-control.c (tasks_control_activate): Call
- e_tasks_setup_menus.
-
-2001-02-13 JP Rosevear <jpr@ximian.com>
-
- * gui/e-tasks.c (e_tasks_new_task): call task_editor_focus
-
-2001-02-13 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-commands.c (update_pixmaps): Set toolbar new
- appointment icon
- (set_pixmap): load files rather than create from xpm file
-
- * gui/*view.xpm: move to the art directory
-
-2001-02-13 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-db.c (cal_backend_db_get_alarms_for_object):
- implemented
-
-2001-02-13 JP Rosevear <jpr@ximian.com>
-
- * gui/calendar-commands.c (update_pixmaps): Set toolbar new command
-
- * gui/e-calendar-table.c: Add titles to pixbuf column for grouping
-
- * gui/calendar-model.c (calendar_model_class_init): override value
- to string virtual method
- (calendar_model_value_to_string): implement value to string for
- etable (necessary for group by)
-
-2001-02-12 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-file.c:
- cal_backend_db_update_object(): manage both updates and additions/add notification
- cal_backend_db_get_object(): don't use DB cursors
- cal_backend_db_get_type_by_uid(): don't use DB cursors
- cal_backend_db_remove_object(): don't use DB cursors/add notification
- cal_backend_db_get_alarms_in_range(): implemented
-
-2001-02-12 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/Makefile.am: Hook up the xml-i18n-tools + .oaf.in stuff.
- * gui/GNOME_Evolution_Calendar*.oaf.in: Marked strings for translation.
-
-2001-02-11 Rodrigo Moya <rodrigo@ximian.com>
-
- * pcs/cal-backend-db.c: added DB3 transactions support
- * pcs/cal-backend-db.[ch]: added the new DB3-based backend. This is just
- the beginning, there are some missing things still.
-
-2001-02-11 Gediminas Paulauskas <menesis@delfi.lt>
-
- Really use xml-i18n-tools.
-
- * conduits/calendar/e-calendar-conduit-control-applet.desktop,
- conduits/todo/e-todo-conduit-control-applet.desktop: removed.
-
- * conduits/calendar/e-calendar-conduit-control-applet.desktop.in,
- conduits/todo/e-todo-conduit-control-applet.desktop.in: added empty.
-
- * conduits/calendar/Makefile.am, conduits/todo/Makefile.am:
- reflect above changes, merge translations.
-
- * gui/*.glade.h, gui/dialogs/*.glade.h: removed, xml-i18n-extract
- takes care of strings itself.
-
- * gui/*.glade, gui/dialogs/*.glade: do not output_translatable_strings
-
- * gui/Makefile.am, gui/dialogs/Makefile.am: do not include removed
- files in EXTRA_DIST.
-
-2001-02-08 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-editor-dialog.glade: Oops, remove old widget
-
-2001-02-08 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/task-editor.c (fill_widgets): fill in new
- classification stuff properly
- (get_widgets): load new class. widgets
- (init_widgets): if the class. widgets change, mark the dialog
- dirty
- (dialog_to_comp_object): set the comp class. from the new widgets
-
- * gui/dialogs/task-editor-dialog.glade: Make more consistent,
- fixing bugs 1247 and 1249
-
- * gui/dialogs/task-editor.c (fill_widgets):
-
- * gui/event-editor-dialog.glade: Gui tidying
-
- * gui/event-editor.c: Remove old alarm cruft
-
- * cal-util/cal-component.c (cal_component_set_url): Don't try and
- write an empty string as a property
-
-
-2001-02-08 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend-file.c: Move the get_change code here
-
- * pcs/cal-backend.c: Remove get_changes related stuff and
- implement by calling the virtual method instead
-
- * pcs/cal-backend.h: New virtual method.
-
- * pcs/cal-backend-file.c (compute_alarm_range): Use
- icaldurationtype_as_int (replace _as_timet)
- (add_alarm_occurrences_cb): ditto
-
-2001-02-08 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend-file.c (compute_alarm_range): Use
- icaldurationtype_as_int (replace _as_timet)
- (add_alarm_occurrences_cb): ditto
-
- * gui/e-week-view.c (e_week_view_on_schedule_meet): new routine to
- throw up the meeting schedule dialog
- (e_week_view_show_popup_menu): add schedule meeting to the
- contextual menu where appropriate
-
-2001-02-08 JP Rosevear <jpr@ximian.com>
-
- * gui/event-editor.c: Remove assorted menu/bonobo stuff
-
- * gui/dialogs/task-editor.c: Remove assorted menu/bonobo stuff
- (task_editor_construct): no longer suck out the glade contents
- into a bonobo win, listen for apply and close signals
- (tedit_apply_event_cb): listen for apply signal and save object
- (tedit_close_event_cb): listen for close signal and prompt to save
- if need be
- (task_editor_focus): new function to bring the dialog to the front
-
- * gui/dialogs/task-editor.h: new prototype
-
- * gui/e-meeting-edit.c (schedule_button_clicked_cb): no need to
- update widgets in the event editor since the event editor won't be
- open
- (e_meeting_editor_new): don't need the event editor reference any
- more
-
- * gui/e-meeting-edit.h: Change prototype
-
- * gui/e-day-view.c (e_day_view_on_event_right_click): Make
- schedule meeting a new contextual menu item
- (e_day_view_on_schedule_meet): new routine to schedule a meeting
- from the contextual menu
-
- * gui/e-calendar-table.c (e_calendar_table_open_task): Call
- task_editor_focus
-
- * gui/event-editor-dialog.glade: Update to be a property box
-
- * gui/dialogs/task-editor-dialog.glade: Update to be a property
- box
-
-2001-02-07 Iain Holmes <iain@ximian.com>
-
- * gui/calendar-summary.c (create_summary_view): Add a setter to the
- property bag.
- (set_property): The setter.
- (generate_html_summary): Sort the UIDs accodring to time.
-
-2001-02-06 JP Rosevear <jpr@ximian.com>
-
- * gui/event-editor.c (fill_reminder_widgets): Match new
- append_alarm signature
- (reminder_to_comp_object): only add alarms tagged as new, no
- longer delete all alarms first
- (append_reminder): the row data is now of type ReminderData,
- rename from append_alarm
- (reminder_add_cb): math new append_alarm signature
- (reminder_delete_cb): if the alarm existed before the dialog was
- loaded, delete it immediately from the cal component
-
-2001-02-06 JP Rosevear <jpr@ximian.com>
-
- * gui/event-editor-dialog.glade: Gui tweaks for bugs 1248 and 1246
-
- * gui/dialogs/task-editor-dialog.glade: ditto
-
-2001-02-07 JP Rosevear <jpr@ximian.com>
-
- * gui/event-editor-dialog.glade: Fix spacing
-
-2001-02-06 JP Rosevear <jpr@ximian.com>
-
- * gui/event-editor-dialog.glade: Gui tweaks for bugs 1248 and 1246
-
- * gui/dialogs/task-editor-dialog.glade: ditto
-
-2001-02-06 JP Rosevear <jpr@ximian.com>
-
- * gui/e-week-view.c (e_week_view_show_popup_menu): Make the menus more
- consistent
-
- * gui/e-day-view.c (e_day_view_on_event_right_click): ditto
-
- * gui/e-calendar-table.c: ditto
-
-2001-02-06 JP Rosevear <jpr@ximian.com>
-
- * cal-util/cal-component.c (cal_component_set_categories): If the
- categories string is empty, remove the property
- (get_period_list): Fixes from clahey to handle the new rdate
- format in libical
- (set_period_list): ditto
-
-2001-02-05 JP Rosevear <jpr@ximian.com>
-
- * cal-util/cal-component.c (cal_component_alarm_set_trigger): Set
- the time and duration values in the trigger to null by default
- (cal_component_free_alarm_uids): properly free the list of alarm
- uids
-
-2001-02-05 JP Rosevear <jpr@ximian.com>
-
- * gui/event-editor.c (get_widgets): get the new reminder widgets
- (sync_entries): different callback data
- (summary_changed_cb): take different data and handle various cases
- (init_widgets): connect signals for the new widgets
- (get_alarm_duration_string): give a text string of the alarm
- duration
- (get_alarm_string): give a string representing the alarm
- (fill_widgets): make sure we don't loop infinitely and remove old
- alarm cruft
- (reminder_to_comp_object): dump alarm info in the gui into the cal
- component
- (append_alarm): add alarm to the clist
- (reminder_add_cb): create new alarm
- (reminder_delete_cb): remove the alarm from the list
-
- * gui/event-editor-dialog.glade: Update gui
-
- * gui/e-calendar-table.c: include gnome.h for all the menu stuff
-
- * gui/calendar-summary.c: for internationalization
-
- * gui/tasks-control.c: include gnome.h
-
- * gui/e-tasks.c: ditto
-
- * gui/e-itip-control.c: ditto
-
- * cal-util/cal-recur.c (cal_recur_set_rule_end_date): Update for
- libical changes
-
-2001-02-05 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/calendar-model.c: Fixed up these #includes.
-
-2001-02-03 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/save-comp.c (save_component_dialog):
- gnome_dialog_grab_focus() on the Yes button. Fixes bug #1242.
-
-2001-01-30 Kjartan Maraas <kmaraas@gnome.org>
-
- * gui/e-calendar-table.c: Mark a string for translation.
- * gui/e-itip-control.c: Mark a bunch of strings for translation.
-
-2001-01-30 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/print.c: #include <sys/time.h>.
-
-2001-01-29 Federico Mena Quintero <federico@ximian.com>
-
- * gui/calendar-config.c: <gnome.h> trimming to reduce compilation
- time.
- * gui/calendar-summary.c: Likewise.
- * gui/e-calendar-table.c: Likewise.
- * gui/e-day-view-time-item.c: Likewise.
- * gui/e-day-view.c: Likewise.
- * gui/e-itip-control.c: Likewise.
- * gui/e-meeting-edit.c: Likewise.
- * gui/e-meeting-edit.h: Likewise.
- * gui/e-tasks.c: Likewise.
- * gui/e-week-view.c: Likewise.
- * gui/event-editor.c: Likewise.
- * gui/gnome-cal.c: Likewise.
- * gui/goto.c: Likewise.
- * gui/itip-utils.h: Likewise.
- * gui/main.c: Likewise.
- * gui/popup-menu.c: Likewise.
- * gui/print.c: Likewise.
- * gui/tasks-control-factory.c: Likewise.
- * gui/tasks-control.c: Likewise.
- * gui/tasks-migrate.c: Likewise.
-
-2001-01-25 Federico Mena Quintero <federico@ximian.com>
-
- * cal-util/timeutil.c: <gnome.h> trimming to reduce compilation time.
- * gui/dialogs/task-editor.c: Ditto.
- * gui/dialogs/cal-prefs-dialog.c: Ditto.
- * gui/dialogs/save-comp.c: Ditto.
- * gui/dialogs/delete-comp.c: Ditto.
- * gui/calendar-commands.c: Ditto.
- * gui/calendar-model.c: Ditto.
-
-2001-01-26 Ettore Perazzoli <ettore@ximian.com>
-
- * gui/e-itip-control.c (itip_control_destroy_cb): Don't attempt to
- call `icalcomponent_remove_component()' on a NULL component or a
- NULL subcomponent.
-
-2001-01-25 Damon Chaplin <damon@ximian.com>
-
- * gui/tag-calendar.c: don't tag the calendar if no dates are shown.
- (e_calendar_item_get_date_range() now returns FALSE in this case.)
-
-2001-01-23 Damon Chaplin <damon@helixcode.com>
-
- * gui/calendar-model.c (ensure_task_complete): make sure the status
- is set to "Completed". Fixes bug #1253.
-
- * gui/e-tasks.c (e_tasks_open): load the ETable state after opening
- the tasks folder, since it relies on the folder uri, which isn't set
- now until you open the folder.
-
- * gui/calendar-model.c (obj_updated_cb): add the categories from the
- updated object to our tree, and emit the "categories-changed" signal
- if they have changed. Fixes bug #1255.
-
- * gui/e-tasks.c: removed debug messages.
-
-2001-01-23 JP Rosevear <jpr@ximian.com>
-
- * libical import cleanup
-
-2001-01-23 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/todo-conduit.c (local_record_from_comp): properly ref
- the cal component when we use it, prevents double free
-
- * conduits/calendar/calendar-conduit.c (local_record_from_comp): ditto
-
-2001-01-22 JP Rosevear <jpr@ximian.com>
-
- * gui/dialogs/Makefile.am: compile new stuff
-
- * gui/dialogs/task-editor.c (prompt_to_save_changes): use new
- standard dialog
-
- * gui/event-editor.c (prompt_to_save_changes): ditto
-
- * gui/dialogs/save-comp.h: new header
-
- * gui/dialogs/save-comp.c (save_component_dialog): shows the save
- dialog
-
-2001-01-22 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/todo-conduit.c (for_each_modified): remove duplicate
- message
-
- * conduits/calendar/Makefile.am: Remove vfs lib dependency
-
- * conduits/todo/Makefile.am: ditto
-
- * conduits/calendar/calendar-conduit.c: Remove alarm foo for now
- (for_each_modified): remove duplicate message
-
-2001-01-21 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (delete_record): Remove
- deleted records from the pilot map so we don't have dupes in the future
-
- * conduits/todo/todo-conduit.c (delete_record): ditto
-
-2001-01-21 Federico Mena Quintero <federico@ximian.com>
-
- * gui/dialogs/task-editor.c (file_delete_cb): Fix bug #1250; now
- we present a confirmation dialog before deleting the component.
-
-2001-01-20 Federico Mena Quintero <federico@ximian.com>
-
- * gui/event-editor-dialog.glade: Fix bug #1243. Turn on the Y
- expand/fill options for the date widgets in the General page.
- This makes them be vertically aligned with the "All day event"
- toggle so that they will get the focus in the proper order; the
- toggle would get the focus before them because it was a pixel or
- two above them.
-
-2001-01-19 Federico Mena Quintero <federico@ximian.com>
-
- * gui/weekday-picker.c (weekday_picker_init): Unset the
- GTK_CAN_FOCUS flag on the weekday picker. This will do until it
- supports being used with the keyboard.
-
-2001-01-19 JP Rosevear <jpr@ximian.com>
-
- * cal-util/cal-component.c (cal_component_alarm_new): create a new
- cal component alarm
- (cal_component_add_alarm): add alarm to the cal component
- (cal_component_remove_alarm): remove alarm from the cal component
- (remove_alarm): remove alarm from hash
-
- * cal-util/cal-component.h: new protos
-
- * conduits/calendar/calendar-conduit.c (comp_from_remote_record):
- add alarm information, still needs to be hacked to replace an already
- existing alarm. questions abound about the heuristic for doing this.
-
-2001-01-17 JP Rosevear <jpr@ximian.com>
-
- * gui/event-editor.c (dialog_to_comp_object): Properly set categories
- to NULL if there are none
-
-2001-01-18 Federico Mena Quintero <federico@ximian.com>
-
- * gui/tasks-migrate.[ch]: New files with a simple sequence to
- migrate the task components from the old calendar folder into the
- new tasks folder.
-
- * gui/component-factory.c (owner_set_cb): Call tasks_migrate()
- once evolution_dir is set. It sucks to have to do this here.
-
- * cal-client/cal-client.c (cal_client_get_uids): In the inline
- docs, indicate how to free the return value.
- (cal_opened_cb): Ahem, moved assertion to the right place. Also,
- ref() and unref() around our own signal emission because we are
- not inside a signal handler, rather a simple callback from the
- listener object; we want to have a chance to clean up even if the
- client is unrefed during the emission.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Added
- tasks-migrate.[ch] to the list of sources.
-
-2001-01-17 Federico Mena Quintero <federico@ximian.com>
-
- * gui/event-editor.c (init_widgets): Use
- e_calendar_item_set_max_days_sel() instead of setting GTK+ object
- arguments.
-
- * gui/e-day-view.c (e_day_view_set_cal_client): Oops, we had a
- reversed test for the client being loaded.
-
- * gui/tag-calendar.c (tag_calendar_by_client): Fixed similarly
- reversed test.
-
-2001-01-17 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-week-view*.c
- * gui/e-day-view*.c: don't use the theme colors at all within
- the graphical parts of the widgets, since they may clash with
- our colors. May make them configurable in future so people can tweak
- them to go with their theme. At least the calendars are usable in any
- theme now, even though the colors may not go well with the theme.
- Also set the font of all the EText items in style_set.
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw): don't
- draw the icons if we are editing the event.
-
- * gui/e-day-view.c:
- * gui/e-week-view.c: reinstated the optimizations so we don't do a
- complete relayout if the event's dates haven't been changed.
- (Though we still do a re-layout when recurring events change, since
- comparing all the RDATES/RRULES/EXDATES/EXRULES is too much hassle.)
- A side-effect of this change is that the EWeekView won't crash so
- often - only recurring events will be a problem.
-
- * cal-util/cal-component.[hc]: added function to check if the start
- and end dates of a component match. Used for optimizing the updating
- of the EDayView & EWeekView.
-
-2001-01-17 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (start_calendar_server): Check
- for open error and handled
-
- * conduits/todo/todo-conduit.c (start_calendar_server): ditto
-
-2001-01-17 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/calendar-conduit.c (start_calendar_server): Check
- for open error and handled
-
- * pcs/cal-backend.c (cal_backend_compute_changes): Fix transposition
- of sync db location
-
-2001-01-17 Federico Mena Quintero <federico@ximian.com>
-
- * */*: Ximianified email addresses and copyrights.
-
- * idl/evolution-calendar.idl (CalFactory::open): Renamed from
- ::load(), and added an only_if_exists argument.
- (CalFactory::create): Removed method.
- (Listener::OpenStatus): Removed the IN_USE error and replaced it
- with a NOT_FOUND one; renamed the enum from LoadStatus.
- (Listener::notifyCalOpened): Renamed from notifyCalLoaded().
-
- * pcs/cal-backend.h (CalBackend): Removed the uri field.
- (CalBackendOpenStatus): Renamed from CalBackendLoadStatus and
- added a NOT_FOUND value.
- (CalBackendClass::open): Put in a slot for the open method.
-
- * pcs/cal-backend.c (cal_backend_create): Removed function.
-
- * pcs/cal-backend-file.c (cal_backend_file_open): Return the
- appropriate value when only_if_exists is TRUE.
- (create_cal): We are Ximian now, so set the PRODID property to
- the appropriate foo.
-
- * pcs/cal-factory.c (CalFactory_open): implemented, replacing
- CalFactory_load() and CalFactory_create().
- (CalFactory_open): Moved the queue_load_create_job() stuff to
- here, since we now only need to contemplate the open case instead
- of load/create ones.
- (open_backend): Do everything here; replaces load_backend() and
- create_backend().
-
- * cal-client/cal-listener.h (CalListenerClass::cal_opened):
- Renamed from cal_loaded.
- (CalListenerClass): Replaced the silly signals, which are
- gratuitous abstraction, by a set of function pointers in the
- instance structure.
-
- * cal-client/cal-listener.c (cal_listener_get_calendar): Removed
- unused function.
- (cal_listener_construct): Added the listener notification functions.
- (cal_listener_new): Ditto.
- (Listener_notifyCalOpened): Renamed to our new naming convention
- for servant implementations.
- (Listener_notifyObjUpdated): Ditto.
- (Listener_notifyObjRemoved): Ditto.
-
- * cal-client/cal-client.h (CalClientOpenStatus): Renamed from
- CalClientLoadStatus.
- (CalClientClass::cal_opened): Renamed from ::cal_loaded().
- (CalClientLoadState): New enum; basically make LoadState public so
- that users of this code do not have to maintain their own states.
-
- * cal-client/cal-client.c (cal_client_create_calendar): Removed
- function.
- (cal_client_open_calendar): Moved the functionality over from
- load_or_create(); now we do everything here.
- (*): Use the CalClientLoadState enum values instead of the old
- LoadState values.
- (cal_client_get_load_state): Renamed from cal_client_is_loaded(),
- and return the appropriate value.
- (CalClientPrivate): Added an uri field.
- (cal_client_init): Initialize priv->uri.
- (cal_client_destroy): Free the priv->uri.
- (cal_opened_cb): Maintain the priv->uri.
- (cal_client_open_calendar): Fill in the priv->uri.
- (cal_client_get_uri): New function.
-
- * gui/calendar-model.c (calendar_model_set_new_comp_vtype): New
- function to configure the type of calendar components to create
- when doing click-to-add. This makes the model usable for
- something other than task lists.
- (calendar_model_get_new_comp_vtype): New function.
-
- * gui/e-calendar-table.c (e_calendar_table_get_model): New function.
- (e_calendar_table_destroy): Unref the subset_model.
-
- * gui/gnome-cal.h (GnomeCalendarOpenMode): Removed enum.
-
- * gui/gnome-cal.c (LoadState): Removed enum; we now use the
- CalClientLoadState from the client objects.
- (GnomeCalendarPrivate): Removed the loading_uri and
- task_pad_loading_uri fields as well as the load_state and
- task_pad_load_state fields, as we can now query them directly from
- the CalClient.
- (open_error): Renamed from load_error().
- (create_error): Removed function.
- (gnome_calendar_open): Do not take in the mode parameter.
- (cal_opened_cb): Get rid of our beautifully-crafted state machine
- and replace it with simple code; all the loading smarts are in the
- Wombat now.
- (setup_widgets): Set the new component vtype of the table model to
- CAL_COMPONENT_TODO.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Removed
- gnome-month-item.[ch] from the list of sources.
-
- * gui/calendar-summary.c (CalSummary): Removed unused cal_loaded
- field.
- (create_summary_view): Do not check if the file exists; this is
- the job of the Wombat.
- (generate_html_summary): Fixed prototype.
- (alarm_fn): Fixed prototype.
- (property_dialog): Fixed prototype. Wonder if/how this ever
- worked.
- (create_summary_view): Cast the component and view as
- appropriate. Removed unused html variable.
-
- [Iain dude, are you compiling with -Wall?]
-
- * gui/e-itip-control.c (cal_opened_cb): Sigh, this function
- signature was *very* wrong. It was using CalClientGetStatus
- instead of CalClientOpenStatus.
-
- * gui/e-tasks.h (ETasksOpenMode): Removed enum.
-
- * gui/e-tasks.c (setup_widgets): Set the new component vtype of
- the table model to CAL_COMPONENT_TODO.
- (LoadState): Removed the state machine foo.
- (e_tasks_open): Removed the mode parameter.
- (initial_load): Removed function.
- (create_error): Removed function.
- (ETasksPrivate): Removed folder_uri field.
- (cal_opened_cb): Remove the state machine.
-
- * gui/component-factory.c: #include "tasks-control.h"
-
- * conduits/calendar/calendar-conduit.h (ECalConduitContext):
- Removed calendar_load_tried field.
-
- * conduits/calendar/calendar-conduit.c (start_calendar_server_cb):
- Sigh, fixed function prototype.
-
- * conduits/todo/todo-conduit.h (EToDoConduitContext): Removed
- calendar_load_tried field.
-
- * conduits/todo/todo-conduit.c (start_calendar_server_cb): Fixed
- function prototype.
-
-2001-01-16 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/todo-conduit.c (print_local): fix debug output
- (print_remote): ditto
-
-2001-01-15 JP Rosevear <jpr@ximian.com>
-
- * pcs/cal-backend.c (cal_backend_compute_changes): accomadate tasks
- in their new dir
-
- * conduits/todo/todo-conduit.c (start_calendar_server): ditto
-
-2001-01-15 JP Rosevear <jpr@ximian.com>
-
- * conduits/todo/todo-conduit.c (print_local): prevent segfaults and
- buffer overflows.
- (print_remote): ditto
-
- * conduits/calendar/calendar-conduit.c: as above
-
-2001-01-14 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): changed the expansion
- values so that small text fields are 1.0, all the date fields and the
- URL field are 2.0, and the Summary is 3.0. Hopefully the user will
- resize the fields as desired, but at least this is a better start.
-
-2001-01-14 JP Rosevear <jpr@ximian.com>
-
- * conduits/calendar/Makefile.am: pass -module and -avoid-version to
- conduit linker
-
- * conduits/todo/Makefile.am: ditto
-
-2001-01-14 Damon Chaplin <damon@helixcode.com>
-
- * gui/dialogs/task-editor.[hc]: moved #include
- <cal-client/cal-client.h> to the .h file.
-
- * gui/e-tasks.c: load & save the Tasks folders' ETable layout.
- Added an option menu to filter tasks by category.
-
- * gui/gnome-cal.c: use the "Tasks" folder for the TaskPad.
- (We may make the actual tasks folder shown a per-calendar option.)
-
- * gui/tasks-control.c (tasks_control_new_task_cmd): added support for
- the New Task icon on the toolbar.
-
- * gui/e-calendar-table.[hc]: we now use an ETableSubsetVariable model
- to filter the tasks by a category. And tidied up a little.
-
- * gui/calendar-model.[hc]: added way to get all the categories used by
- the tasks, so we can show an option menu of them. Also a signal which
- is emitted when they are changed.
- Also allows a default category to be set, which is used to initialize
- the 'click-to-add' row.
- Also made sure the initialize_value()/get_value() functions don't
- return NULL since that can cause a SEGV.
-
- * gui/e-week-view.c:
- * gui/e-day-view.c: set the "fill_color_rgba" arg of the EText items
- to black since it doesn't seem to set up a default color properly.
- Hopefully this fixes the bug on Solaris where the items appear with
- strange colors.
-
- * gui/widget-util.c (date_edit_new): use the calendar_config function
- to set most of the options. It wasn't setting the 12/24 hour option
- before.
-
- * gui/dialogs/task-editor-dialog.glade: added "Undefined" priority.
-
-2001-01-12 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/component-factory.c (factory_fn): Pass NULL as the
- @copy_folder_fn arg to `evolution_shell_component_new()'.
-
-2001-01-12 Miguel de Icaza <miguel@ximian.com>
-
- * gui/e-calendar-table.c: Add translation strings.
-
-2001-01-08 Iain Holmes <iain@helixcode.com>
-
- * gui/calendar-summary.c (create_summary_view): Add a PropertyControl
- interface to set whether or not to show tasks and appointments. Add
- a PersistStream to remember this.
-
-2001-01-09 Dave Camp <dave@helixcode.com>
-
- * gui/Makefile.am: Replaced e-meet-dialog.glade.h with
- e-meeting-dialog.glade in glade_messages.
-
- * gui/e-meeting-dialog.glade: Enabled the translatable string option.
-
- * gui/e-itip-control.glade: Likewise.
-
-2001-01-09 Federico Mena Quintero <federico@helixcode.com>
-
- * idl/evolution-calendar.idl (AlarmNotify): New interface for the
- alarm notification system.
-
- * gui/alarm-notify: New directory for the alarm notification
- daemon and its auxiliary stuff.
-
- * gui/alarm-notify/alarm.[ch]: Moved over from gui/alarm.[ch].
-
- * gui/alarm-notify/alarm-queue.[ch]: Moved over from
- gui/alarm-notify.[ch]. Renamed functions from alarm_notify_*() to
- alarm_queue_*().
-
- * gui/alarm-notify/alarm-notify.[ch]: Implementation of the
- GNOME::Evolution::Calendar::AlarmNotify interface.
-
- * gui/Makefile.am (evolution_calendar_LDADD): Removed the
- LINK_FLAGS variable and reordered the libraries to remove some
- duplicated ones.
- (SUBDIRS): Added the alarm-notify directory.
-
-2001-01-08 Iain Holmes <iain@helixcode.com>
-
- * gui/calendar-summary.c (generate_html_summary): Get the tasks
- correctly.
- (generate_html_summary): Mark the tasks as completed if so.
-
-2001-01-08 Damon Chaplin <damon@helixcode.com>
-
- * gui/Makefile.am: added new source files for the Tasks folders.
-
- * gui/e-tasks.[hc]: new widget to encapsulate the Tasks view.
-
- * gui/tasks-control.[hc]: new files to implement the Tasks control.
-
- * gui/tasks-control-factory.[hc]: new files to implement the factory
- for the Tasks controls. (I think the way I've split the code up is a
- lot cleaner than the GnomeCal implementation - the factory file just
- contains the factory functions and the control file contains all the
- control functions. Maybe we should make GnomeCal like this.)
-
- * gui/main.c: initialize the Tasks control factory.
-
- * gui/component-factory.c: added support for the Tasks control.
- Also added a "create_folder" function so we can now create new Tasks
- and Calendar folders within Evolution.
- I'm not a Bonobo expert so someone might want to check these over.
-
- * gui/calendar-config.[hc]: added convenience functions to configure
- the common settings of ECalendar and EDateEdit widgets.
-
- * gui/dialogs/task-editor.c (task_editor_create_date_edit):
- * gui/gnome-cal.c (gnome_calendar_update_config_settings):
- * gui/event-editor.c: used function to configure the ECalendars
- and EDateEdits.
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
- fixed minor bug in format strings.
-
-2001-01-06 Iain Holmes <iain@helixcode.com>
-
- * gui/calendar-summary.c (generate_html_summary): Neaten the HTML,
- and fix the time printing stuff. Add stuff the get Tasks.
- (alarm_fn): Set up an alarm for midnight everynight and regenerate
- the HTML for the new day.
-
-2001-01-05 JP Rosevear <jpr@helixcode.com>
-
- * gui/event-editor.c (get_widgets): get categories button
- (init_widgets): listen for button click
- (fill_widgets): fill in the categories area
- (dialog_to_comp_object): set the cal component categories
- (categories_clicked): throw up the categories dialog and update
- when ok is clicked
-
- * gui/event-editor-dialog.glade: Add categories and contacts buttons
- and fields
-
- * gui/dialogs/task-editor-dialog.glade: Rename button
-
-2001-01-05 JP Rosevear <jpr@helixcode.com>
-
- * gui/dialogs/task-editor.c (get_widgets): get categories button
- (init_widgets): listen for button click
- (fill_widgets): fill in the categories area
- (dialog_to_comp_object): set the cal component categories
- (categories_clicked): throw up the categories dialog and update
- when ok is clicked
-
- * gui/dialogs/task-editor-dialog.glade: Tweak to name the categories
- button and make it active
-
- * gui/calendar-model.c (get_categories): We can get the string list of
- categories directly now
-
- * cal-util/cal-component.c (cal_component_get_categories): new function
- to get the categories list as a string
- (cal_component_set_categories): same but for setting
- (free_icalcomponent): init the categories var
- (scan_categories): kill
- (scan_property): assign the prop to the categories var
- (cal_component_get_categories_list): deal with renaming var to categories
- (cal_component_set_categories_list): fix brokeness
-
-2001-01-03 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-commands.c (new_calendar): Handle the case where
- the calendar view cannot be created; present a warning dialog box.
- (new_calendar): Do not show the widget here, since we already show
- it in control-factory.c.
-
- * gui/control-factory.c (control_factory_new_control): Handle the
- case where the calendar view cannot be created.
-
- * gui/component-factory.c (create_view): Ditto.
-
- * gui/calendar-summary.h: Added prototype for
- calendar_summary_factory_init().
-
-2001-01-02 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/alarm-notify.c (add_component_alarms): If the component has
- no alarms, do not try to queue them.
- (remove_client_alarms): New function to remove all the queued
- alarms for a calendar client.
- (alarm_notify_remove_client): Remove the client's alarms.
-
-2001-01-02 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/dialogs/delete-comp.c (delete_component_dialog): Do not
- compose strings so that they can be localized correctly. Also,
- convert from UTF8 into the font's encoding. Fixes bug #1030.
-
- * gui/e-calendar-table.c (delete_component): Pass the widget
- argument to delete_component_dialog().
-
- * gui/e-day-view.c (e_day_view_on_delete_appointment): Likewise.
-
- * gui/e-week-view.c (e_week_view_on_delete_appointment): Likewise.
-
- * gui/event-editor.c (file_delete_cb): Likewise.
-
- * gui/calendar-commands.c: Use BONOBO_UI_VERB() instead of
- BONOBO_UI_UNSAFE_VERB(). Guess what, all of our handler
- signatures were wrong.
-
- * gui/event-editor.c: Likewise.
-
- * gui/dialogs/task-editor.c: Likewise.
-
- * gui/goto-dialog.glade: Added some spacing between the month/year
- widgets and the calendar widget.
-
-2001-01-01 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.c (gnome_calendar_destroy): Unconditionally remove
- the client from the alarm notification system.
- Removed all the obsolete alarm code.
-
- * gui/event-editor.c: Removed some crufty externs left over from
- Gnomecal.
-
- * gui/calendar-commands.c: #include "goto.h"
- Removed crufty variables left over from Gnomecal.
- (new_calendar): Do not take a full_name parameter.
- (init_username): Removed function.
- (init_calendar): Wheeeeeeee! Removed crufty function.
- (quit_cmd): Removed function.
-
- * gui/print.c (WEEK_STARTS_ON_MONDAY): Made it unconditionally
- FALSE because we do not use the configuration setting anyways.
- Sigh, all the printing code needs to be revamped.
-
-2000-12-26 Iain Holmes <iain@helixcode.com>
-
- * gui/calendar-summary.c (create_summary_view): Create a shared
- BonoboEventSource object.
-
-2000-12-25 Miguel de Icaza <miguel@helixcode.com>
-
- * gui/e-day-view.c (e_day_view_init): Set draw background to FALSE.
- (e_day_view_reshape_long_event): ditto.
- (e_day_view_reshape_day_event): ditto.
-
-2000-12-22 JP Rosevear <jpr@helixcode.com>
-
- * gui/dialogs/delete-comp.c (delete_component_dialog): Clean up
- translatable strings for translators, fixes bug 993
-
-2000-12-22 JP Rosevear <jpr@helixcode.com>
-
- * gui/goto.c (create_ecal): Make sure the current month is shown
- when the dialog pops up.
-
- * gui/goto-dialog.glade: Remove flicker
-
-2000-12-22 JP Rosevear <jpr@helixcode.com>
-
- * pcs/cal-backend-file.c (cal_backend_file_get_alarms_for_object):
- account for the case where there are no alarms, fixes crash
-
-2000-12-22 JP Rosevear <jpr@helixcode.com>
-
- * gui/goto.c (ecal_date_range_changed): New function to keep the
- ecal marked properly
- (create_ecal): move more creation code here, update marks
- (goto_dialog_init_widgets): listen for date_range_changed signal
- in the ecal
-
- * gui/calendar-commands.c (init_calendar): Remove ancient gnomecal
- cruft
-
- * gui/mark.[hc], gui/prop.c: Remove ancient gnomecal code that is
- no longer needed, last bit of bug 904
-
-2000-12-22 JP Rosevear <jpr@helixcode.com>
-
- * gui/goto-dialog.glade.h: translations
-
- * gui/goto-dialog.glade: new glade file for goto dialog
-
- * gui/gnome-cal.c (setup_widgets): Set date navigator attributes
-
- * gui/calendar-commands.h: remove prototype
-
- * gui/goto.h: Add prototype
-
- * gui/Makefile.am: Add glade file stuff
-
- * gui/gnome-cal.c (setup_widgets): Use accessors to configure the
- calendar item properly
-
-2000-12-21 Federico Mena Quintero <federico@helixcode.com>
-
- Alarm trigger queueing for the GUI part.
-
- * gui/alarm-notify.[ch]: New files with the high-level alarm
- notification system; mostly moved over from gnome-cal.c. The
- low-level timer stuff is still in alarm.[ch].
-
- * gui/alarm-notify.c (alarm_notify_init): New function to
- initialize the alarm notification system.
- (alarm_notify_done): New function to shut down the alarm
- notification system.
- (alarm_notify_add_client): New function to start monitoring a
- calendar client for alarm notification.
- (alarm_notify_remove_client): New function to stop monitoring a
- client.
-
- * gui/alarm.h (AlarmDestroyNotify): Also pass in the alarm ID so
- the callback may know which ID is being destroyed.
-
- * gui/alarm.c (clear_itimer): New function.
- (pop_alarm): Use clear_itimer().
- (alarm_done): New function to shut down the timer system.
- (alarm_add): Add some preconditions. Do not call the destroy
- notification function if we could not create the alarm.
- (alarm_ready): Pass the alarm ID to the destroy notify function.
- (alarm_remove): Likewise. Also, add some preconditions.
-
- * gui/gnome-cal.c: Removed the alarm notification functions from
- here since they are now in alarm-notify.c.
- (gnome_calendar_construct): Register the client with
- alarm_notify_add_client().
- (gnome_calendar_destroy): Use alarm_notify_remove_client() to
- unregister the client.
- (obj_updated_cb): Do not do any alarm-related stuff.
- (obj_removed_cb): Likewise.
-
- * gui/main.c (main): Shut down the alarm timer system.
- (main): Initialize and shut down the alarm notification system.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Added
- alarm-notify.[ch] to the list of sources.
-
- * gui/calendar-model.c (calendar_model_set_cal_client): Only
- connect to the "cal_loaded" signal if the client is not already
- loaded.
-
- * gui/e-day-view.c (e_day_view_set_cal_client): Likewise.
-
- * gui/e-week-view.c (e_week_view_set_cal_client): Likewise.
-
- * gui/e-itip-control.c (update_calendar): Connect to "cal_loaded"
- before issuing the load request.
-
-2000-12-21 Iain Holmes <iain@helixcode.com>
-
- * gui/calendar-summary.c: Updated for new executive summary.
-
- * gui/component-factory.c: Reenabled the summary.
-
- * gui/GNOME_Evolution_Calendar.oafinfo: Added the summary.
-
-2000-12-20 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.h: Fix erroneous documentation
-
- * conduits/todo/todo-conduit.c (comp_from_remote_record): if
- !is_empty_time rather than is_empty_time
- (e_todo_context_new): Return a pointer rather than fill in
- a parameter
- (e_todo_context_foreach_change): Free just the key
- (e_todo_context_destroy): Plug this enormous leakage. I had assumed
- i had done this earlier, which isn't too bright when anything beyond
- 2 minutes ago is fuzzy.
- (comp_from_remote_record): Kill warnings
- (post_sync): Destroy the map later
- (conduit_get_gpilot_conduit): Fix e_todo_context_new params
-
- * conduits/calendar/calendar-conduit.[hc]: Similar to above
-
-2000-12-19 JP Rosevear <jpr@helixcode.com>
-
- * conduits/calendar/calendar-conduit.c: Remove pointless comment
-
- * conduits/todo/todo-conduit.c (is_empty_time): add utility function
- (comp_from_remote_record): use it
-
-2000-12-19 JP Rosevear <jpr@helixcode.com>
-
- * conduits/calendar/calendar-conduit.c (local_record_from_comp):
- Convert cal component strings to pilot character set
- (comp_from_remote_record): vice versa
-
- * conduits/todo/todo-conduit.c: Same as above
-
-2000-12-19 Federico Mena Quintero <federico@helixcode.com>
-
- * pcs/cal-backend-file.c (compute_alarm_range): Fix confusion in
- the way the range is expanded.
-
- * cal-util/cal-component.c (cal_component_alarms_free): Doh,
- alarms->alarms is a list, not a generic pointer. Free it properly.
- (cal_component_free_pilot_id): Removed unused function.
- (cal_component_free_pilot_status): Likewise.
-
- * gui/main.c (init_bonobo): Use VERSION instead of a hardcoded
- string. Pass argc by value, not by reference. Test the return
- value of gnome_init_with_popt_table().
-
- * cal-client/cal-client.c (cal_client_free_alarms): Oops, missed
- implementing this function.
-
- * cal-util/timeutil.c (print_time_t): Better printing format.
- (isodiff_to_secs): Removed unused function.
- (isodiff_from_secs): Removed unused function.
- (time_day_end): Removed crufty part.
- (time_day_begin): Removed crufty part.
- (time_day_hour): Removed unused function.
- (format_simple_hour): Removed unused function.
- (get_time_t_hour): Removed unused function.
- (time_from_start_duration): Removed unused function.
-
- * cal-util/timeutil.h (parse_date): Removed unimplemented, unused
- function prototype.
-
-2000-12-19 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/gnome-cal.c: Removed prototype for setup_alarm to fix a
- warning.
-
-2000-12-18 Federico Mena Quintero <federico@helixcode.com>
-
- Alarm instance generation support for the Wombat.
-
- * idl/evolution-calendar.idl (Cal::CalAlarmInstance): Changed to
- have an alarm UID, the trigger time, and the actual occurrence
- time.
- (Cal::CalComponentAlarms): New structure to hold a pair of a
- component and its alarms that trigger in a particular range of
- time.
- (Cal::getAlarmsInRange): Changed to return a CalComponentAlarmsSeq.
-
- * cal-util/cal-component.h (CalAlarmInstance): New C-side
- structure to match the one on the IDL.
- (CalComponentAlarms): Ditto.
- (CalAlarmAction): Renamed from CalComponentAlarmAction.
- (CalAlarmTriggerType): Renamed from CalComponentAlarmTriggerType.
- Encoded the START and END parameters for the RELATED parameter in
- this enum, too. Added a NONE value for invalid or missing trigger
- specifications.
- (CalComponentAlarmTriggerRelated): Removed.
- (CalAlarmTrigger): Renamed from CalComponentAlarmTrigger. Renamed
- the duration/time fields to rel_duration/abs_time, respectively.
-
- * cal-util/cal-component.c (cal_component_alarm_get_trigger):
- Changed to use the new trigger structure.
- (cal_component_alarm_set_trigger): Likewise.
- (cal_component_alarm_free_trigger): Removed function.
- (cal_component_has_alarms): Count the elements in the
- alarm_uid_hash instead of trying to fetch the first alarm subcomponent.
- (cal_component_alarms_free): New function to free a
- CalComponentAlarms structure.
- (CalComponentAlarmPrivate): Added an uid property pointer.
- (scan_alarm_property): Scan for the our extension UID property.
- (cal_component_alarm_get_uid): New function.
-
- * pcs/cal-backend.h (CalBackendClass): Changed the signatures of
- the ::get_alarms_in_range() and ::get_alarms_for_object() methods.
-
- * pcs/cal-backend.c (cal_backend_get_alarms_in_range): Changed
- signature; use the new method.
- (cal_backend_get_alarms_for_object): Likewise.
-
- * pcs/cal-backend-file.c (compute_alarm_range): New spiffy
- function to compute a range of time for alarm occurrences.
- (add_alarm_occurrences_cb): New function to add alarms for a
- particular occurrence of the component.
- (generate_absolute_triggers): New function to add the absolute
- alarm triggers.
- (generate_alarms_for_comp): New function to generate all the alarm
- instances for a component.
- (cal_backend_file_get_alarms_in_range): Implemented.
-
- * pcs/cal.c (Cal_get_alarms_in_range): Use the new CalBackend API.
- (Cal_get_alarms_for_object): Likewise.
- (build_alarm_instance_seq): Removed old function.
-
- * cal-util/cal-util.c (cal_alarm_instance_list_free): Removed
- function.
-
- * cal-client/cal-client.c (build_component_alarms_list): New
- function to demarshal the component alarms sequence.
- (build_alarm_instance_list): New function to demarshal the alarm
- instances sequence.
- (cal_client_get_alarms_in_range): Updated for the new API.
- (cal_client_get_alarms_for_object): Updated for the new API.
-
- * gui/gnome-cal.c: Temporary #ifdef-ing out of alarm-related stuff
- to make it build.
-
-2000-12-15 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/timeutil.[ch] (time_from_isodate): Removed unused
- function, a relic from Gnomecal.
-
-2000-12-15 Dan Winship <danw@helixcode.com>
-
- * cal-util/timeutil.c (time_from_isodate): Fix the sign in the
- HAVE_TM_GMTOFF case
-
-2000-12-15 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Removed getdate.y.
- We no longer use it; it is a relic from Gnomecal.
-
- * gui/getdate.y: Removed file.
-
-2000-12-14 Federico Mena Quintero <federico@helixcode.com>
-
- Fixes bug #955.
-
- * gui/weekday-picker.c (WeekdayPickerPrivate): Added a field for
- the week_start_day, to be used in the same way as
- calendar-config.h defines it. Removed the week_starts_on_monday
- flag.
- (day_event_cb): Use the week_start_day.
- (colorize_items): Likewise.
- (configure_items): Likewise.
- (weekday_picker_set_week_start_day): New function.
- (weekday_picker_get_week_start_day): New function.
- (weekday_picker_set_week_starts_on_monday): Removed function.
- (weekday_picker_get_week_starts_on_monday): Removed function.
-
- * gui/widget-util.[ch]: New files with utilities for creating or
- configuring widgets.
-
- * gui/widget-util.c (date_edit_new): New function to create an
- EDateEdit configured with the calendar's preferences; moved over
- from event-editor.c.
-
- * gui/event-editor.c (make_recur_weekly_special): Use
- weekday_picker_set_week_start_day() and the corresponding function
- from calendar-config.h.
- (init_widgets): Likewise.
- (make_date_edit_with_time): Removed function.
- (make_recur_ending_until_special): Use date_edit_new().
- (make_date_edit): Likewise.
-
- * gui/dialogs/task-editor.c (task_editor_create_date_edit): Likewise.
-
- * gui/event-editor-dialog.glade: Removed references to
- make_date_edit_with_time(); replace them with make_date_edit().
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Added
- widget-util.[ch] to the list of sources.
-
-2000-12-14 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): Reset the widths
- of the columns with pixbufs to the actual pixbufs' sizes; now
- ETable properly computes its column widths so we do not need to
- add extra padding here.
-
-2000-12-14 Dan Winship <danw@helixcode.com>
-
- * gui/calendar-model.c (_XOPEN_SOURCE): #define this to 500, not
- nothing. Also, move this bit after the other #includes to
- prevent potential messiness.
-
-2000-12-13 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (ensure_mandatory_properties): Even
- though icaltime_from_timet() now properly ignores the is_utc
- argument since time_t values *are* in UTC by definition, we were
- passing FALSE for that argument's value in a bunch of places. So
- although it is ignored, changed them to TRUE for consistency.
- Hopefully newer versions of libical will remove that argument
- entirely since it does not make sense to speak of non-absolute
- time_t values.
-
- * cal-util/cal-recur.c (cal_recur_set_rule_end_date): Likewise.
-
- * conduits/calendar/calendar-conduit.c (comp_from_remote_record): Likewise.
-
- * conduits/todo/todo-conduit.c (comp_from_remote_record): Likewise.
-
- * gui/dialogs/task-editor.c (dialog_to_comp_object): Likewise.
-
- * gui/e-day-view.c (e_day_view_on_new_appointment): Likewise.
- (e_day_view_on_delete_occurrence): Likewise.
- (e_day_view_on_unrecur_appointment): Likewise.
- (e_day_view_on_unrecur_appointment): Likewise.
- (e_day_view_finish_long_event_resize): Likewise.
- (e_day_view_finish_resize): Likewise.
- (e_day_view_key_press): Likewise.
- (e_day_view_on_top_canvas_drag_data_received): Likewise.
- (e_day_view_on_main_canvas_drag_data_received): Likewise.
-
- * gui/e-week-view.c (e_week_view_key_press): Likewise.
- (e_week_view_on_new_appointment): Likewise.
- (e_week_view_on_delete_occurrence): Likewise.
- (e_week_view_on_unrecur_appointment): Likewise.
-
- * gui/event-editor.c (simple_recur_to_comp_object): Likewise.
- (recur_to_comp_object): Likewise.
- (dialog_to_comp_object): Likewise.
-
- * gui/gnome-cal.c (gnome_calendar_new_appointment): Likewise.
-
-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.
-
-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
-
-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)
-
-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.
-
-2000-12-11 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/Makefile.am (test_recur_LDADD): Link to the libical
- shared library.
-
- * cal-client/Makefile.am (client_test_LDADD): Likewise.
-
- * conduits/calendar/Makefile.am (libecalendar_conduit_la_LIBADD):
- Likewise.
-
- * gui/Makefile.am (LINK_FLAGS): Likewise.
-
-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.
-
-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.
-
-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.
-
-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.
-
-2000-12-08 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (fill_widgets): Free the dates we get from
- the component.
-
-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
-
-2000-12-07 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/e-calendar-table.c: Got rid of code referencing the
- ETableScrolled proxy functions.
-
-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
-
-2000-12-07 Chris Toshok <toshok@helixcode.com>
-
- * cal-client/Makefile.am (client_test_LDADD): add
- EXTRA_GNOME_LIBS.
-
-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
-
-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.
-
-2000-12-06 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (file_delete_cb): Confirm before deleting the
- event.
-
-2000-12-06 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-week-view.c (e_week_view_init): unref the pixbuf when
- finished with it
-
-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.
-
-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
-
-2000-12-06 JP Rosevear <jpr@helixcode.com>
-
- * cal-util/cal-util.c:
-
- * 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
-
-2000-12-06 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/Makefile.am: Fix my build stupidty READ THE MACRO
-
- * conduits/calendar/Makefile.am: ditto
-
-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.
-
-2000-12-04 Dan Winship <danw@helixcode.com>
-
- * gui/e-itip-control.c: Remove mysterious #include inserted by
- mmeeks to break the build.
-
-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.
-
-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.
-
- * 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.
-
-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
-
-2000-11-30 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-itip-control.c: fixed a bug that caused the calendar to
- segfault when the iTip control was destroyed.
-
-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
-
-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.
-
-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.
-
-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 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.
-
-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.
-
-2000-11-28 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-meeting-edit.c: removed some debugging code that I had,
- which might have caused problems.
-
-2000-11-27 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/calendar-model.c: added a preliminary change to have
- Assigned To-Do items have a corresponding icon.
-
-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-26 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-day-view.c (e_day_view_set_days_shown): == instead of =.
-
-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.
-
-2000-11-24 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/e-calendar-table.c (e_calendar_table_init): Unref the ETable
- extras.
-
-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.
-
-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.
-
-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. You may need to erase
- your ~/evolution/config/TaskPad for this to appear.
-
-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.
-
-2000-11-21 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-itip-control.c: fixed the stupid Bonobo widget size
- allocation bug that had been vexing me.
-
- * gui/e-itip-control.glade: I removed some hacks that were
- necessary for said size bug.
-
-2000-11-16 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-itip-control.c, gui/e-meeting-edit.c: added cancellation
- code to our program; people can cancel meetings, which is the best
- thing to do for most meetings.
-
-2000-11-13 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-itip-control.c: made the REPLY code actually work.
-
-2000-11-13 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/itip-utils.[ch]: I created this file to store some commonly used enumeration to
- string mappings and functions.
-
- * gui/Makefile.am: this was changed to reflect the addition of the above file.
-
- * gui/e-itip-control.c: added code to take action on a REPLY message.
-
- * gui/e-meeting-edit.c: bug fixes.
-
-2000-11-12 Federico Mena Quintero <federico@helixcode.com>
-
- OK, bugzilla bug #829 is fixed and that does not redeem me from
- extreme procrastination. Wheeeeeeeeeeeeeeee!
-
- * gui/event-editor-dialog.c: Changed the "Rule view" label to
- "Preview"
-
-2000-11-12 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (make_recur_ending_count_special): Misspelled
- "occurrences".
- (fill_recurrence_widgets): Sensitize the "Custom recurrence" radio
- button as appropriate.
- (sensitize_recur_widgets): Resurrected the recurrence custom
- warning label.
- (get_widgets): Load the recurrence custom warning bin.
-
- * gui/event-editor-dialog.glade: Add an empty alignment for the
- recurrence custom warning label.
-
-2000-11-12 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (recur_preview_date_range_changed_cb): New
- function; re-tag the calendar when its date range changes.
- (init_widgets): Connect to "date_range_changed" on the recurrence
- preview calendar.
- (make_recur_weekly_special): Connect to "changed" on the weekday
- picker.
- (recur_weekday_picker_changed_cb): New function; re-tag the calendar.
- (month_day_menu_selection_done_cb): Re-tag the calendar.
- (recur_month_index_value_changed_cb): Likewise.
- (recur_ending_until_changed_cb): Likewise.
- (recur_ending_count_value_changed_cb): Likewise.
- (make_recur_monthly_special): Connect to "value_changed" on the
- adjustment of the month index.
- (make_recur_ending_until_special): Connect to "changed" on the
- ending-until date picker.
- (make_recur_ending_count_special): Connect to "value_changed" on
- the ending-count adjustment.
- (init_widgets): Set to zero the maximum number of selectable days
- in the recurrence preview calendar. Set the week_start_day from
- the calendar's configuration.
-
-2000-11-12 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (clear_widgets): Block the signals as appropriate.
- (fill_ending_date): Ditto.
- (fill_recurrence_widgets): Ditto.
- (recurrence_type_toggled_cb): Only sensitize the widgets and
- preview the recurrence if the toggle button is active.
-
-2000-11-12 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (recur_to_comp_object): Clear the rdate and
- exrule lists from the component if we are setting a simple
- recurrence.
- (recur_to_comp_object): Set the exdate list here instead of in
- dialog_to_comp_object().
- (preview_recur): New function to tag the recurrence preview
- calendar based on the information from the dialog box.
- (fill_exception_widgets): Fill the exception widgets here; moved
- over from fill_widgets().
- (fill_recurrence_widgets): Call preview_recur(). Also, call
- fill_exception_widgets() first of all.
- (recurrence_type_toggled_cb): Call preview_recur().
- (recur_interval_selection_done_cb): Likewise.
- (recur_ending_selection_done_cb): Likewise.
- (recurrence_exception_add_cb): Likewise.
- (recurrence_exception_modify_cb): Likewise.
- (recurrence_exception_delete_cb): Likewise.
- (date_changed_cb): Likewise.
- (recur_interval_value_changed_cb): Likewise, new function.
-
- * gui/tag-calendar.[ch]: New files with utilities for tagging
- calendars. mark.[ch] should go away some day.
-
- * gui/tag-calendar.c (tag_calendar): Moved over from
- gnome_calendar_tag_calendar(). Take in a CalClient instead of a
- GnomeCalendar. Added API docs.
- (tag_calendar_by_comp): New function to tag a calendar based on a
- single calendar component instead of a whole client.
-
- * gui/gnome-cal.c (initial_load): Use tag_calendar_by_client().
- (obj_updated_cb): Likewise.
- (obj_removed_cb): Likewise.
- (gnome_calendar_on_date_navigator_date_range_changed): Likewise.
- (editor_closed_cb): Free the closure.
- (destroy_editor_cb): Renamed from free_uid(). Do not free the
- UID; just unref the event editor. Our destroy handler to it will
- free things properly. This will also cause the corresponding
- calendar client to be unrefed.
- (editor_closed_cb): Use a flag on the GnomeCalendar to decide
- whether to remove the editor from the hash table. This is sort of
- icky.
-
- * gui/calendar-model.c (obj_updated_cb): If the object is new, we
- have to use e_table_model_row_inserted(), not row_changed().
- Thanks to JP Rosevear for reporting this.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Added
- tag-calendar.[ch] to the list of sources.
-
-2000-11-11 Matt Bissiri <bissiri@eecs.umich.edu>
-
- * gui/evolution-calendar.oafinfo:
- Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*"
- to sync up with yesterday's IDL re-scoping.
-
-2000-11-10 Michael Meeks <michael@helixcode.com>
-
- * gui/Makefile.am ($(IDL_GENERATED)): sort include order.
-
- * pcs/Makefile.am (idl_flags): ditto.
-
-2000-11-10 JP Rosevear <jpr@helixcode.com>
-
- * conduits/calendar/calendar-conduit.c (for_each_modified): Inc the
- iterator before finding the next changed item.
-
- * conduits/todo/todo-conduit.c (for_each_modified): ditto
-
-2000-11-09 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-itip-control.c: I wrote the code so that recipients of meeting requests
- can reply appropriately.
-
-2000-11-09 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-meeting-edit.c: fixed a bug that would make the calendar segfault
- if the meeting editor were called up twice without first saving the
- component.
-
-2000-11-08 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-itip-control.c, gui/e-itip-control.glade: updated the GUI
- to allow the user to add PUBLISHed events to his calendar, and created
- unworking buttons for meeting requests.
-
-2000-11-08 Federico Mena Quintero <federico@helixcode.com>
-
- These changes fix bugzilla bugs #874 and #875.
-
- * cal-util/cal-component.c (cal_component_get_exdate_list): Return
- a list of CalComponentDateTime instead of simple struct
- icaltimetype objects. Exception date properties *can* contain a
- timezone parameter, so we need to include those if they are
- present.
- (cal_component_set_exdate_list): On the input, handle a list of
- CalComponentDateTime structures. On the internals, handle a list
- of struct datetime instead of plain properties.
- (cal_component_free_exdate_list): Handle a list of
- CalComponentDateTime structures.
- (scan_exdate): Create a list of struct datetime structures.
- (free_icalcomponent): Free the exdate_list properly.
-
- * cal-util/cal-recur.c (generate_instances_for_chunk): Use the
- proper types for exception dates.
-
- * gui/comp-util.h:
- * gui/comp-util.c: New files with utilities for manipulating
- calendar component objects.
- (cal_comp_util_add_exdate): New function.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Added
- comp-util.[ch] to the list of sources.
-
- * gui/e-day-view.c (add_exdate): New convenience function to add
- an exception date to a calendar component.
- (e_day_view_on_unrecur_appointment): Use cal_comp_util_add_exdate().
- (e_day_view_on_delete_occurrence): Likewise.
-
- * gui/e-week-view.c (e_week_view_on_delete_occurrence): Likewise.
- (e_week_view_on_unrecur_appointment): Likewise.
-
- * gui/event-editor.c (nth_weekday): Be paranoid about valid
- position values.
- (fill_widgets): Use the proper types for exdates.
- (dialog_to_comp_object): Likewise.
-
-2000-11-08 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (adjust_day_index_spin): Adjust the valid
- range of the month index spin button depending on the selection of
- the day/weekday menu.
-
-2000-11-07 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-itip-control.c, gui/e-itip-control.glade: changed the GUI,
- and added some extra feedback for the user.
-
-2000-11-07 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/weekday-picker.h (WeekdayPickerClass): Added a "changed"
- signal to notify of changes to the set of selected days.
-
- * gui/weekday-picker.c (weekday_picker_class_init): Create the
- "changed" signal.
- (weekday_picker_set_days): Emit the "changed" signal.
-
-2000-11-06 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-itip-control.c, gui/e-itip-control.glade: changed to GUI to
- accomodate dynamically generated buttons, which will be tailored to
- the type of iTip message that is incoming.
-
- * gui/e-meeting-dialog.glade gui/e-meeting-edit.c: added a new button
- to publish events, in addition to requesting meetings.
-
-2000-11-05 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor-dialog.glade: Removed the old recurrence page.
- Wheeeeeeeeee!
-
- * gui/event-editor.c (make_recurrence_special): Clear the monthly
- widgets.
- (make_recur_monthly_special): Create the monthly widgets.
- (clear_widgets): Clear the monthly values.
- (simple_recur_to_comp_object): Fill in the monthly values.
- (fill_recurrence_widgets): Fill in the monthly and yearly source
- values.
- (dialog_to_comp_object): Take in a CalComponent instead of using
- the event editor's directly.
- (recur_to_comp_object): Likewise.
- (simple_recur_to_comp_object): Likewise.
- (EventEditorPrivate): Removed the widgets from the old recurrence
- page.
- (get_widgets): Likewise.
- (clear_widgets): Likewise.
- (dialog_to_comp_object): If the description or summary are empty,
- just clear the description list or summary property, respectively,
- instead of saving empty ones.
- (simple_recur_to_comp_object): Set the week_start field.
-
- * gui/main.c: Fix includes, and add calendar-config.h.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): The glade messages
- file should not be in SOURCES.
-
-2000-11-05 Christopher James Lahey <clahey@helixcode.com>
-
- * doc/.cvsignore, doc/C/.cvsignore: Removed unnecessary .cvsignore
- files.
-
-2000-11-03 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (check_all_day): Block signals from the
- toggle button.
- (date_changed_cb): Merged check_dates() and check_times() into
- this function; provide better behavior as well.
- (check_dates): Removed function.
- (check_times): Removed function.
- (init_widgets): Connect to the "changed" signal on the start_time
- and end_time widgets.
- (check_all_day): Use a better test.
-
- * gui/Makefile.am: Clean the idl-generated sources properly.
- * cal-client/Makefile.am: Likewise.
-
-2000-11-03 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-itip-control.c: added some checks for the type of an
- incoming iCal component before passing it off to the CalComponent
- routines.
-
-2000-11-02 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/dialogs/task-editor.c (init_widgets): The date editor's
- signal is now "changed".
- (completed_changed): Renamed callback to reflect the name of the
- signal.
-
-2000-11-01 Gediminas Paulauskas <menesis@delfi.lt>
-
- * gui/main.c: (main): added call to bindtextdomain and textdomain, so
- all calendar gui shows up localized.
-
-2000-10-31 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (count_by_xxx): Hmmm. SHRT_MAX changed to
- ICAL_RECURRENCE_ARRAY_MAX in libical. Deal with it.
- (fill_recurrence_widgets): Likewise.
- (simple_recur_to_comp_object): Fixed incorrect assertion. The
- weekday picker is not the immediate child of the recurrence
- special container.
- (fill_recurrence_widgets): Call make_recurrence_special() after
- setting the recurrence period type.
- (fill_ending_date): Call make_recurrence_ending_special(). This
- would be so much nicer if GTK+ were model/view all over.
-
-2000-10-31 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.h: Remove add/del/mod hashes and
- add changed_hash.
-
- * conduits/calendar/calendar-conduit.h: ditto
-
- * conduits/todo/todo-conduit.c (next_changed_item): Utility function
- to get the next "really" changed item (changed status can be cleared now)
- (compute_status): Compute status based on changed_hash
- (pre_sync): Fill changed_hash and counts adds/mods/dels
- (set_status_cleared): New callback handler - avoid double syncing
- (for_each_modified): Use next_changed_item to iterate
- (add_archive_record): kill
- (delete_archive_record): kill
- (archive_record): New callback handler - mark/unmark archive status
- (conduit_get_gpilot_conduit): Adjust signal connects
-
- * conduits/calendar/calendar-conduit.c: ditto
-
-2000-10-30 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (sensitize_recur_widgets): New function. We
- split it from the radio callback so that we can call it explicitly
- from fill_recurrence_widgets().
- (fill_recurrence_widgets): Call sensitize_recur_widgets() as
- appropriate.
-
-2000-10-30 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-commands.c (new_calendar): Removed the geometry and
- hidden arguments. This code is ancient.
- (all_calendars): Made static. This sucks; configuration should be
- notification-based instead of "let's iterate through all open
- calendars".
- (active_calendars): Removed. Functions can check the length of
- the all_calendars list if they are interested.
-
- * gui/event-editor.c (sync_entries): Do not take in an extra data
- pointer.
- (summary_changed_cb): Use a single call back to sync both entries.
- (sync_date_edits): New function to sync two EDateEdit widgets.
- (init_widgets): Connect the general and recurrence starting date
- widgets.
-
-2000-10-27 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (sync_entries): New function.
- (general_summary_changed_cb): Sync the general summary to the
- recurrence summary widget.
- (recurrence_summary_changed_cb): Vice-versa.
- (init_widgets): Hook to the summaries.
-
- * event-editor-dialog.glade: Do not expand/fill the start and end
- date so that the "all day event" button is not pushed all the way
- to the right.
- Decrease the spacing between the recurrence sentence widgets.
- Remove a spurious empty label that was lurking around the
- recurrence widgets.
- Make the alarm widgets expand the right way.
- Delete old recurrence widgets.
-
-2000-10-27 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (init_widgets): Connect to the recurrence
- ending menu.
- (recur_ending_selection_done_cb): Implemented.
- (make_recurrence_ending_special): Implemented.
- (make_recur_ending_until_special): Implemented.
- (fill_ending_date): Implemented.
- (make_recur_ending_count_special): Implemented.
- (simple_recur_to_comp_object): Fill in the ending date.
- (clear_widgets): Clear the recurrence ending widgets.
-
- * gui/event-editor-dialog.glade: Moved the recurrence type radio
- buttons to a single hbox to save space.
- Fixed the lower value of the recurrence interval spin button.
- Removed the stale widgets from the recurrence ending date part.
-
-2000-10-27 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-meeting-edit.c: fixed problems in which I allocated CORBA
- strings of 0 length, but then didn't NULL terminate them.
-
-2000-10-27 <jpr@helixcode.com>
-
- * conduits/calendar/calendar-conduit.c (check_for_slow_setting):
- Check boundary case of fast sync
-
- * conduits/todo/todo-conduit.c (check_for_slow_setting): ditto
-
-2000-10-27 <jpr@helixcode.com>
-
- * conduits/calendar/calendar-conduit.c (add_archive_record): Remove
- invalid test.
- (local_record_from_comp): If the event is all day, mark it as timeless
- (comp_from_remote_record): Timeless events take up all day
-
- * conduits/todo/todo-conduit.c (add_archive_record): ditto
-
-2000-10-27 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.c (add_archive_record): Take proper
- number of parameters
-
- * conduits/calendar/calendar-conduit.c (add_archive_record): ditto
-
-2000-10-26 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (EventEditorPrivate): Integrate Anna's new
- recurrence page. Replace the old widget pointers with the new
- ones. Modified the relevant functions accordingly and added
- plenty of new ones.
- (event_editor_get_cal_client): New function.
- (fill_recurrence_widgets): This is *THE* tricky function for you.
- It has to discriminate whether we get a recurrence we support for
- editing or not. And this is not trivial. Sigh.
- (event_editor_update_widgets): Added preconditions and API docs.
-
- * event-editor-dialog.glade: Fixed all the spacings/
- paddings/packing options so that the widgets will look right if
- the dialog box is resized. Also fixes some misaligned widgets.
-
- * cal-util/cal-component.c (cal_component_set_rdate_list): Removed
- incorrect assertion.
-
-2000-10-26 Michael Meeks <michael@helixcode.com>
-
- * pcs/cal-factory.c (str_tolower): unsigned chars to isalpha
-
- * cal-util/calobj.c (weekdaylist, weekdaynum): ditto.
-
-2000-10-25 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-meeting-edit.c: brushed up some code to deal with
- the organizer entry, and solidified the CORBA memory-freeing
- issues.
-
-2000-10-25 Jesse Pavel <jpavel@helixcode.com>
-
- * removed the Evolution-Composer generated files, due
- to a tip on how we do things.
-
-2000-10-25 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-meeting-edit.c: I fixed a bunch of memory-deallocation
- bugs, and finished the initial integration with the mailer.
-
- * gui/Makefile.am: made the build us the Evolution-Composer.idl
- from the composer directory.
-
-2000-10-25 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/Evolution-Composer.idl: added this from the composer IDL sources
-
- * gui/Makefile.am: changed to reflect the above IDL and the associated
- orbit-idl generated files.
-
- * gui/Evolution-Composer.h,
- gui/Evolution-Composer-common.c,
- gui/Evolution-Composer-stubs.c,
- gui/Evolution-Composer-skels.c:
- the generated files, as per the above description.
-
- * gui/e-meeting-edit.c: more work towards mailer integration.
-
-2000-10-24 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-meeting-edit.c: I've added code to interact with the mailer's
- CORBA interfaces, though it's not yet working.
-
-2000-10-23 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.c (local_record_from_comp): Use
- new e-pilot-map lookup function
- (match): ditto
-
- * conduits/calendar/calendar-conduit.c (local_record_from_comp): Use
- new e-pilot-map lookup function
- (match): ditto
-
-2000-10-23 Dan Winship <danw@helixcode.com>
-
- * pcs/Makefile.am (INCLUDES):
- * gui/dialogs/Makefile.am (INCLUDES):
- * gui/Makefile.am (INCLUDES):
- * cal-util/Makefile.am (INCLUDES):
- * cal-client/Makefile.am (INCLUDES): Update GNOMELOCALEDIR.
-
-2000-10-23 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.h: Use new libeconduit calls and
- abstraction
-
- * conduits/calendar/calendar-conduit.c: ditto
-
- * conduits/calendar/calendar-conduit.h: ditto
-
- * conduits/todo/todo-conduit.c: ditto
-
- * conduits/calendar/Makefile.am: Add libeconduit-static.la
-
- * conduits/calendar/calendar-conduit.c (post_sync): Use e_pilot_map_write
- (pre_sync): Use e_pilot_map_read
-
-2000-10-23 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/Makefile.am: Add libeconduit-static.la
-
- * conduits/todo/todo-conduit.c (post_sync): Use e_pilot_map_write
- (pre_sync): Use e_pilot_map_read
-
-2000-10-21 Damon Chaplin <damon@helixcode.com>
-
- * gui/dialogs/cal-prefs-dialog.c
- (cal_prefs_dialog_use_24_hour_toggled): removed debug message.
-
- * gui/e-calendar-table.c (e_calendar_table_save_state): new function
- to save the state of the table to a given file.
-
- * gui/e-calendar-table.h (struct _ECalendarTable): added etable field
- so we can access it to save the state.
-
- * gui/gnome-cal.c (gnome_calendar_destroy): call
- e_calendar_table_save_state() to save the state of the TaskPad.
- (setup_widgets): load the state of the TaskPad.
-
- * gui/calendar-config.c: added support for the default view.
-
- * gui/gnome-cal.c (gnome_calendar_construct):
- (gnome_calendar_set_view_internal): use/set the default view setting.
-
-2000-10-20 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-meeting-editor.c: added more (working) integration with the
- meeting schedular.
-
-2000-10-20 Jesse Pavel <jpavel@helixcode.com>
-
- * cal-utils/cal-component.c: in set_datetime(), I put an #if 0'd portion
- of the code back into operation, because the icalproperty_remove_parameter()
- function is now implemented.
-
- * gui/e-meeting-editor.c: added more (unworking) integration with the
- meeting schedular.
-
-2000-10-20 JP Rosevear <jpr@helixcode.com>
-
- * pcs/cal-backend.c (cal_backend_destroy): New destroy
- handler to properly stop the timer, sync the log and unref
- the URI.
- (cal_backend_last_client_gone): Just emit the signal,
- clean up work is done in cal_backend_destroy now.
-
- * pcs/cal-backend-file.c (cal_backend_file_load): Unref the
- uri we are replacing NOT the new uri.
-
-2000-10-20 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/Makefile.am: Fix build
-
- * conduits/calendar/Makefile.am: Fix build
-
-2000-10-20 JP Rosevear <jpr@helixcode.com>
-
- * conduits/calendar/calendar-conduit.c (delete_archive_record):
- Don't throw an error
-
- * conduits/todo/todo-conduit.c (delete_archive_record): ditto
-
-2000-10-20 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit-control-applet.c: Add defines
-
- * conduits/todo/todo-conduit-config.h: put #ifdefs around functions
- can't make this a public interface in the usual way as then the
- symbols would be exported
-
- * conduits/todo/todo-conduit.c: Kill warnings. clahey will be
- happy! Add some defines to include only the necessary config functions.
- (conduit_get_gpilot_conduit): Hook up archive signals
-
- * conduits/calendar/calendar-conduit.c: Same as above
-
- * conduits/calendar/calendar-conduit-control-applet.c: ditto
-
- * conduits/calendar/calendar-conduit-config.h: ditto
-
-2000-10-20 Michael Meeks <michael@helixcode.com>
-
- * gui/calendar-commands.h: s/BonoboUIHandler/BonoboUIComponent/
-
- * gui/calendar-commands.c (properties_cmd): ditto.
-
-2000-10-20 Damon Chaplin <damon@helixcode.com>
-
- * gui/calendar-model.c (calendar_model_value_at): use
- cal_component_has_alarms().
-
-2000-10-20 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): added
- _click-to-add-message, though I'm not sure if i18n will work.
-
- * cal-util/cal-recur.c (cal_obj_time_add_hours):
- (cal_obj_time_add_minutes):
- (cal_obj_time_add_seconds): updated to handle -ve args.
-
- * cal-util/timeutil.c (time_add_day): set tm_isdst to -1 before calling
- mktime().
-
- * cal-util/cal-recur.c (generate_instances_for_chunk): don't call the
- callback if the event ends exactly on the interval start time.
-
- * gui/e-week-view.c (e_week_view_reshape_event_span):
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
- * gui/e-day-view.c (e_day_view_reshape_long_event):
- (e_day_view_reshape_day_event): use cal_component_has_alarms().
-
- * cal-util/cal-component.[hc]: added cal_component_has_alarms().
-
-2000-10-16 Damon Chaplin <damon@helixcode.com>
-
- * gui/calendar-config.c (config_read): set default MonthVPanePosition
- to 1 rather than 0, so if you move the hpane you'll see the date
- navigator.
-
-2000-10-19 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/event-editor.[ch]: added a public function which causes the
- event editor to reload its widgets to the associated CalComponent.
-
- * gui/e-meeting-edit.c: added rudimentary support for the phat
- e-meeting-time-selector widget, though it has no effect on the
- component yet.
-
- * gui/Makefile.am: the meeting editor depends on the meeting widget
- library, now.
-
- * gui/e-itip-control.glade: I added another toolbar button that summons
- from the hoary deep the meeting time widget.
-
-2000-10-19 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/Makefile.am: Add `event-editor-dialog.glade.h'.
- (EXTRA_DIST): Add `$(glade_messages)'.
-
-2000-10-19 Michael Meeks <michael@helixcode.com>
-
- * gui/calendar-commands.c (tb_print_cb): remove; redundant.
-
- * gui/event-editor.c (create_menu, create_toolbar): kill.
- (event_editor_destroy): upd.
- (event_editor_construct): update to new UI handler, cast
- priv->general_summary to a widget not an object.
-
-2000-10-18 Michael Meeks <michael@helixcode.com>
-
- * gui/dialogs/task-editor.c (create_menu, create_toolbar): die.
- (debug_xml_cb): add debugging hook.
-
- * gui/dialogs/Makefile.am: add EVOLUTION_DATADIR
-
- * gui/dialogs/task-editor.c (task_editor_construct): upd for new UI.
-
-2000-10-17 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit-control-applet.c: Add defines
-
- * conduits/todo/todo-conduit-config.h: put #ifdefs around functions
- can't make this a public interface in the usual way as then the
- symbols would be exported
-
- * conduits/todo/todo-conduit.c: Kill warnings. clahey will be
- happy! Add some defines to include only the necessary config functions.
- (conduit_get_gpilot_conduit): Hook up archive signals
-
- * conduits/calendar/calendar-conduit.c: Same as above
-
- * conduits/calendar/calendar-conduit-control-applet.c: ditto
-
- * conduits/calendar/calendar-conduit-config.h: ditto
-
-2000-10-16 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-itip-control.c: You can now add incoming iTip
- messages to your calendar store.
-
- * gui/e-itip-control.glade: added a progress bar dialog
- in case the calendar loading takes a long time.
-
-2000-10-16 JP Rosevear <jpr@helixcode.com>
-
- * cal-client/cal-client.h: Remove pilot cruft. All pilot stuff
- is in the conduits now and uses the logging facility.
-
- * pcs/cal-backend-file.c: ditto
-
- * pcs/cal-backend.h: ditto
-
- * pcs/cal-backend.c: ditto
-
- * pcs/cal.c: ditto
-
- * pcs/cal.h: ditto
-
- * idl/evolution-calendar.idl: ditto
-
- * cal-util/cal-component.h: ditto
-
- * cal-util/cal-component.c: ditto
-
- * cal-client/cal-client.c: ditto
-
- * conduits/calendar/calendar-conduit.c (local_record_from_comp):
- Take a stab at storing recurrence stuff on the pilot properly
-
- * pcs/cal-backend.c (cal_backend_update_object): Don't log the
- event until after the update in case its a new item
-
-2000-10-16 Tuomas Kuosmanen <tigert@helixcode.com>
-
- * gui/dayview.xpm, gui/workweekview.xpm, gui/weekview.xpm
- gui/monthview.xpm gui/yearview.xpm: Updated icons, let me know
- if you like these or not, I might work on these some more but
- I wanted to put these versions up anyway to get feedback..
-
-2000-10-15 Dan Winship <danw@helixcode.com>
-
- * gui/Makefile.am: Remove CPPFLAGS def since the -D there was
- already in INCLUDES
-
-2000-10-14 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/evolution-calendar.oafinfo: Added an
- "evolution:shell-component-icon" attribute.
-
-2000-10-12 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-itip-control.{c,glade}: Made the control much more
- relavent to the function at hand.
-
-2000-10-12 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): set the 2 icon
- columns to a min width of 18 and resizable to FALSE.
-
-2000-10-12 Damon Chaplin <damon@helixcode.com>
-
- * gui/calendar-commands.c (calendar_control_activate):
- (update_pixmaps):
- (set_pixmap): set the pixmaps of the toolbar buttons for the views,
- and removed a lot of old unused stuff. We'll use plain buttons for
- the view buttons for now, until Bonobo toolbars support radio buttons.
-
- * gui/gnome-cal.c (gnome_calendar_dayjump): check day_button is not
- NULL before using it.
- (gnome_calendar_update_view_buttons): check button is not NULL.
-
-2000-10-11 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-day-view-time-item.c (e_day_view_time_item_draw): got 12/24
- hour format the wrong way round.
-
-2000-10-12 JP Rosevear <jpr@helixcode.com>
-
- * conduits/calendar/calendar-conduit.c (comp_from_remote_record):
- Store recurrence stuff on the desktop properly
- (get_ical_day): Utility function
-
-2000-10-12 Iain Holmes <iain@helixcode.com>
-
- * gui/component-factory.c: Disable the executive summary.
-
-2000-10-11 JP Rosevear <jpr@helixcode.com>
-
- * pcs/cal-backend.c (cal_backend_log_entry): Take CalObjType
- as a param because its impossible to determine after a delete.
- (cal_backend_remove_object): Calculate CalObjType and pass
- it to cal_backend_log_entry
- (cal_backend_update_object): ditto
-
- * conduits/todo/todo-conduit.c (local_record_from_comp): Kill
- unused variables.
- (add_archive_record): Don't kill the sync if this happens
- (update_record): Kill old function
- (replace_record): New function to handle replace_record signal
- (conduit_get_gpilot_conduit): Listen for replace record signal
- (add_record): Always add a new record, never replace
- (replace_record): Always replace an existing record
-
- * conduits/calendar/calendar-conduit.c: Same as above
-
-2000-10-10 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-itip-control.c: set a default size for the control.
-
-2000-10-10 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/evolution-calendar.oafinfo: Added information about the
- text/calendar MIME type, so that the evolution-calendar is called
- to deal with iMIP attachments.
-
- * gui/e-itip-control.[ch]: These files implement a Bonobo
- control that will eventually deal with iMIP/iTIP messages from
- the mailer. Right now, it's not working.
-
- * gui/e-itip-control.glade: The Glade GUI for the above-mentioned
- control.
-
- * gui/Makefile.am: added references to the files I created.
-
- * gui/main.c: called the initialization function of the Bonobo
- control factory.
-
-2000-10-11 Tuomas Kuosmanen <tigert@helixcode.com>
-
- * gui/task-assigned-to.xpm gui/task-assigned.xpm
- gui/recur.xpm gui/task-recurring.xpm gui/task.xpm:
- New versions of the icons for the tasklist/pad.
-
-2000-10-11 Damon Chaplin <damon@helixcode.com>
-
- * gui/component-factory.c (owner_unset_cb): don't free evolution_dir
- as we need it to save the config settings.
-
-2000-10-11 Damon Chaplin <damon@helixcode.com>
-
- * gui/main.c (main): call calendar_config_write_on_exit() to write
- out some special config settings (as the mail component does).
-
- * gui/calendar-commands.c (properties_cmd): changed to use the new
- preferences dialog.
- (update_all_config_settings): new function to iterate over all the
- calendars and update the config settings.
-
- * gui/dialogs/cal-prefs-dialog.glade: preferences dialog.
-
- * gui/dialogs/cal-prefs-dialog.[hc]: new files for the preferences
- dialog.
-
- * gui/calendar-config.[hc]: new files to handle loading/saving config
- settings.
-
- * cal-util/cal-recur.c: fixed bug in YEARLY when no filters were set,
- plus minor changes.
-
- * cal-util/test-recur.c: updated.
-
- * gui/e-day-view-time-item.c:
- * gui/popup-menu.c: update to #include <gal/widgets/e-gui-utils.h>
-
- * gui/component-factory.c (owner_set_cb): called calendar_config_init.
- (owner_set_cb):
- (owner_unset_cb): updated the prototypes.
-
- * gui/main.c (main): added call to calendar_config_write_on_exit().
-
- * gui/component-factory.h:
- * gui/component-factory.c (owner_set_cb): added global evolution_dir
- just like the mail component, so we know we to store config stuff.
-
-2000-10-11 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/e-calendar-table.c: Fixed the column elements here.
-
-2000-10-11 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/e-calendar-table.c: Updated to use the new ETable
- specification stuff.
-
-2000-10-11 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.c (map_sax_start_element): The
- element is "pilot_id" not "pilotid". Update both maps
- (compute_pid): Utility function to set a local records pid
- (local_record_from_comp): Compute the pid and status here,
- no longer use the old cal_component pilot interfaces
- (free_match): Its a *local not a **local
-
- * conduits/calendar/calendar-conduit.c: same as above
-
- * conduits/todo/todo-conduit.h: Have both a uid and pid map
-
- * conduits/todo/calendar-conduit.h: same as above
-
-2000-10-09 JP Rosevear <jpr@helixcode.com>
-
- * conduits/*: Adjust to using gnome-pilot-sync-abs conduit which
- is based on the latest pilot link changes.
-
-2000-10-09 Iain Holmes <iain@helixcode.com>
-
- * Makefile.am: Added the executive-summary library and cflags
-
- * gui/evolution-calendar.oafinfo: Added oaf servers for the
- executive summary and executive summary factory.
-
- * gui/calendar-summary.[ch]: New files to create the summary.
-
- * gui/component-factory.c (summary_fn): Create the executive
- summary component.
- (component_factory_init): Start the summary factory as well.
-
-2000-10-06 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/weekday-picker.[ch]: New widget to pick weekdays.
-
-2000-10-05 Michael Meeks <michael@helixcode.com>
-
- * gui/calendar-commands.c: upd.
- (calendar_control_activate): upd.
- (calendar_control_deactivate): upd.
-
-2000-10-05 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-day-view.c:
- * gui/e-week-view.c: when the user types in a new event, don't create
- it until the user hits Return or switches focus. Removed the
- editing_new_event flags.
-
- * cal-util/test-recur.c: rewritten to work on ics files. Now I can
- start testing the recurrence code.
-
- * cal-util/cal-recur.c: a few fixes.
-
- * gui/e-day-view.c (e_day_view_check_if_new_event_fits): fixed to
- return TRUE for long events, not FALSE.
-
-2000-10-04 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/print.c (print_todo_details): As a temporary solution to the
- to-do printing, just print the summaries. We'll use the ETable
- printing stuff later.
-
- * gui/print.c (print_day_summary_cb): Use g_list_append() correctly.
- (print_todo_details_cb): Likewise.
- (print_day_summary): Initialize psi.events. This code was
- obviously never tested.
- (print_todo_details): Likewise.
- (print_day_details): Initialize pdi.slots.
-
- * gui/print.c (range_selector_new): Fix strftime() %a versus %b
- confusion. Fixes bugzilla #644.
- (range_selector_new): Fix the whole localization mess by making
- better use of strftime(). Now we generate whole date strings at a
- time and compose them later. Fixes bugzilla #643.
-
-2000-10-02 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-meeting-edit.c: added support for the ROLE and RSVP parameters
- in both the GUI and underlying iCal.
-
-2000-09-29 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-meeting-edit.c: added support for organizers in the meeting
- scheduler.
-
-2000-09-29 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/e-meeting-edit.c: added code that makes changes to the underlying
- iCAL structure of an event, when the user changes meeting information.
-
- * gui/e-meeting-dialog.glade: this is the Glade UI for the meeting dialog
- and accoutrements.
-
-2000-09-29 Damon Chaplin <damon@helixcode.com>
-
- * cal-util/cal-recur.c: updated to support RDATE end times or
- durations. Note that if you have two RDATEs with the same start times,
- but with different end dates/durations set, the results are
- unpredictable. So the event editor dialog should check for this.
-
- * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
- make strftime() strings translatable, and changed the formats a bit.
-
- * NOTE: someone needs to check print.c to make sure strftime strings
- are OK for i18n.
-
- * gui/e-day-view.h: Changed EDayViewDateFormat enum. We now try to
- include the weekday if possible. Also changed EDayView struct so we
- store the month & weekdays with the longest names rather than the
- actual widths. This helps i18n.
-
- * gui/e-day-view.c (e_day_view_recalc_cell_sizes): used _() for
- strftime strings, tried to see if weekday fits, and rearranged a
- bit to make i18n easier.
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw): used _() for
- strftime strings, and updated to use new formats.
-
- * gui/calendar-model.c: added use_24_hour_format boolean to
- CalendarModelPrivate so we can display dates in 12-hour format if
- requested. This meant adding a CalendarModel argument to a few
- functions. Also added get/set functions to set use_24_hour_format.
- I suppose ideally we should have an ECellDate renderer and this option
- should go there.
-
-2000-09-27 Jesse Pavel <jpavel@helixcode.com>
-
- * gui/event-editor.c: changed a menu entry so that it will invoke
- my meeting editor.
-
- * gui/e-meeting-edit.[ch]: added these files to provide preliminary
- support for iTIP meeting scheduling. Currently, only the GUI works;
- there is not yet any backend support.
-
- * gui/Makefile.am: added entries for e-meeting-edit.[ch]
-
-2000-09-24 Damon Chaplin <damon@helixcode.com>
-
- * gui/dialogs/task-editor-dialog.glade: set the height of the scrolled
- window for the description field, since the default window height
- doesn't seem to be working.
-
- * cal-util/cal-component.h: added functions to get the actual
- icalproperty lists for RRULE and EXRULE properties.
-
- * cal-util/cal-recur.[hc]: added support for COUNT, though I need to
- test it a bit. Also fixed the call to generate_instances_for_year() so
- it uses the chunk dates.
-
-2000-09-20 Damon Chaplin <damon@helixcode.com>
-
- * gui/event-editor.c: got rid of 1 '_' in '__Formatting'.
-
-2000-09-22 Michael Meeks <michael@helixcode.com>
-
- * gui/calendar-commands.c (calendar_control_activate): upd.
-
-2000-09-21 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-commands.c (verbs): Removed the "about calendar"
- command, since we don't want to have both "About Evolution" and
- "About Calendar".
-
-2000-09-21 Michael Meeks <michael@helixcode.com>
-
- * gui/calendar-commands.c (calendar_control_activate): _UIHandler
- update.
-
-2000-09-20 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.c (pre_sync): Don't fail if there
- is no map file.
-
-2000-09-20 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.h: Add since field to context
-
- * conduits/todo/todo-conduit.c (map_set_node_timet): New utility
- function
- (map_sax_start_element): Look for the map timestamp as well
- (map_write): Write the map timestamp
- (pre_sync): Use the map time stamp when looking for changed entries
-
- * pcs/cal-backend.c (cal_backend_log_sax_start_element): Make sure
- we are in a valid timestamp
-
-2000-09-20 JP Rosevear <jpr@helixcode.com>
-
- * pcs/cal-backend.c (cal_backend_log_name): Make the log file
- name relevant to the actual calendar file, rather than just the
- directory.
-
-2000-09-20 JP Rosevear <jpr@helixcode.com>
-
- * pcs/cal-backend.c (cal_backend_get_log_entries): Oops
-
-2000-09-20 JP Rosevear <jpr@helixcode.com>
-
- * pcs/cal-backend.c (cal_backend_get_log_entries): Use a local
- sax handler.
-
- * conduits/todo/todo-conduit.c (pre_sync): Use xmlSAXParseFile
- (map_sax_parse): Delete
-
-2000-09-20 JP Rosevear <jpr@helixcode.com>
-
- * pcs/cal-backend.c (cal_backend_log_sax_start_element): Properly
- assign the CalObjChange type.
- (cal_backend_log_sax_parse): Delete
- (cal_backend_get_log_entries): Use xmlSAXUserParseFile
-
-2000-09-19 JP Rosevear <jpr@helixcode.com>
-
- * pcs/cal-backend.c (cal_backend_set_uri): New utility function
- (cal_backend_load): use above
- (cal_backend_create): use above
- (cal_backend_log_name): Take a uri instead of a backend param
-
- * pcs/cal-backend-file.c: Get rid of useless hash functions
- (cal_backend_file_load): Check to make sure path exists and is
- local
- (cal_backend_file_load): Unref the current uri if there is one
- (cal_backend_file_create): ditto
-
- * pcs/cal-backend.c (cal_backend_last_client_gone): Sync before
- shooting ourselves in the foot
-
- * pcs/cal-backend-file.c (save): Fully implement backing up the
- calendar before writing out the new entry.
-
-2000-09-19 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.c (check_for_slow_setting): Add some
- other cases where a slow sync is in order
- (pre_sync): Pre load the uids, the map and the add/mod/del lists
- (match_record): Use the map hash to match records
- (iterate): Iterate using the pre-loaded uid list
- (iterate_specific): Iterate using the add/mod/del lists
- (purge): Delete all entries in the del list
- (set_status): Set status by adding to an appropriate list
- (set_pilot_id): Set pilot_id by updating map hash
-
- * conduits/todo/todo-conduit.h: Add lists for added, modified and
- deleted objects
-
- * conduits/todo/todo-conduit.c (map_name): Get the pilot_id->uid map
- file name
- (map_sax_start_element): SAX handler to extract a pilot_id->uid
- mapping
- (map_sax_parse): Parse the given file and build a pilot_id->uid hash
- (map_write_foreach): Write out individual mapping elements
- (map_write): Write out the pilot_id->uid mapping
- (start_calendar_server_cb): Rename from gnome_calendar_load_cb
-
- * conduits/todo/todo-conduit-config.h: Rename pilotID to pilot_id
-
- * conduits/todo/e-todo.conduit.in: A little renaming
-
- * conduits/todo/Makefile.am: Fix build slightly
-
- * pcs/cal.c (build_change_seq): Build a corba sequence out of a list
- of CalObjChanges
- (Cal_get_objects_in_range): Implement new corba function
-
- * pcs/cal-backend.c (cal_backend_init): Intiliaze to NULL
- (cal_backend_load): Track the uri so we can write the log file
- to the same place
- (cal_backend_log_name): Figure out the log filename/path based on
- the calendar uri
- (cal_backend_set_node_timet): Set an xml node property value from
- a time_t
- (cal_backend_log_entry): Adds a log entry to list waiting to be written
- out
- (cal_backend_log_sync): Syncs the log entries to disk
- (cal_backend_log_sax_start_element): SAX callback for reading in
- log entries
- (cal_backend_log_sax_end_element): ditto
- (cal_backend_log_sax_parse): Main SAX parser call to parse the log
- file looking for particular log entries and creating a CalObjChange
- hash with the last change for each object
- (cal_backend_get_log_entries): Returns a hash of objects of a given
- type changed since the given time
- (cal_backend_update_object): Add appropriate log entries
- (cal_backend_remove_object): ditto
- (cal_backend_get_changed_uids): Implement new idl interface call
- (cal_backend_foreach_changed): Convert CalObjChange hash into a list
-
- * pcs/cal-backend-imc.[hc]: Remove crufty files
-
- * pcs/cal-backend-file.c (cal_backend_file_get_type_by_uid): New
- function that returns the CalObjType for a uid.
-
- * cal-client/cal-client.h: Update prototypes.
-
- * cal-client/cal-client.c (build_change_list): Build a list
- of CalObjChange items from a corba sequence.
- (cal_client_get_changed_uids): New accessor method for the
- similarly named addition to the idl file.
-
- * cal-util/cal-util.h: Update prototypes and add CalObjChangeType
- enum.
-
- * cal-util/cal-util.c (cal_obj_change_list_free): New utility
- method to free a list of CalObjChange objects.
-
- * idl/evolution-calendar.idl: Add get_changed_uids method
- and associated types.
-
-2000-09-18 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
- $(EXTRA_GNOME_LIBS). Removed unneeded libraries.
-
- * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c,
- gui/e-week-view-event-item.c, gui/e-week-view.c,
- gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c,
- gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines
- to deal properly with gal.
-
- * gui/check-filled.xpm: New file since we can't include it from
- e-table anymore.
-
-2000-09-16 Michael Meeks <michael@helixcode.com>
-
- * gui/Makefile.am (INCLUDES): add datadir
-
- * gui/calendar-commands.c (calendar_control_activate): use it.
-
-2000-09-14 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/.cvsignore: Shush
-
-2000-09-14 JP Rosevear <jpr@helixcode.com>
-
- * Add headers with GPL notice and credit copyright to those appropriate
-
- * conduits/todo/todo-conduit-control-applet.c (doHelp): Update name,
- authors, copyright for about dialog.
- (activate_sync_type): Tidy
-
- * conduits/todo/Makefile.am: Rename binaries and libs to e-todo*
- to avoid conflicts.
-
- * conduits/todo/e-todo.conduit.in: Reflect binary/lib name changes
-
- * conduits/todo/e-todo-conduit-control-applet.desktop: ditto
-
- * conduits/todo/todo.conduit.in: Removed
-
- * conduits/todo/todo-conduit-control-applet.desktop: Removed
-
- * conduits/todo/todo-conduit-config.h (todoconduit_load_configuration):
- The config file will now be called e-todo-conduit
- (todoconduit_save_configuration): ditto
-
- * conduits/todo/todo-conduit.c: Some renaming to keep consistent.
- (pre_sync): Remove commented out function that does not exist.
-
- * conduits/todo/todo-conduit-control-applet.c: ditto
-
- * conduits/todo/todo-conduit-config.h: ditto
-
- * conduits/todo/todo-conduit.h: ditto
-
-
-2000-09-07 Michael Meeks <michael@helixcode.com>
-
- * gui/calendar-commands.c: Re-write most UI handler code.
-
-2000-09-13 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-model.c (obj_updated_cb): Removed an unused
- variable.
-
- * gui/calendar-model.c (obj_updated_cb): See if the new object
- matches the type of objects we were told to deal with.
- (load_objects): Likewise.
-
-2000-09-13 JP Rosevear <jpr@helixcode.com>
-
- * pcs/cal-backend-file.c (remove_component): Only remove the pilot
- item from the hash if it exists in the first place.
-
-2000-09-12 JP Rosevear <jpr@helixcode.com>
-
- * pcs/cal-backend-file.c (add_component): plug leakage
-
-2000-09-12 JP Rosevear <jpr@helixcode.com>
-
- * conduits/calendar/calendar-conduit.c: Hack to compile for distcheck.
-
- * conduits/calendar/calendar-conduit.h: Remove calobj.h dependency
-
-2000-09-12 JP Rosevear <jpr@helixcode.com>
-
- * pcs/cal-backend-file.c (cal_backend_file_load): Use g_int_*
- for now
- (cal_backend_file_create): ditto
-
- * conduits/todo/todo-conduit.c (local_record_from_compobject): Make
- this actually fill in the todo record.
- (find_record_in_repository): Add debug stuff
- (iterate_specific): Use the already exisiting utility function
-
- * pcs/cal-backend-file.c (cal_backend_file_update_pilot_id): correct
- the status and id types. g_strdup the uid since this is not a
- constified return
- (cal_backend_file_get_uid_by_pilot_id): correct the id type
-
-2000-09-12 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/Makefile.am: Remove `ui.xml' stuff.
-
- * pcs/cal-backend.c: Dont' #include calobj.h anymore as it's gone.
-
-2000-09-12 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.c (gnome_calendar_construct): Connect to the
- "cal_loaded" signal of the client here.
- (connect_load): Removed function.
- (disconnect_load): Removed function.
- (cal_loaded_cb): Store the URI we are loading in the GnomeCal
- structure instead of in a weird closure. This gets rid of the
- connect/disconnect mess as well.
- (gnome_calendar_open): Store the URI in the GnomeCal.
-
-2000-09-11 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/e-day-view.c: Fixed a warning (removed unused variable
- gfloat width from e_day_view_get_event_position.)
-
-2000-09-11 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.c: Handle renaming, header cleanup
-
- * conduits/todo/todo-conduit.h: Rename GCalLocalRecord to
- EToDoLocalRecord, header cleanup
-
-2000-09-11 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.c (comp_from_remote_record): Use
- description list instead of comment list for pilot todo note
- (transmit): Check for null cal component properties, set priority
- correctly, use description list instead of comment list. Make
- pilot record private when appropriate.
-
-2000-09-10 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.c (comp_from_remote_record): Only
- set the due date only if it exists
-
-2000-09-10 JP Rosevear <jpr@helixcode.com>
-
- * gui/calendar-model.c (get_is_complete): Relying on the status
- field is somewhat faulty since it is related to group scheduling
-
-2000-09-10 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.c (update_calendar_entry_in_repository):
- Make log output a little more sensible
- (comp_from_remote_record): Minor correction when making a CalComponent
- from scratch.
- (update_record): Use comp_from_remote_record for new items, rather
- than repeating the code here.
-
-2000-09-10 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.c: Remove catch_ret_val function
- since its no longer useful. Fix naming of various fields from
- the header changes. Use GnomePilotRecord* stuff instead of
- ICAL_PILOT_SYNC_*
- (e_todo_context_new): Rename from gcalconduit_new_context. Now takes
- a pilot id and loads the configuration here
- (e_todo_context_destroy): Rename from gcalconduit_destroy_context.
- Unref the client and destroy the configuration if they exist here
- (start_calendar_server): Change the default calendar name
- (local_record_from_comp_uid): Rename from local_record_from_ical_uid
- (local_record_from_compobject): Rename from
- local_record_from_icalobject. Properly do the pilot id and status.
- (comp_from_remote_record): Rename from ical_from_remote_record.
- Handle due, complete, classification and pilot stuff properly
- (pre_sync): Remove some old stuff. We need to figure out how to
- set some of the field values.
- (set_status): Reflect pilot status changes from above
- (conduit_destroy_gpilot_conduit): Remove cleanup stuff that is
- now done by e_todo_context_destroy
- (conduit_get_gpilot_conduit): Only set the context as object
- data of the conduit.
-
- * conduits/todo/todo-conduit.h: Rename GCalConduitContext to
- EToDoConduitContext. Remove some unused struct fields.
- For GCalLocalRecord, rename ical to comp.
-
-2000-09-11 Damon Chaplin <damon@helixcode.com>
-
- * gui/dialogs/task-editor.c: changed to use EDateEdit.
-
- * gui/dialogs/task-editor-dialog.glade: added "None" option to
- Classification option menu, and used custom widgets for the date
- entries so we can use EDateEdit widgets.
-
- * gui/event-editor.c: changed to use EDateEdit. Note that this needs
- to be fixed at some point to handle invalid dates, i.e. when
- e_date_edit_get_time returns -1.
-
- * gui/calendar-model.c (ensure_task_complete):
- (ensure_task_not_complete): new functions to set the related properties
- to make sure a task is marked as complete on not, i.e. "Date Completed"
- "Status" and "Percent" properties.
-
-2000-09-08 Damon Chaplin <damon@helixcode.com>
-
- * gui/calendar-model.c (get_is_complete): use the status field rather
- than the completed date, as it is more reliable.
- (get_is_overdue): use get_is_complete().
- (calendar_model_mark_task_complete): check if it is already complete,
- and if so don't update it.
-
- * cal-util/cal-component.c (cal_component_get_status):
- (cal_component_set_status): added functions to support the STATUS
- property. Also added the property to CalComponentPrivate and set it
- to NULL in free_icalcomponent(). Someone should check my code as I've
- mainly done a Cut & Paste job.
-
-2000-09-10 JP Rosevear <jpr@helixcode.com>
- * conduits/todo/todo-conduit.c: Convert "//" style comments
- (local_record_from_ical_uid): Remove iCalObject cruft
- (ical_from_remote_record): ditto
- (free_match): Properly unref the CalComponent
-
-2000-09-10 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.c (local_record_from_icalobject): Use
- cal component pilot stuff properly
- (find_record_in_repository): Remove cruft
- (ical_from_remote_record): Remove cruft
- (update_record): Set the vtype immediately after creation. Remove cruft
-
- * conduits/todo/todo-conduit.h: Remove iCalObject stuff
-
- * conduits/todo/todo-conduit-config.h: Move all the config stuff
- here, I need to kill the warnings at some point
-
- * conduits/todo/todo-conduit-control-applet.c (doRevertSettings):
- Set all the state variables correctly on a revert
- (doSaveSettings): Update original state
- (doHelp): Rename from about_cb
- (main): Destroy configurations when done
-
- * conduits/todo/Makefile.am: Tidy
-
- * pcs/cal-backend-file.c (cbf_pilot_hash): Function for hashing
- pilot ids
- (cbf_pilot_equal): For hash table of pilot ids
- (cal_backend_file_destroy): Destroy pilot id hash
- (add_component): Insert the uid into the pilot hash
- (remove_component): Remove the uid from the pilot hash
- (cal_backend_file_load): Create the pilot hash
- (cal_backend_file_create): ditto
- (cal_backend_file_get_uid_by_pilot_id): Implement using the pilot hash
- (cal_backend_file_update_pilot_id): ditto
-
- * cal-util/cal-component.h: Update prototypes
-
- * cal-util/cal-component.c (cal_component_get_pilot_id): Implement
- using ical X properties
- (cal_component_set_pilot_id): ditto
- (cal_component_get_pilot_status): ditto
- (cal_component_set_pilot_status): ditto
- (cal_component_free_pilot_id): Free a pilot id
- (cal_component_free_pilot_status): Free a pilot status
-
-2000-09-09 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/dialogs/Makefile.am (INCLUDES): Add
- `-I$(top_builddir)/libical/src/libical' so that we get
- `icalversion.h' from the build directory instead of taking it from
- the installation directory, which is of course Wrong (tm).
- * gui/Makefile.am (INCLUDES): Likewise.
-
-2000-09-08 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.c (cal_loaded_cb): New function with the
- loading/creation state machine. It is carefully modelled after
- the state machine that started the Universe, so bow before it.
- (gnome_calendar_construct): Do not connect to cal_loaded here.
- (connect_load): The closure for the cal_loaded callback is a bit
- tricky, so provide a function to create it and connect to the
- signal.
- (disconnect_load): Disconnect from the signal and free the
- closure.
- (gnome_calendar_load_cb): Removed obsolete buggy function.
- (gnome_calendar_open): Use the new mechanism.
-
- * gui/control-factory.c (set_prop): The default filename is now
- calendar.ics.
-
-2000-09-08 JP Rosevear <jpr@helixcode.com>
-
- * conduits/calendar/calendar-conduit.c (transmit): Use
- icaltime_as_timet
-
-2000-09-08 Christopher James Lahey <clahey@helixcode.com>
-
- * cal-util/cal-recur.c, gui/e-day-view.c, gui/e-week-view.c,
- gui/event-editor.c, gui/getdate.y, gui/gncal-todo.c,
- gui/gnome-cal.c, gui/dialogs/task-editor.c: Fixed some warnings.
-
-2000-09-08 JP Rosevear <jpr@helixcode.com>
-
- * conduits/calendar/Makefile.am: Tidy
-
- * conduits/todo/Makefile.am: Tidy
-
-2000-09-08 Federico Mena Quintero <federico@helixcode.com>
-
- Fall equinox cleanup!
-
- OK, I know the equinox is not here yet, but weather has changed
- enough to warrant it.
-
- Sigh. This place is definitely not the tropics.
-
- * gui/gnome-cal.c (obj_updated_cb): Renamed from
- gnome_calendar_object_updated_cb(); fixed prototype.
- (obj_removed_cb): Renamed from gnome_calendar_object_removed_cb();
- fixed prototype.
- (GnomeCalendarPrivate): Moved all the GnomeCalendar fields to a
- private structure so I don't have to rebuild the whole calendar
- GUI directory every time something changes in the object.
- (GnomeCalendarPrivate): Removed the property bag and the control
- fields; they are local to the control-factory now.
- (gnome_calendar_update_view_buttons): Remove the
- ignore_view_button_clicks mess and just block the signal.
- (gnome_calendar_set_view): Added a "focus" argument to indicate
- whether we want the main widget in the specified view to grab the
- focus.
- (gnome_calendar_set_view_internal): Handle the focus argument here.
- (gnome_calendar_set_view_buttons): Temporary hack to notify the
- calendar about its buttons.
- (gnome_calendar_get_selected_time_range): New function.
- (gnome_calendar_get_cal_client): New function.
-
- * gui/control-factory.c (calendar_properties_init): Keep the
- property bag local to here; it does not need to be in the calendar
- object yet.
- (control_factory_fn): Renamed from control_factory(). Just use
- control_factory_new_control().
- (control_factory_new_control): Moved the stuff over from
- create_control(), and keep the control local to here. Check the
- return value of bonobo_control_new().
-
- * gui/calendar-commands.c (show_day_view_clicked): Remove the
- ignore_view_button_clicks mess.
- (new_calendar): Removed the useless "page" argument.
- (calendar_control_activate): Use gnome_calendar_set_view_buttons()
- for now.
-
-2000-09-07 Lauris Kaplinski <lauris@helixcode.com>
-
- * cal-client/Makefile.am: Added -lunicode
-
- * gui/dialogs/task-editor.c: More UTF-8 wrappers
- (priority_index_to_value): Kill warning, add assertion
-
-2000-09-06 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
- Use new cal_component_has_recurrences convenience function
-
- * gui/e-week-view.c (e_week_view_show_popup_menu): ditto
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
- ditto
-
- * gui/calendar-model.c (calendar_model_value_at): ditto
- (calendar_model_value_at): ditto
-
- * gui/e-day-view.c (e_day_view_on_event_click): ditto
- (e_day_view_on_event_right_click): ditto
- (e_day_view_on_top_canvas_motion): ditto
- (e_day_view_on_top_canvas_motion): ditto
- (e_day_view_on_main_canvas_motion): ditto
- (e_day_view_on_main_canvas_motion): ditto
- (e_day_view_reshape_day_event): ditto
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
- ditto
-
- * gui/e-day-view.c (e_day_view_on_long_event_click): ditto
-
-2000-09-06 JP Rosevear <jpr@helixcode.com>
-
- * cal-util/cal-recur.c (cal_recur_generate_instances): Use
- new convenience functions and only get the recurrence
- stuff if needed. Free the recurrence stuff if used.
-
-2000-09-05 JP Rosevear <jpr@helixcode.com>
-
- * cal-util/cal-component.h: Add new prototypes
-
- * cal-util/cal-component.c (cal_component_has_exrules): Utility
- function to determine whether a cal component has any exrules
- (cal_component_has_exdates): Ditto for exdates
- (cal_component_has_exceptions): Utility function to determine
- whether a cal component has any exception rules
- (cal_component_has_recurrences):Utility function to determine
- whether a cal component has any recurrence rules
-
-2000-09-05 JP Rosevear <jpr@helixcode.com>
-
- * gui/event-editor.c (dialog_to_comp_object): Kill all exdates if
- there are no dates in the box
-
- * cal-util/cal-recur.c (generate_instances_for_year): Add a special
- case for when there are exceptions but no rrules or rdates.
- (cal_obj_remove_exceptions): Use date only compare func
- (cal_obj_date_only_compare_func): New compare function that
- compares the date only, not the time.
-
- * gui/event-editor.c (dialog_to_comp_object): Need a break for the
- yearly recurrence type
- (dialog_to_comp_object): We need to allocate icaltimetypes for the
- exdate list
- (fill_widgets): Handle a weekly recurrence with no particular day set
- (dialog_to_comp_object): Kill all rrules if "None" is selected as
- the recurrence type by the user
-
-2000-09-06 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-calendar-table.c (e_calendar_table_open_task): uses the new
- TaskEditor dialog.
-
- * gui/dialogs/task-editor.[hc]:
- * gui/dialogs/task-editor-dialog.glade: updated. Still need to fix the
- 'Status' property (CalComponent doesn't support it yet), and use a
- replacement for GnomeDateEdit, since we need to support setting 'None'
- as the date.
-
-2000-09-04 Damon Chaplin <damon@helixcode.com>
-
- * gui/event-editor.c (obj_updated_cb):
- (obj_removed_cb): compare the updated object's uid with the one we
- are editing, and just return if it doesn't match.
-
-2000-09-01 Damon Chaplin <damon@helixcode.com>
-
- * gui/gnome-cal.c (gnome_calendar_tag_calendar): added check to see
- if the client has loaded successfully. Gets rid of a few warnings.
-
-2000-09-05 JP Rosevear <jpr@helixcode.com>
-
- * cal-util/cal-recur.c (generate_instances_for_year): The exdate
- and rdate lists are a list of icaltimetypes, not CalComponentPeriods
-
- * gui/e-day-view.c (e_day_view_on_delete_occurrence): The exdate list
- is a list of icaltimetypes, not CalComponentDateTimes
-
-2000-09-05 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-day-view.c (e_day_view_on_delete_occurrence): Append
- the exdate to the list AFTER we create the date value.
-
-2000-09-05 JP Rosevear <jpr@helixcode.com>
-
- * cal-util/cal-component.c (cal_component_free_recur_list): Free
- the data, not the list element.
-
-2000-09-05 JP Rosevear <jpr@helixcode.com>
-
- * cal-util/cal-recur.c (cal_recur_generate_instances): Compute
- the event duration using the event start/end times, not the
- interval times.
-
-2000-09-05 JP Rosevear <jpr@helixcode.com>
-
- * cal-util/cal-recur.c (cal_recur_from_icalrecurrencetype): Check
- to see if r->enddate is (time_t)-1 and set to 0 if so
-
-2000-09-02 Ettore Perazzoli <ettore@helixcode.com>
-
- * conduits/calendar/Makefile.am (INCLUDES): Add libical include
- directories and `$(BONOBO_GNOME_CFLAGS)'.
- * conduits/todo/Makefile.am (INCLUDES): Likewise.
-
-2000-09-02 Lauris Kaplinski <lauris@helixcode.com>
-
- * gui/event-editor.c: e_utf8 wrappers
-
- * gui/gncal-todo.c: e_utf8_wrappers
-
-2000-09-02 Christopher James Lahey <clahey@helixcode.com>
-
- * conduits/calendar/calendar-conduit.c,
- conduits/todo/todo-conduit.c, gui/e-week-view.c, gui/gnome-cal.c:
- Fixed some warnings.
-
-2000-09-01 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.c (gnome_calendar_new): Use
- gnome_calendar_construct() so that we can check for proper
- creation of the client.
- (gnome_calendar_destroy): Check that the client exists before we
- unref it.
- (gnome_calendar_construct): Do the CalClient creation here. Bind
- the views to it here as well instead of in setup_widgets().
- (gnome_calendar_init): Call setup_widgets() here.
-
- * gui/e-calendar-table.c (e_calendar_table_destroy): Unref the
- model.
-
-2000-09-01 JP Rosevear <jpr@helixcode.com>
-
- * conduits/todo/todo-conduit.c: Update for new libical.
- Conduits should atleast compile now.
-
- * conduits/calendar/calendar-conduit.c: ditto
-
- * Makefile.am: Build the conduits only when they've been
- enabled.
-
-2000-09-01 JP Rosevear <jpr@helixcode.com>
-
- * gui/event-editor.c: Make toolbar save and close button.
- We should put a similar menu option in sometime.
-
-2000-08-31 JP Rosevear <jpr@helixcode.com>
-
- * cal-util/cal-recur.c (array_to_list): Use
- ICAL_RECURRENCE_ARRAY_MAX instead of MAX_SHORT
-
-2000-08-31 JP Rosevear <jpr@helixcode.com>
-
- * gui/event-editor.c (file_delete_cb): Implement delete option
- (dialog_to_comp_object): Set the weekday start value and use
- local not UTC time
-
-2000-08-31 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (file_delete_cb): No need to spit a warning
- if removal fails.
- (event_editor_destroy): Free the exception clist data. Unref the
- calendar client here.
- (close_dialog): Just call gtk_object_destroy() on the event
- editor; the destroy handler will free everything else.
-
- * cal-client/cal-client.c (cal_client_object_exists): Removed
- function; this is not useful because we operate asynchronously.
-
- * gui/e-day-view.c (e_day_view_on_delete_appointment): No need to
- spit a warning if removal fails.
-
- * gui/e-week-view.c (e_week_view_on_delete_appointment): Likewise.
-
- * gui/calendar-model.c (calendar_model_delete_task): Likewise.
-
-2000-08-31 JP Rosevear <jpr@helixcode.com>
-
- * gui/event-editor.c (file_delete_cb): Implement delete option
- (recurrence_toggled): Make an ugly hack to get the recurrence
- pages showing properly since we don't yet implement all of the
- recurrence rule stuff.
-
- * cal-client/cal-client.c (cal_client_object_exists): New function
- to see if an object exists and is obtainable from the backend
-
- * cal-client/cal-client.h: Add prototype
-
-2000-08-31 JP Rosevear <jpr@helixcode.com>
-
- * gui/gnome-cal.c (editor_closed_cb): Event editor destroyed
- callback to do hash cleanup
- (gnome_calendar_edit_object): Set event editor calendar client.
-
- * gui/event-editor.h: Add new prototype
-
- * gui/event-editor.c: Trash signal stuff. We will manipulate
- the client directly. Make the toolbar save and menu save items
- work identically. Add icons to the toolbar.
- (save_event_object): Call cal_client_update_object
- (close_dialog): Unref the client and disconnect signals
- Actually destroy the event editor object.
- (obj_updated_cb): New function. Doesn't really do anything
- yet but it will inform the user the event has changed elsewhere
- in the future.
- (obj_removed_cb): ditto
- (event_editor_set_cal_client): New function to set the calendar
- client
-
- * gui/gnome-cal.c (gnome_calendar_new_appointment): Commit
- the sequence to the cal component and use non UTC times.
-
-2000-08-30 Lauris Kaplinski <lauris@helixcode.com>
-
- * gui/print.c: Countless small changes for gnome-print 0.21+
-
-2000-08-30 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-day-view.[hc]:
- * gui/e-day-view-main-item.c:
- * gui/e-week-view.[hc]:
- * gui/e-week-view-main-item.c:
- * gui/calendar-commands.c:
- * gui/gnome-cal.[hc]: switched to using new ECalendar widget,
- and a few other fixes.
-
-2000-08-30 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.h (GnomeCal): Removed unused field event_editor.
-
- * gui/e-day-view.c (e_day_view_key_press): Oops, set the
- dtstart/dtend on the component before adding it.
- (e_day_view_on_editing_stopped): No need to check for an UID.
- Update the summary properly.
-
-2000-08-30 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-week-view.c: Make sure the is_utc flag is always
- FALSE for icaltime_from_timet
- (e_week_view_on_unrecur_appointment): Use icaltimetype struct
- from the stack and make sure tzid is always NULL
- (e_week_view_key_press): ditto
-
-2000-08-30 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-day-view.c: Make sure the is_utc flag is always
- FALSE for icaltime_from_timet
- (e_day_view_on_unrecur_appointment): Use icaltimetype struct
- from the stack and make sure tzid is always NULL
- (e_day_view_finish_long_event_resize): ditto
- (e_day_view_finish_resize): ditto
- (e_day_view_on_top_canvas_drag_data_received): ditto
- (e_day_view_on_main_canvas_drag_data_received): ditto
-
-2000-08-30 JP Rosevear <jpr@helixcode.com>
-
- * cal-client/cal-client.c (add_instance): Actually add the
- comp_instance struct to the instances list. We now appear
- to able to keep events and todos between sessions. Yay!
-
-2000-08-29 Federico Mena Quintero <federico@helixcode.com>
-
- Now the views monitor the client by themselves; it does not make
- sense to proxy all notifications through the GnomeCal. The
- GnomeCal should just be a meta-widget that holds all the views.
-
- At some later point we'll want to decouple the views from the
- GnomeCal so that they can be embedded anywhere; they should emit
- signals to request appropriate actions from the toplevel GUI
- instead of calling the GnomeCal directly.
-
- * gui/e-day-view.c (e_day_view_set_cal_client): New function; now
- the day view monitors the client by itself.
- (cal_loaded_cb): New callback; moved over from
- e_day_view_update_all_events().
- (obj_updated_cb): New callback; moved over from
- e_day_view_update_event().
- (obj_removed_cb): New callback; moved over from
- e_day_view_remove_event().
- (e_day_view_update_all_events): Removed function.
- (e_day_view_update_event): Removed function.
- (e_day_view_remove_event): Removed function.
- (*): Use the day_view->client directly instead of fetching it from
- the GnomeCal.
- (e_day_view_destroy): Unref the client.
- (e_day_view_reload_events): Check if the client is loaded.
- (e_day_view_key_press): Set the vtype of the new component.
-
- * gui/e-week-view.c (e_week_view_set_cal_client): New function.
- (cal_loaded_cb): New callback.
- (obj_updated_cb): New callback.
- (obj_removed_cb): New callback.
- (e_week_view_update_all_events): Removed function.
- (e_week_view_update_event): Removed function.
- (e_week_view_remove_event): Removed function.
- (*): Use the week_view->client directly.
- (e_week_view_destroy): Unref the client.
- (e_week_view_reload_events): Check if the client is loaded.
-
- * gui/gnome-cal.c (setup_widgets): Set the cal_client on all the
- views.
- (gnome_calendar_update_all): Do not update the views, since now
- they do it themselves.
- (gnome_calendar_object_updated_cb): Likewise.
- (gnome_calendar_object_removed_cb): Likewise.
- (setup_widgets): Remove all to-do list cruft.
- (gnome_calendar_colors_changed): Likewise.
- (gnome_calendar_todo_properties_changed): Likewise.
-
- * gui/calendar-commands.h (todo_style_changed): Removed variable.
-
- * gui/gncal-todo.c: Removed old clist cruft; just left in the
- temporary dialog box for now.
-
-2000-08-29 Dan Winship <danw@helixcode.com>
-
- * cal-client/client-test.c:
- * cal-client/cal-client.c:
- * conduits/todo/todo-conduit.h:
- * conduits/calendar/calendar-conduit.h: remove USING_OAF checks.
-
-2000-08-29 JP Rosevear <jpr@helixcode.com>
-
- * gui/gnome-cal.c (gnome_calendar_edit_object): Use
- event_editor_set_event_object
-
- * gui/event-editor.c (event_editor_set_event_object): Rename
- from event_editor_set_ical_object
-
- * gui/event-editor.h: Update prototype
-
- * gui/e-week-view.c (e_week_view_on_new_appointment):
- Call cal_component_commit_sequence after event changes. Default
- to these being all day events.
-
-2000-08-29 JP Rosevear <jpr@helixcode.com>
-
- * gui/event-editor.c (dialog_to_comp_object): These are not UTC
- times
-
-2000-08-28 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-client/cal-client.c (cal_client_is_loaded): New function.
- We need this from code that dynamically updates from a client and
- could not have connected to the "cal_loaded" signal right after
- the client was created.
-
- * gui/calendar-model.c (load_objects): Do not try to load the
- objects if the client has not been loaded yet.
- (cal_loaded_cb): Check the status value.
-
- * gui/calendar-model.h (CalendarModel): Declare the private
- structure here so that gdb will give me love.
-
- * pcs/cal-factory.h (CalFactory): Likewise.
-
- * pcs/cal.h (Cal): Likewise.
-
- * cal-client/cal-listener.h (CalListener): Likewise.
-
- * cal-client/cal-client.h (CalClient): Likewise.
-
- * pcs/cal-backend.h (CalBackend): This no longer has a private
- structure, so remove it.
-
- * cal-util/Makefile.am (libcal_util_la_SOURCES): Removed the
- vCalendar and old iCalendar cruft.
- (libcal_utilinclude_HEADERS): Likewise.
- Removed the obsolete iCalendar test program.
-
-2000-08-28 JP Rosevear <jpr@helixcode.com>
-
- * cal-util/timeutil.h: We no longer need time_from_icaltimetype
- as libical has the API for this
-
- * cal-util/timeutil.c: ditto
-
- * cal-util/cal-recur.c: Replace time_from_icaltimetype with
- icaltime_as_timet
-
- * gui/calendar-model.c: ditto
-
- * gui/event-editor.c: ditto
-
- * gui/gnome-cal.c: ditto
-
-2000-08-28 Federico Mena Quintero <federico@helixcode.com>
-
- * pcs/cal-backend-file.c (remove_component): Remove the
- icalcomponent from the toplevel calendar here.
- (cal_backend_file_update_object): Do not remove it here.
- (cal_backend_file_remove_object): Do not remove it here.
- (add_component): Add the icalcomponent to the toplevel calendar if
- asked to.
- (cal_backend_file_update_object): Do not add it here.
-
-2000-08-28 JP Rosevear <jpr@helixcode.com>
-
- * gui/event-editor.c (dialog_to_comp_object): Initiliaze tzid to
- null, only set recurrence rules and exception dates if there
- are any
-
-2000-08-27 JP Rosevear <jpr@helixcode.com>
-
- * pcs/cal-backend-file.c (save): Write out the calendar object
- (cal_backend_file_update_object): Remove/add the icalcomponent
- from our master icalcomponent (the calendar)
- (cal_backend_file_remove_object): Remove the icalcomponent
- from our master icalcomponent
-
-2000-08-26 JP Rosevear <jpr@helixcode.com>
-
- * gui/Makefile.am: Remove gnorba stuff
-
- * gui/main.c: ditto
-
- * gui/component-factory.c: ditto
-
- * gui/control-factory.c: ditto
-
- * gui/*.gnorba: ditto
-
-2000-08-25 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-calendar-table.c (e_calendar_table_init): Uncomment
- debug code.
-
- * gui/calendar-model.c (set_complete): Set the completed
- date to the current date
- (calendar_model_set_value_at): Handle complete field
-
-2000-08-25 JP Rosevear <jpr@helixcode.com>
-
- * gui/calendar-model.c (get_is_complete): Don't attempt to
- free this if its null
- (calendar_model_duplicate_value): Implement for summary field
- value
- (calendar_model_initialize_value): Remove debug code
-
- * gui/e-calendar-table.c: Correct etable init xml
- (create_column): Pass the id to e_table_header_add_column
- rather than a hard coded one
- (e_calendar_table_init): Make sure summary column isn't
- added twice. Add an alarms column, else etable won't
- work with columns who have an ID higher than that
-
-2000-08-24 JP Rosevear <jpr@helixcode.com>
-
- * gui/gncal-todo.c (ok_button): Properly append to list
-
- * gui/event-editor.c (dialog_to_comp_object): ditto
-
- * gui/e-day-view.c (e_day_view_on_new_appointment): The base
- times are not UTC
-
- * gui/e-week-view.c (e_week_view_on_new_appointment): ditto
-
-2000-08-24 JP Rosevear <jpr@helixcode.com>
-
- * Update for libical 0.19
-
-2000-08-24 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/calendar-commands.c, gui/e-day-view.c, gui/e-week-view.c,
- gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/prop.c:
- Fixed some warnings.
-
-2000-08-24 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-week-view.c (e_week_view_on_new_appointment): Do not alloc
- the struct icaltimetype but point to one on the stack. More
- importantly, set the date.tzid to NULL.
-
-2000-08-24 JP Rosevear <jpr@helixcode.com>
-
- * gui/gnome-cal.c (save_event_object_cb): Make signal
- names saner
- (released_event_object_cb): ditto
- (gnome_calendar_edit_object): ditto
-
- * gui/event-editor.h: Make signal names saner
-
- * gui/event-editor.c (event_editor_class_init): Make signal
- names saner now that we don't use ical object
- (save_event_object): ditto with callback names
- (file_save_cb): ditto
- (tb_save_and_close_cb): ditto
- (event_editor_set_ical_object): ditto
-
- * gui/e-day-view.c (e_day_view_update_event): Umm,
- != CAL_COMPONENT_EVENT (I hope that wasn't me!)
-
-2000-08-24 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/e-day-view.c (e_day_view_on_new_appointment): Do not alloc
- the struct icaltimetype but point to one on the stack. More
- importantly, set the date.tzid to NULL.
-
-2000-08-24 JP Rosevear <jpr@helixcode.com>
-
- * gui/event-editor-dialog.glade: Remove owner field
-
- * gui/event-editor.c (clear_widgets): Forget about owner field
- (get_widgets): ditto
- (fill_widgets): ditto
-
-2000-08-24 JP Rosevear <jpr@helixcode.com>
-
- * gui/calendar-model.c (calendar_model_initialize_value): Handle
- summary field
- (calendar_model_value_is_empty): ditto
- (calendar_model_free_value): ditto
-
-2000-08-23 JP Rosevear <jpr@helixcode.com>
-
- * gui/event-editor-dialog.glade: Remove status bar
-
- * cal-util/cal-component.c (cal_component_set_rrule_list): Allow
- a null list
- (cal_component_set_rdate_list): Allow a null list
-
- * gui/e-day-view.c (e_day_view_on_new_appointment): Commit
- the CalComponent sequence
-
-2000-08-23 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/main.c: #include <e-util/e-cursors.h>
-
- * gui/e-day-view-time-item.c (e_day_view_time_item_draw):
- Initialize time_min_x1 and hour_r to keep gcc happy.
-
- * gui/e-day-view.c (e_day_view_update_event_label): Warning fix.
- (e_day_view_update_main_canvas_drag): Initialize start_row.
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw):
- Initialize time_y_small_min, icon_x.
-
- * Makefile.am (SUBDIRS): Re-enable the gui directory.
-
- * gui/prop.c (prop_store_alarm_default_values): Temporarily #if 0
- out.
-
-2000-08-23 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-week-view.c (e_week_view_key_press): Set vtype of new
- CalComponent
- (e_week_view_on_new_appointment): ditto
-
- * gui/e-day-view.c (e_day_view_on_new_appointment): ditto
-
-2000-08-23 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-day-view-time-item.c: Include gnome.h for gettext purposes
-
- * gui/gnome-cal.c: ditto
-
- * gui/prop.c: #if out some alarm stuff
-
-2000-08-23 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/e-calendar-table.c (e_calendar_table_init): Updated
- function.
- (e_calendar_table_open_task): Updated function.
-
-2000-08-21 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-model.c (calendar_model_duplicate_value): Updated
- function.
- (calendar_model_free_value): Updated function.
- (calendar_model_initialize_value): Updated function.
- (calendar_model_value_is_empty): Updated function.
- (remove_object): Updated function.
- (obj_updated_cb): Updated function.
- (calendar_model_get_cal_client): Added inline docs.
- (calendar_model_delete_task): Updated.
- (calendar_model_mark_task_complete): Updated.
- (calendar_model_get_cal_object): Updated.
-
-2000-08-21 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-model.c (set_categories): New function.
- (parse_time): Moved over from the old set_time_t(). This just
- parses the time and leaves the warning dialog for the caller.
- (set_datetime): New function.
- (set_geo): Updated old function.
- (set_percent): Updated old function.
- (set_priority): Updated old function.
- (set_summary): New function.
- (set_url): New function.
- (calendar_model_set_value_at): Updated function.
- (calendar_model_is_cell_editable): Updated function.
- (calendar_model_append_row): Updated. Added an ugly hack to
- accomodate ETable's lack of a real API for adding new items.
- Also, don't try to set columns that are not editable.
-
-2000-08-21 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-week-view.c (e_week_view_reload_events):
- Use CalObjType
-
- * gui/e-day-view.c (e_day_view_reload_events): ditto
-
-2000-08-21 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
- Use CalComponent instead of iCalObject. #if some alarm stuff
-
-2000-08-21 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-day-view-top-item.c (e_day_view_top_draw_long_event):
- Use CalComponent instead of iCalObject. #if some alarm stuff
-
-2000-08-21 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-day-view.h: Update prototypes
-
- * gui/e-day-view.c (e_day_view_on_unrecur_appointment):
- Remove commented out portions.
-
- * gui/e-week-view.c (e_week_view_on_unrecur_appointment):
- Tidy.
-
-2000-08-21 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-day-view.c
- (e_day_view_update_event): Use CalComponent
- instead of iCalObject. Work around not having a compare
- dates routine for two CalComponents.
- (e_day_view_reshape_long_event): Use CalComponent instead
- of iCalObject, #if some alarm stuff
- (e_day_view_reshape_day_event): ditto
- (e_day_view_reload_events): Use revamped CalClient
- (e_day_view_update_event_cb): Use CalComponent
- instead of iCalObject
- (e_day_view_foreach_event_with_uid): ditto
- (e_day_view_remove_event_cb): ditto
- (e_day_view_update_event_label): ditto
- (e_day_view_find_event_from_uid): ditto
- (e_day_view_on_event_click): ditto
- (e_day_view_on_event_right_click): ditto
- (e_day_view_on_new_appointment): ditto
- (e_day_view_on_edit_appointment): ditto
- (e_day_view_on_delete_occurrence): ditto
- (e_day_view_on_delete_appointment): ditto
- (e_day_view_on_unrecur_appointment): ditto
- (e_day_view_on_top_canvas_motion): ditto
- (e_day_view_on_main_canvas_motion): ditto
- (e_day_view_finish_long_event_resize): ditto
- (e_day_view_finish_resize): ditto
- (e_day_view_free_event_array): ditto
- (e_day_view_add_event): ditto
- (e_day_view_key_press): ditto
- (e_day_view_on_editing_stopped): ditto
- (e_day_view_update_top_canvas_drag): ditto
- (e_day_view_update_main_canvas_drag): ditto
- (e_day_view_on_drag_data_get): ditto
- (e_day_view_on_top_canvas_drag_data_received): ditto
- (e_day_view_on_main_canvas_drag_data_received): ditto
-
-2000-08-20 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
- Use CalComponent instead of iCalObject. #if some alarm stuff
-
-2000-08-20 JP Rosevear <jpr@helixcode.com>
-
- * gui/e-week-view.c (e_week_view_update_event): Use CalComponent
- instead of iCalObject. Work around not having a compare
- dates routine for two CalComponents.
- (e_week_view_reload_events): Use revamped CalClient
- (e_week_view_reshape_event_span): Use CalComponent instead
- of iCalObject, #if some alarm stuff
- (e_week_view_update_event_cb): Use CalComponent instead of
- iCalObject
- (e_week_view_foreach_event_with_uid): ditto
- (e_week_view_remove_event_cb): ditto
- (e_week_view_free_events): ditto
- (e_week_view_add_event): ditto
- (e_week_view_on_editing_stopped): ditto
- (e_week_view_find_event_from_uid): ditto
- (e_week_view_key_press): ditto
- (e_week_view_show_popup_menu): ditto
- (e_week_view_on_new_appointment): ditto
- (e_week_view_on_edit_appointment): ditto
- (e_week_view_on_delete_occurrence): ditto
- (e_week_view_on_delete_appointment): ditto
- (e_week_view_on_unrecur_appointment): ditto
-
- * gui/e-week-view.h: Update prototypes.
-
-2000-08-18 JP Rosevear <jpr@helixcode.com>
-
- * gui/event-editor.h: Update prototypes.
-
- * gui/event-editor.c: Need to come back here later to fix the
- alarm stuff. The gui also needs to be completely redone to
- support the fancier CalComponent settings (exrules, rdates, etc)
- There are some warnings that I put in to mark some of these
- spots
- (event_editor_destroy): Use Calcomponent instead
- of iCalObject
- (make_title_from_comp): ditto
- (clear_widgets): ditto
- (fill_widgets): ditto
- (classification_get): ditto
- (dialog_to_comp_object): ditto
- (save_ical_object): ditto
- (close_dialog): ditto
- (event_editor_set_ical_object): ditto
-
-2000-08-17 JP Rosevear <jpr@helixcode.com>
-
- * gui/gncal-todo.c (ok_button): Use CalComponent instead of
- iCalObject
- (cancel_button): ditto
- (gncal_todo_edit): ditto
- (add_todo): ditto
- (edit_todo): ditto
- (delete_todo): ditto
- (insert_in_clist): ditto
- (gncal_todo_update): ditto
-
- * gui/gncal-todo.h: Update prototypes
-
-2000-08-16 JP Rosevear <jpr@helixcode.com>
-
- Rework gnome-cal.c - alarms are a tad broken ATM so this
- will need more cleaning later.
-
- * gui/gnome-cal.c (snooze): Use CalComponent instead of
- iCalObject
- (edit): ditto
- (audio_notification): ditto
- (display_notification_cb): Use CalComponent member of
- alarm_notify_closure rather than iCalObject
- (display_notification): ditto
- (trigger_alarm_cb): ditto. Use CalComponent alarm types
- (gnome_calendar_tag_calendar_cb): New
- cal_client_generate_instances callback to
- mark_gtk_calendar_day's
- (gnome_calendar_tag_calendar): Use above callback
- (save_ical_object_cb): Use CalComponent instead of
- iCalObject
- (gnome_calendar_edit_object): ditto
- (gnome_calendar_new_appointment): ditto
-
-2000-08-15 JP Rosevear <jpr@helixcode.com>
-
- * gui/mark.c (mark_month_item_cb): Callback used to mark every
- event in a month.
- (mark_month_item): Use cal_client_generate_instances with
- above callback
-
-2000-08-15 JP Rosevear <jpr@helixcode.com>
-
- * gui/print.c (print_month_small): Use
- cal_client_get_objects_in_range
- (print_day_details_cb): Callback used to create columns and fill
- events into a day view. Code should be shared with e-day-view
- in reality. Maybe need to go back to layout.[hc] a bit later
- (print_day_details): Use cal_client_generate_instances with
- above callback. Iterate over results to expand events to fit.
- (print_day_summary_cb): Callback to build list of event info
- for a day
- (print_day_summary): Use cal_client_generate_instances with
- above callback to generate the required event info for printing
- (print_todo_details_cb): Callback used create list of todo info
- (print_todo_details): Use cal_client_generate_instances with
- above callback to generate required todo info for printing.
-
- * gui/layout.[hc]: No longer used.
-
-2000-08-12 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-model.c (get_is_overdue): Finished implementing.
- (calendar_model_value_at): Handle the color field.
-
-2000-08-11 Seth Alves <alves@hungry.com>
-
- * cal-util/cal-component.c (cal_component_get_pilot_id):
- (cal_component_set_pilot_id): stubs for pilot id accessors
- (cal_component_get_pilot_status):
- (cal_component_set_pilot_status): stubs for pilot status accessors
-
- * conduits/calendar/calendar-conduit.c (transmit): start to
- convert to cal-component interface
-
- * conduits/todo/todo-conduit.c (transmit): same
-
-2000-08-11 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-model.c (get_geo): Generate a prettier string for
- the geographical position.
- (get_classification): New function.
- (get_categories): New function.
- (get_completed): New function.
- (get_dtend): New function.
- (get_dtstart): New function.
- (get_due): New function.
- (get_percent): New function.
- (get_priority): New function.
- (get_summary): New function.
- (get_transparency): New function.
- (get_url): New function.
- (get_has_alarms): New function.
- (get_has_recurrences): New function.
- (get_is_complete): New function.
- (get_is_overdue): New function.
-
- * cal-util/cal-component.c (scan_property): Handle the GEO
- property.
- (free_icalcomponent): Likewise.
- (cal_component_get_geo): Likewise.
- (cal_component_set_geo): Likewise.
- (cal_component_free_geo): Likewise.
- (cal_component_set_exdate_list): Removed incorrect assertion.
- (cal_component_set_exrule_list): Removed incorrect assertion.
- (cal_component_get_next_alarm): Oops, this had not been
- implemented at all.
- (cal_component_has_rdates): New function.
- (cal_component_has_rrules): New function.
-
- * cal-util/cal-component.h (CalComponentField): Added the GEO
- property.
-
-2000-08-11 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (scan_property): Handle the
- PERCENT-COMPLETE property.
- (free_icalcomponent): Likewise.
- (cal_component_get_percent): Likewise.
- (cal_component_set_percent): Likewise.
- (cal_component_free_percent): Likewise.
- (scan_property): Handle the PRIORITY property.
- (free_icalcomponent): Likewise.
- (cal_component_get_priority): Likewise.
- (cal_component_set_priority): Likewise.
- (cal_component_free_priority): Likewise.
-
- * cal-util/cal-component.h (CalComponentField): New enumeration
- with the list of fields we support for ETable.
-
-2000-08-10 Dan Winship <danw@helixcode.com>
-
- * gui/component-factory.c (owner_set_cb): Update prototype.
-
-2000-08-10 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.c (gnome_calendar_new_appointment): New function.
- Mostly moved over from calendar-commands.c:display_objedit().
-
- * gui/calendar-commands.c (calendar_iterate): Removed. Wheee!
- (display_objedit): Removed.
- (new_appointment_cb): New function. Just call
- gnome_calendar_new_appointment().
- (display_objedit_today): Removed.
- (calendar_control_activate): Removed the "New appointment for
- today" option, since it is pretty useless.
-
-2000-08-10 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-client/cal-client.c (cal_client_generate_instances): There.
- A pretty function to generate recurrence instances atomically so
- that clients don't have to jump through hoops. Now we can get rid
- of the ugly calendar_iterate() function.
-
-2000-08-09 Cody Russell <bratsche@gnome.org>
-
- * gui/calendar-commands.c: Make the toolbar honor the user's
- gnomecc settings for detachable toolbars.
-
-2000-08-09 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/alarm.c (pop_alarm): Oops, subtract the new alarm's trigger
- time from the current time.
-
-2000-08-09 Christopher James Lahey <clahey@helixcode.com>
-
- * cal-client/cal-client.c: Fixed a warning.
-
-2000-08-09 Christopher James Lahey <clahey@helixcode.com>
-
- * cal-client/cal-client.c, gui/e-calendar-table.c, pcs/cal.c:
- Fixed some warnings.
-
-2000-08-08 Federico Mena Quintero <federico@helixcode.com>
-
- * idl/evolution-calendar.idl (Cal): Added a get_objects_in_range()
- method. Takes in a time range and the type of component we are
- interested in; returns a list of UIDs. The idea is that
- ocurrences get computed in the client; we can have multiple
- recurrences in iCalendar and we cannot identify them trivially
- across the wire.
- (Cal): Removed the get_events_in_range() method.
-
- * pcs/cal-backend.c (cal_backend_free_uid_list): New function.
- (cal_backend_get_objects_in_range): New function.
- (cal_backend_get_events_in_range): Removed.
-
- * pcs/cal-backend-file.c (cal_backend_file_get_objects_in_range):
- Implemented new method.
- (cal_backend_file_get_events_in_range): Removed.
-
- * pcs/cal.c (Cal_get_events_in_range): Removed.
- (uncorba_obj_type): New function.
- (Cal_get_uids): Use uncorba_obj_type().
- (Cal_get_n_objects): Likewise.
- (Cal_get_objects_in_range): Implemented new method.
-
- * cal-client/cal-client.c (cal_client_get_events_in_range): Removed.
- (cal_client_get_objects_in_range): Implemented.
- (corba_obj_type): New function.
- (cal_client_get_n_objects): Use corba_obj_type().
- (cal_client_get_uids): Likewise.
-
-2000-08-07 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (cal_component_clone): New function.
- (cal_component_get_icalcomponent): Ensure that the SEQUENCE
- property does not need incrementing.
-
- * gui/dialogs/alarm-notify-dialog.c (alarm_notify_dialog): Use
- CalComponent. Deal with an empty summary property.
-
-2000-08-07 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (cal_component_get_as_string): Doh,
- libical owns the string's memory, so do not free it.
-
- * cal-client/client-test.c (create_client): Connect to the destroy
- signal of the client here.
-
- * cal-client/test.ics: New test file, modified from Eric Busboom's
- test file from RFC 2445.
-
-2000-08-05 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-client/client-test.c (dump_component): This was gone for
- some reason.
- (main): Load a new test file.
-
-2000-08-04 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (cal_component_commit_sequence): New
- function to commit changes to the SEQUENCE property.
- (cal_component_get_as_string): Ensure that the sequence has been
- committed.
-
- * cal-client/cal-client.c (cal_client_get_object): Use
- CalComponent instead of the old iCalObject.
- (cal_client_update_object): Use iCalObject. Commit the SEQUENCE
- property before stringifying the object and piping it over to the
- Wombat.
-
-2000-08-04 Seth Alves <alves@hungry.com>
-
- * conduits/todo/todo-conduit.c (conduit_get_gpilot_conduit): if
- oaf isn't initialized by the time the conduit starts, start it
- up. we do this because we need to start wombat with oaf, and
- gpilotd doesn't currently start oaf.
-
-2000-08-04 Michael Meeks <michael@helixcode.com>
-
- * gui/calendar-commands.c (calendar_control_activate): unref.
-
-2000-08-02 Federico Mena Quintero <federico@helixcode.com>
-
- * pcs/cal-backend-file.c (cal_backend_file_get_uid_by_pilot_id):
- Added stub for now.
- (cal_backend_file_update_pilot_id): Likewise.
-
- * pcs/Makefile.am (libpcs_a_SOURCES): Removed cal-backend-imc.[ch]
- from the list of sources. The idea is to move vCalendar importing
- to the GUI as a convenience function.
-
-2000-08-02 Seth Alves <alves@hungry.com>
-
- * pcs/cal-backend-imc.c (cal_backend_imc_update_pilot_id): call
- save (cbimc) after setting the pilot id and status.
-
-2000-08-02 Joe Shaw <joe@helixcode.com>
-
- * pcs/cal-backend-file.c (cal_backend_file_update_pilot_id):
- Fixed a g_return_if_fail that had two parameters and thus
- wouldn't build.
-
-2000-08-03 Damon Chaplin <damon@helixcode.com>
-
- * gui/calendar-model.c (calendar_model_append_row): updated to match
- the new ETableModel append_row. This meant we could also get rid of
- the row_being_added and idle_id hack.
-
-2000-08-02 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/calendar-model.c: Emit "model_pre_change" signals as
- appropriate.
-
-2000-08-02 Federico Mena Quintero <federico@helixcode.com>
-
- * pcs/cal-backend-file.[ch]: New files for the iCalendar file
- backend.
-
- * pcs/Makefile.am (libpcs_a_SOURCES): Added cal-backend-file.[ch].
-
- * cal-util/cal-component.c (cal_component_set_icalcomponent):
- Return an operation success code for if we are passed a component
- of a type we don't support.
-
-2000-07-31 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-recur.c (*): Use CalComponent and the new property
- types instead of the old iCalObject stuff.
- (cal_recur_generate_instances): Renamed from
- cal_object_generate_events(). Ensure that the component has the
- DTSTART property.
- (generate_instances_for_year): Renamed from
- cal_object_generate_events_for_year().
- (cal_obj_expand_recurrence): Made static.
- (cal_recur_from_icalrecurrencetype): New function. We should
- really convert this whole file to use struct icalrecurrencetype
- instead.
- (cal_recur_free): New function.
-
- * cal-util/cal-recur.h (CalRecurType): Renamed from CalObjRecurType.
- (CalRecurrence): Renamed from CalObjRecurrence.
-
- * cal-util/timeutil.c (time_from_icaltimetype): New function.
-
- * cal-util/Makefile.am: Commented out the test-recur program.
-
-2000-08-01 Damon Chaplin <damon@helixcode.com>
-
- * Removed doc directory, since it is the old gnome-pim docs which
- aren't used any more.
-
- * Makefile.am (SUBDIRS): removed doc.
-
-2000-07-26 Peter Williams <peterw@helixcode.com>
-
- * gui/calendar-model.c: compile fix for Solaris
- (works under Linux, too; don't know about others)
-
- * this is a test of whether CVS merge does what I
- think it will do.
-
-2000-07-26 Federico Mena Quintero <federico@helixcode.com>
-
- OK, it seems that we have all the interesting properties for
- single-user calendars now. RFC 2445 can bite me.
-
- * cal-util/cal-component.c (scan_property): Handle the RRULE
- property. Yay!.
- (scan_recur): Likewise, yow!
- (get_recur_list): Likewise, yeehaw!
- (get_recur_list): Likewise, honk honk!
- (set_recur_list): Likewise, booooga booooga!
- (cal_component_get_rrule_list): Likewise, squeek squeek!
- (cal_component_set_rrule_list): That's it, I ran out of sounds.
- (cal_component_free_recur_list): Likewise.
- (scan_property): Handle the EXRULE property.
- (free_icalcomponent): Likewise.
- (cal_component_get_exrule_list): Likewise.
- (cal_component_set_exrule_list): Likewise.
- (set_period_list): Oops, free the old properties as well as
- removing them.
- (set_text_list): Ditto.
- (cal_component_set_exdate_list): Ditto.
-
- * cal-util/cal-component.c: Put all the functions used to free
- returned values all together.
- (cal_component_set_rdate_list): Oops, mark SEQUENCE property to be
- incremented since the RFC requires it.
- (scan_property): Handle the EXDATE property.
- (scan_exdate): Likewise.
- (free_icalcomponent): Likewise.
- (cal_component_get_exdate_list): Likewise.
- (cal_component_set_exdate_list): Likewise.
- (cal_component_free_exdate_list): Likewise.
-
-2000-07-26 Jeffrey Stedfast <fejj@helixcode.com>
-
- * gui/Makefile.am: Fixed a typo
-
-2000-07-26 Jeffrey Stedfast <fejj@helixcode.com>
-
- * gui/Makefile.am: Added a few xpm files to the EXTRA DIST section
-
-2000-07-25 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (cal_component_free_period_list): New function.
- (scan_property): Handle the RDATE property.
- (scan_period): Likewise.
- (free_icalcomponent): Likewise.
- (get_period_list): Likewise.
- (set_period_list): Likewise.
- (cal_component_get_rdate_list): Likewise.
- (cal_component_set_rdate_list): Likewise.
- (scan_text): Simplify a bit since we only handle the ALTREP
- parameter; there is no need to iterate over all parameters.
- (scan_datetime): Simplify; just handle the TZID parameter.
- (scan_summary): Simplify; just handle the ALTREP parameter.
- (cal_component_get_as_string): New function.
-
- * idl/evolution-calendar.idl (CalObjType): Removed the TYPE_OTHER;
- now we only expose the types of objects we know about.
-
- * cal-util/cal-util.h (CalObjType): Likewise.
-
- * cal-client/cal-client.c (cal_client_get_n_objects): Likewise.
- (cal_client_get_uids): Likewise.
-
- * conduits/calendar/calendar-conduit.c (get_calendar_objects): Likewise.
- (check_for_slow_setting): Likewise.
-
- * pcs/cal-backend-imc.c (count_objects): Likewise.
- (build_uids_list): Likewise.
-
- * pcs/cal.c (Cal_get_uids): Likewise.
- (Cal_get_n_objects): Likewise.
-
-2000-07-25 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-calendar-table.[hc]: new ECalendarTable to show an ETable view
- for Todo/Event items.
-
- * gui/task-assigned-to.xpm:
- * gui/task-recurring.xpm:
- * gui/task-assigned.xpm:
- * gui/task.xpm: new pixmaps (all the same at present) to go in the
- icon column of the ETable.
-
- * gui/event-editor.c: hid the silly 'Calendar' labels on the
- GnomeDateEdits and hid the times when you select 'All day event'.
- Also adjusted the time_t's so that when an all day event finishes on
- say midnight 13th May, we show 12th May in the dialog, since it
- implicitly includes all of that day up to midnight.
-
- * gui/dialogs/task-editor-dialog.glade:
- * gui/dialogs/task-editor.[hc]: unfinished dialog to edit tasks.
-
- * gui/gncal-todo.c: temporary hack so that we can use the simple dialog
- with our new ETable.
-
-2000-07-23 Damon Chaplin <damon@helixcode.com>
-
- * cal-util/calobj.h: added a few more fields.
-
- * cal-util/calobj.c (ical_object_create_from_vobject): check for a
- NULL return from vObjectUStringZValue for URL property to avoid SEGV.
- For some reason an empty 'URL:' property appears and causes trouble.
-
-2000-07-20 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/component-factory.c (factory_fn): Update for the new
- `evolution_shell_component_new()' arg.
-
-2000-07-19 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (cal_component_alarm_set_trigger):
- Finish filling the trigger. What a pain, again.
- (cal_component_alarm_free_trigger): Implemented.
-
-2000-07-19 Fatih Demir <kabalak@gmx.net>
-
- * conduits/calendar/calendar-conduit-control-applet.desktop:
-
- * conduits/todo/todo-conduit-control-applet.desktop:
- Added the Turkish desktop entries.
-
-2000-07-18 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (cal_component_alarm_free): Free the
- icalcomponent if this is an unattached alarm.
- (scan_alarm_property): Handle the TRIGGER property.
- (cal_component_alarm_get_trigger): Ditto. Royal pain.
- (cal_component_alarm_set_trigger): Ditto. Less pain.
-
-2000-07-17 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-client/cal-client.c (cal_client_get_object): Fixed inline
- docs.
- (cal_client_new): Ditto.
- (cal_client_get_n_objects): Added inline docs.
-
-2000-07-14 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (CalComponentAlarm): New internal
- represntation for alarm components. We really don't map them to a
- CalComponent because it is more convenient to handle them as
- "child" structures.
- (make_alarm): New function to create a CalComponentAlarm from an
- icalcomponent representing a VALARM.
- (scan_alarm_property): New function to scan a property from an
- alarm component. We support ACTION.
- (cal_component_get_first_alarm): New function to start an iterator
- over the alarms in a calendar component.
- (cal_component_alarm_get_action): New function.
- (cal_component_alarm_set_action): New function.
-
-2000-07-13 Seth Alves <alves@hungry.com>
-
- * conduits/todo/todo-conduit.c: conduit based on the calendar conduit.
- this conduit syncs a pilot's ToDoDB database to wombat's list of "todo"
- events.
-
- * gui/gncal-todo.c (simple_todo_editor): set todo's priority control
- based on value from ical object during edit.
-
-2000-07-12 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/print.c: Revert Michael's GnomeFont patch until the
- gnome-print API stabilizes.
-
-2000-07-12 Michael Meeks <michael@helixcode.com>
-
- * gui/print.c (titled_box, print_text, print_month_small),
- (bound_text): GnomeFont update.
-
-2000-07-12 Seth Alves <alves@hungry.com>
-
- * conduits/calendar/calendar-conduit.c: fixed various problems
-
- * cal-client/Makefile.am: build a static version of the library
- to link with the conduits
-
- * cal-util/Makefile.am: same
-
-2000-07-11 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (scan_property): Handle the COMPLETED
- property.
- (free_icalcomponent): Ditto.
- (cal_component_get_completed): Ditto.
- (cal_component_set_completed): Ditto.
- (scan_property): Handle the TRANSPARENCY property.
- (free_icalcomponent): Ditto.
- (cal_component_get_transparency): Ditto.
- (cal_component_set_transparency): Ditto.
- (scan_property): Handle the URL property.
- (free_icalcomponent): Ditto.
- (cal_component_get_url): Ditto.
- (cal_component_set_url): Ditto.
-
- * pcs/cal-factory.c (queue_load_create_job): Removed unneeded
- check for the URI.
- (load_fn): Be more paranoid about the URI and notify the listener
- if we got passed a bad URI. Simplify the termination code a bit.
- (create_fn): Likewise.
- (queue_load_create_job): Be more paranoid about the URI.
-
-2000-07-10 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/Makefile.am: Remove pilot stuff for now.
-
- * Makefile.am (SUBDIRS): Remove `conduits'.
-
-2000-07-10 Dan Winship <danw@helixcode.com>
-
- * gui/Makefile.am (EXTRA_DIST): remove gnomecal.conduit
-
- * conduits/calendar/Makefile.am (EXTRA_DIST): We want
- calendar.conduit.in, not calendar.conduit.
-
-2000-07-10 Seth Alves <alves@hungry.com>
-
- * gui/Makefile.am (SUBDIRS):
- * conduits/calendar/Makefile.am: moved calendar-conduit stuff from
- the gui directory to here.
-
- * Makefile.am (SUBDIRS): added conduits to SIBDIRS
-
-2000-07-08 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/calendar-commands.c (calendar_control_activate): Remove
- "close calendar" command.
-
-2000-07-08 Anders Carlsson <andersca@gnu.org>
-
- * gui/e-week-view.c (e_week_view_on_button_press): Handle mouse wheel scrolling.
-
- * gui/e-day-view.c (e_day_view_on_time_canvas_button_press): New function to handle
- mouse wheel scrolling.
- (e_day_view_on_main_canvas_button_press): Handle mouse wheel scrolling.
-
-2000-07-07 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (scan_property): Handle the SEQUENCE
- property.
- (free_icalcomponent): Ditto.
- (cal_component_get_sequence): Ditto.
- (cal_component_set_sequence): Ditto.
- (cal_component_free_sequence): Ditto.
- (cal_component_set_last_modified): Removed incorrect assertion.
- (CalComponentPrivate): New need_sequence_inc flag. The sequence
- number must be incremented when certain properties change, so we
- store a flag that says if we need to bump it when piping the
- object over the wire.
- (free_icalcomponent): Reset need_sequence_inc.
- (cal_component_set_dtstart): Set need_sequence_inc.
- (cal_component_set_dtend): Ditto.
- (cal_component_set_due): Ditto.
-
-2000-07-06 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (scan_property): Handle the
- LAST-MODIFIED property.
- (free_icalcomponent): Ditto.
- (cal_component_get_last_modified): Ditto.
- (cal_component_set_last_modified): Ditto.
- (get_icaltimetype): New function to get struct icaltimetype
- values.
- (cal_component_get_created): Use get_icaltimetype().
- (set_icaltimetype): New function to set struct icaltimetype
- values.
- (cal_component_set_created): Use set_icaltimetype().
-
- * cal-util/cal-component.c (scan_property): Handle the CREATED
- property.
- (free_icalcomponent): Ditto.
- (cal_component_free_icaltimetype): Ditto.
- (cal_component_get_created): Ditto.
- (cal_component_set_created): Ditto.
- (cal_component_init): Do not create an UID here.
- (ensure_mandatory_properties): New function to ensure that the
- mandatory RFC properties are indeed in the component. If they are
- not, we create them on the fly.
- (cal_component_set_new_vtype): Use ensure_mandatory_properties().
- (cal_component_set_icalcomponent): Ditto.
- (cal_component_get_uid): Return the UID in a parameter, not as a
- function return value, for consistency's sake.
- (scan_property): Handle the DTSTAMP property.
- (free_icalcomponent): Ditto.
- (cal_component_get_dtstamp): Ditto.
- (cal_component_set_dtstamp): Ditto.
-
-2000-07-04 Damon Chaplin <damon@helixcode.com>
-
- * gui/gncal-todo.c (gncal_todo_update): Use &obj instead of &ico in
- the call to cal_client_get_object(). The ToDo list should work now.
-
- * gui/event-editor-dialog.glade: set the toplevel GnomeApp to invisible
- so it doesn't appear and then resize.
-
-2000-07-03 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (cal_component_get_summary): Use
- CalComponentText instead of CalComponentPropSummary. Removed the
- latter typedef.
- (cal_component_set_summary): Likewise.
- (scan_property): Handle the CLASSIFICATION property.
- (cal_component_get_classification): Ditto.
- (cal_component_set_classification): Ditto.
-
- * cal-util/cal-component.c (cal_component_free_text_list): Renamed
- from cal_component_free_description_list(). We can share this
- function since both comments and descriptions have the same form.
- (scan_text): Ditto.
- (get_text_list): New function.
- (set_text_list): New function.
- (cal_component_get_description_list): Use get_text_list().
- (cal_component_set_description_list): Use set_text_list().
- (cal_component_set_uid): Add sanity check.
- (cal_component_get_summary): Ditto.
- (cal_component_get_description_list): Ditto.
- (cal_component_get_dtstart): Ditto.
- (cal_component_get_dtend): Ditto.
- (cal_component_get_due): Ditto.
- (scan_property): Handle the COMMENT property.
- (cal_component_get_comment_list): Ditto.
- (cal_component_set_comment_list): Ditto.
-
-2000-07-02 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (scan_categories): Handle CATEGORIES.
- This can appear multiple times, so we maintain a list. We
- compress them later to a single property with multiple values.
- (cal_component_get_categories_list): Ditto.
- (cal_component_set_categories_list): Ditto.
- (cal_component_free_categories_list): Ditto.
- (free_icalcomponent): Properly free the mappings.
-
-2000-07-02 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (scan_datetime): Handle date/time and
- timezone pairs.
- (scan_property): Handle DTSTART and DTEND.
- (cal_component_free_datetime): Ditto.
- (get_datetime): Ditto.
- (cal_component_get_dtstart): Ditto.
- (set_datetime): Ditto.
- (cal_component_set_dtstart): Ditto.
- (cal_component_get_dtend): Ditto.
- (cal_component_set_dtend): Ditto.
- (scan_property): Handle DUE date.
- (cal_component_get_due): Ditto.
- (cal_component_set_due): Ditto.
-
-2000-07-01 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (cal_component_get_description_list):
- Handle the DESCRIPTION property. There can be multiple
- descriptions with parameters each, so we deal with a list instead
- of a single structure.
- (cal_component_set_description_list): Ditto.
- (cal_component_free_description_list): Ditto.
- (scan_property): Ditto.
- (scan_description): Ditto.
-
-2000-06-30 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c (cal_component_get_summary): To avoid
- passing a million parameters to setters/getters for properties
- that support parameters, we now pass client-side structures
- instead. Here we use CalComponentPropSummary.
- (cal_component_set_summary): Ditto.
-
-2000-06-29 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/component-factory.c: Make calendar die when evolution quits.
-
-2000-06-30 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.c: Change of plans. We use an
- icalcomponent from libical as our core representation so that we
- can preserve extension fields and fields that we don't (yet)
- support. CalComponent is just a wrapper with a nice API that
- provides non-iterative, random access to the ical's fields.
- (cal_component_destroy): Free the thing correctly.
- (cal_component_get_vtype): Re-implement in terms of icalcomponent.
- (cal_component_set_icalcomponent): New function to set the
- CalComponent's data from an existing icalcomponent.
- (cal_component_get_icalcomponent): New function.
- (cal_component_set_new_vtype): New convenience function to create
- an empty component.
- (scan_icalcomponent): Core scanning function.
- (scan_property): Another core scanning function.
- (cal_component_get_uid): Use the property directly.
- (cal_component_get_summary): Ditto. Handle the altrep parameter
- as well.
- (cal_component_set_summary): Ditto. Feel the pain, motherfucker.
- It is ridiculous how much code this involves.
- (scan_summary): Ditto.
-
-2000-06-29 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/component-factory.c (owner_set_cb): Get an
- EvolutionShellClient instead of an Evolution_Shell to match the
- changes in libeshell.
-
-2000-06-29 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/Makefile.am: Do not link and include the pilot stuff for the
- calendar component, just for the Pilot conduit. Commented out the
- Pilot part so that Evolution can build. Sigh, we'll have to
- modify gnome-pilot to use OAF.
-
-2000-06-29 Peter Williams <peterw@helixcode.com>
-
- * gui/Makefile.am (LINK_FLAGS): Make the calendar-pilot-sync
- program conditional on HAVE_GNOME_PILOT, and add
- GNOME_PILOT_CFLAGS, GNOME_PILOT_LIBS, and PISOCK_LIBS in the
- appropriate places.
-
-2000-06-29 Seth Alves <alves@hungry.com>
-
- * pcs/cal.c (Cal_get_uid_by_pilot_id):
- (Cal_update_pilot_id):
- * pcs/cal-backend-imc.c (cal_backend_imc_update_pilot_id):
- (cal_backend_imc_get_uid_by_pilot_id):
- * pcs/cal-backend.c (cal_backend_get_uid_by_pilot_id):
- (cal_backend_update_pilot_id): server code to service these:
-
- * gui/calendar-pilot-sync.c: updated to make use of cal-client.
- also uses dirty bits on both sides to aid in syncing.
-
- * cal-client/cal-client.c (cal_client_get_uid_by_pilot_id): new
- function -- ask the cal server to return uid given an object's
- pilot id.
- (cal_client_update_pilot_id): new function -- inform the
- cal server of an objects pilot id and pilot dirty-flag.
-
-2000-06-28 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/cal-component.[ch]: New files for the new iCalendar
- component object. Today's properties: basic component type, UID,
- SUMMARY.
-
- * cal-util/Makefile.am: Added cal-component.[ch] to the list of
- sources.
-
-2000-06-27 Michael Meeks <michael@helixcode.com>
-
- * pcs/Makefile.am (INCLUDES): use BONOBO_VFS_GNOME_CFLAGS.
-
-2000-06-26 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/calendar-model.c: Added an #ifdefed value_to_string handler
- assignment.
-
-2000-06-26 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-model.c (calendar_model_duplicate_value):
- Implement.
- (calendar_model_initialize_value): Implement.
- (calendar_model_value_is_empty): Implement.
-
-2000-06-21 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-day-view.c (e_day_view_reshape_long_event): set event before
- using it!
- (e_day_view_init): used new colors from tigert.
-
-2000-06-21 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/e-day-view.c, gui/e-week-view.c: Remove the usage of the "x"
- and "y" arguments.
-
-2000-06-21 Damon Chaplin <damon@helixcode.com>
-
- * gui/gnome-cal.c (gnome_calendar_direction): changed so it keeps the
- selection range. It just moves it on one day/week etc. This makes
- it very handy for the keyboard shortcut code.
-
- * gui/calendar-commands.c (calendar_control_activate): fixed bug
- setting the radio button active.
-
- * gui/e-day-view.[hc]: added support for keyboard navigation and
- selection of the time range.
-
-2000-06-20 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-model.c (calendar_model_set_value_at): Implemented.
- (calendar_model_is_cell_editable): Implemented.
-
- * cal-client/cal-client.c (cal_client_update_object): Take in an
- iCalObject instead of a stringified version.
-
- * gui/gnome-cal.c (gnome_calendar_update_object): Removed.
- (gnome_calendar_remove_object): Removed.
- (save_ical_object_cb): Use the CalClient function.
-
- * gui/e-day-view.c (e_day_view_on_delete_occurrence): Likewise.
- (e_day_view_on_unrecur_appointment): Likewise.
- (e_day_view_finish_long_event_resize): Likewise.
- (e_day_view_finish_resize): Likewise.
- (e_day_view_key_press): Likewise.
- (e_day_view_on_editing_stopped): Likewise.
- (e_day_view_on_top_canvas_drag_data_received): Likewise.
- (e_day_view_on_main_canvas_drag_data_received): Likewise.
- (e_day_view_on_delete_appointment): Likewise.
-
- * gui/e-week-view.c (e_week_view_on_editing_stopped): Likewise.
- (e_week_view_key_press): Likewise.
- (e_week_view_on_delete_occurrence): Likewise.
- (e_week_view_on_unrecur_appointment): Likewise.
- (e_week_view_on_delete_appointment): Likewise.
-
- * gui/gncal-todo.c (ok_button): Likewise.
- (delete_todo): Likewise.
-
-2000-06-19 Damon Chaplin <damon@helixcode.com>
-
- * gui/event-editor-dialog.glade: tidied up dialog a bit, adding
- space etc.
-
- * gui/e-week-view.c (e_week_view_reshape_events): removed debug msg.
-
-2000-06-18 Ettore Perazzoli <ettore@helixcode.com>
-
- * cal-util/Makefile.am (INCLUDES): Include from
- `$(top_builddir)/libical/src/libical' too. [For the generated
- libical `icalversion.h' header.]
- * cal-client/Makefile.am (INCLUDES): Likewise.
-
-2000-06-18 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-day-view.c (e_day_view_on_top_canvas_drag_data_received):
- fixed a DnD bug.
-
-2000-06-17 Dan Winship <danw@helixcode.com>
-
- * cal-client/Makefile.am (INCLUDES): Fix to not depend on
- installed ical.h
-
-2000-06-17 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-week-view.c: added little buttons which are shown when there
- are more events than will fit in a day. Clicking on the button takes
- the user to the 1-Day view and shows the full day.
-
- * gui/e-day-view.c:
- * gui/e-week-view.c: set the "use_ellipsis" arg to TRUE for the EText
- items so we get tooltips automatically. Though we may want to use our
- own code to show tooltips so we can show the tips when the mouse is
- around the edges of the event box, and we may want to show the start
- and end times of the event in full.
-
- * gui/calendar-commands.c (calendar_control_activate):
- * gui/gnome-cal.h: added view_toolbar_buttons[] so we can access the
- radio buttons in the code easily. We need this if we want to jump to
- another view programmatically.
-
-2000-06-16 Damon Chaplin <damon@helixcode.com>
-
- * gui/jump.xpm: new icon for the EWeekView to jump to the day.
-
- * gui/Makefile.am (EXTRA_DIST): added jump.xpm
-
-2000-06-16 Damon Chaplin <damon@helixcode.com>
-
- * gui/calendar-model.c (calendar_model_class_init): #ifdef'ed out
- references to functions which don't exist yet, so evolution still
- compiles.
-
-2000-06-16 Damon Chaplin <damon@helixcode.com>
-
- * cal-util/test-recur.c: updated.
-
- * cal-util/cal-recur.[hc]: mostly finished, though it depends on the
- iCalObject struct being updated to support more of iCalendar.
-
-2000-06-16 Damon Chaplin <damon@helixcode.com>
-
- * pcs/.cvsignore: added icalendar-test.
-
-2000-06-15 Damon Chaplin <damon@helixcode.com>
-
- * cal-util/Makefile.am (test_recur_LDADD): use libical.a
-
-2000-06-15 Dan Winship <danw@helixcode.com>
-
- * cal-util/Makefile.am (noinst_PROGRAMS): merge the two separate
- noinst_PROGRAMS declarations into one so automake accepts it.
- (INCLUDES): include libical src dir so we don't depend on having
- ical.h already installed
-
-2000-06-14 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-model.c: GPtrArray cannot insert stuff in the
- middle of the array (!), so use plain GArray everywhere. Sigh.
-
-2000-06-13 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-client/cal-client.c (cal_client_get_object): Use vCalendar
- again.
-
- * cal-util/calobj.c (ical_object_find_in_string): From Seth, make
- it use vCalendar again.
-
-2000-06-13 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-model.c (obj_updated_cb): Juggle some eggs in
- asynchronous fashion. Finished implementing.
- (obj_removed_cb): Implemented. This one needs no juggling.
- (calendar_model_set_cal_client): Only load the objects if we have
- a client.
- (calendar_model_destroy): Disconnect from the client's signals.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Added
- calendar-model.[ch] to the list of sources.
-
- * pcs/cal-backend-imc.c (cal_backend_imc_get_n_objects): Doh,
- return the computed value.
-
-2000-06-13 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-model.c (CalendarModelPrivate): Added the array of
- objects and the hash table of UID->array index.
- (calendar_model_row_count): Return the length directly from the
- array instead of asking the Wombat.
- (calendar_model_value_at): Implemented.
- (calendar_model_new): Create an empty model. We provide a new
- setter function now.
- (calendar_model_construct): Removed function.
- (calendar_model_set_cal_client): New function to set the calendar
- client and object type at any time. This lets us reuse a calendar
- model object.
-
- * cal-util/calobj.h (iCalObjectField): Just report whether the
- object has alarms; not every single alarm.
-
-2000-06-13 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/Makefile.am (SHELL_OBJS): Removed.
- (evolution_calendar_LDADD): Link with
- `$(top_builddir)/shell/libeshell.a'.
-
-2000-06-09 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/component-factory.c (factory_fn): Pass NULL for the new args
- @create_folder_fn and @remove_folder_fn.
- (create_view): Updated to match the new
- `EvolutionShellComponentCreateViewFn'. Return
- `EVOLUTION_SHELL_COMPONENT_UNSUPPORTEDTYPE' if type is not
- "calendar".
-
-2000-06-09 Federico Mena Quintero <federico@helixcode.com>
-
- * idl/evolution-calendar.idl (Cal): Added a get_n_objects()
- method.
-
- * pcs/cal-backend.c (cal_backend_get_n_objects): New function.
-
- * pcs/cal-backend-imc.c (cal_backend_imc_get_n_objects):
- Implemented.
-
- * pcs/cal.c (Cal_get_n_objects): Implemented.
-
- * cal-client/cal-client.c (cal_client_get_uids): Free the ev.
- (cal_client_get_n_objects): Implemented.
-
- * cal-util/calobj.h (iCalObjectField): New enumeration to identify
- the fields in an iCalObject.
-
-2000-06-08 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (event_editor_destroy): Free the private
- structure.
-
-2000-06-08 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/calobj.c (ical_object_to_vobject): Allow for NULL
- summaries.
-
-2000-06-07 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (toolbar): Added missing tooltips. We still
- need icons, though.
-
-2000-06-07 Seth Alves <alves@hungry.com>
-
- * cal-util/calobj.c (ical_object_find_in_string): put this back in,
- it's still used in cal-backend-imc.c:cal_backend_imc_update_object
-
- * cal-client/cal-client.c (cal_client_get_object): instead of
- returning a text representation, decode the text and return an
- iCalObject. Also added CalClientGetStatus which indicates
- success or type of failure.
-
- * cal-util/calobj.c (ical_object_find_in_string): #ifed out
- ical_object_find_in_string since it is unused now.
-
- * cal-client/client-test.c (list_uids): track get_object change
- * gui/calendar-commands.c (calendar_iterate): same
- * gui/e-day-view.c (e_day_view_update_event): same
- * gui/e-week-view.c (e_week_view_update_event): same
- * gui/print.c (print_day_details): same
- (print_day_summary): same
- (print_todo_details): same
- * gui/gnome-cal.c (trigger_alarm_cb): same
- * gui/gncal-todo.c (gncal_todo_update): same
-
-2000-06-06 Seth Alves <alves@hungry.com>
-
- * cal-util/icalendar.c, icalendar-save.c: fixed a bunch of problems
- * cal-util/calobj.c (ical_object_find_in_string): use libical
- instead of libversit
- (ical_object_to_string): same
- (dump_icalobject): prints the contents of an icalobject for debugging
-
- * gui/Makefile.am (LINK_FLAGS): link libical.a instead of libical.la
- so we don't have to modify the build system of the released libical
- * cal-client/Makefile.am (client_test_LDADD): same
- * cal-util/Makefile.am (icalendar_test_LDADD): same
-
-2000-06-06 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/calobj.c (ical_object_destroy): Removed from the public
- header; made static. Now everyone should use refcounting.
-
- * pcs/cal-backend-imc.c (free_ical_object): Use
- ical_object_unref().
- (remove_object): Likewise.
-
-2000-06-02 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-commands.c (print): New function to call the print
- engine.
- (calendar_toolbar): Added the Print button.
- (calendar_control_activate): Added the File/Print item.
-
- * gui/e-day-view.c (e_day_view_get_selected_time_range): Allow
- start_time and end_time to be NULL.
-
- * gui/e-week-view.c (e_week_view_get_selected_time_range):
- Likewise.
-
- * gui/print.c (range_selector_new): Show the range selector
- widgets. Use the correct radio group for all of them!
- (print_calendar): Do the dialog box here. We may want to split
- this function later into smaller chunks.
-
-2000-06-05 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_button_press):
- allow the right button to popup the menu, even when the event is
- being edited.
-
- * gui/e-week-view.c:
- * gui/e-day-view.c: Set the keyboard focus to the EDayView/EWeekView
- when the right button is clicked, so that any event being edited is
- saved before any action (e.g. opening the Event Editor dialog) is
- started. Note that this won't work if we switch to asynchronous
- notification.
-
-2000-06-02 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (tb_save_and_close_cb): Implemented.
- (toolbar): Added an icon for the Save and Close command.
- (save_ical_object): Recompute the title of the window here. Maybe
- it would be better to do it when we actually get the
- "object_changed" signal from the CalClient.
- (file_close_cb): Implemented.
-
-2000-06-02 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.c (save_ical_object_cb): Implemented.
- (gnome_calendar_add_object): Removed function, since it was
- identical to gnome_calendar_update_object(). Modified the rest
- of the code to use only the latter.
- (gnome_calendar_remove_object): Be more paranoid about the UID.
- (gnome_calendar_update_object): Ditto. Also, renamed this
- function from gnome_calendar_object_changed(), for consistency
- with the lower-level CalClient interface.
-
- * gui/event-editor.c (event_editor_class_init): New
- "save_ical_object" signal to ask that our parent store the
- calendar object to the backend.
- (save_ical_object): New function to save the calendar object,
- actually if just emits the signal.
- (file_save_cb): Implemented.
- (dialog_to_ical_object): We want priv->
- alarm_program_run_program_entry (i.e. the entry inside the
- GnomeFileEntry), not the file entry itself.
- (dialog_to_ical_object): Only insert the recurrence ending date if
- the event is recurrent!
-
-2000-06-02 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/Makefile.am: Fixed EXTRA_DIST.
-
-2000-06-01 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.c (editor_closed_cb): Handler for the
- "editor_closed" signal of the event editor; we just destroy it
- then.
-
- * gui/event-editor.c (app_delete_event_cb): Callback used when the
- dialog is closed. Release the iCalObject here instead of the
- event editor's destroy handler, and emit the new "editor_closed"
- signal.
-
-2000-06-01 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor-dialog.glade: Change of plans. The toplevel
- GnomeApp is now generated with Glade instead of being created in
- the program code. Otherwise we can't migrate the accelerators to
- the new toplevel and they won't work.
-
- * gui/event-editor.[ch]: EventEditor now derives from GtkObject.
- This lets us use the GnomeApp created by libglade and still have
- signals and stuff.
-
- * gui/event-editor.c (create_menu): Tell the UI handler that the
- menubar is the GnomeApp's existing one, not to create a new one.
- (create_toolbar): Tell the UI handler to use the GnomeApp's
- existing toolbar.
- (event_editor_focus): New function to raise/focus an event editor.
-
- * gui/gnome-cal.c (gnome_calendar_edit_object): Use
- event_editor_focus().
-
-2000-06-01 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/calendar-commands.c (calendar_control_activate): Put the
- toolbar into a frame to make it look like standard GNOME toolbars.
- Also, set `GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL' so that it does not
- do evil things when its moved to the left or the right of the
- window.
-
-2000-05-31 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.h (GnomeCalendar): Added a hash table to map
- calendar objects to their respective event editors.
-
- * gui/gnome-cal.c (gnome_calendar_init): Create the
- object_editor_hash.
- (gnome_calendar_destroy): Free the object_editor_hash.
- (gnome_calendar_edit_object): New function to centralize the
- launching of event editors; if one already exists for a particular
- calendar object, we just raise its window.
- (edit): Use gnome_calendar_edit_object().
-
- * gui/calendar-commands.c (display_objedit): Use
- gnome_calendar_edit_object().
- (display_objedit_today): Likewise.
-
- * gui/e-day-view.c (e_day_view_on_new_appointment): Likewise.
- (e_day_view_on_edit_appointment): Likewise.
-
- * gui/e-week-view.c (e_week_view_on_new_appointment): Likewise.
- (e_week_view_on_edit_appointment): Likewise.
-
- * gui/event-editor.c (event_editor_new): Do not take in an
- iCalObject; rather provide an event_editor_set_ical_object()
- function. We need this because a single editor may be switched
- between different calendar objects. Also, do not show the event
- editor; leave it up to the client code.
- (event_editor_construct): Likewise.
- (clear_widgets): New function to clear the widgets to default
- values.
- (fill_widgets): New function to fill in the widgets from the
- iCalObject. We don't do this in init_widgets() anymore.
- (free_exception_clist_data): New function to free the exceptions
- clist data. We were leaking the row data.
- (init_widgets): Hook to the destroy signal of the exceptions
- clist.
- (event_editor_set_ical_object): New function. Now it also makes a
- copy of the calendar object for the event editor; clients do not
- need to copy it anymore.
- (event_editor_destroy): Unref the UI handler as well.
- (event_editor_class_init): New "ical_object_released" signal to
- notify the parent that we are no longer editing the calendar
- object.
- (make_title_from_ico): Handle NULL objects.
-
- * gui/event-editor.h (EventEditor): Removed fields that are no
- longer used.
-
-2000-05-31 Damon Chaplin <damon@helixcode.com>
-
- * cal-util/Makefile.am: added test-recur test program.
-
- * cal-util/test-recur.c: new file to test the recurrence code.
-
- * cal-util/.cvsignore: added test-recur.
-
- * cal-util/cal-recur.c: updated.
-
-2000-05-30 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor.c (event_editor_construct): Create the UI
- handler after we have constructed the parent GnomeApp.
- (main_menu): Menu template is now in place.
- (toolbar): Tollbar template is now in place.
- (create_toolbar): Turn off labels in the toolbar since it sucks;
- it should support non-homogeneous buttons with horizontal icons
- and text.
-
-2000-05-29 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.c (gnome_calendar_object_changed): Removed the
- flags argument, since now we just proxy the calendar object to the
- calendar client.
-
- * gui/event-editor.c (alarm_unit_get): Moved over from
- event-editor-utils.c.
-
- * gui/event-editor-utils.[ch]: Removed files, since the two
- functions that were left there (i.e. the ones not present in
- e-dialog-widgets) can simply be moved to event-editor.c.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Removed
- event-editor-utils.[ch] from the list of sources.
-
-2000-05-27 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor-utils.c: Moved many functions to
- e-util/e-dialog-widgets.c.
-
-2000-05-25 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/event-editor-dialog.glade: Put the main notebook directly
- under a simple GtkWindow. We are going to pull out the notebook
- and slap it into our custom-built GnomeApp, anwyays.
-
- * gui/event-editor.c: Made the EventEditor derive from GnomeApp.
- Added a BonoboUIHandler for its menu and toolbar.
- (make_title_from_ico): Create a nice title for the window.
- (get_widgets): Fetch the Glade widgets here instead of all over
- the place.
- (event_editor_new): Temporary hack to show the dialog here, just
- so that I can test it.
-
- * gui/Makefile.am (EXTRA_DIST): Added the Glade messages file.
-
-2000-05-25 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/main.c (init_bonobo): Do not initialize libglade twice.
-
- * gui/component-factory.c (create_view): Set the folder_uri
- property, otherwise the calendar will not get loaded into the
- view.
-
-2000-05-25 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/main.c: Make it so that warnings don't crash calendar.
-
-2000-05-25 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/evolution-calendar-control.c: Removed.
-
- * gui/main.c: New.
-
- * gui/control-factory.c: New.
- * gui/control-factory.h: New.
-
- * gui/calendar-component-factory.c: New.
- * gui/calendar-component-factory.c: New.
-
- * gui/evolution-calendar-control.c (calendar_control_factory):
- Renamed from `calendar_factory'.
- (calendar_control_factory_init): Renamed from
- `calendar_factory_init'.
-
- * gui/Makefile.am: Link with the files from `$(builddir)/shell'.
-
- * gui/evolution-calendar.gnorba: New.
- * gui/evolution-calendar.oafinfo: New.
-
-2000-05-24 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/print.c (range_selector_new): New function to create the
- custom range selector.
- (print_dialog): New function to show the print dialog.
- (print_calendar): Use the print dialog.
-
-2000-05-24 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/Makefile.am: Added libepaned.a.
-
- * gui/gnome-cal.c: Switched from GtkPaned to EPaned.
-
-2000-05-22 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/calendar-commands.c (calendar_get_events_in_range): Removed
- function.
-
- * gui/mark.c (mark_month_item): Use
- cal_client_get_events_in_range().
-
- * gui/calendar-commands.c (show_year_view_clicked): Comment out,
- since we don't have a year view.
-
- * gui/gnome-cal.c (setup_widgets): Removed the year view stuff.
- (gnome_calendar_get_current_view_name): Likewise.
- (gnome_calendar_update_view_times): Likewise.
- (gnome_calendar_direction): Likewise.
- (gnome_calendar_set_view): Likewise.
- (gnome_calendar_update_all): Likewise.
- (gnome_calendar_object_updated_cb): Likewise.
- (gnome_calendar_object_removed_cb): Likewise.
- (gnome_calendar_time_format_changed): Likewise.
- (gnome_calendar_get_current_time_range): Likewise.
-
- * gui/gnome-cal.h (GnomeCalendar): Removed the year view stuff.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Added layout.[ch],
- print.[ch]. Removed quick-view.[ch], year-view.[ch] since they
- are no longer used. Removed all the old Pilot crap.
-
-2000-05-20 Damon Chaplin <damon@helixcode.com>
-
- * cal-util/cal-recur.[hc]: new files to implement iCalendar recurrence
- rules. These are only part finished, but people may like to check that
- the architecture seems OK.
-
-2000-05-17 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-day-view.c (e_day_view_on_delete_occurrence):
- * gui/e-week-view.c (e_week_view_on_delete_occurrence): use a copy of
- the iCalObject so we detect the change in the "update_event" callback.
- Maybe we should just update the view ourselves and then we wouldn't
- need to detect any change in the callback.
-
- * cal-util/calobj.c (ical_object_reset_recurrence): new function to
- get rid of any recurrence rules. Used when we 'unrecur' an event.
-
- * gui/e-day-view.c (e_day_view_key_press): don't add a new event if it
- won't fit, or we end up adding a new event for each key press.
- (e_day_view_update_event_label): don't update it if it doesn't have
- an EText item (i.e. it isn't visible).
-
- * gui/e-day-view-time-item.c: allow selection of times using this
- column.
-
-2000-05-19 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/timeutil.c (time_add_minutes): Fixed warning message.
- (time_add_day): Likewise.
- (time_add_month): Likewise.
- (time_add_year): Likewise.
- (time_from_day): Of all functions, *this* one had to have a bug.
- Set the tm.tm_isdst to -1 to specify that we don't know whether
- the time is in DST or not. This fixes *many* bugs upstream.
- (time_week_begin): Likewise. We never noticed this since the week
- functions are never used.
- (time_week_end): Likewise.
-
-2000-05-17 Seth Alves <alves@hungry.com>
-
- * gui/event-editor.c: hooked up more widget signals to callbacks
- to the gladified dialog acts more like the original one.
-
-2000-05-16 Seth Alves <alves@hungry.com>
-
- * gui/event-editor.c (recurrence_toggled): hook the radio buttons
- to the pages of the notebook.
- (append_exception):
- (recurrence_exception_added):
- (recurrence_exception_deleted):
- (recurrence_exception_changed): code to deal with the recurrence
- exception list.
-
-2000-05-15 Seth Alves <alves@hungry.com>
-
- * gui/event-editor.[ch]: gladeified replacement for eventedit.c
-
- * gui/event-editor-utils.[ch]: utilities used by event-editor.c
-
- * gui/event-editor-dialog.glade: glade file used by event-editor.c
-
-2000-05-14 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.c (display_notification): Use the alarm
- notification dialog.
- (display_notification_cb): New callback for the result of the
- alarm notification dialog.
-
- * gui/dialogs/alarm-notify.glade: New file with the alarm
- notification dialog.
-
- * gui/dialogs/alarm-notify-dialog.[ch]: New file.
-
- * gui/dialogs/Makefile.am: New file.
-
- * gui/Makefile.am (SUBDIRS): Added the dialogs directory.
-
-2000-05-13 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.c (trigger_alarm_cb): Better error checking, and
- plug leaks of str_ico and ico.
-
- * gui/evolution-calendar-control.c (main): Initialize libglade.
-
-2000-05-13 Ettore Perazzoli <ettore@helixcode.com>
-
- * pcs/Makefile.am (INCLUDES): Add
- `-I$(top_builddir)/libical/src/libical'.
-
-2000-05-12 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/calobj.c (generate): Use a (dtend - dtstart) offset to
- compute the ending time of the occurrence. This takes care of
- recurring events that span multiple days. Also, removed the DST
- condition since it did not look right at all: if you have a daily
- appointment at 18:00, it still should happen at 18:00 even during
- daylight savings.
-
- * gui/gnome-cal.c (gnome_calendar_tag_calendar): Use the timeutil
- functions instead of calculating the month's times by hand. Use
- cal_obj_instance_list_free() instead of freeing the list by hand.
- Clip the range we pass to mark_gtk_calendar_day().
- (mark_gtk_calendar_day): Fixed off-by-one error at the end of the
- month by adding real day offsets.
-
-2000-05-11 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.c (add_alarms_for_object): New function to add
- today's alarms for a single object.
- (gnome_calendar_object_updated_cb): Update the object's alarms.
-
- * idl/evolution-calendar.idl (Cal): Added a
- get_alarms_for_object() method.
-
- * pcs/cal.c (Cal_get_alarms_for_object): Implemented method.
-
- * pcs/cal-backend.c (cal_backend_get_alarms_for_object): New
- function.
-
- * pcs/cal-backend-imc.c (cal_backend_imc_get_alarms_for_object):
- Implemented.
-
- * cal-client/cal-client.c (cal_client_get_alarms_for_object): New
- function.
-
-2000-05-11 Dan Winship <danw@helixcode.com>
-
- * gui/calendar-commands.c (calendar_control_activate): Now that we
- depend on current gnome-libs we can make the toolbar detachable
- again.
-
- * pcs/icalendar-save.c (timet_to_icaltime): remove unused timezone
- variable to make this compile on BSD systems (where timezone is
- the name of a function)
-
-2000-05-11 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/gnome-cal.c (gnome_calendar_update_all): Removed unused
- arguments. Load the initial alarms here.
- (load_alarms): New function to load a day's worth of alarms.
- (gnome_calendar_class_init): Eeeek! This was taking in an
- incorrect argument type.
- (gnome_calendar_init): Now the calendar keeps a hash table of
- UIDs->queued alarms. Create the hash table here.
- (gnome_calendar_destroy): Destroy the alarms hash table.
- (gnome_calendar_object_updated_cb): Remove the alarms for the
- object and regenerate them.
- (gnome_calendar_object_removed_cb): Remove the alarms for the
- object.
-
- * gui/alarm.c (alarm_add): Do not take in a CalendarAlarm, just
- the trigger time, the callback and the closure data. Return an
- opaque identifier for the alarm so that it can be removed by the
- client code if needed. Use the queue_alarm() helper function.
- (queue_alarm): Helper function to actually queue the alarm and set
- up the itimer. Deal with a nonzero return value from
- setitimer().
- (alarm_remove): New function to remove an alarm based on its ID.
- (pop_alarm): New helper function; pops the first alarm of the
- queue and resets the timer as appropriate.
- (alarm_ready): Simplified a lot by using pop_alarm().
-
- * idl/evolution-calendar.idl (Cal): Added get_alarms_in_range().
-
- * pcs/cal.c (build_instance_seq): New function to build a CORBA
- sequence from the internal list of instances.
- (Cal_get_events_in_range): Use build_instance_seq().
- (Cal_get_alarms_in_range): Implemented new method.
-
- * pcs/cal-backend.c (cal_backend_get_alarms_in_range): New
- function with the get_alarms_in_range() engine.
-
- * pcs/cal-backend-imc.c (cal_backend_imc_get_alarms_in_range):
- Implemented the get_alarms_in_range() method.
-
- * cal-client/cal-client.c (cal_client_get_alarms_in_range): New
- client-side function for getting the alarms.
- (build_instance_list): New helper function to build the
- CalObjInstance list from the CORBA sequence.
- (cal_client_get_events_in_range): Use build_instance_list().
-
- * gui/calendar-commands.h: #include <cal-util/calobj.h>. #include
- "gnome-cal.h".
-
- * gui/e-week-view.c: #include "calendar-commands.h" instead of
- main.h; the latter is an obsolete file and will be killed.
-
- * gui/evolution-calendar-control.c (main): Call init_bonobo()
- before anything else. We need the GTK+ object system initialized.
-
- * gui/Makefile.am (evolution_calendar_SOURCES): Do not use main.h.
-
- * cal-util/cal-util.c (cal_alarm_instance_list_free): New function.
-
-2000-05-10 Matt Loper <matt@helixcode.com>
-
- * gui/calendar-commands.c (calendar_control_activate): Move
- "about" menuitem to the help menu.
-
-2000-05-10 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/Makefile.am: Added main.h. Combined the two EXTRA_DIST
- sections.
-
-2000-05-09 Christopher James Lahey <clahey@helixcode.com>
-
- * pcs/cal-backend-imc.c: Set the format when creating a new
- calendar.
-
-2000-05-09 Christopher James Lahey <clahey@helixcode.com>
-
- * pcs/cal-factory.c: Removed double free of method_string in
- uri->method_string.
-
-2000-05-08 Ettore Perazzoli <ettore@helixcode.com>
-
- * pcs/cal.h: Include "calendar/pcs/evolution-calendar.h" instead
- of "evolution-calendar.h".
-
- * pcs/cal-backend.h: Include "calendar/pcs/evolution-calendar.h"
- instead of "evolution-calendar.h".
-
-2000-05-08 Seth Alves <alves@hungry.com>
-
- * gui/e-day-view.c (e_day_view_on_delete_appointment): call
- e_day_view_stop_editing_event here to avoid a divide by zero
- a bit further on. i'm not sure if this is the best fix for this.
-
-2000-05-08 Federico Mena Quintero <federico@helixcode.com>
-
- * pcs/cal-backend.h (CalBackendClass): CalBackendClass now is just
- an interface for calendar backends; this is an abstract class.
- Put in the vtable for the backend methods.
-
- * pcs/cal-backend.c (cal_backend_new): Removed function, since
- CalBackend is not just an abstract class.
- Removed implementation-specific functions and made public
- functions call the virtual methods instead.
-
- * pcs/cal-backend-imc.[ch]: New files with the CalBackendIMC
- implementation; this implements a backend for iCalendar and
- vCalendar files. Moved the implementation-specific stuff from
- cal-backend.[ch] to here.
-
- * pcs/cal-backend-imc.c (CalendarFormat): Moved enumeration to
- here. Added a CAL_UNKNOWN value for when the backend is not
- loaded yet.
- (cal_backend_imc_init): Initialize priv->format as CAL_UNKNOWN.
- (save_to_vcal): Use the same VCProdIdProp value as in
- cal-util/calobj.c. Use "1.0" as the VCVersionProp as per the
- vCalendar spec.
- (ensure_uid): Return nothing, since the result value need not be
- used anymore.
- (add_object): Since we mark the calendar as dirty anyways, we do
- not need to check the result value of ensure_uid() anymore.
- (remove_object): Asssert that we know how to handle the object's
- type. We do this in add_object() anyways.
-
- * pcs/Makefile.am (libpcs_a_SOURCES): Added cal-backend-imc.[ch].
-
- * gui/gnome-cal.c: Replaced debugging printf()s with g_message()
- so that we can see the line number where they occur.
-
- * gui/gnome-cal.c (gnome_calendar_load_cb): Sort of handle the
- LOAD_METHOD_NOT_SUPPORTED result code, and added a default for the
- switch.
-
- * cal-client/cal-listener.h (CalListenerLoadStatus): Removed
- enumeration; it is stupid to translate all values for the
- CalClient when it is going to translate them again.
- (CalListenerClass::cal_loaded): This signal now passes the
- LoadStatus directly from the CORBA side.
-
- * cal-client/cal-listener.c (Listener_cal_loaded): Do not
- translate the status value.
-
- * cal-client/cal-client.h (CalClientLoadStatus): Added the
- CAL_CLIENT_LOAD_METHOD_NOT_SUPPORTED error code.
-
- * cal-client/cal-client.c (cal_loaded_cb): Translate the CORBA
- version of the LoadStatus result code.
-
- * pcs/cal-factory.c (CalFactoryPrivate): New methods field for the
- hash table from method strings to the GtkTypes for backend class
- types.
- (cal_factory_init): Create the priv->methods hash table.
- (cal_factory_destroy): Free the priv->methods hash table.
- (cal_factory_register_method): New function to register a backend
- class for a particular URI method.
- (launch_backend_for_uri): New function to launch a backend for a
- particular URI's method.
- (load_backend): Use launch_backend_for_uri(). Move the error
- notification code from load_fn() to here.
- (create_backend): Use launch_backend_for_uri(). Move the error
- notification code form create_fn() to here; it is #ifdefed out
- since currently cal_backend_create() does not have any error
- reporting capabilities.
-
- * idl/evolution-calendar.idl (Listener::LoadStatus): Added a
- PROTOCOL_NOT_SUPPORTED error code.
-
- * pcs/cal-factory.c (cal_factory_load cal_factory_create): Removed
- functions, since they were supposed to be internal only.
- (CalFactory_load): Call queue_load_create_job() directly.
- (CalFactory_create): Likewise.
-
-2000-05-08 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-week-view.c (e_week_view_remove_event_cb):
- * gui/e-day-view.c (e_day_view_remove_event_cb): don't set the ico->uid
- to NULL or we won't find any other occurrences of the event. Set the
- editing_event_day/num to -1 instead.
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw): fixed the
- positioning of the icons for long events.
-
- * cal-util/calobj.c (ical_object_normalize_summary): forgot to
- terminate the string.
-
-2000-05-07 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received):
- (e_day_view_on_top_canvas_drag_data_received): show the EText item,
- just in case it hasn't moved, otherwise it won't appear.
-
- * gui/e-day-view.h (E_DAY_VIEW_BAR_WIDTH): increased from 6 to 8 to
- make it easier to drag an event. Also increased E_DAY_VIEW_GAP_WIDTH
- since it must be >= the BAR_WIDTH.
-
-2000-05-07 Matt Loper <matt@helixcode.com>
-
- * gui/evolution-calendar-control.c (PROPERTY_CALENDAR_URI):
- Changed to "folder_uri" from "calendar_uri".
- (set_prop): The uri given to us is a directory, so we append a
- filename onto the end before we use it.
-
-2000-05-06 Damon Chaplin <damon@helixcode.com>
-
- * cal-util/timeutil.c (time_day_begin):
- (time_day_end): changed these so they just do a simple localtime(),
- update the struct tm, then do a mktime(). I don't know why it used to
- look at the tm_isdst flags etc. From a little test program I wrote
- which steps through testing every hour for a year it wasn't working
- correctly, and the new code does.
- (time_add_day): also got rid of the stuff that looked at tm_isdst here.
- My test program now works better.
-
-2000-05-06 Chris Toshok <toshok@helixcode.com>
- * gui/.cvsignore: ignore evolution-calendar.pure
-
- * gui/Makefile.am: add support for building evolution-calendar.pure
-
-2000-05-06 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-day-view.c:
- * gui/e-week-view.c: finish editing event when user hits Return key.
- (e_week_view_on_text_item_event): stop event signals after doing any
- other calls, since otherwise it will also stop any other resulting
- event signals.
-
- * gui/e-week-view-event-item.c (e_week_view_event_item_draw): don't
- draw the start/end times while editing.
-
- * gui/eventedit.c: changed the Summary field to a GtkEntry, since we
- now only want a single line of text.
-
- * cal-util/calobj.c (ical_object_normalize_summary): new function to
- convert the summary field to a single line of text, by converting any
- sequence of CR & LF characters to a single space.
- (ical_object_create_from_vobject): call the above function. I think
- all functions that load iCalObjects go through this.
- (ical_new): called it here as well just in case.
-
-2000-05-06 Damon Chaplin <damon@helixcode.com>
-
- * gui/week-view.[hc]: removed.
-
-2000-05-06 Damon Chaplin <damon@helixcode.com>
-
- * gui/gncal-day-panel.[hc]:
- * gui/gncal-day-view.[hc]:
- * gui/gncal-full-day.[hc]:
- * gui/gncal-week-view.[hc]:
- * gui/layout.[hc]:
- * gui/view-utils.[hc]: removed old calendar view files.
-
-2000-05-06 Damon Chaplin <damon@helixcode.com>
-
- * cal-util/calobj.[hc]: added guint ref_count to iCalObject struct,
- and ical_object_ref/unref() functions. I've updated all the gui/
- stuff to use ref_counts but I haven't touched the pcs/ stuff. Maybe
- just using ical_object_destroy() is OK there.
-
- * gui/gncal-todo.c:
- * gui/calendar-commands.c:
- * gui/eventedit.c:
- * gui/e-week-view.c:
- * gui/e-day-view.c: use refcounting for iCalObjects.
-
- * gui/e-day-view-main-item.c:
- * gui/e-day-view-top-item.c:
- * gui/e-day-view.c: try not to ever draw outside the event, even when
- the event is very small.
-
-2000-05-05 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-day-view.c: don't allow recurring events to be resized or
- dragged, and don't show the resize/drag cursors. Actually it may be
- better to let the user do the resize/drag and then ask them what they
- want to do - change the single occurrence or the entire series.
-
- * gui/e-day-view-time-item.c (e_day_view_time_item_show_popup_menu):
- use e_auto_kill_popup_menu_on_hide() to destroy the popup menu.
-
- * gui/popup-menu.c: include e-gui-utils.h
-
-2000-05-04 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-day-view.c (e_day_view_foreach_event_with_uid): for the long
- events pass E_DAY_VIEW_LONG_EVENT as the day. Fixes SEGV.
-
- * gui/calendar-commands.c: when we switch views, grab the focus.
-
- * gui/gnome-cal.c (gnome_calendar_tag_calendar):
- (gnome_calendar_mark_gtk_calendar_day): changed this so it uses
- cal_client_get_events_in_range(), and doesn't load any objects.
- Also just return if it isn't visible.
-
- * gui/calendar-commands.c (calendar_get_events_in_range): call
- g_list_sort() to sort the list rather than g_list_insert_sorted() for
- each element. It is much more efficient.
- Also changed it so that the co->ev_start/end fields are copied from
- the CalObjInstance rather than the parameters to the function
- (that is right, isn't it?)
- Also freed the list elements, and finally the list.
- (calendar_iterate): changed this to use cal_client_get_events_in_range
- since that is more efficient than getting all the uids and then loading
- and parsing all the events.
-
- * pcs/cal-backend.c (save): output the '... saved' message before
- freeing the string!
-
- * gui/gncal-todo.c (gncal_todo_update):
- * gui/e-week-view.c (e_week_view_update_event):
- * gui/e-day-view.c (e_day_view_update_event):
- * gui/calendar-commands.c (calendar_get_events_in_range):
- (calendar_iterate): free obj_string after it is parsed.
-
-2000-05-02 Damon Chaplin <damon@helixcode.com>
-
- * gui/calendar-commands.c (calendar_control_activate): set the active
- radio button here. Oops - it wasn't a Bonobo problem after all.
-
- * gui/popup-menu.c (popup_menu): added call to
- e_auto_kill_popup_menu_on_hide() to destroy the menu.
-
- * gui/e-week-view.c (e_week_view_show_popup_menu):
- * gui/e-day-view.c (e_day_view_on_event_right_click): ico->user_data
- isn't useful any more, since the event editor keeps its own iCalObject.
- So for now we make the menu commands available even when the event is
- being edited in the event editor.
- Also corrected misspellings of 'occurance' -> 'occurrence'.
-
- * gui/eventedit.c (event_editor_destroy): destroy the iCalObject.
- The event editor now uses its own independent iCalObject.
-
- * gui/e-week-view.c (e_week_view_on_unrecur_appointment):
- * gui/e-day-view.c (e_day_view_on_unrecur_appointment): create a new
- uid for the new single instance. I'm not sure what we should do about
- the creation/last modification times of the objects.
-
- * gui/e-week-view.c (e_week_view_on_edit_appointment):
- * gui/e-day-view.c (e_day_view_on_edit_appointment): duplicate the
- iCalObject before passing it to the event editor, since it will change
- the fields. If we don't duplicate it we won't know what has changed
- when we get the "update_event" callback.
-
- * gui/e-week-view.c (e_week_view_key_press):
- * gui/e-day-view.c (e_day_view_key_press): set the created and last_mod
- times of the new iCalObject. We may want to set the default alarm as
- well.
-
- * cal-util/calobj.c (ical_gen_uid): made this function public so we
- can generate new uids if necessary.
-
-2000-05-01 Damon Chaplin <damon@helixcode.com>
-
- * gui/gnome-cal.[hc] (gnome_calendar_get_current_time_range): new
- function to get the currently seleted time range form the current view.
-
- * gui/calendar-commands.c (display_objedit): use the above function
- to get the time for the new appointment.
-
- * gui/e-week-view.c:
- * gui/e-day-view.c: use a shallow copy of the ico when we update the
- times (when resizing/dragging). Otherwise we won't detect that the
- time has changed in the "update_event" callback.
-
- Also added functions to get the currently selected time range.
-
-2000-04-30 Seth Alves <alves@hungry.com>
-
- * pcs/icalendar-save.c (icalcomponent_create_from_ical_object): set
- attendee and contact address correctly.
-
- * pcs/cal-backend.c (icalendar_calendar_load): init priv->object_hash
- when loading.
- (cal_get_type_from_filename): if file extension is .ical, consider
- the file an ical file.
-
-2000-05-01 Damon Chaplin <damon@helixcode.com>
-
- * cal-util/calobj.c (ical_object_compare_dates): new function to see
- if the event dates have changed (including any recurrence rules).
- It is used for optimization when we get the "object_changed" signal.
- We have to do far less work if the dates are unchanged.
-
- * gui/e-week-view.c:
- * gui/e-day-view.c: only draw the selection when we have the keyboard
- focus, since the user expects to be able to type in a new event when
- the selection is shown. Also keep the selection when we lose focus,
- but just don't show it.
-
- Also quite a few changes to cope with the new client/server
- architecture.
-
- * gui/e-day-view-top-item.c (e_day_view_top_item_draw):
- * gui/e-day-view-main-item.c (e_day_view_main_item_draw):
- * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
- only draw the selection if the widget has the keyboard focus.
-
- * gui/gnome-cal.c (mark_gtk_calendar_day): fixed so it works with
- events longer than one day. And changed the code for updating events
- in the new views.
-
-2000-04-27 Ettore Perazzoli <ettore@helixcode.com>
-
- * gui/evolution-calendar-control.c
- (init_bonobo): OAFized.
-
- * gui/main.c (main): Initialize with OAF if `USING_OAF'.
-
- * gui/evolution-calendar-control.c: New #define
- `CONTROL_FACTORY_ID', varying according to whether we are
- `USING_OAF'.
- (calendar_factory_init): Use `CONTROL_FACTORY_ID'.
-
- * gui/Makefile.am: Updated for OAF.
-
- * pcs/cal-factory.h: Explicitly #include
- "calendar/pcs/evolution-calendar.h" instead of just
- "evolution-calendar.h".
-
- * cal-client/cal-client.c (cal_client_construct) [USING_OAF]: Use
- OAF.
-
- * cal-client/client-test.c (init_corba): New function, implemented
- differently depending on `USING_OAF'.
-
-2000-04-27 <alves@hungry.com>
-
- * pcs/cal-backend.c (cal_backend_load): fix memory leak
- (save_to_vcal): same
- (save): same
- (cal_backend_load): same
-
-2000-04-26 Christopher James Lahey <clahey@helixcode.com>
-
- * cal-util/.cvsignore: Replaced libcal-util.la with *.la
-
- * pcs/.cvsignore: Added *.la and *.lo.
-
-2000-04-25 Federico Mena Quintero <federico@helixcode.com>
-
- * pcs/cal-factory.c (backend_last_client_gone_cb): Renamed from
- backend_destroy_cb. Now we use it for the "last_client_gone"
- signal from the backend. Also, unref the backend to destroy it.
- (add_backend): Connect to the "last_client_gone" signal of the
- backend.
- (cal_factory_get_n_backends): New function to query the number of
- running backends.
-
- * pcs/cal-backend.c (cal_backend_class_init): Register the new
- "last_client_gone" signal. It is emitted when the last Cal client
- goes away. It is used to notify the factory when a backend may be
- safely destroyed.
- (cal_destroy_cb): Emit the "last_client_gone" signal when the last
- client disconnects from the backend.
-
-2000-04-25 Seth Alves <alves@hungry.com>
-
- * gui/e-day-view.c (e_day_view_find_event_from_ico): compare
- iCalObjects by their UIDs instead of by their pointers.
-
- * pcs/cal-backend.c (cal_backend_destroy): don't save on destroy.
-
-2000-04-25 Ettore Perazzoli <ettore@helixcode.com>
-
- * cal-client/Makefile.am: Add `$(datadir)/idl'.
-
- * pcs/Makefile.am (idl_flags): Add `$(datadir)/idl'.
- (INCLUDES): Use `$(BONOBO_GNOME_CFLAGS)'.
-
-2000-04-25 Seth Alves <alves@hungry.com>
-
- * gui/gnome-cal.c (gnome_calendar_destroy): hook for widget
- destroy -- used to unref the CalClient so wombat knows we are gone.
- (gnome_calendar_class_init): added a class init for this widget.
-
- * gui/e-day-view.c (e_day_view_update_event): allow for null ico
-
- * gui/e-week-view.c (e_week_view_update_event): allow for null ico
-
-2000-04-24 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-client/client-test.c (main): The path to the test calendar
- changed when we moved stuff around. Users will have to tweak this
- for their CVS setup, anyways.
- (create_client): Create or load the calendar as appropriate.
- (client_destroy_cb): Exit the main loop if both clients are gone.
- (main): Connect to the "destroy" signal of the clients so that we
- can terminate the test program.
-
-2000-04-24 Seth Alves <alves@hungry.com>
-
- * pcs/icalendar.c (parse_person): allow for null CN
- (parse_person): allow for null sent_by
-
- * pcs/Makefile.am: build icalendar-test
-
- * pcs/icalendar-test.c: a test which loads an ical file and
- converts it to our internal format, and then saves it back out.
-
-2000-04-24 Damon Chaplin <damon@helixcode.com>
-
- * gui/Makefile.am: added new source files and pixmaps, and removed
- old source files, which can be deleted.
-
- * gui/e-week-view-titles-item.[hc]:
- * gui/e-week-view-main-item.[hc]:
- * gui/e-week-view-event-item.[hc]:
- * gui/e-week-view.[hc]: new files implementing the week/month views.
-
- * gui/yearview.xpm:
- * gui/monthview.xpm:
- * gui/weekview.xpm:
- * gui/workweekview.xpm:
- * gui/dayview.xpm: new pixmaps for the toolbar buttons. These aren't
- intended to be the final pixmaps.
-
- * gui/calendar-commands.c: added radio buttons to the toolbar to
- switch between the calendar views, and moved the am_pm_flag here so we
- can get rid of view-utils.c.
-
- * gui/gnome-cal.[hc]: made it a subclass of GtkVBox, rearranged the
- widgets into 2 notebooks, and added the selection_start_time and
- selection_end_time fields.
-
- * gui/goto.c: updated to use new selection time range.
-
- * gui/quick-view.c: added '#include <gtk/gtkwindow.h>' so it compiles.
-
- * gui/e-day-view.[hc]: changed the interface to support the new
- selection time range, got rid of a few debugging messages and changed
- a few bits.
-
-2000-04-21 Seth Alves <alves@hungry.com>
-
- * pcs/icalendar-save.c: start on code to do the opposite of
- icalendar.c (convert from iCalObjects to libical's icalcomponents).
-
- * gui/calendar-commands.c (calendar_control_activate): moved
- "About Calendar" into the View menu so it shows up.
-
-2000-04-20 Seth Alves <alves@hungry.com>
-
- * gui/gnome-cal.c (gnome_calendar_changed_cb): new function: callback
- for listener's object updated signal.
- (gnome_calendar_object_removed_cb): new function: callback for
- listener's object removed signal.
- (gnome_calendar_new): hook up listener's "obj_updated" and
- "obj_removed" signals so if evolution is running twice,
- they will both see changes right away.
- (gnome_calendar_object_changed): don't call update_all, since
- it will be called by the listener.
- (gnome_calendar_remove_object): don't call update_all
- (gnome_calendar_add_object): don't call update_all
-
- * gui/gncal-full-day.c (child_realize): create fullday's gcs
- even if pixmap_bell has already been created. this was
- causing crashes if the calendar was run twice.
-
-2000-04-19 Seth Alves <alves@hungry.com>
-
- * gui/eventedit.c (ee_rp_init_rule): changed the order around
- a bit to avoid a Gtk-CRITICAL crash
-
- * gui/gncal-todo.c (gncal_todo_update): fixed code to populate
- the todo clist
-
- * cal-client/cal-client.c (cal_client_get_uids): don't check
- type against CALOBJ_TYPE_ANY since it will always match.
- (cal_client_get_uids): same (re: CALOBJ_TYPE_ANY)
-
- * pcs/cal-backend.c (build_uids_list): same (re: CALOBJ_TYPE_ANY)
-
- * pcs/cal.c (Cal_get_uids): same (re: CALOBJ_TYPE_ANY)
-
- * pcs/cal-backend.c (remove_object): don't call save from here
- because in all cases the caller of remove_object calls save
-
- * gui/calendar-commands.c (calendar_set_uri): calls gnome_calendar_open
- instead of checking on disk and calling load or create.
-
- * gui/gnome-cal.c (gnome_calendar_object_changed): fixed to use
- cal_client_update_object -- editing and dragging events works again
- (gnome_calendar_open): collapsed gnome_calendar_load and
- gnome_calendar_create into this function. added new type
- GnomeCalendarOpenMode which has the value CALENDAR_OPEN or
- CALENDAR_OPEN_OR_CREATE.
-
- * gui/evolution-calendar-control.c (calendar_properties_init): create
- a property bag for this control
- (set_prop): callback for property sets
- (get_prop): callback for proprety gets
-
- * gui/calendar-commands.c (calendar_set_uri): new function,
- called when the "calendar_uri" property is set on the calendar-
- control's property bag.
-
-2000-04-18 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/Makefile.am (INCLUDES): Fix include path.
-
-2000-04-16 Federico Mena Quintero <federico@helixcode.com>
-
- * pcs/cal-factory.h (CalFactoryClass): We have a new
- "last_calendar_gone" signal that Wombat can use to terminate
- itself properly.
-
- * pcs/cal-factory.c (cal_factory_class_init): Register the
- "last_calendar_gone" signal.
- (backend_destroy_cb): Emit the "last_calendar_gone" signal instead
- of killing the factory.
-
- * pcs/Makefile.am: Added $(CORBA_GENERATED) to BUILT_SOURCES.
- (INCLUDES): Make the log domain be "wombat-pcs".
-
-2000-04-17 Seth Alves <alves@hungry.com>
-
- * pcs/cal-backend.c (add_object): removed implicit save, since
- we don't want to save as we load from disk.
- (cal_backend_update_object): added a call to save, since it
- isn't done by add_object now.
-
-2000-04-16 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-util/Makefile.am: Renamed library from libcalutil to
- libcal-util, to be consistent with libcal-client. Install header
- files in $(includedir)/evolution/cal-util.
- (INCLUDES): Add "cal-util" log domain for glib.
- (libcal_clientincludedir): The header files are now installed in
- $(includedir)/evolution/cal-client.
-
- * cal-util/cal-util.h: Fix includes.
-
- * cal-client/client-test.c: Fix includes.
-
- * pcs/Makefile.am: Create libpcs.a, not a shared library, because
- it is for internal use by Wombat only. The header files should
- not be installed, either. Removed all the old Tlacuache stuff.
-
- * gui/Makefile.am (EXTRA_DIST): We no longer distribute
- gncal.desktop.
- (evolution_calendar_INCLUDES): Add "calendar-gui" for the glib log
- domain.
-
- * gui/*.[ch]: Fix cal-util and cal-client includes.
-
- * pcs/Makefile.am (INCLUDES): Added "pcs" log domain for glib.
-
- * pcs/*.[ch]: Fix cal-util includes.
-
-2000-04-11 Chris Toshok <toshok@helixcode.com>
-
- * pcs/icalendar.c (icaltime_to_timet): use HAVE_TIMEZONE to switch
- between linux's timezone variable and *bsd's method of getting the
- gmt offset.
-
-2000-04-10 Seth Alves <alves@hungry.com>
-
- * pcs/cal-backend.c (save_to_vcal): create and save an actual
- vcalendar instead of a list of vcal objects.
-
-2000-04-10 Damon Chaplin <damon@helixcode.com>
-
- * gui/Makefile.am (INCLUDES): moved srcdir directories to the top so
- we search headers in the evolution tree before installed headers.
- (Otherwise when you do 'make install' lots of files in gui/ get
- rebuilt, since they depend on the installed cal-client.h which has just
- been updated.)
-
-2000-04-09 Seth Alves <alves@hungry.com>
-
- * gui/gnome-cal.c (gnome_calendar_load): catch cal_loaded signal
- on the cal client.
- (gnome_calendar_load_cb): callback for cal_loaded signal. moved
- gnome_calendar_update_all from gnome_calendar_load to here.
-
- * gui/calendar-commands.c: minor cleanups
-
- * pcs/cal-backend.c (save_to_vcal): copied code from gnome-pim
- to write vcal to a file
- (save): filled it with more gnome-pim code
- (add_object): call save () after changing
- (remove_object): same
- (cal_backend_create): same
- (cal_backend_remove_object): same
-
-2000-04-08 Christopher James Lahey <clahey@helixcode.com>
-
- * gui/Makefile.am: Removed linking with libetable and libeminicard
- since they weren't being used.
-
-2000-04-08 Seth Alves <alves@hungry.com>
-
- * gui/gnome-cal.c (gnome_calendar_create): new function:
- friendly wrapper for cal_client_create_calendar
-
- * gui/calendar-commands.c (new_calendar): call gnome_calendar_create
- if no filename is provided
-
- * gui/prop.c (properties): calendar is a frame
-
- * gui/calendar-commands.c (calendar_control_activate): sort out the
- menus a bit, more of them show up now.
-
- * gui/Makefile.am: don't build library or test, just the bonobo control
-
- * gui/gncal-todo.c (simple_todo_editor): calendar is a frame instead
- of a window, now.
-
- * gui/gnome-cal.c (gnome_calendar_new): same
-
- * gui/goto.c (goto_dialog): same
-
-2000-04-06 Seth Alves <alves@hungry.com>
-
- * gui/calendar-commands.c (calendar_control_activate): removed
- uih from the argument list, added cal. use cal as user_data
- in callbacks rather than the control.
- (calendar_control_deactivate): removed uih from argument list
-
-2000-04-05 Seth Alves <alves@hungry.com>
-
- * gui/calendar-commands.c (setup_menu): removed
- (setup_appbar): removed
- (calendar_control_activate): new function -- does the work
- that setup_appbar and setup_menu used to do.
- (calendar_control_deactivate): undoes what calendar_control_activate
- does by removing the toolbar items and menu items.
-
- * gui/Makefile.am: build test-calendar-widget and evolution-calendar,
- common stuff is in a library
-
- * gui/gnome-cal.c (gnome_calendar_get_type): made the calendar widget
- based on a gtk_frame rather than a gnome_app
-
- * gui/calendar-commands.c: split out some of main.c
-
- * gui/evolution-calendar-control.c: bonobo bung so evolution
- can use the calendar widget
-
-2000-04-01 Matt Loper <matt@helixcode.com>
-
- * pcs/.cvsignore: Added *.lo.
-
-2000-03-30 Seth Alves <alves@hungry.com>
-
- * gui/main.c (calendar_get_events_in_range):
- cal_client_get_events_in_range returns a list of CalObjInstance *, not
- a list of (char *) uid.
-
- * Makefile.am (SUBDIRS): readded the gui directory
-
- * gui/main.c: temporarily added alarm_defaults back in,
- since the calendar doesn't link without it
-
-2000-03-29 Matt Loper <matt@helixcode.com>
-
- * Makefile.am: remove the gui directory, which doesn't compile.
-
-2000-03-28 Matt Loper <matt@helixcode.com>
-
- * pcs/Makefile.am: create a libpcs.la library, for use in the
- wombat.
-
-2000-03-28 Seth Alves <alves@hungry.com>
-
- * gui/Makefile.am (LINK_FLAGS): added libeutil.la and libetext.a
-
- * gui/main.c (calendar_iterate): switch from string_to_ical_object to
- ical_object_find_in_string
- (calendar_get_events_in_range): same
- (session_save_state): commented out references
- to gcal->client->filename
-
-2000-03-27 Federico Mena Quintero <federico@helixcode.com>
-
- * pcs/cal-backend.c (cal_backend_get_object): Use
- ical_object_to_string().
-
- * cal-util/calobj.c (ical_object_to_string): Moved over from
- pcs/cal-backend.c (was string_from_ical_object).
- (get_calendar_base_vobject): Likewise, moved over from
- pcs/cal-backend.c.
-
- * cal-util/cal-util.c: Removed string_to_ical_object(); the
- correct function is in calobj.[ch], called
- ical_object_find_in_string(). Removed ical_object_to_string,
- since we now implement it in calobj.c.
-
- * cal-util/calobj.c: Removed ical_object_new_from_string(); see
- above.
-
- * idl/evolution-calendar.idl (CalObjInstance): Calendar object
- instances now contain only the UID for the object, not the whole
- string representation of the object. This allows clients to
- implement caching of objects if they wish.
-
- * pcs/cal.c (Cal_get_events_in_range): Likewise.
-
- * pcs/cal-backend.c (build_event_list): Likewise.
-
- * cal-client/cal-client.c (cal_client_get_events_in_range):
- Likewise.
-
- * cal-util/cal-util.h (CalObjInstance): Likewise.
-
- * cal-util/cal-util.c (cal_obj_instance_list_free): Likewise.
- (cal_obj_uid_list_free): Assert that the UIDs in the list are not
- NULL.
-
- * pcs/tlacuache.gnorba (repo_id): The calendar factory also
- supports the Unknown interface.
-
-2000-03-17 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/e-day-view.c: Fix includes.
- (e_day_view_on_delete_occurance): Do not call save_default_calendar().
- (e_day_view_on_delete_appointment): Likewise.
- (e_day_view_on_unrecur_appointment): Likewise.
- (e_day_view_finish_long_event_resize): Likewise.
- (e_day_view_finish_resize): Likewise.
- (e_day_view_key_press): Likewise.
- (e_day_view_on_editing_stopped): Likewise.
- (e_day_view_on_top_canvas_drag_data_received): Likewise.
- (e_day_view_on_main_canvas_drag_data_received): Likewise.
-
-2000-03-13 Damon Chaplin <damon@helixcode.com>
-
- * gui/e-day-view*.[hc]: new files for the Day/Work-Week views.
-
-2000-03-12 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/main.c (gnome_calendar_locate): Removed function now that it
- is no CORBA server in the GUI.
- (save_default_calendar): Removed function. Now the personal
- calendar server will take care of saving modified calendars when
- appropriate.
- (close_cmd): Do not call unregister_calendar_services().
-
- * gui/eventedit.c (ee_ok): Do not save the calendar.
-
- * gui/gncal-day-panel.c (day_view_range_activated): Likewise.
-
- * gui/gncal-todo.c (ok_button): Likewise.
- (delete_todo): Likewise.
-
- * gui/gncal-full-day.c (delete_occurance): Likewise.
- (delete_appointment): Likewise.
- (unrecur_appointment): Likewise.
- (child_focus_out): Likewise.
- (update_from_drag_info): Likewise.
-
- * gui/gnome-cal.c (gnome_calendar_new): Removed obsolete call to
- create the CORBA server.
-
- * gui/gnome-cal.h (GnomeCalendar): Renamed `calc' field to
- `client'.
-
- * cal-client/cal-client.h (CalClient): Removed filename and
- corba_server fields.
-
-2000-03-10 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/main.c (main): Do not pass the INIT_SERVER flag to
- gnome_CORBA_init_with_popt_table(). Check for exceptions
- properly.
- (main): Initialize Bonobo.
- (main): Call process_dates() to parse the dates from the command
- line before we dump the events or the TODOs.
- (main): Use bonobo_main() instead of gtk_main().
-
- * cal-util/calobj.c (ical_new): Initialize the alarm types here.
- Do not call default_alarm() anymore, since that is a GUI issue.
- (default_alarm): Removed function.
- (alarm_defaults): Removed defaults data.
-
- * pcs/tlacuache.c (calendar_notify): Removed stubs for
- alarm_defaults, calendar_notify(), debug_alarms.
-
-2000-03-09 Federico Mena Quintero <federico@helixcode.com>
-
- * gui/Makefile.am: Removed the corba-cal stuff. Commented out the
- Pilot conduit stuff for now.
-
- * gui/calendar.c: Random #ifdefs to make it build, although this
- file is going away.
-
- * gui/Makefile.am: Removed referenes to calobj.[ch] and timeutil.[ch].
-
- * gui/calendar-conduit.c: Fixup includes.
-
- * gui/calendar-conduit.h: Fixup includes.
-
-2000-03-09 Seth Alves <alves@hungry.com>
-
- * gui/gnome-cal.h: replaced "Calendar *cal" with "CalClient *calc"
- in the GnomeCalendar struct.
-
- * gui/*.c: tracked change from Calendar * to CalClient
-
- * gui/main.c: moved alarm_defaults from here to cal-util/calobj.c
- (calendar_get_events_in_range): pulled this out of calendar.c and
- fixed it up to use cal-client stuff. i'm not sure where to put it yet.
-
- * gui/main.c (calendar_iterate): pulled this one out of calendar.c also
-
-2000-03-07 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-client/Makefile.am: Removed cal-client-alarm.[ch] from the
- list of sources. This was a miscommunication on our part.
-
-2000-03-05 Seth Alves <alves@hungry.com>
-
- * cal-client/cal-client-alarm.c: stubs for client side
- access to alarm structures. this will probably change,
- since i don't know what i'm doing.
-
- * cal-util/alarm-enums.h: enums for alarms needed by
- both the client and the server
-
- * remaining source files in calendar/... have been moved
- to calendar/gui.
-
- * gui/alarm.c: start to decouple the view from the model
- in the alarm editing code
-
-2000-03-03 Seth Alves <alves@hungry.com>
-
- * cal-util/Makefile.am: new file -- things shared between
- the client and server go in this directory
-
- * calobj.c calobj.h icalendar.c icalendar.h
- timeutil.c timeutil.h cal-util.c cal-util.h where moved
- backend stuff went into pcs. shared stuff went into
- cal-util.
-
-2000-03-02 Federico Mena Quintero <federico@helixcode.com>
-
- At this point the calendar client and personal calendar server
- files were moved to the idl/, cal-client/, and pcs/ directories.
-
- * idl/Makefile.am: New file.
-
- * cal-client/Makefile.am: New file. Moved the libcal-client stuff
- from calendar/Makefile.am to here.
-
- * pcs/Makefile.am: New file. Moved the tlacuache stuff from
- calendar/Makefile.am to here.
-
- * Makefile.am (SUBDIRS): Added the idl and cal-client directories.
-
- * calendar.h: Removed the references to cal-backend.h and its
- stuff. This file is going away soon!
-
- * icalendar.c: #include <config.h>. Also, we don't need to
- include cal-backend.h or gnome.h.
-
- * icalendar.h: Protect from multiple inclusions.
-
-2000-03-01 Federico Mena Quintero <federico@helixcode.com>
-
- * Makefile.am: Use the gnome-config flags for orbit-idl.
- Create a libcal-client library with the calendar client object.
-
-2000-02-29 Federico Mena Quintero <federico@helixcode.com>
-
- * Makefile.am: Removed stale rule for the conduit.
-
-2000-02-21 Matt Loper <matt@helixcode.com>
-
- * .cvsignore: Added *.lo.
-
-2000-02-19 Matt Loper <matt@helixcode.com>
-
- * .cvsignore: Added tlacuache and tl-test.
-
-2000-02-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * Makefile.am (INCLUDES): Use BONOBO_VFS_GNOME_CFLAGS instead of
- GNOMEUI_INCLUDES, as we use Bonobo and VFS.
-
-2000-02-17 Seth Alves <alves@hungry.com>
-
- * cal-backend.h: moved CalendarFormat type def here
-
- * cal-backend.c (cal_backend_load): if extension suggests
- an ical file, attempt to load an iCal file.
- (cal_get_type_from_filename): returns CAL_ICAL if file
- extension is 'ics' or 'ifb', else returns CAL_VCAL
- (icalendar_calendar_load): moved this here from
- icalendar.c because it needs to call the static function
- add_object.
-
-2000-02-17 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-client.c (cal_client_remove_object): Implemented.
-
- * cal.c (cal_notify_remove): Implemented.
- (Cal_remove_object): Implemented.
- (cal_get_epv): Fill in the remove_object field in the epv.
-
- * cal-backend.c (cal_backend_remove_object): Implemented.
- (notify_remove): New function to notify clients that an object was
- removed.
-
-2000-02-16 Russell Steinthal <rms39@columbia.edu>
-
- * calobj.[ch], eventedit.c, main.c: Change iCalObject.organizer
- from char* to iCalPerson*
-
- * calobj.[ch]: Change iCalObject.related from list of char* to
- list of iCalRelation*; assorted related fixes
-
- * icalendar.c: interface between libical and the gnomecal
- internal representation
-
-2000-02-11 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-client.c (cal_client_update_object): Implemented.
-
- * cal.c (cal_notify_update): New function to notify the listener
- about an updated object.
- (Cal_update_object): Implemented.
- (Cal_get_uids): set_release() the sequence to TRUE.
- (Cal_get_events_in_range): Likewise.
-
- * cal-backend.c (remove_object): New function to remove objects
- from a calendar backend.
- (cal_backend_update_object): New public function to update an
- object and notify clients about it.
-
- * evolution-calendar.idl (Cal): Added update_object() and
- delete_object() methods.
- (Listener): Removed the obj_changed method and renamed obj_added
- to obj_updated. We now only have updated and removed notifiers.
-
- * cal-listener.[ch]: Removed the "changed" notification code.
- Changed the "added" notification code to the "updated"
- notification.
-
- * cal-client.c: Likewise.
-
- * tlacuache.c (create_cal_factory): Connect to "destroy" on the
- factory and exit the main loop when the factory is destroyed.
-
- * cal-factory.c (backend_destroy_cb): New callback used when a
- backend is destroyed. Removes the backend from the factory's hash
- table and unrefs the factory if all backends go away.
- (add_calendar_client): Free the environment.
-
- * cal.c (cal_new): Use bonobo_object_unref() if we fail to
- initialize.
-
- * cal-listener.c (cal_listener_new): Likewise.
-
- * layout.c (layout_events): Plug li.partition memory leak.
-
-2000-02-10 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-backend.c (cal_backend_add_cal): Connect to the Cal's
- destroy signal.
- (cal_backend_remove_cal): Killed function now that removal of Cal
- objects is done in their destroy callback.
- (cal_destroy_cb): New callback to remove a Cal from the backend's
- list of clients. Also, the backend destroys itself when there are
- no more clients connected to it.
- (save): New placeholder function to save a backend.
- (destroy): New function to destroy a backend's data.
- (cal_backend_destroy): Save the calendar and destroy it.
-
- * cal.c (cal_destroy): Reset the priv->backend to NULL.
-
- * cal-factory.c (add_calendar_client): There is no need to call
- cal_backend_remove_cal(); we can now just destroy the Cal object.
- (create_fn): Make sure we always unref the URI.
- (load_fn): Move the URI unref to the end of the function for
- safety.
-
- * cal-factory.c (add_calendar_client): Unref the Cal only if
- notification of the listener was unsuccessful. Otherwise, the
- calendar user agent (Listener side) keeps the reference.
-
- * tl-test.c (list_uids): Free the calobj.
-
- * cal-client.c (cal_loaded_cb): Use bonobo_object_unref() to get
- rid of the listener.
- (load_or_create): Likewise.
- (destroy_factory): New function to get rid of the factory.
- (destroy_listener): New function to get rid of the listener.
- (destroy_cal): New function to get rid of the calendar client
- interface object.
- (cal_client_destroy): Free all resources.
- (cal_client_get_object): CORBA_free() the calobj string. Boy, I
- love memprof.
-
- * cal-listener.c (cal_listener_destroy): Reset the priv->cal to
- CORBA_OBJECT_NIL.
-
- * cal-backend.c (cal_backend_remove_cal): Do not unref the Cal,
- since the calendar user agent owns it.
- (cal_backend_add_cal): Do not ref the Cal, since the calendar user
- agent owns it.
-
- * cal-factory.c (add_calendar_client): Use bonobo_object_unref()
- to get rid of the calendar client interface object.
-
- * calobj.c (ical_object_create_from_vobject): Duplicate the
- default "PUBLIC" string.
-
-2000-02-09 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-factory.c (cal_factory_load): Added documentation comment.
- (load_fn): Do not print a message if the backend could not be
- loaded due to a non-fatal error.
- (queue_load_create_job): Moved the stuff from cal_factory_load()
- to here. Now this function serves to queue load or create
- requests.
- (cal_factory_load): Use queue_load_create_job().
- (cal_factory_create): Implemented; use queue_load_create_job().
- (create_fn): New job handler for creating new calendars.
- (create_backend): New function to create a new backend with a new
- calendar.
- (add_backend): New helper function to add backends to the
- factory's hash table.
- (load_backend): Use add_backend() instead of adding the backend by
- ourselves.
-
- * cal-client.c (load_or_create): Moved the functionality from
- cal_client_load_calendar() to here, and added an option to create
- a new calendar instead of loading an existing one.
- (cal_client_load_calendar): Use load_or_create().
- (cal_client_create_calendar): Implemented.
-
- * cal-backend.c (cal_backend_create): Implemented.
-
- * evolution-calendar.idl (LoadStatus): Added an IN_USE error for
- create requests.
-
- * cal-listener.h (CalListenerLoadStatus): Added CAL_LISTENER_LOAD_IN_USE.
-
- * cal-listener.c (Listener_cal_loaded): Convert the IN_USE error.
-
- * cal-client.h (CalClientLoadStatus): Added CAL_CLIENT_LOAD_IN_USE.
-
- * cal-client.c (cal_loaded_cb): Handle CAL_LISTENER_LOAD_IN_USE.
-
- * tl-test.c: New test program for the calendar client side; it
- also exercises the server side by sending commands to it.
-
- * Makefile.am: Added the tl-test program.
-
- * tlacuache.gnorba: Updated.
-
- * tlacuache.c (create_cal_factory): Use the right GOAD id.
-
- * cal-client.c (cal_client_construct): Use the right GOAD id.
-
-2000-02-08 Federico Mena Quintero <federico@helixcode.com>
-
- * evolution-calendar.idl (Cal): Added get_uids() method to get a
- list of UIDs based on object types.
-
- * cal-backend.c (cal_backend_get_uids): Implemented get_uids() in
- the backend.
-
- * cal.c (Cal_get_uids): Implemented get_uids() method.
-
- * cal-client.c (cal_client_get_uids): Implemented client-side
- function.
-
- * cal-util.c (cal_obj_instance_list_free): Doh. Free the list,
- not the last link.
- (cal_obj_uid_list_free): New function to free a list of UIDs.
-
- * GnomeCal.idl (Repository): Removed unused method
- get_object_by_id_list(). This is just for cleanup purposes and to
- remind me exactly of what needs to be moved over to
- evolution-calendar.idl.
- (Repository): Removed unused get_objects() method.
-
- * corba-cal.c (init_calendar_repo_class): Removed the unused
- get_objects method.
-
- * calobj.h (CalObjFindStatus): New status value enumeration for
- the find function.
-
- * calobj.c (ical_object_find_in_string): New function to parse a
- complete calendar and find a calendar object in it. This should
- be used instead ical_object_new_from_string() in the future.
-
- * evolution-calendar.idl (CalObjInstance): Added an uid field.
- Now the idea is that whenever calendar object strings are passed
- around, their UIDs are passed along with them so that the actual
- object can be pulled from the whole VCAL object using its UID to
- identify it.
-
- * cal-util.h (CalObjInstance): Added uid field.
-
- * cal-util.c (cal_obj_instance_list_free): Free the UIDs.
-
- * cal-backend.c (build_event_list): Store the object's UID in the
- instance structure.
-
- * cal.c (Cal_get_events_in_range): Copy the UID field to the CORBA
- structure.
-
- * cal-client.c (cal_client_get_events_in_range): Copy the UID
- field from the CORBA structure.
-
- * main.c (gnome_cal_file_menu): Removed unfinished html-month stuff.
-
- * Makefile.am (gnomecal_SOURCES): Removed html-month.c.
-
- * gnome-cal.c: #include "alarm.h"
- (mail_notify): Made static.
-
- * alarm.h: #include "calobj.h"
-
- * corba-cal-factory.h (init_corba_server): Fixed prototype.
-
- * quick-view.c (create_items_for_event): Made static.
-
- * gncal-todo.c (column_resized): Made static.
-
- * layout.c (find_index): Made static.
-
-2000-02-08 Federico Mena Quintero <federico@helixcode.com>
-
- * evolution-calendar.idl (CalObjInstance): New struct to wrap
- instances of calendar objects for recurrencies and alarms.
- (Cal::get_events_in_range): New method to get ocurring and
- recurring events by time range.
-
- * cal-backend.c (cal_backend_get_events_in_range): New function to
- get a list of event instances in a time range.
- (string_from_ical_object): New internal function.
- (cal_backend_get_object): Use string_from_ical_object() instead of
- doing everything ourselves.
- (cal_backend_get_events_in_range): New function to get a list of
- the events that occur or recur in a specified time range.
-
- * cal-client.c (cal_client_get_events_in_range): Implemented
- client-side function.
-
- * cal-util.h:
- * cal-util.c: New files with utilities and types common to the
- client and server parts.
- (CalObjInstance): New structure to hold an instance of an actual
- occurrence, recurrence, or alarm trigger of a calendar object.
- (cal_obj_instance_list_free): New function to free a list of
- calendar object instances.
-
- * cal.c (Cal_get_events_in_range): Implemented new method.
-
- * corba-cal.c (cal_repo_get_updated_objects): Free `str' with
- free(), not g_free(), since calendar_get_as_vcal_string() uses
- writeMemVObject(), which uses realloc(). Fixed in gnome-pim as
- well.
-
-2000-02-04 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-backend.c (get_calendar_base_vobject): New function to
- create the base VObject for a calendar.
- (cal_backend_get_object): Create the base calendar and add the
- sought object to it, then stringify it.
-
- * evolution-calendar.idl (Listener::obj_added
- Listener::obj_changed): Now these pass in just the UIDs, not the
- complete objects.
-
- * cal-listener.c (Listener_obj_added): Changed to pass in the uid,
- not the object.
- (Listener_obj_changed): Likewise.
-
- * cal-client.h (CalClientClass): Made the obj_added and
- obj_changed signals take in the UIDs, not the full objects.
-
- * cal-client.c (obj_added_cb): Likewise.
- (obj_changed_cb): Likewise.
-
-2000-02-04 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-backend.c (CalBackendPrivate): Renamed the event_hash field
- to object_hash. Now we hash all the calendar's objects here based
- on their UIDs.
- (ensure_uid): New function to create UIDs for calendar objects
- that don't have them.
- (add_object): Ensure the object has an UID before inserting it in
- the calendar.
- (cal_backend_get_object): New function.
-
-2000-02-03 Federico Mena Quintero <federico@helixcode.com>
-
- * evolution-calendar.idl (Cal): Added the get_object() method.
-
- * cal-client.c (cal_client_get_object): New function to get a
- calendar object by its UID.
-
- * cal.c (Cal_get_object): Implemented.
-
- * cal-backend.c (cal_backend_get_object): New unfinished backend
- function. We need some reorganizing of how the calendar objects
- are stored.
-
-2000-02-02 Federico Mena Quintero <federico@helixcode.com>
-
- * Makefile.am (gnomecal_SOURCES): Added the CORBA generated
- sources.
-
-2000-02-01 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-client.c (cal_loaded): Handle the cal_loaded signal from the
- listener. Store the calendar client interface object, and emit
- our own cal_loaded signal.
- (cal_client_load_calendar): Connect to the listener's signals.
- (cal_client_class_init): Added the "obj_added", "obj_removed",
- öbj_changed" signals.
- (obj_added_cb): Handle the signal from the listener.
- (obj_removed_cb): Likewise.
- (obj_changed_cb): Likewise.
-
-2000-01-30 Federico Mena Quintero <federico@helixcode.com>
-
- * Makefile.am (gnomecal_SOURCES): Added cal-client.[ch] and
- cal-listener.[ch].
-
-2000-01-30 Federico Mena Quintero <federico@helixcode.com>
-
- * evolution-calendar.idl: Changed the namespace from
- GNOME::Calendar to Evolution::Calendar.
- (Listener::LoadStatus): Fixed SUCESSS -> SUCCESS typo. And I
- never noticed it in the implementation. Ain't M-/ grand?
-
- * Makefile.am: Changed ocurrences of gnome-calendar.idl to
- evolution-calendar.idl.
-
- * *.[ch]: Changed GNOME_Calendar_foo identifiers to
- Evolution_Calendar_foo.
-
-2000-01-25 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-client.c cal-client.h: New files with the calendar client
- object.
-
-2000-01-25 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-factory.c (CalFactory_load): Check that the listener is not
- nil and emit and exception if it is.
-
- * gnome-calendar.idl (CalFactory::load CalFactory::create): Now
- these raise the NilListener exception.
-
- * tlacuache.c (calendar_notify): Error stub for alarms.
- (alarm_defaults): Stub array.
- (debug_alarms): Stub variable.
- (main): Initialize gnome-vfs.
-
-2000-01-24 Federico Mena Quintero <federico@helixcode.com>
-
- * tlacuache.c: New main module for the Tlacuache personal calendar
- server.
-
- * tlacuache.gnorba: New gnorba file for Tlacuache, the GNOME
- personal calendar server.
-
- * Makefile.am: Added the stuff necessary to build Tlacuache.
-
- * cal.c (Cal_get_uri): Convert the URI to a string before
- returning it.
-
- * cal-factory.c (CalFactory_create): Doh, this function is void.
-
- * job.c (job_add): Use g_idle_add(), not gtk_idle_add().
-
-2000-01-24 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-backend.c (cal_backend_remove_cal): New function to remove a
- calendar client interface object from a backend.
- (cal_backend_load): Convert the URI to string and use
- Parse_MIME_FromFileName(). The conversion is not very smart,
- though.
-
- * cal-factory.c (load_backend): Moved most of the error handling
- upstream to load_fn().
- (load_fn): Handle failure in case the backend could not be loaded.
- (cal_factory_destroy): Free the backends and the backend hash
- table.
- (add_calendar_client): Implemented. We create a Cal client
- interface object and attach it to the backend, and we notify the
- listener.
-
-2000-01-22 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-factory.c (lookup_backend): Renamed from lookup_calendar().
- Also, return a backend instead of a Cal client object.
-
- * cal-backend.c (cal_backend_load): Take in a GnomeVFSURI, not a
- string.
-
- * cal-listener.c (Listener_cal_loaded): Pass the load status to
- the signal.
- (cal_listener_destroy): Better error checking.
- (cal_listener_new): Better error checking.
-
- * cal-listener.h (CalListenerLoadStatus): New enum for the load
- status of a calendar.
- (CalListenerClass): Added the status argument to the cal_loaded
- signal.
-
- * gnome-calendar.idl (cal_loaded): Added a load status code.
-
- * cal-backend.h (CalBackendLoadStatus): Renamed from
- CalBackendLoadResult.
-
-2000-01-18 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-backend.c cal-backend.h: Moved the calendar backend here.
- This is the actual calendar-handling object.
- (load_from_vobject): Moved over from calendar.c. Modified to use
- a CalBackend instead of the old Calendar structure.
- (add_object): Likewise.
-
- * cal.c: Now the Cal object is just a calendar client interface
- object; we use it as a "viewport" onto a CalBackend. This also
- lets us do correct resource management.
-
- * cal-common.h: New file with common forward declarations; we
- can't have circular dependencies between headers.
-
-2000-01-18 Federico Mena Quintero <federico@helixcode.com>
-
- * cal-factory.c (cal_factory_load): Queue a load job.
- (load_fn): Load job handler. Lookup the calendar by URI, load it
- if it is not loaded, or just report it to the new listener if it is.
-
- * job.c job.h: New files with a simple job queue manager.
-
- * gnome-calendar.idl (Listener::cal_loaded): Do not return the
- whole calendar object string. The client will be able to query
- the calendar for the events it needs.
-
- * cal-listener.c (Listener_cal_loaded): Ref the calendar GNOME
- object. We unref it when the listener is destroyed.
-
-2000-01-17 Federico Mena Quintero <federico@helixcode.com>
-
- The files from the gncal directory of the gnome-pim module on CVS
- were moved here, to evolution/calendar, in preparation for the
- Evolution work. The calendar is being split into a model/view
- architecture. The model is a personal calendar server (PAS): it
- provides storage, notification, and event generation; the
- views/controllers are the calendar user agents and things like
- Pilot synchronizers.
-
-2000-01-11 Federico Mena Quintero <federico@helixcode.com>
-
- * cal.c: Removed the CORBA listener methods, adjusted for the new
- IDL.
-
- * cal-listener.c (cal_listener_init): Create the private
- structure. In it we hold a reference to the calendar the listener
- is watching.
- (cal_listener_destroy): Destroy the private structure and unref
- the calendar.
- (Listener_cal_loaded): Stuff the calendar into our private data.
- (Listener_obj_added): Adjusted for new IDL.
- (Listener_obj_removed): Likewise.
-
- * gnome-calendar.idl: New IDL for the personal calendar server.
-
- * cal.h cal.c: New files with the calendar object.
-
- * cal-listener.h cal-listener.c: New files with the calendar
- listener object.
-
- * cal-factory.h cal-factory.c: New files with the calendar factory
- object.
-
-2000-01-09 Eskil Heyn Olsen <deity@eskil.dk>
-
- * Makefile.am: Changes to remove todo capplet stuff from distro.
-
-2000-01-08 Vadim Strizhevsky <vadim@optonline.net>
-
- * calendar-conduit-control-applet.c: Added pilotID argument to
- gpilotd_conduit_mgmt_new.
-
-
-2000-01-05 Eskil Heyn Olsen <deity@eskil.dk>
-
- * GnomeCal.idl: Added an argument to get_number_of_objects, so you
- can choose which state the object should have
- (any/new/modified/...). Will also add one to choose type
- (event/journal etc).
-
- * corba-cal.c (cal_repo_get_number_of_objects): Implemented the
- new version of get_number_of_objects.
-
- * calendar-conduit.c (pre_sync): Calls various
- gnome_pilot_conduit_standard_abs_set_num_yadayda to get progress bars.
-
-2000-01-04 Eskil Heyn Olsen <deity@eskil.dk>
-
- * calendar-conduit.c (start_calendar_server): Let's not call
- g_error, but g_warning instead.
- (pre_sync): Get record numbers info, total, new, deleted etc, and
- tell gpilotd.
-
-1999-12-31 Eskil Heyn Olsen <deity@eskil.dk>
-
- * eventedit.c (ee_store_recur_end_to_ical): Adds 86400 secs (1
- day) to the date chooses by the user. This ensures the recurrence
- also occurs on that date.
- (ee_rp_init_ending_date): And subtracts 86400 secs when about to
- redisplay the box.
-
- * calendar.h: Added an argument to calendar_new, to enable certain
- features, such as initing alarms or nor.
-
- * calendar.c (calendar_new): Implemented support for the
- CALENDAR_INIT_ALARMS option to calendar_new.
-
- * corba-cal.c (cal_repo_get_updated_objects): Added
- CALENDAR_INIT_ALARMS to calendar_new calls.
-
- * main.c: Added CALENDAR_INIT_ALARMS to calendar_new calls. This
- should probably be CALENDAR_INIT_NIL, but I'm not sure, guess
- steintr should check it.
-
- * gnome-cal.c: Added CALENDAR_INIT_ALARMS to calendar_new calls.
-
- * calendar-pilot-sync.c: Added CALENDAR_INIT_NIL to calendar_new calls.
-
-1999-12-10 Russell Steinthal <rms39@columbia.edu>
-
- * eventedit.c (ee_create_ae): Fix sensitivity bug when used to
- create default alarm box (widgets in that box should always be
- sensitive, even if the enabled checkbutton is not set)
-
-1999-12-08 Eskil Heyn Olsen <deity@eskil.dk>
-
- * calendar-conduit-control-applet.c (setSettings): Capplets now
- sets first_sync on enable, this should make the conduit copy old
- entries from the pilot to gnomecal.
-
-1999-12-07 Eskil Heyn Olsen <deity@eskil.dk>
-
- * calendar-conduit.c (pre_sync): Check if local store is
- empty. If, force slow sync.
-
- * GnomeCal.idl (GNOME): Added get_number_of_objects.
-
- * corba-cal.c (cal_repo_get_number_of_objects): implemented the
- get_number_of_objects.
-
- * calendar-conduit-control-applet.c (setStateCfg): Fixed bug that
- caused the capplet to always set the sync action to Disable upon start.
-
-1999-12-05 Eskil Heyn Olsen <deity@eskil.dk>
-
- * Makefile.am (Conduits_second_DATA): Also install .desktop files
- for conduit capplets in the gnome/apps menu dir.
-
-1999-12-04 Eskil Heyn Olsen <deity@eskil.dk>
-
- * Makefile.am (EXTRA_DIST): Added .desktop files to EXTRA_DIST.
-
-1999-10-12 Clifford R. Conover <rusty@zootweb.com>
-
- * gncal-todo.c Todo List improvements.
-
- Cleaned up todo item highlighting, added support for highlighting
- events due today, and events not due yet. Colors are configurable
- on the Colors Tab of the properties window.
-
- Renamed Frame in Properties window to Colors rather then Month
- Colors since we are now asking for Todo item colors.
-
- Added ability to display time until todo item is due in list, it
- automatically selects the best denomination of time (up to weeks)
- and down to seconds to display. This should be made configurable
- in a future version.
-
- Changed Todo dialog to ask for time that event is due. This
- allows more accurate tracking of then the item is due, before the
- dialog was only asking for the date of the todo item.
-
-1999-12-03 Eskil Heyn Olsen <deity@eskil.dk>
-
- * calendar-conduit.c: undef DEBUG_CALCONDUT, suppresses debug output.
-
-1999-12-02 Russell Steinthal <rms39@columbia.edu>
-
- * alarm.c: Enhanced debug support: can be toggled on and off by
- SIGUSR1, reports alarms which could not be added
-
- * gnome-cal.c, main.[ch], prop.c: Add snooze capability for audio
- and display alarms. Snooze interval can be configured in the
- Properties box.
-
-1999-11-30 Eskil Heyn Olsen <deity@eskil.dk>
-
- * calendar-conduit.c (compare): Fixed compare bug. Also neated up
- some of the if's in set_status.
-
-1999-11-22 Russell Steinthal <rms39@columbia.edu>
-
- * Merged todo list coloring patch from stable
- * Added myself to AUTHORS, about box (per Miguel)
-
-1999-11-22 Eskil Heyn Olsen <deity@eskil.dk>
-
- * calendar-conduit.c (pre_sync): Writes some warning
- messages when pre_sync fails.
-
-1999-11-14 Eskil Heyn Olsen <deity@eskil.dk>
-
- * Makefile.am: Stupid misplaced endif cause gncal to depend on an
- install gnome-pilot... fixed... sorry.
-
-1999-11-12 Eskil Heyn Olsen <deity@eskil.dk>
-
- * Makefile.am (extra_pilot_bins): Fixed the if then else problem,
- using solution suggested by James Henstridge, appears to be caused
- by a (by now fixed) bug in my automake.
-
-1999-11-12 Russell Steinthal <rms39@columbia.edu>
-
- * prop.c: Config code for timeout, make Alarms property page use a
- vbox instead of an hbox so that the propbox stays a reasonable width.
-
- * gnome-cal.c, main.[ch]: Add timeout for audio alarms, code to load
- from config file
-
- * eventedit.c: Give some static functions external linkage so they
- can be used elsewhere (make_spin_button); add some prototypes to
- appease gcc.
-
-1999-11-11 Russell Steinthal <rms39@columbia.edu>
-
- * calendar.c (calendar_day_change): Add call to
- calendar_init_alarms() to schedule another day change alarm.
-
-1999-11-09 Eskil Heyn Olsen <deity@eskil.dk>
-
- * calendar-conduit.c: Enabled debug output. Sets a g_log_domain,
- now version 0.8.5. Consistent use of GSList/GList. Implemented
- compare, default uses one that compares the contents of a struct
- Appointment, but also has #ifdeffed code that does a field level
- comparison, not complete, but perhaps educational.
-
- * Makefile.am (#todo_conduit_control_applet_SOURCES): Fixed an
- unwanted conditional on libcalendar_conduit_la_LDFLAGS
-
-1999-11-05 Eskil Heyn Olsen <deity@eskil.dk>
-
- * calendar-conduit-control-applet.c (readStateCfg): Commented the
- code out, thus the capplet works again.
-
-1999-11-04 Eskil Olsen <deity@eskil.dk>
-
- * Makefile.am: Uses the PISOCK_LIBDIR, for people with odd install
- dirs for their pilot-link. Also install a pretty icon for the
- calendar-conduit.
-
- * calendar-conduit-control-applet.c: Modfied the
- try/revert/ok/cancel scheme to be more intuitive, also uses a
- GtkOptionMenu for the possible sync methods.
-
- * calendar-conduit-control-applet.desktop: use the nice icon...
-
- * calendar-conduit.c: Ack, had to define debug_alarms and
- alarm_default, otherwise they are undefined. Is gncal code messy
- or is this considered a way of configuring the cal engine ?
- Implemented delete_all syncabs methods.
-
- * calendar-pilot-sync.c: also had to declare debug_alarms and
- alarm_defaults, just as ugly.
-
-1999-11-02 Russell Steinthal <rms39@columbia.edu>
-
- * prop.c: Add new alarm page to properties box
-
- * prop.c, calobj.c, main.[ch] eventedit.c: New support for default
- alarms, configurable in the properties box.
-
- * gnome-cal.c, prop.c, main.[ch]: add option to beep on Display
- alarms
-
-1999-10-23 Russell Steinthal <rms39@columbia.edu>
-
- * calendar.c (calendar_new): Correctly initialize calendar_day_end
- and calendar_day_begin *before* installing day-change alarm.
-
-1999-10-21 Russell Steinthal <rms39@columbia.edu>
-
- * alarm.c, main.c: Added alarm debugging code
-
- * main.c (open_ok): Show an error box if the user tries to open a
- non-existent file; fixes bug #1818
-
-1999-10-19 Russell Steinthal <rms39@columbia.edu>
-
- * gnome-cal.c (calendar_notify): Fix typos which were causing
- invalid times in audio notification dialogs; fixes Bug #2561
-
-1999-10-18 Russell Steinthal <rms39@columbia.edu>
-
- * gncal-day-panel.c (gncal_day_panel_new): Placed the various
- elements of the day view in paned windows so that the user can
- adjust the relative sizes of the daily schedule, monthly calendar,
- and to-do list.
-
-1999-10-18 Martin Norbäck <norpan@bigfoot.com>
-
- * gncal.desktop: Added swedish translation
-
-1999-10-13 Eskil Olsen <deity@eskil.dk>
-
- * Makefile.am: Hopefully the fixes the much-hated
- gnome-pilot dependency.
-
-1999-10-07 Eskil Olsen <deity@eskil.dk>
-
- * calendar.c (calendar_object_changed): moved the pilot_status =
- MOD up, so even a CHANGE_SUMMARY will set the modified flag.
-
- * calendar-conduit.c: more _free calls, vamped the noise on output.
-
-1999-10-06 Eskil Olsen <deity@eskil.dk>
-
- * *conduit*[ch]: checks return values from gpilotd_init/connect.
-
- * calender.c (vcalendar_create_from_calendar): removed a set
- of cleanVObject cleanStrTbl, since the freed memory that the
- function returned.
-
-1999-09-27 Timur Bakeyev <mc@bat.ru>
-
- * timeutil.c (time_from_isodate): Use tm.gmtoff or timezone to get
- correct offset from UTC, according to HAVE_TM_GMTOFF or HAVE_TIMEZONE.
- See also 1999-07-19 Matt Martin <matt@abacusnet.net>
-
-1999-09-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * month-view.c (add_event): ditto
- (mark_current_day): ditto
- (month_view_set): ditto
-
- * goto.c (goto_dialog): ditto.
-
- * gnome-month-item.c (gnome_month_item_init): ditto.
-
- * gncal-day-panel.c (gncal_day_panel_new): ditto.
-
- * getdate.c (RelativeDate): ditto.
-
- * eventedit.c (set_all_day): ditto.
- (ee_rp_init_rule): ditto.
-
- * calendar.c (vcalendar_create_from_calendar): ditto.
-
- * calendar-conduit.c (update_record): ditto.
-
- * calobj.c (ical_object_generate_events): Get rid of pointers to
- values returned from localtime, as it uses a static buffer.
-
-1999-09-26 Eskil Olsen <deity@eskil.dk>
-
- * corba-cal.c: the g_free that was commented out since glib said
- was a duplicate free, was supposed to be a free.
-
- * GnomeCal.idl/corba-cal.c: added a get_object_id_list and a
- get_objects_by_id_list. Latter is not done.
-
- * calendar-conduit.c: rewrote the way the conduit iterates over
- records. It no longers fetches all entries (since that didn't work
- with more then 285 entries. It now fetches the id list, and gets
- each record. (will be using get_objects_by_id_list to get records
- in amounts of 10 or so later, to reduce amount of corba calls).
-
- * calendar-conduit.c: now sets alarm parameters when transferring
- from gnomecal to pilot.
-
-1999-09-23 Eskil Olsen <deity@eskil.dk>
-
- * calendar-conduit.c: better merge of summary/description
- when doing ical_from_remote (update_record), also handles
- import from gnomecal to pilot better, and on both ways, repeat
- events are much better now.
-
-1999-09-22 Eskil Olsen <deity@eskil.dk>
-
- * corba-cal.c: commented out a g_free that glib reported
- as being a duplicate free.
- * calendar-conduit.c: got gnomecal->pilot up and runnning.
-
-1999-02-06 Lauris Kaplinski <lauris@ariman.ee>
-
- * gncal.desktop: Added Estonian translations.
-
-1999-09-14 Federico Mena Quintero <federico@redhat.com>
-
- * gncal-full-day.c (child_popup_menu): Set the data pointers for
- all the items.
-
-1999-09-14 Kjartan Maraas <kmaraas@online.no>
-
- * doc/C/gnomecal.sgml: Merge from gnome-pim-1-0. Synced with newest
- user-guide.
-
-1999-09-01 Miguel de Icaza <miguel@gnu.org>
-
- * eventedit.c (ee_create_buttons): Make the OK button the default
- button per Russell's suggestion.
-
-1999-08-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * calendar.c (calendar_object_changed): Modify the
- object->last_mod field.
- (calendar_add_object): Ditto.
-
- Closes bug #676
-
- * main.c (save_calendar_cmd): Fix problem in which we warned the
- user about the calendar being modified the first time the calendar
- was used.
-
-1999-08-22 Tomas Ogren <stric@ing.umu.se>
-
- * gnomecal.gnorba: "GenericFactoy" is wrong...
-
-1999-08-15 Miguel de Icaza <miguel@gnu.org>
-
- * calobj.c (ical_gen_uid): Fix the hostname part.
-
-1999-08-07 Peter Teichman <pat4@acpub.duke.edu>
-
- * calendar-pilot-sync.c (sync_pilot): sync correctly for objects
- created on the pilot, but not dirty (because they have been synced
- with some other program in the past)
-
-1999-07-30 Miguel de Icaza <miguel@gnu.org>
-
- * month-view.c (month_view_init): Release points here.
-
-1999-08-02 Peter Teichman <pat4@acpub.duke.edu>
-
- * Makefile.am (libcalendar_conduit_la_LDFLAGS):
- libcalendar_conduit now installs
-
- * calendar-pilot-sync.c (sync_pilot): do deletion of appointments
- correctly, when they are deleted on the pilot
- (conduit_free_Appointment): protect against double-freeing parts
- of the Appointment structure
- (update_record): all-day events from the pilot are handled a bit
- more reasonably
-
-1999-08-01 Peter Teichman <pat4@acpub.duke.edu>
-
- * calendar-pilot-sync.c (sync_object_to_pilot): The multi-day
- appointment corruption bug is dead. Whoo!
-
-1999-07-31 Peter Teichman <pat4@acpub.duke.edu>
-
- * Makefile.am: fixed this up slightly with respect to pilot conduits
-
-1999-07-30 Jonathan Blandford <jrb@redhat.com>
-
- * Makefile.am (libcalendar_conduit_la_LIBADD): More autoconf-stuff
-
-1999-07-29 Jonathan Blandford <jrb@redhat.com>
-
- * gnome-cal.c (setup_widgets): Add scrolling to the yearview.
-
-1999-07-28 Miguel de Icaza <miguel@gnu.org>
-
- * calendar-pilot-sync.c: (sync_object_to_pilot): If the enddate is
- not set, set the repeatForever to 1. This fixes all of the
- birthdays problems I had.
-
- Make the code not take arguments
- (sync_cal_to_pilot): Nice event update information
-
- * calendar.c (calendar_new): Add Event UID hash table.
- (calendar_add_object): Add events to the hash table here.
- (calendar_remove_object): Remove events here.
- (calendar_object_find_event): Use the hash table here.
-
- * main.c (save_calendar_cmd): The object is already destroyed by
- gnome_dialog_run.
-
- * calendar-pilot-sync.c (sync_object_to_pilot): Do not turn
- archived bit on.
-
- * calobj.c (ical_gen_uid): Use the hostname, not the domain name.
- (ical_gen_uid): Add a serial number. Isodates can be small.
-
- * corba-cal.c (cal_repo_update_pilot_id): New method to update the
- pilot status.
- (cal_repo_get_updated_objects): New method. Returns a list of
- modified and not-sycned objects
-
- * calendar-pilot-sync.c (sync_cal_to_pilot): New function to sync
- from the GnomeCalendar to the pilot.
- (sync_object_to_pilot): Sync a single event to the pilot.
- (try_alarm): Alarm syncing code.
-
-1999-07-27 Miguel de Icaza <miguel@gnu.org>
-
- * calendar-pilot-sync.c: New file. Implements PalmPilot
- syncronization with the Gnome Calendar.
-
- * calobj.c (ical_object_new_from_string): New function. Creates
- an iCalObject from a vCalendar string that is supposed to contain
- only one vEvent.
-
- * calendar.c:
- (calendar_save): Split this routine in two.
-
- * gnome-cal.c (gnome_calendar_new): Create the corba server here.
-
- * main.c: Include gnorba.h, and corba-cal-factory.h here
- (close_cmd): Kill the calendar server on shutdown.
-
- * calobj.c (load_recur_yearly_day): Added a fixme comment. WE
- need to handle intervals in the years.
-
- * calendar.c (calendar_object_find_in_list, calendar_object_find,
- calendar_object_find_todo, calendar_object_find_event): New
- functions for looking up information.
-
- * main.c (gnome_calendar_locate): New function.
-
- * corba-cal.c (calendar_create_object): New file. Implements the
- corba server.
-
- * calendar.c (calendar_object_changed): Flag pilot-status as changed.
-
- * calobj.c (ical_object_to_vobject): Save pilot information for syncing.
- (ical_object_create_from_vobject): Load syncing information for
- pilot. Do it in a way compatible with KOrganizer.
-
-1999-07-26 Miguel de Icaza <miguel@gnu.org>
-
- * calobj.c (ical_object_create_from_vobject): Generate unique IDs
- on Vevents we load that lack it. WE need this for the old
- gnome calendar generated files (ie, before now :-).
-
- Required to sync with the Palm
-
-1999-07-26 Miguel de Icaza <miguel@gnu.org>
-
- * calobj.c (ical_object_create_from_vobject): Generate unique IDs
- on Vevents we load that lack it. WE need this for the old
- gnome calendar generated files (ie, before now :-).
-
- Required to sync with the Palm
-
-1999-07-19 Matt Martin <matt@abacusnet.net>
-
- * timeutil.c (time_from_isodate): Handle the 'Z' parameter to the
- ISO date format to convert from GMT time.
-
-1999-07-17 Nat Friedman <nat@gnome-support.com>
-
- * calendar.c (calendar_add_object): Copy the new UID into the
- iCalObject structure.
-
-1999-07-16 Miguel de Icaza <miguel@gnu.org>
-
- * gnome-month-item.c (gnome_month_item_set_arg): Merge fix from
- gnome-pim-1-0: Fixed cut&paste bug for day fontsets.
-
-1999-07-14 Miguel de Icaza <miguel@gnu.org>
-
- * calobj.c (ical_gen_uid): Returns a UID.
- (ical_object_new): Use a UID when creating an event. Should get
- syncing done easier.
-
-1999-07-14 Nicholas J Kreucher <nick@poetic.com>
-
- * calobj.c (skip_numbers): Actually skip over the numbers.
- (ical_object_to_vobject): Test the proper variable for storing the
- proper information.
-
-1999-07-14 Jean-Noel Guiheneuf <jean-noel.guiheneuf@wanadoo.fr>
-
- * timeutil.c (time_add_month): Fixed the problem with next month
- going from a 31-day to a 30-day by adjusting the date to the
- closest day at the end of the month.
-
-1999-06-07 Mike McEwan <mike@lotusland.demon.co.uk>
-
- * timeutil.c (time_add_month): Tell ktime' that we don't know
- about daylight saving time so that it does *not* make adjustments
- when we traverse a DST boundary.
- (time_year_begin): ditto.
- (time_year_end): ditto.
- (time_month_begin): ditto.
- (time_month_end): ditto.
-
-1999-06-16 Anders Carlsson <anders.carlsson@tordata.se>
-
- * main.c (new_calendar): Realize the toplevel widget when
- --hidden is passed to gnomecal. This fixes a segfault.
-
-1999-06-04 Robert Brady <rwb197@ecs.soton.ac.uk>
-
- * gnome-cal.h, gnome-cal.c: Fix abort() problem with the year view.
- (Bug #1367). Thanks to Owen Cliffe <oc197@ecs.soton.ac.uk> for
- helping track it down.
-
-1999-06-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * calobj.c (daynumberlist): One line bug fix from Sergey I Panov.
-
-1999-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * view-utils.c (nicetime): Use %H instead of %k, as %k is a GNU
- extension, not available in other systems.
-
-1999-06-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * calobj.c (daynumberlist): Work around broken software that
- writes a broken month-of-day as "zero". Use the dtstart date for
- this on this event.
-
-1999-05-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * Makefile.am (install-data-local): help files be gone. They are
- now installed from the Docbook stuff.
-
-1999-05-26 Russell Steinthal <steintr@condor.penguinpowered.com>
-
- * gncal-todo.c main.c main.h prop.c: Added support for priorities
- for todo items. Doesn't do much, but you can set them and sort by
- them. (Use the properties box to enable them; should they be on
- by default?)
-
-1999-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * main.c (parse_an_arg): Added missing break here. It was causing
- core dumps when invoked with --userfile.
-
- * gnome-cal.c (gnome_calendar_set_view): Add some assertions here,
- to pin point the bug reported on gnome-list.
-
- * calobj.c (load_recurrence): Make intervals always exist. a 0
- interval is wrong.
-
-1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * year-view.c: Removed unused macro CALENDAR_HEIGHT.
-
-1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * year-view.c (idle_handler): Set the canvas scroll region here,
- not in size_allocate(). Also, use the correct width and height
- based on the allocation and the precomputed minimum width/height
- values.
-
- * gnome-cal.c (setup_widgets): Set the scrollbar policy of the
- scrolled window.
-
- * main.c (setup_appbar): Use the correct type for the appbar.
-
- * gncal-day-view.c: Removed unused function switch_to_day().
-
- * gncal-day-panel.c (calendar_day_selected): Removed unused variable.
-
-1999-05-25 Nat Friedman <nat@nat.org>
-
- * doc/C/gnomecal.sgml: Fixed a typo.
-
- * gnome-cal.c (setup_widgets): Added a scrolled window widget into
- which the year view is placed.
-
- * year-view.c (CALENDAR_HEIGHT): The height of the total year view
- inside the scrolled window.
- (idle_handler): Set the height of the year view to
- CALENDAR_HEIGHT.
- (year_view_size_allocate): Set the scroll region of the year view
- canvas to allocation->width, CALENDAR_HEIGHT.
-
-1999-04-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * main.c (dump_todo): Add --todo flag to dump the todo contents.
-
-1999-04-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gncal-todo.c (add_activated): Use same hack used in edit_activated
-
-1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gncal-todo.c (edit_activated): Kill all grabs from the CList
- before running the new dialog box.
-
- This fixes the problem of button-3/Edit on the todo item blocking
- the GUI (actually, the main window responds, but not the todo
- window).
-
-1999-04-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gncal-todo.c (gncal_todo_init): Make sure we can get events for
- button3. The code for the nice popup menu was there but was not
- getting invoked.
-
-1999-04-01 Steve Murphy <murf@e-tools.com>
-
- * calobj.c (weekdaynum): Added this routine so Monthly recurrences
- use the weekday field as a simple integer for a single weekday.
-
- * calobj.c (load_recur_monthly_pos): Call weekdaynum instead of
- weekdaylist. The interface only lets the user input a single value
- anyway.
-
- * calobj.c (ical_object_to_vobject): instead of code to output day
- names from a bit array, use instead the value as an int and output
- a single dayname.
-
- * calobj.c (ical_object_generate_events): first_week_day gets the
- day int instead of the first entry in the bit field. I inserted a
- fair chunk of code to avoid calling generate if the day is out of
- range for a month. It may be unneccessary, because mktime will
- turn the extra days into a valid date the next month. But not all
- mktimes are equal, I fear.
-
- * eventedit.c (ee_store_recur_rule_to_ical): For case 3,
- (Monthly), I added code to set the interval slot of the recur
- struct; without this value, selecting a monthly recursing, by
- date, would lead to an infinite loop broken only by a failure to
- alloc more memory. Also, in the "by position" case, both
- u.month_pos and u.month_day were being assigned values. This is a
- mistake, as they are both part of an union, and the same
- thing. The weekday field should get the recur_rr_month_weekday
- value.
-
- * eventedit.c (ee_rp_init_rule): set default day from the weekday
- field instead of the u.month_day field, which is really the
- month_pos value.
-
- * gnome-cal.c (gnome_calendar_tag_calendar): Month days start with
- 1, not 0; thus, setting tm.tm_mday = 0, and then calling mktime
- will generate a time corresponding to the end of the previous
- month, which may have a mday anywhere from 28 to 31. The end time
- just adds 1 to the month, so your end time may not cover the last
- few days of this month, depending on what the biggest mday of last
- month was. I changed it so tm_mday is set to 1 instead.
-
-1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-todo.c (convert_time_t_to_char): Made static. Make it use
- the full year format for strftime().
-
-1999-03-27 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
-
- * calobj.c: Include <config.h> So that strings get translated.
-
-1999-03-26 Tomas Ogren <stric@ing.umu.se>
-
- * prop.c (build_hours_menu): Made it respect 12/24h settings..
- Doesn't show until next time you open the dialog.. yet..
-
-1999-03-24 Tomas Ogren <stric@ing.umu.se>
-
- * gncal-week-view.c (gncal_week_view_set): Did some i18n work
- * eventedit.c (get_exception_string): Did some i18n work
-
-1999-03-24 Tomas Ogren <stric@ing.umu.se>
-
- * gncal-todo.c (gncal_todo_init): Made clist titles i18n:able
- * main.c (poptOption): Added which views that are possible for
- --view in the --help text (closes #367)
- * main.c (dump_events): Added (short) month to the strftime and made
- the strings i18n:able
-
-1999-03-23 Tomas Ogren <stric@ing.umu.se>
-
- * gncal/calobj.c: Added 2 paranthesis..
- "foobar = d / 60*60" is _NOT_ the same as "foobar = d / (60*60)"
- which caused heavy alarm-corruption with alarms between 2 hrs and
- 2 days.
-
-1999-03-23 Nat Friedman <nat@nat.org>
-
- * eventedit.c (ee_store_recur_rule_to_ical): Set the
- recur->interval to the value of the recur_rr_month_period spin
- button if the event is being set "by day." This closes bug #675
- as reported by bagfors@hpc2n.umu.se. Thanks for the report!
-
-1999-03-10 Clifford R. Conover <rconover@montana.edu>
-
- * gncal-todo.c (simple_todo_editor): Add support for Due Date when
- adding a TODO item here.
- (column_resized): New function
- (init_column_sorting): New function.
- (todo_click_column): New function.
- (convert_time_t_to_char, make_overdue_todo_style): New functions.
-
- * gnome-cal.c (gnome_calendar_todo_properties_changed): New
- function used to update the TODO when the properties have been
- chagned for it.
-
- * prop.c (prop_apply_todo): Apply TODO properties.
-
- * gncal-day-panel.c (todo_list_properties_changed): Update the
- TODO display here.
-
- * eventedit.c (date_edit_new): Made public
-
-1999-03-10 Craig A Soules (soules+@andrew.cmu.edu)
-
- * timeutil.c, calendar.c, calobj.c, gncal-day-panel.c: Add support
- for daylight time savings.
-
-1999-02-28 Martin Baulig <martin@home-of-linux.org>
-
- * gncal-full-day.c (recompute_motion): For DRAG_MOVE, DRAG_SIZE_TOP
- and DRAG_SIZE_BOTTOM: call child_focus_out () if the child currently
- has the focus.
-
-1999-02-27 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
-
- * quick-view.c (QUICK_VIEW_FONTSET): Added Korean font to the
- fontset string.
- * mark.h (*_FONTSET): Likewise.
-
-1999-02-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * calobj.c (ical_object_to_vobject): Save the owner/organizer of
- the event.
- (ical_object_create_from_vobject): Load the owner/organizer of the event.
-
- * gncal-full-day.c (delete_occurance): Assign child to data (fixes
- crash on "delete this occurrance").
-
-1999-02-22 Timur Bakeyev <mc@bat.ru>
-
- * calendar.c: According to configured values, use either tm.tm_zone
- or tzname. In last case, also declare it extern.
-
- * prop.c: langinfo.h not available everywhere. Wrapped. BTW, works
- fine without it.
-
-1999-02-20 Tomas Ogren <stric@ing.umu.se>
-
- * main.c (init_username): Made use of g_get_{user,real}_name() instead
- of our own home-brew...
-
-1999-02-17 Sergey Panov <sipan@mit.edu>
-
- * gnome-month-item.c,gnome-month-item.h,goto.c,mark.h,
- month-view.c,prop.c,quick-view.c,year-view.c: will define
- fonts via fontset. Friendlier to locales that use iso8859-[^1]
- and koi8-r encodings. Does not solve problem for Asian languiges
- --- better solution is needed (e.g. standart GNOME fontstyles
- defined in gtkrc).
-
-1999-02-16 Sergey Panov <sipan@mit.edu>
-
- * main.c: Use N_() macro for color settings labels in
- color_props structure.
-
-1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * goto.c (goto_dialog): Indentation fixes.
-
-1999-02-15 Tomas Ogren <stric@ing.umu.se>
-
- * goto.c: Made a private copy of what localtime() returns, to be able
- to keep the data after more calls to localtime().
-
-1999-02-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * main.c (save_default_calendar): New function. Saves the
- calendar if it is the user's default calendar
-
- * gncal-full-day.c (unrecur_appointment):
- * gncal-day-panel.c (day_view_range_activated):
- * eventedit.c (ee_ok):
- * gncal-todo.c (ok_button): Added autosave for the default
- calendar.
-
-1999-02-09 Tomas Ogren <stric@ing.umu.se>
-
- * main.c: Removed the gtk_widget_realize call.
-
-1999-02-06 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
-
- * gncal.desktop: Added Korean translations.
-
-1999-02-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * eventedit.c (date_edit_new): New convenience function to create
- a properly-configured date editor widget.
-
-1999-02-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-week-view.c (gncal_week_view_new): Make the calendar start
- weeks on Monday if appropriate.
- (gncal_week_view_time_format_changed): New function to notify the
- week view that the time format has changed.
-
- * gncal-day-panel.c (gncal_day_panel_new): Make the calendar start
- weeks on Monday if appropriate.
- (gncal_day_panel_time_format_changed): New function to notify the
- day panel that the time format has changed.
-
- * gnome-cal.c (gnome_calendar_time_format_changed): Tell the day
- and week views that the time format has changed.
-
-1999-02-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * eventedit.c (event_editor_init): Set the title of the event
- editor window.
-
-1999-01-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-day-view.c (gncal_day_view_expose): Do not remove the
- clipping rectangle here.
-
- * view-utils.c (view_utils_draw_events): Remove the clipping
- rectangle here, since the user of this function should not know
- about it.
-
-1999-01-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * view-utils.c (view_utils_draw_events): Improve this draw
- routine. Now it can split the text in lines and fit as many
- events as possible.
- (nicetime): Return strings without spaces at the beginning.
-
- * gncal-day-view.c (gncal_day_view_expose): Move clip-clear
- operation here.
-
-1999-01-29 Jason Tackaberry <tack@dok.org>
-
- * gncal-full-day.c (child_popup_menu): if the user clicks on an
- event that is an occurance, the menu will allow the user to delete
- all occurances of this event, or just the selected occurance.
- (delete_occurance): added.
-
- * eventedit.c (append_exception): force the clist to select the
- new exception. (fixes segfault)
- (delete_exception): if the last exception in the clist is deleted,
- move the selection index up. (fixes segfault)
-
-1999-01-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * main.c (parse_an_arg): Add --hidden key to hide the calendar at
- startup. Only works with GNOME window managers though :-(
-
- * calendar.c (calendar_day_change): Reschedule alarms for the new day.
-
- (calendar_init_alarms): Schedule an alarm for midnight to change
- the calendar_day_begin/calendar_day_end.
-
- * alarm.c (alarm_ready): If we reschedule, there is no need to
- activate any pending alarms.
-
-1999-01-28 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-full-day.c (child_new): Insert the summary text here.
- (child_focus_in): No need to raise the window, since we have
- Spiffo(tm) layout code. Boy, this is old code.
- (gncal_full_day_focus_child): Now that GtkText works better, we
- can avoid synthesizing a click which was causing grief, anyway.
- (child_button_press): Grab the focus before popping up the menu.
-
- * layout.c (find_index): Added a sanity check.
-
- * gncal-full-day.c (child_destroy): Unmap and unrealize the child
- before unparenting/destroying it.
- (child_unrealize): Unrealize the widget. What was I thinking?
- (child_new): Save the focus_out_event signal connection id in
- Child structure (in a new field).
- (child_destroy): Disconnect from the focus_out_event signal, since
- we don't want to get such an event when the widget is destroyed.
- (gncal_full_day_destroy): Destroy the children properly; it was
- leaking memory.
-
-1999-01-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * main.c (save_calendar_cmd): Warn if the calendar file has
- changed.
-
- * calendar.c (calendar_load, calendar_save): Keep track of the
- modification time for the calendar file.
-
-1999-01-20 Nat Friedman <nat@nat.org>
-
- * gncal-full-day.c (gncal_full_day_key_press): Only trap printable
- characters such that hotkeys work.
- (UNSELECT_TIMEOUT): Changed to 0. Much saner behavior.
-
- * prop.c (properties): Connect gnome_help_pbox_display to the
- GnomePropertyBox help button.
-
-1999-01-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * quick-view.c (quick_view_do_popup): Do not grab the mouse here
- (it was being grabbed incorrectly, anyways).
- (quick_view_map_event): Grab the mouse when the window is mapped.
- This avoids the ugly "while (xGrabPointer () != Success)" hack.
- (quick_view_button_release): Handle button releases here.
-
-1999-01-19 Tomas Ogren <stric@ing.umu.se>
-
- * main.c: do gtk_widget_realize on the toplevel window..
-
-1999-01-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-day-panel.c (gncal_day_panel_new): Make the little
- calendar start up with the correct date.
-
- * gncal-week-view.c (gncal_week_view_set): Add the month to the
- date range display label.
-
-1999-01-08 Nat Friedman <nat@nat.org>
-
- * main.c: Converted some more stuff to use the standards.
-
-1999-01-08 Nat Friedman <nat@nat.org>
-
- * main.c (setup_appbar): New function to create the status bar.
- (setup_menu): Install menu hints.
-
- Menu items updated to match the standards. New Settings menu
- created.
-
-1998-12-30 Jeff Garzik <jgarzik@pobox.com>
-
- * gncal/calendar.c, gncal/gnome-cal.c, gncal/main.c,
- gncal/quick-view.c:
- s/g_copy_strings/g_strconcat/
-
-1998-12-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- Rewrote the old and broken alarm system. It never actually
- worked properly. Now it works properly, and I figured a nice way
- to get the Audio alarm do something nicer (it is now like an alarm
- clock :-).
-
- * gnome-cal.c (calendar_notify): Now we take a CalendarAlarm to
- actually distinguish which alarm was triggered.
-
- * alarm.c (alarm_ready): The code was only activating the first
- alarm. Reschedule the timer upon delivery of an alarm.
-
-1998-12-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * year-view.c (idle_handler): Use the allocation size instead of
- the old fields in the canvas structure.
-
- * goto.c (create_days): Use gtk_widget_set_usize() instead of
- gnome_canvas_set_size().
- * quick-view.c (setup_event_list): Likewise.
-
-1998-12-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gncal-todo.c (simple_todo_editor): Use gnome_dialog_set_parent.
- * goto.c (goto_dialog): ditto
- * prop.c (properties): ditto.
-
-1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * eventedit.c (ee_rp_init_exceptions): Update GtkClist usage.
-
-1998-11-23 Andrew T. Veliath <andrewtv@usa.net>
-
- * gncal-day-panel.c (gncal_day_panel_new): Use
- gtk_scrolled_window_add_with_viewport instead of
- gtk_container_add (gtk changes).
-
-1998-11-23 Herbert V. Riedel <hvr@hvrlab.ml.org>
-
- * eventedit.c: use GPOINTER_TO_INT
-
- * gncal-todo.c: same.
-
-1998-11-22 Matthew Wilson <msw@redhat.com>
-
- * main.c: Fixed the popt event parsing callback to have the
- correct number of arguments. This stops it from segfaulting.
-
-1998-11-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * eventedit.c (ee_classification_widgets): Doh. Fixed stupid bug
- where the classification buttons were not being set correctly.
- (ee_store_general_values_to_ical): Take into account the fact that
- radio group lists are stored in reverse order of insertion.
-
- * gncal-todo.c (gncal_todo_init): Use a scrolled window to put the
- clist into.
-
-1998-11-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * calendar.c (calendar_save): Backup the old file before saving
- the caledar.
-
-1998-11-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * calobj.c: Add ctype.h
-
-1998-10-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gnome-cal.c (gnome_calendar_direction): Add the offset from the
- beginning of the current time unit (day/month/etc), otherwise it
- does not work right, for example, you are on the 31st day of a
- month and the next month is a 30-day one and you jump to the next
- month.
-
-1998-10-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * month-view.c: Changed a lot of stuff not to use the layout code
- -- the month view's days are too small to display layout
- usefully. Now they display a little list of the events in each
- day. We also have a popup menu for the days in the month view.
-
- * calendar.c (calendar_get_objects_in_range): Reverse the list so
- that it is returned in increasing order.
-
- * eventedit.c (event_editor_new_whole_day): New public function to
- create an event for the complete span of day_begin to day_end.
-
- * year-view.c (new_appointment): Use event_editor_new_whole_day().
-
- * year-view.c (yv_popup_menu): Mark strings for i18n.
-
-1998-10-12 Ji Lee <g@ucsd.edu>
-
- * eventedit.c (ee_store_recur_rule_to_ical): The interval was
- never being loaded from the spin button.
-
-1998-10-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * month-view.c (month_view_update): Create a list of children and
- lay them out nicely. Lots of functions added for this purpose.
- (adjust_segment): Main event segment adjustment routine.
- (adjust_children): Adjusts all the children in the month view.
- (child_create_segments): Creates the segments for a particular event.
- (layout_children): Uses the generic layout engine to organize the children.
-
-1998-10-08 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-todo.c (clist_row_selected): Set the sensitivity of the
- edit/delete buttons.
- (gncal_todo_update): Likewise. Thanks to Dirk Luetjens for the
- bug report.
-
- * layout.c: Do some cleanup; now we pass a struct with the layout
- algorithm's state instead of passing a trillion parameters around.
-
- * gncal-full-day.c (layout_children): Use the new generic layout
- engine.
- (child_compare): Sort keys are start time then end time, not just
- start time. This produces somewhat nicer results for the layout
- algorithm.
-
- The new layout code uses a partition of the time range occupied by
- the events, rather than using a fixed time granularity. This is
- better since the different parts of the program that use the
- layout module will have different semantics regarding snapping the
- event bounds to a fixed "time grid".
-
-1998-10-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * layout.[ch]: New files that abstract the event layout code from
- gncal-full-day.c into something useful for other parts of the
- program. Now all event layout is done here.
-
- * Makefile.am (gnomecal_SOURCES): Added layout.[ch] to the list of
- sources.
-
-1998-10-07 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
-
- * main.c (main): Replaced the 'gnome_client_new_default' call with
- 'gnome_master_client'.
-
-1998-10-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * timeutil.c (time_day_begin): Changed name from
- time_start_of_day() to be consistent with the other begin/end functions.
- (time_day_end): Likewise.
-
- * calobj.c (ical_object_get_first_weekday): New public function to
- get the first toggled day in a weekday mask. Since we do not
- support multiple weekdays in a monthly-by-pos rule, we just fetch
- the first toggled one.
- (ical_object_generate_events): Added a missing break statement.
-
- * timeutil.c (time_month_end): Made it consistent with the rest of
- the time begin/end functions -- now it returns the first second of
- the *next* month.
- (time_week_end): Actually implemented this function. It will be
- used when the week view is rewritten.
-
- * calobj.c (time_in_range): Fix off-by-one in the comparison of
- the time against the end time.
-
- * gncal-full-day.c (expand_space): Fixed bug where the columns not
- were being expanded due to a missing "slot + j".
-
-1998-10-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * month-view.c (month_view_init): Use the font #defines.
- (month_view_new): Set the colors of the month view upon creation.
- (mark_current_day): New function to mark the current day in the
- month view.
- (month_view_set): Mark the current day.
- (month_view_colors_changed): Mark the current day and colorify the
- month item appropriately.
-
- * month-view.h: Added year and month fields to the MonthView
- structure.
-
- * main.c: Renamed the Appointments color property, since it will
- be used by the month view as well.
-
- * goto.c (update): Set the current day's font and color.
-
- * year-view.c (year_view_init): Set the fonts of the month items
- when creating them.
-
- * mark.h: Added new #defines for HEADING_FONT and TITLE_FONT.
-
- * year-view.c (year_view_init): Use the new font #defines.
-
- * prop.c (prop_apply_colors): Fixed to work with the
- I-am-paranoid-and-I-need-to-size-my-ints changes to
- GnomeColorPicker.
- (color_spec_from_picker): Likewise.
-
-1998-09-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * goto.c (create_days): Colorify the month item and prepare it for
- prelighting here.
-
- * main.c (color_props): Changed the default colors to something
- not dull.
-
- * year-view.c (compute_min_size): New function to compute the
- minimum size of the year view properly.
- (year_view_size_request): Added two new fields to the year view
- structure that contain the minimum size. Return this in the
- size_request method.
- (year_view_new): Call compute_min_size to save the minimum size
- for later use.
- (idle_handler): Make it resize the items correctly.
-
- * gnome-month-item.c (gnome_month_item_set_arg): Reshape when
- necessary. This is needed becaues we now actually calculate a
- minimum size for the month item based on the font sizes and paddings.
- (check_heading_sizes): New function to calculate a minimum size
- based on the headings' dimensions.
- (check_day_sizes): New function to calculate a minimum size based
- on the day number labels' dimensions.
- (check_sizes): New function that computes a minimum size for the
- month item.
- (reshape): Now calls check_sizes() to ensure a minimum size for
- the month item.
-
- * year-view.c (mark_current_day): New function to mark the current
- day in the year view.
-
- * mark.c: Removed mark_current_day from here.
-
-1998-09-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * prop.c (fetch_color_spec): Changed name from fetch_prelight_spec
- and made it conform to the new prelighting mechanism.
- (fake_mark_days): Set the proper day attributes.
- (reconfigure_month): Use colorify_month_item().
- (fake_mark_days): Use mark_month_item_index().
-
- * mark.c (colorify_month_item): New public function to reset the
- colors in a month item.
- (get_attributes): New internal function that creates an array of
- attributes for the days in a month item. This is the basis of all
- the new optimizations to month item marking.
- (unmark_month_item): Now it uses the attributes array to unmark
- only the days that need unmarking.
- (mark_event_in_month): Update the day attributes array.
- (month_item_prepare_prelight): Changed the definition of the
- prelight color query function. Use the new function.
- (day_event): Do color changes based on the day attributes array.
- (mark_month_item_index): New public function to mark a single day
- by index.
- (mark_event_in_month): Use mark_month_item_index().
-
- * gnome-month-item.c (gnome_month_item_num2child): Now takes an
- int, not a GnomeMonthItemChild.
- (gnome_month_item_child2num): Now returns an int, not a
- GnomeMonthItemChild.
- (gnome_month_item_num2day): Now takes an int, not a
- GnomeMonthItemChild.
-
- * goto.c (goto_dialog): Create the days before the year spin
- button, because the year_changed callback expects the month item
- to be created. The new semantics of the spin button cause it to
- emit a value_changed signal on the adjustment upon creation -- is
- this the behavior we want from it?
- (goto_dialog): Use gtk_window_set_modal() instead of the
- deprectaed gnome_dialog_set_modal().
-
- * quick-view.c (quick_view_new): Make it look not as crappy by
- putting the title inside the frame.
- (quick_view_do_popup): Fixed the pointer grab and added a cursor.
- (create_items_for_event): Query the text width/height from the
- text item using the new object arguments, so that the size of the
- popup window can be set properly.
-
- * year-view.c (do_quick_view_popup): Calculate a nice date string
- for the popup window.
-
-1998-09-28 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * quick-view.[ch]: New file that presents a quick view of the
- events in a particular day when the mouse is clicked on the year
- view. Work in progress.
-
- * year-view.c (do_quick_view_popup): New function that creates a
- quick view for the events in a day.
-
- * Makefile.am (gnomecal_SOURCES): Added quick-view.[ch] to the
- list of sources.
-
-1998-09-27 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * main.c: Hotkey for File/Exit should be C-q, not C-x.
-
-1998-09-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * year-view.c (do_popup_menu): New function to execute the popup
- menu in the year view.
- (day_event): Invoke the popup menu with the context set to days.
- (new_appointment): New function to create a new appointment from
- the year view.
- (do_jump): New function to do the appropriate view/date jumping
- from the popup menu.
-
- * main.c: Fixed two icons in the File menu.
-
-1998-09-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * main.c: Added underlined shortcuts and accelerators to the main menu.
-
-1998-09-16 Raja R Harinath <harinath@cs.umn.edu>
-
- * gncal-week-view.c (<gtk/gtklabel.h>): Include.
- * gncal-week-view.h (<gtk/gtkvbox.h>): Include.
-
-1998-09-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gnome-cal.c (mail_notify): Fixed the bug reported about the mail
- notification not beint sent until the program was terminated.
-
-1998-09-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-full-day.c (gncal_full_day_forall): Updated foreach ->
- forall from Gtk changes, bleah.
-
- * year-view.c (day_event): New function to handle events from
- days. Jumps to the day that is clicked.
-
- * main.c: Use a watch cursor while the previous/today/next
- functions are doing their job.
-
- * mark.c (month_item_prepare_prelight): New public utility
- function to prepare a month item for prelighting. It will store
- the proper prelight information and attach the appropriate signals.
- (mark_current_day): Make the current day bold as well (useful for
- color-blind people, I guess).
-
- * prop.c (set_current_day): Reset the date in the sample calendar
- and mark the current day.
- (fake_mark_days): Mark fake events in the sample calendar.
-
- * year-view.c (year_view_set): Use the general prelighting engine.
-
- * goto.c (day_event): Just process button presses, as prelighting
- is done behind the scenes now.
- (update): Use the general prelighting engine.
-
- * prop.c (create_colors_page): We can now configure the colors of
- the monthly calendars! Wheeeeee! There are still some nits to be
- fixed, which are listed in the TODO file.
- (build_color_spec): New function to build color specifications.
- (parse_color_spec): New function to parse color specifications.
-
- * mark.c: Modified all functions to use the configured colors.
- * goto.c: Likewise.
-
- * main.c (colors_changed): New function that notifies all
- calendars that colors have changed.
-
- * gnome-cal.c (gnome_calendar_colors_changed): New function that
- notifies all the views that the colors have changed.
-
- * month-view.c (month_view_colors_changed): New function that
- notifies the month view that colors have changed.
-
- * year-view.c (year_view_colors_changed): New function that
- notifies the year view that colors have changed.
-
- * gnome-month-item.h (struct _GnomeMonthItem): Added fields for
- outline and day box colors.
-
- * gnome-month-item.c (gnome_month_item_set_arg): Added
- outline_color, outline_color_gdk, day_box_color, and
- day_box_color_gdk arguments to month items. These are convenient
- to quickly set the colors of the month item.
- (gnome_month_item_get_arg): Likewise.
-
- * main.[ch]: Added a global array of structures for color preferences.
-
-1998-08-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * goto.c: Small code cleanup.
- (day_event): Upon receiving a LeaveNotify event, Reset the day's
- background to the correct color.
-
-1998-08-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * mark.[ch]: New files with utility functions to mark calendars
- with their events.
-
- * mark.c (mark_month_item): New public function to mark a month
- item with events.
- (unmark_month_item): New public function to unmark all the days in
- a month item to their default appearance.
-
- * year-view.c (year_view_set): Use the new unmark_month_item() and
- mark_month_item() to mark the months with events.
-
- * goto.c (update): New function that updates the calendar in the
- Go-to dialog by marking the days.
-
- * timeutil.c (time_year_begin): Modified to take a time_t value.
- (time_year_end): Likewise.
- (time_month_begin): Actually implemented this function, which was
- in the header file but not here.
- (time_days_in_month): New public function that returns the number
- of days in a month.
-
- * Makefile.am (gnomecal_SOURCES): Added mark.[ch] to the sources.
-
- * year-view.c (unmark_days): Use unmark_month_item().
-
- * gncal-full-day.c (gncal_full_day_destroy): Fixed crash when
- destroying the full day view. The full day's destroy method is
- unusual in that it destroys the list of child widgets itself, as
- it does not have a remove method, so it needs to reset the list to
- NULL.
-
-1998-08-27 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gnome-month-item.c (build_month): Now does the correct thing
- when the user wants weeks to start on Monday. Now all the Monday
- special casing, as far as day numbering is concerned, is only in
- this function.
-
- * year-view.c (mark_days): This function marks the days that have
- events in them. It also fixes a memory leak in the old
- implementation (it was leaking the whole list).
- (unmark_days): New function used to unmark all the days in the
- year view.
- (mark_event): New function that marks all the days that are
- spanned by a time range. It also fixes the bug in the old
- implementation where it could possibly mark days past the ends of
- the year (if the event crosses year boundaries, for example).
-
- * timeutil.c (time_year_begin): Take the year parameter since year
- 1, not 1900.
- (time_year_end): Likewise.
-
- * year-view.c (year_view_size_allocate): Now changing the size of
- the calendars is done in the idle loop.
- (idle_handler): This function actually does the resizing of the items.
-
- * year-view.h (struct _YearView): Added idle_id and need_resize
- fields.
-
-1998-08-26 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * year-view.c: Beginning of the new year view. Sizing and event
- marking needs to be finished.
-
- * gnome-cal.c: Updated for year-view.
- (gnome_calendar_time_format_changed): Use year_view_time_format_changed().
-
- * year-view.[ch]: Renamed the gncal-year-view.[ch] files to
- year-view.[ch].
-
- * Makefile.am (gnomecal_SOURCES): Updated year-view.[ch] in the
- list of source files.
-
-1998-08-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * goto.c (create_days): Set the heading color of the month item.
-
- * main.c: Use GNOME_STOCK_PIXMAP_JUMP_TO, now that it exists,
- instead of goto.xpm. Also, removed goto.xpm from cvs.
-
- * gnome-month-item.h (struct _GnomeMonthItem): Added fields for
- the heading and day number fonts. Added fields for heading and
- day number label colors.
-
- * gnome-month-item.c (gnome_month_item_class_init): ARG_DAY_NAMES
- should be write-only. Also, added arguments for heading and day
- number fonts. Added arguments for heading and day number colors.
-
-1998-08-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * prop.c (build_two_radio_group): Doh. Set the state of the radio
- buttons properly.
-
- * month-view.c (month_view_time_format_changed): New public
- function that notifies the month view of a time format change.
-
- * gnome-cal.c (gnome_calendar_time_format_changed): New public
- function that notifies the calendar of a time format change.
-
- * main.c (time_format_changed): Use gnome_calendar_time_format_changed().
-
- * month-view.c (month_view_update): New public function to update
- the month view when an event changes. This is still unfinished.
- (month_view_set): New public function to set the month in the
- month view.
-
- * gnome-cal.c (gnome_calendar_direction): Add case for month view.
- (gnome_calendar_set_view): Likewise.
- (gnome_calendar_update_all): Likewise.
-
- * timeutil.c (time_add_week): Implemented the time_add_week()
- function, which was on the header file.
- (time_add_month): Added public month-adding routine.
-
- * gnome-cal.c (gnome_calendar_get_current_view_name): Add case for
- month view.
- (gnome_calendar_goto): Likewise, and set the time on the month view.
-
- * month-view.c (month_view_new): Now it takes the calendar plus
- the time_t representing the month.
-
- * gnome-month-item.h: Added documentation on the object arguments
- for the month item.
-
- * month-view.c (month_view_init): Added a month/year heading to
- the month view.
-
- * TODO: Updated the TODO list a bit.
-
- * main.c (gnome_cal_file_menu): The preferences menu option should
- go in the File menu.
- (gnome_cal_edit_menu): Added stock pixmaps to the menu items.
- (gnome_cal_menu): Renamed the Calendar menu to Edit.
- (gnome_cal_help_menu): Use "About Gnomecal", not just "About".
-
- * prop.c (hour_activated): Notify the property box that it has changed.
-
- * main.c: Changed the Properties menu item to Preferences. These
- are global application preferences, not a single calendar's
- properties.
-
- * prop.c (prop_apply): Save the week_starts_on_monday flag to the
- configuration file.
- (properties): Added a check button for weeks starting on Monday.
- (properties): Beautified the Preferences dialog.
-
- * month-view.c (month_view_init):
- * goto.c (create_days): Set the month item to start weeks on
- Monday if appropriate.
-
- * main.c (init_calendar): A boolean is not an hour, so don't
- range_check_hour() on it.
- (init_calendar): Added a global week_starts_on_monday flag.
-
- * main.h: Added global week_starts_on_monday flag.
-
-1998-08-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * calobj.c (ical_object_create_from_vobject): If mail alarm or
- program alarm are missing the action, then set an empty default.
-
-1998-08-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gnome-month-item.c (gnome_month_item_day2index): New public
- function to get the displayed day index of the specified date.
-
- * gnome-cal.c (gnome_calendar_goto_today): New public function to
- jump to the current day.
-
- * goto.c (day_event): Jump to the selected day when the user
- clicks the mouse, and prelight days as appropriate.
-
- * timeutil.c (time_from_day): New public function to build a
- time_t from a year/month/day triplet.
-
- * gnome-month-item.c (gnome_month_item_num2child):
- (gnome_month_item_child2num): New public functions to convert an
- index into a child and vice-versa, respectively.
- (gnome_month_item_num2day): New public function to convert a child
- number into a displayed day number.
-
- * goto.c (goto_dialog): Doh, use gnome-dialog properly :-)
-
- * gnome-month-item.c (create_items): Use g_strdup()ed day names
- from the start.
-
-1998-08-17 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * main.c (gnome_toolbar): Made it use goto.xpm.
-
- * Makefile.am (EXTRA_DIST): Added goto.xpm to the list of files.
-
-1998-08-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gnome-month-item.c (gnome_month_item_set_arg): Doh. Actually
- recalculate the days using the month and year.
-
- * main.c: Added "Go to" button to quickly jump to a specific date.
-
- * goto.c: New file that defines the quick go-to date dialog.
-
- * Makefile.am (gnomecal_SOURCES): Added goto.c to the sources.
-
-1998-08-11 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
-
- * main.c (new_calendar): Made title i18n friendly. This was bug
- #215.
-
- * eventedit.c (ee_store_recur_end_to_ical): Set recur->enddate to
- recur->_enddate, not to itself, when adding recurring event and
- supplying an end date. This fixes (at least part of) bug #99.
-
-1998-08-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * month-view.[ch]: Start of the month view widget. This will use
- the generic month item and extend it to have the semantics desired
- for the gnomecal month view.
-
- * gnome-month-item.[ch]: New generic canvas item for the month
- view and the "small calendars". This is intended to be a
- high-level display engine for monthly calendars. This is a work
- in progress.
-
- * gnome-cal.h (GnomeCalendar): Added a month_view field.
-
- * gnome-cal.c (setup_widgets): Create the month view and insert it
- into the notebook.
-
- * Makefile.am: Added month-view.[ch] and gnome-month-item.[ch] to
- the sources.
-
-1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * main.c (about_calendar_cmd): Use an array of const strings to
- keep gcc happy.
-
- * alarm.c (alarm_compare_by_time): Use gconstpointer to keep gcc happy.
- * calendar.c (calendar_object_compare_by_start): Likewise.
- * gncal-full-day.c (child_compare_by_start): Likewise.
-
-1998-07-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * main.c: Add support for --view flag.
- (session_save_state): Save the view mode;
- (new_calendar): Now takes a view mode flag.
-
- * gnome-cal.c (gnome_calendar_get_current_view_name): New
- function for enhancing the session management support for
- gnomecal.
- (gnome_calendar_set_view): New function that makes a given page
- active.
-
-1998-07-01 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
-
- * gncal.desktop: Added Portuguese translation.
-
-Mon Jun 22 13:01:16 1998 Havoc Pennington <hp@pobox.com>
-
- * main.c (session_save_state): Use gnome_geometry_string to get
- the geometry string.
-
-1998-06-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * eventedit.c (ee_rp_init_rule): Do not subtract 1 from
- tm->tm_mday for the default_day.
-
- * gnome-cal.c (gnome_calendar_new):
- (gnome_calendar_goto): Use the start of the day -- things expect
- it to be that way.
-
-1998-05-27 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
-
- * eventedit.c (ee_store_recur_rule_to_ical): Fill in
- ical->recur->interval from value in spin_button. This ixed an
- infinnite loop.
-
-1998-05-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-full-day.c (child_draw): Paint the decorations correctly.
- (child_draw_decor): Paint the recurrence/bell icons correctly.
-
-1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * eventedit.c (ee_rp_init_rule): Use the contents of
- ee->ical->dtstart for computing the predefined values of the recurrence.
-
- * gncal-full-day.c (gncal_full_day_unrealize): Fix the gc
- destruction in the unrealization code and fix the pixmap unrefing.
-
- * main.c (close_cmd): Remove a bad hack that disabled calendar
- widget destruction.
-
- * calobj.c (ical_object_generate_events): Fix for the weekly event
- generation. Was reported on the bug tracking system.
-
-1998-05-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gncal-full-day.c (layout_children): Implemented ultra-cool
- layout for the events that share the same time range. Gals and
- guys you can now drop Outlook on the recycle bin.
-
- Which reminds me. We do not have a recycle bin. How could that
- happen in a project as cool as this one? Someone explain this to
- me.
-
-1998-05-18 Federico Mena <federico@nuclecu.unam.mx>
-
- * gncal-full-day.c (paint_back): Eliminated unnecessary border repainting.
-
-Sun May 17 17:55:03 1998 Havoc Pennington <hp@pobox.com>
-
- * gncal-todo.c (simple_todo_editor): Close dialog when return is pressed.
-
-1998-05-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gnome-cal.c (mark_gtk_calendar_day): Bug free version of the
- range computation in place.
-
- * gncal-year-view.c (year_view_mark_day): Use the same new version
- of the range computation here.
-
- * calobj.c (ical_object_generate_events): Fix the begin/end
- condition.
-
-1998-05-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * timeutil.c (isodate_from_time_t): Do not add the spurious
- padding.
-
- * calobj.c (store_date_list): Bug fix: I was using the wrong
- pointer when saving the exception date list.
- (set_date_list): Bug fix: load correctly the complete exception
- date list.
- (set_date_list): Use ',' for the exception date separator as the
- versit people can not get their standard right.
-
- * gncal-full-day.c (unrecur_appointment): Support for making an
- existing recurrent event `movable' for a day.
-
- * calobj.c (ical_object_add_exdate): New routine, used to add
- exception dates.
- (ical_object_duplicate): New routine: used to do the magic
- recur->no-recur event.
-
-1998-05-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gncal-full-day.c (new_appointment): Use gtk_calendar freeze/thaw
-
- * gncal-year-view.c (gncal_year_view_set_year): Use gtkcalendar freeze/thaw.
-
- * eventedit.c (event_editor_init): Use gnome_dialog_set_close to
- avoid the ugly warning.
-
- * main.c (display_objedit): Default to the day the user is looking
- at.
-
-1998-05-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gncal-day-panel.c (full_day_size_allocated): Do not emit a value
- changed signal if the value is the same.
-
-1998-05-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * prop.c (prop_apply): Only run the apply code once.
-
-1998-05-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gncal-day-panel.c (update): Draw the day at startup.
- (gncal_day_panel_set): Fix selected-day display.
- (gncal_day_panel_new): Switch day on double clicks, not on single
- clicks.
-
- * calobj.c (ical_object_compute_end): Removed debug messages.
-
-1998-04-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * prop.c (prop_apply): Do not call prop_cancel, ths is now using
- GnomePropertyDialog.
-
-1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gncal-week-view.c (sync_week): Use gnome_calendar_tag_calendar.
-
- * gnome-cal.c (gnome_calendar_tag_calendar): New routine used to
- fill a gtk_calendar with the events on a GnomeCalendar object.
-
- * gncal-week-view.c (gncal_week_view_new): Set the week to the day
- we double clicked.
-
-1998-04-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gnome-cal.c (calendar_notify): Apply black magic to get mail
- notifications to work.
-
- * gncal-full-day.c (child_focus_out): Temporary optimization, the
- child_focus_out is constantly calling the
- gnome_calendar_object_changed when the property editor has been
- invoked. This happens every time the mouse moves crosses the main
- window.
-
- * calendar.c (calendar_object_changed): Reschedule alarms when a
- calendar object has changed its times.
-
-Sat Apr 25 22:20:45 1998 Havoc Pennington <hp@pobox.com>
-
- * eventedit.c, eventedit.h: Descend from GnomeDialog. Took vbox
- out of class structure; use GnomeDialog vbox
- instead. gnome_dialog_set_destroy instead of destroying in button
- callbacks. Don't create buttons, separator, or vbox manually.
- #include <libgnomeui/gnome-dialog.h>.
-
-1998-04-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * calobj.c (ical_object_create_from_vobject): Fixed alarm loading;
- Load snooze time and snooze count
-
-1998-04-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * calendar.c (calendar_save): Actually save the to-do entries.
-
- * gncal-todo.c (simple_todo_editor): Now you can add and edit
- to-do entries.
-
-1998-04-22 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-full-day.c: Made it use popup_menu().
-
- * popup-menu.c: New file with utility functions for creating popup
- menus. Maybe such a thing would be useful in libgnomeui, a la
- gnome-app-helper?
-
- * Makefile.am (gnomecal_SOURCES): Added popup-menu.[ch] to the sources.
-
-1998-04-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * prop.c (properties): Added Calendar properties editor.
- (properties): Make the code use a propery box.
-
- * main.c: Save/load properties (fix to old commit).
-
-1998-04-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-todo.c: New widget for editing TODO lists. This will be
- worked on a lot.
-
- * Makefile.am (gnomecal_SOURCES): Added gncal-todo.[ch] to the sources.
-
- * gncal-day-panel.c: Make it use the new TODO widget.
-
-1998-04-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * timeutil.c (isodate_from_time_t): Do not save with the global
- time flag (Z at the end of the isodate). When we figure out a way
- to load times in GMT time, we will add this back
-
- * view-utils.c (popup_menu): Moved this routine here as there are
- more users of this code.
-
- * gncal-day-view.c (gncal_day_view_class_init): Add button press
- handler.
- (new_appointment): New routine for creating appointments on a day.
-
-
-
- * main.c (save_ok): Added call to gtk_window_set_wmclass.
-
- * gncal-day-panel.c (calendar_day_selected): Fix, years for mktime
- should substract 1900 and gtk_calendar stores years relative to
- year 0.
-
- * gncal-week-view.c (gncal_week_view_new): Make the week view
- descend from VBox so that we can add a label to it.
- (gncal_week_view_set): Display the ending day of the week
- correctly.
-
- Added a label that displays the week range.
-
-1998-04-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gnome-cal.c: Made it use GncalDayPanel.
-
- * gncal-day-panel.c: New widget for the day view in the main
- calendar toplevel. It basically takes care of everything
- gnome-cal did by hand with respect to the day view.
-
- * Makefile.am (gnomecal_SOURCES): Added gncal-day-panel.[ch] to
- the rules.
-
- * main.c: Added a separator between the About menu item and the
- help topics.
-
-1998-04-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * eventedit.c (ee_ok): Mark the event as non-new after accepting changes.
-
-1998-04-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-full-day.c (gncal_full_day_get_day_start_yoffset): New
- public function that returns the y offset for the row
- corresponding to the "day begin" time.
-
- * gncal-full-day.c (gncal_full_day_key_press): Now any printable
- keystroke (not just Return) will activate the selected range.
-
- * gncal-full-day.c (paint_back): Made it use the new paint_row
- function instead of painting everything directly. We calculate
- areas in a smarter way so there is even less flicker than before,
- especially when selecting regions.
-
- * eventedit.c: Sensitize recurrence widgets properly.
-
- * calobj.c (duration_callback): Pass the correct pointer type to
- is_date_in_list().
-
-1998-04-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * calobj.c (duration_callback): Take exception dates into
- account.
-
- * gncal-full-day.c (new_appointment): Setup the event editor dates
- to those of the currently displayed day.
- (gncal_full_day_selection_range): Use sensible values in the case
- no range is selected.
- (new_appointment): Events now use the current day for event creation.
-
- * view-utils.c: Pretty up the time display.
-
- * calobj.c (ical_object_compute_end): Initialize
- ico->recur->enddate, otherwise we loop forever during final date computation.
-
- * eventedit.c: Now recurrence is toggled by a radio button in the
- recurrence page, as the checkbox is confusing.
-
- * calobj.c (is_date_in_list): Add support for the exclussion
- dates.
-
-1998-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gncal-year-view.c (double_click): Fix this routine as well.
-
- * gncal-week-view.c (jump_to_day): Bind the gtkcalendar signals to
- the week.
-
- * gncal-year-view.c (gncal_year_view_set_year): Put things in the
- proper range. Now the year view actually matches this year.
-
- * gnome-cal.html: Added small documentation.
-
- * main.c: Add more icons to the menus; Rename some menubar
- entries; Add `new' icon to the toolbar.
- (dump_events): Added argument handling and dumping of events from
- the command line. Extremely cool.
-
- * getdate.y: Taken from the CVS source code. Used for date
- parsing in the command line.
-
- Internationalized getdate.y. Wee! It even works with spanish.
-
- * calobj.c (ical_object_to_vobject): Add Quoted printable property
- to items containing new lines.
- (duration): Use unsigned integers, to work around buggy calendar
- files generated by korganizer.
-
- * main.c (save_calendar_cmd): Do not ask for file name if we are
- saving.
- (save_as_calendar_cmd): New command.
-
-
-1998-04-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * alarm.c (alarm_kill, alarm_init, alarm_add): Implement the alarm
- management framework.
-
-1998-04-17 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * calobj.c (ical_new): Added mandatory status property.
- (ical_object_to_vobject): Only store "related" list if it exists.
- (store_list): Add terminating null char and free the correct data.
-
- * main.c (save_calendar_cmd): Implemented calendar saving.
- (open_calendar_cmd): Implemented calendar loading.
- (new_calendar_cmd): Implemented calendar creation.
- (new_calendar): Don't load our test calendar by default.
-
- * gncal-full-day.c (delete_appointment): Delete appointment implemented.
-
- * eventedit.c (ee_store_recur_values_to_ical): Free/create
- ical's recurrence appropriately.
- (ee_rp_init_rule): Initialize all missing parameters from ical.
- (ee_rp_init_ending_date): Initialize missing fields from ical.
-
-1998-04-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gnome-cal.c (gnome_calendar_remove_object): Add support for
- removing objects.
-
-1998-04-17 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * eventedit.c (ee_init_recurrence_page): New function that creates
- the recurrence page in the toplevel notebook.
- (ee_store_recur_values_to_ical): Now we can also store the recurrences.
-
-1998-04-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * calobj.c (ical_object_generate_events): Implement
- RECUR_MONTHLY_BY_POS implemented.
- (ical_object_create_from_vobject): Fix the alarm
- initialization code.
- (save_alarm): Save alarms.
- (ical_object_generate_events): Fixed the recurrent code to take
- into account the recur->endate field (if at all specified).
-
- (ical_object_to_vobject): Implement recurrence rule saving.
-
-1998-04-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * eventedit.c (ee_store_alarm): Use menu_shell->children, not
- menu->children. Why does GtkMenu have a children field in the
- object structure?
- (check_dates): New function that insures that start_date < end_date.
- (check_times): In addition to checking whether the event spans the
- whole day, now it insures that start_time < end_time.
-
- * gncal-full-day.c (child_set_size): Now children get bigger
- temporarily while they are focused. This allows the handles not
- to "overlap" the rows used by the child and thus allow editing of
- very thin events.
- (recompute_motion): Fix for new child coordinates.
- (gncal_full_day_expose): Make it use find_child_by_window()
- instead of looking for it by hand.
-
- * bell.xpm recur.xpm: XPM files for events with alarm and
- recurrence, respectively.
-
-1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-full-day.c (button_1): Preserve the up/down cursor while dragging.
-
- * gncal-full-day.c (child_draw): Now children have a vertical
- handle as well. This can be used to move the child anytime, not
- only when it is focused.
- (recompute_motion): Modified for new drag behavior.
-
- * eventedit.c (ee_init_general_page): The general_owner may be
- null. Do the proper thing when creating the label.
- (ee_ok): Update the gnome calendar appropriately.
-
- * timeutil.h:
- * gncal-year-view.h: Add some missing prototypes.
-
- * gncal-full-day.c (child_popup_menu): Set the sensitivity of menu
- items according to whether the ical object is being edited or not.
-
- * eventedit.c (event_editor_new): Set the "being edited" flag on
- the ical object (stored as the ical object's user data).
- (event_editor_destroy): Release the flag.
-
- * calobj.h: The iCalObject structure now has a generic user_data pointer.
- * calobj.c (ical_object_set_user_data ical_object_get_user_data):
- Functions to set this data.
-
- * gncal-full-day.c (child_button_press): Do child popup menu correctly.
-
- * main.c (about_calendar_cmd): Fixed my address and added Arturo
- to the authors in the about box.
-
- * gncal-full-day.c (find_child_by_window): Compare child's widget
- windows by user_data (which will be the parent widget, that is,
- the text widget). We cannot assume that child->widget->window
- will be *the* window we are interested on because there may be
- child widgets with multiple windows.
-
-1998-04-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * calobj.c (ical_foreach): Define iterator routine.
-
-1998-04-15 Arturo Espinosa Aldama <arturo@nuclecu.unam.mx>
-
- * gncal-year-view.[hc]: Now using time_t for new and set.
- Random fixes, as well.
-
-1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-full-day.c (button_3): New popup menus activated with
- mouse button 3.
- (create_appointment): Create a new appointment from the popup
- menus. See the FIXME.
-
-1998-04-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gncal-full-day.c (layout_kill_rows): Routine to destory rows
- array properly.
-
- * gncal-year-view.c (gncal_year_view_new): Add missing year in
- call to strftime.
-
- * calobj.c (ical_object_create_from_vobject): Fixed memory leaks
- from the return values of versit's fakeCString.
-
-1998-04-14 Arturo Espinosa Aldama <arturo@nuclecu.unam.mx>
-
- * gncal-year-view.[hc]: New widget for the year view.
- * Makefile.am: added required compilation of the new files.
-
-1998-04-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * eventedit.c (event_editor_setup_time_frame): Fixed some table
- expansions to make the dialog look nicer when resized.
-
- * calobj.c (ignore_space): Fixed compiler warning about unused
- computed value.
- (ocurrencelist): Replace str by p confusion. Removed unused
- variables value and q.
- (daynumber): Fixed a couple of warnings about unused values.
- (load_recurrence): Removed unused variable c. Added a default
- clause to the switch(type).
-
- * eventedit.c (ee_rp_init_frequency): Removed unused variable content.
- Fixed a compiler warning by adding a missing cast.
-
- * calobj.c (ical_object_create_from_vobject): Make the
- load_recurrence() part work correctly. Eliminated use of
- syntax_error variable.
-
-1998-04-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-full-day.c (child_key_press): Unfocus the child and focus
- the parent fullday widget when the user presses Esc.
-
- * gncal-week-view.c (gncal_week_view_update): Now takes object and
- flags parameters.
- * gncal-day-view.c (gncal_day_view_update): Likewise.
- * gncal-full-day.c (gncal_full_day_update): Likewise.
- (child_focus_in): New function. In conjunction with
- child_focus_out(), these only display the handles in the child
- when it is focused. The result is that the user can see more of
- the child's text when nothing is focused, and we can also display
- fatter and nicer drag handles.
-
- * gnome-cal.c (gnome_calendar_object_changed): Now takes an
- additional flags parameter
- (gnome_calendar_update_all): Made function static. Now takes
- changed object and flags parameters as well.
- (gnome_calendar_object_changed): Now takes additional flags
- parameter to indicate what changed in the specified object.
-
- * calobj.h (CalObjectChange): New enum with flags to describe what
- has been changed in an object.
-
- * gncal-full-day.h:
- * gncal-full-day.c (gncal_full_day_focus_child): New function to
- let the outside world decide which child to focus.
- (gncal_full_day_focus_child): Bleah. We have to synthesize a
- click because GtkText will not set the cursor when you focus it.
-
- * gnome-cal.c (day_view_range_activated): Focus the new child in
- the full day widget.
-
- * eventedit.c (event_editor_setup_time_frame): Re-aligned some
- widgets to make it look prettier.
- (ee_alarm_widgets): Likewise.
- (ee_init_general_page): Likewise.
- (ee_classification_widgets): Likewise.
- (event_editor_init_widgets): Likewise.
-
- * gnome-cal.c (day_view_range_activated): Create new object and
- add it to the calendar. You can now select a range in the
- full-day view, hit Return, and a new event will be added at the
- selected range. I still have to figure out how to focus this new child.
-
- * gncal-full-day.c (paint_back): Rewrote function to avoid
- painting an area more than once -- eliminate flicker.
- (paint_back_rows): New function that calls paint_back() only for
- the area of the specified rows.
- (gncal_full_day_button_press):
- (gncal_full_day_button_release):
- (gncal_full_day_motion): Made these functions use
- paint_back_rows() instead of paint_back(), to eliminate flicker. Wheee!
-
-1998-04-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gnome-cal.c (setup_day_view): We now connect to the
- range_activated signal of the fullday widget instead of catching
- key presses ourselves.
- (day_view_range_activated): New function that creates a new
- iCalObject and inserts it into the calendar, not finished yet.
-
-1998-04-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-full-day.c (get_time_from_rows): New function, calculates
- a pair of time_t values from the specified start and number of rows.
-
- * gncal-full-day.h (GncalFullDayClass): New signal
- "range_activated". It is emitted when a range is selected and the
- user hits Return.
- (gncal_full_day_selection_range): New function, returns the
- selected range.
-
- * gncal-full-day.c (struct drag_info): Moved selection information
- to their own fields instead of sharing the child's drag fields.
- This allows us to keep the selection when a child is moved.
- (recompute_motion): Made the case when (row < di->sel_click_row)
- work correctly.
-
-1998-04-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gnome-cal.c (gnome_calendar_goto): Add support for navigating
- on the day view.
-
- * timeutil.c (time_start_of_day, time_end_of_day, time_day_hour):
- New time manipulation functions.
-
- * eventedit.c (ee_rp_init_frequency): Add the different frequency
- editors to a notebook. Make the notebook startup on the entry
- selected recurrence type;
-
-1998-04-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-full-day.c (recompute_motion): Now we support selecting a
- range in the main window (by clicking+dragging). It flickers
- horribly and is not perfect, but it is a start.
-
-1998-04-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-full-day.c: #include <string.h>
-
- * gncal-full-day.c (child_map): Show instead of just map the child
- widget (otherwise the text widget gets confused and will not focus).
-
- * calobj.c (ical_object_to_vobject): Quote chars as 'x', not "x".
-
- * calobj.h: Added prototype for ical_object_to_vobject().
-
- * gnome-cal.c (gnome_calendar_object_changed): New function. This
- should be called when a calendar object is changed.
-
- * gncal-full-day.c (update_from_drag_info): Call
- gnome_calendar_object_changed() instead of updating manually.
-
- * calendar.c (calendar_add_object):
- (calendar_remove_object): Set the modified flag to true.
-
- * gncal-full-day.c (gncal_full_day_draw): Finished implementing
- this function.
-
-1998-04-08 Raja R Harinath <harinath@cs.umn.edu>
-
- * gncal.c (update_calendar): Say `#if 0', not `#ifdef 0'.
-
-1998-04-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * eventedit.c: Removed unused global variable parent_class.
-
- * eventedit.h: Renamed gtk_window field to window.
- Made the parent_class field in the EventEditorClass structure be a
- GtkWindowClass, not a gnome property box class.
- Added prototype for event_editor_get_type().
-
-1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-week-view.c (gncal_week_view_new): Use the new
- gtk_table_set_homogeneous() instead of setting the variable directly.
-
-1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * eventedit.c (ee_create_ae): Make it return void.
- (ee_alarm_widgets): Remove some unused variables.
- (ee_store_alarm): Make it return void.
- #include <string.h>
-
- * eventedit.h: #include "gnome-cal.h"
-
- * calobj.c (list_free): Don't use g_free in the g_list_foreach.
-
- * calendar.h: Add prototype for calendar_load().
-
- * timeutil.h: Add prototypes for time_add_*().
-
- * calendar.c:
- * calobj.c:
- * eventedit.c:
- * gnome-cal.c: #include "timeutil.h"
-
- * gncal-day-view.c (gncal_day_view_size_request): Make the minimum
- width equal or larger to the title width.
-
- * main.c: #include "eventedit.h"
- (main): Add a return statement.
- (new_calendar): Show stuff *after* the calendar has been loaded.
-
- * gnome-cal.c (gnome_calendar_load): Update the day view.
- (setup_widgets): Hackish setup of a day view widget - will fix later.
- (gnome_calendar_init): Initialize all fields.
-
- * gnome-cal.h: Added day_view field. Maybe this should be changed
- when the a complete day view panel is complete.
-
- * gncal-day-view.c (gncal_day_view_update): Draw after update, not
- before.
-
-1998-04-06 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
-
- * versit/.cvsignore: New file.
-
-Fri Apr 3 22:31:54 1998 Tom Tromey <tromey@cygnus.com>
-
- * calendar.c: Include <config.h>.
-
-1998-04-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * timeutil.c (time_add_year, time_add_year, time_add_week):
- Routines for time manipulation.
-
- * calobj.c (ical_object_destroy): Full destruction of the object.
-
- * eventedit.c: Finished the main event editor form; It still
- lacks the details and the recurrence bits. It now adds events
- and cancels.
-
-1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * view-utils.c (view_utils_draw_events): The "better" format
- string for strftime() wasn't better, after all :-(
-
-1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-full-day.c: New full-day widget. It is still a work in
- progress. It will be similar to M$ Schedule's nifty full day view
- widget, but with Gtk's elegance :-)
-
- * Makefile.am (gnomecal_SOURCES): Added gncal-full-day.[ch] to the sources.
-
-1998-04-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * eventedit.c: Object editor widget. We dropped ObjEdit.
-
- * timeutil.c (time_from_isodate): Fix.
-
- * view-utils.c (view_utils_draw_events): Changed the display
- formats.
-
-1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * view-utils.c (view_utils_draw_events): Use better format
- specifier for strftime().
- (view_utils_draw_textured_frame): Ultra-nifty function to draw
- textured "metal" frames, like Netscape's handles.
-
-1998-04-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gncal-day-view.c (gncal_day_view_update): Day events are now
- cached inside the widget. They get initialized at this time.
-
- * view-utils.c (view_utils_draw_events): Use the list of events.
-
-1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-day-view.c (gncal_day_view_set_shadow): New customization
- function. We can't decide on a stupid border type :-)
- (gncal_day_view_init): Made GTK_SHADOW_ETCHED_IN be the default
- shadow type. Looks good.
-
-1998-04-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * main.c: New main program that uses our new datatypes and
- objects.
-
- * calendar.c (calendar_load_from_vobject, calendar_load):
- Implement loading of vCalendar objects and vCalendar files.
-
- * calobj.c (ical_object_create_from_vobject): Implement loading of
- vCalendar event and todo objects.
-
- * timeutil.c (isodate_from_time_t): New function.
-
- * gnome-cal.c, gnome-cal.h: Implement a toplevel widget, derived
- from GnomeApp. It holds all of the day views and arbitrates the
- display.
-
-1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-week-view.[ch]: New week view composite widget. This
- provides a full week view (7 day views plus busy time display --
- the latter is currently unimplemented).
-
-1998-04-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal-day-view.c: New day view widget. It is intended to be a
- child widget of the week view composite widget.
-
- * calendar.c (calendar_get_objects_in_range):
- (calendar_get_events_in_range):
- (calendar_get_journal_in_range):
- (calendar_get_journal_in_range): These functions now take a
- sort_func parameter, which is of type GCompareFunc. If the
- specified value is non-NULL, it will return a sorted list.
- Otherwise, it will return an unordered list.
- (calendar_compare_by_dtstart): Provide a generic sorting routine
- for calendar objects.
-
-1998-04-01 Miguel de Icaza <miguel@kernel.org>
-
- * Start from scratch
-
-Tue Mar 31 23:46:50 1998 Tom Tromey <tromey@cygnus.com>
-
- * timeutil.c (format_simple_hour): `buf' now static.
-
-1998-03-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal.c: Removed #include "gtkcalendar.h", because it now comes
- from libgnomeui.
-
- * Makefile.am (gncal_SOURCES): Added new source files to the rules.
-
- * timeutil.c (format_simple_hour): New function, formats an
- hour/am_pm pair into a string of the form "3am", "12pm", "05h",
- "19h", etc. It is used by the day view widget for its labels.
-
-1998-03-31 Craig Small <csmall@small.dropbear.id.au>
-
- * Now has (non working) session maangement
- * Uses a clist for the dailylist like gtt
-
-Sat Mar 21 15:43:20 1998 Tom Tromey <tromey@cygnus.com>
-
- * gncal.c: Use gnome_message_box_*, not gnome_messagebox_*.
-
-1998-03-12 Craig Small <csmall@small.dropbear.id.au>
-
- * Now linked (in some horrible way) to the gtkcalendar widget.
-
-Sun Mar 8 16:38:10 1998 Tom Tromey <tromey@cygnus.com>
-
- * Makefile.am (INCLUDES): Added GNOME_INCLUDEDIR.
- (gncal_LDADD): Don't include libsupport.a.
-
- * gncal.c (main): Use new gnome_init.
-
-1998-02-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gncal.c (main): Added app_id "gncal".
-
-1998-02-19 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
-
- * Makefile.am (gncal_LDADD): Added '$(INTLLIBS)'
-
-1998-02-18 Raja R Harinath <harinath@cs.umn.edu>
-
- * Makefile.am (gncal_LDADD): Include `libsupport.a'.
-
- * calcs.c (month_atoi): Replace buggy explicit loop string compare
- with strcasecmp.
- (day_atoi): Likewise.
-
-Sun Jan 25 23:38:30 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * menus.c: Replace "Quit" with "Exit".
diff --git a/calendar/Makefile.am b/calendar/Makefile.am
index ecdd2d2cc6..e8974cdeb5 100644
--- a/calendar/Makefile.am
+++ b/calendar/Makefile.am
@@ -12,7 +12,6 @@ errordir = $(privdatadir)/errors
EXTRA_DIST = \
calendar.error.xml \
- ChangeLog.pre-1-4 \
$(error_DATA) \
zones.h
diff --git a/calendar/calendar.error.xml b/calendar/calendar.error.xml
index b6afd2ea40..eaaaa35533 100644
--- a/calendar/calendar.error.xml
+++ b/calendar/calendar.error.xml
@@ -193,21 +193,9 @@
<_secondary>Your calendars will not be available until Evolution is restarted.</_secondary>
</error>
-<error id="unable-to-load-the-calendar" type="error" default="GTK_RESPONSE_YES">
- <_primary>Unable to load the calendar</_primary>
- <_secondary>Calendar repository is offline.</_secondary>
- <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
-</error>
-<error id="error-on-loading-the-calendar" type="error" default="GTK_RESPONSE_YES">
- <!-- For Translators: {0} is specify the backend server -->
- <_primary>Error on '{0}'</_primary>
- <_secondary>No response from the server.</_secondary>
- <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
-</error>
-
<error id="editor-error" type="error">
<_primary>Editor could not be loaded.</_primary>
- <_secondary>{0}.</_secondary>
+ <secondary>{0}.</secondary>
</error>
<error id="prompt-delete-calendar" type="question" modal="true" default="GTK_RESPONSE_CANCEL">
@@ -231,18 +219,18 @@
<button stock="gtk-delete" response="GTK_RESPONSE_YES"/>
</error>
- <error id="prompt-send-no-subject-calendar" type="question" default="GTK_RESPONSE_YES">
- <_primary>Are you sure you want to send the appointment without a summary?</_primary>
- <_secondary>Adding a meaningful summary to your appointment will give your recipients an idea of what your appointment is about.</_secondary>
+ <error id="prompt-save-no-subject-calendar" type="question" default="GTK_RESPONSE_YES">
+ <_primary>Are you sure you want to save the appointment without a summary?</_primary>
+ <_secondary>Adding a meaningful summary to your appointment will give you an idea of what your appointment is about.</_secondary>
<button stock="gtk-cancel" response="GTK_RESPONSE_CANCEL"/>
<button _label="_Save" response="GTK_RESPONSE_YES"/>
</error>
- <error id="prompt-send-no-subject-task" type="question" default="GTK_RESPONSE_YES">
- <_primary>Are you sure you want to send the task without a summary?</_primary>
- <_secondary>Adding a meaningful summary to your task will give your recipients an idea of what your task is about.</_secondary>
+ <error id="prompt-save-no-subject-task" type="question" default="GTK_RESPONSE_YES">
+ <_primary>Are you sure you want to save the task without a summary?</_primary>
+ <_secondary>Adding a meaningful summary to your task will give you an idea of what your task is about.</_secondary>
<button stock="gtk-cancel" response="GTK_RESPONSE_CANCEL"/>
- <button _label="_Send" response="GTK_RESPONSE_YES"/>
+ <button _label="_Save" response="GTK_RESPONSE_YES"/>
</error>
<error id="prompt-send-no-subject-memo" type="question" default="GTK_RESPONSE_CANCEL">
diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am
index 4c4137651b..a168582db0 100644
--- a/calendar/gui/Makefile.am
+++ b/calendar/gui/Makefile.am
@@ -71,7 +71,8 @@ libevolution_calendar_la_CPPFLAGS = \
-DPREFIX=\""$(prefix)"\" \
$(GNOME_PLATFORM_CFLAGS) \
$(LIBSOUP_CFLAGS) \
- $(EVOLUTION_CALENDAR_CFLAGS)
+ $(EVOLUTION_CALENDAR_CFLAGS) \
+ $(CAMEL_CFLAGS)
ui_DATA = \
e-itip-control.ui \
diff --git a/calendar/gui/alarm-notify/alarm-notify-dialog.c b/calendar/gui/alarm-notify/alarm-notify-dialog.c
index a6259d69ab..aa42987caa 100644
--- a/calendar/gui/alarm-notify/alarm-notify-dialog.c
+++ b/calendar/gui/alarm-notify/alarm-notify-dialog.c
@@ -232,6 +232,7 @@ dialog_destroyed_cb (GtkWidget *dialog, gpointer user_data)
AlarmNotificationsDialog *
notified_alarms_dialog_new (void)
{
+ GtkWidget *container;
GtkWidget *edit_btn;
GtkWidget *snooze_btn;
GtkWidget *image;
@@ -298,8 +299,13 @@ notified_alarms_dialog_new (void)
G_CALLBACK (tree_selection_changed_cb), an);
gtk_widget_realize (an->dialog);
- gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (an->dialog)->vbox), 0);
- gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (an->dialog)->action_area), 12);
+
+ container = gtk_dialog_get_action_area (GTK_DIALOG (an->dialog));
+ gtk_container_set_border_width (GTK_CONTAINER (container), 12);
+
+ container = gtk_dialog_get_content_area (GTK_DIALOG (an->dialog));
+ gtk_container_set_border_width (GTK_CONTAINER (container), 0);
+
image = e_builder_get_widget (an->builder, "alarm-image");
gtk_image_set_from_icon_name (
GTK_IMAGE (image), "stock_alarm", GTK_ICON_SIZE_DIALOG);
@@ -310,11 +316,7 @@ notified_alarms_dialog_new (void)
g_signal_connect (G_OBJECT (an->dialog), "response", G_CALLBACK (dialog_response_cb), an);
g_signal_connect (G_OBJECT (an->dialog), "destroy", G_CALLBACK (dialog_destroyed_cb), an);
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_get_realized (an->dialog))
-#else
- if (!GTK_WIDGET_REALIZED (an->dialog))
-#endif
gtk_widget_realize (an->dialog);
gtk_window_set_icon_name (GTK_WINDOW (an->dialog), "stock_alarm");
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c
index ffa3d4b1f2..f7ef6fdcf4 100644
--- a/calendar/gui/alarm-notify/alarm-queue.c
+++ b/calendar/gui/alarm-notify/alarm-queue.c
@@ -1674,6 +1674,7 @@ audio_notification (time_t trigger, CompQueuedAlarms *cqa,
static void
mail_notification (time_t trigger, CompQueuedAlarms *cqa, gpointer alarm_id)
{
+ GtkWidget *container;
GtkWidget *dialog;
GtkWidget *label;
@@ -1694,7 +1695,9 @@ mail_notification (time_t trigger, CompQueuedAlarms *cqa, gpointer alarm_id)
"configured to send an email. Evolution will display\n"
"a normal reminder dialog box instead."));
gtk_widget_show (label);
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), label, TRUE, TRUE, 4);
+
+ container = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
+ gtk_box_pack_start (GTK_BOX (container), label, TRUE, TRUE, 4);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -1704,7 +1707,10 @@ mail_notification (time_t trigger, CompQueuedAlarms *cqa, gpointer alarm_id)
static gboolean
procedure_notification_dialog (const gchar *cmd, const gchar *url)
{
- GtkWidget *dialog, *label, *checkbox;
+ GtkWidget *container;
+ GtkWidget *dialog;
+ GtkWidget *label;
+ GtkWidget *checkbox;
gchar *str;
gint btn;
@@ -1728,15 +1734,15 @@ procedure_notification_dialog (const gchar *cmd, const gchar *url)
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT);
gtk_widget_show (label);
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
- label, TRUE, TRUE, 4);
+
+ container = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
+ gtk_box_pack_start (GTK_BOX (container), label, TRUE, TRUE, 4);
g_free (str);
checkbox = gtk_check_button_new_with_label
(_("Do not ask me about this program again."));
gtk_widget_show (checkbox);
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
- checkbox, TRUE, TRUE, 4);
+ gtk_box_pack_start (GTK_BOX (container), checkbox, TRUE, TRUE, 4);
/* Run the dialog */
btn = gtk_dialog_run (GTK_DIALOG (dialog));
diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c
index 483704f1e4..b20e7c5e16 100644
--- a/calendar/gui/alarm-notify/notify-main.c
+++ b/calendar/gui/alarm-notify/notify-main.c
@@ -30,9 +30,9 @@
#include <string.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
+#include <camel/camel.h>
#include <unique/unique.h>
#include <dbus/dbus-glib.h>
-#include <camel/camel-object.h>
#include <libedataserver/e-source.h>
#include <libedataserverui/e-passwords.h>
diff --git a/calendar/gui/calendar-commands.c.dead b/calendar/gui/calendar-commands.c.dead
deleted file mode 100644
index 6368857ead..0000000000
--- a/calendar/gui/calendar-commands.c.dead
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * Evolution calendar - Commands for the calendar GUI control
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) version 3.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
- *
- *
- * Authors:
- * Miguel de Icaza <miguel@ximian.com>
- * Federico Mena-Quintero <federico@ximian.com>
- * Seth Alves <alves@hungry.com>
- * Rodrigo Moya <rodrigo@ximian.com>
- *
- * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
- *
- */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <unistd.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <string.h>
-#include <ctype.h>
-#include <errno.h>
-
-#include <gtk/gtk.h>
-#include <glib/gi18n.h>
-#include <bonobo/bonobo-ui-util.h>
-#include <bonobo/bonobo-exception.h>
-#include <libecal/e-cal-time-util.h>
-#include "shell/Evolution.h"
-#include "calendar-commands.h"
-#include "calendar-component.h"
-#include "calendar-config.h"
-#include "e-day-view.h"
-#include "e-week-view.h"
-#include "gnome-cal.h"
-#include "goto.h"
-#include "print.h"
-#include "dialogs/cal-prefs-dialog.h"
-#include "itip-utils.h"
-#include "e-cal-list-view.h"
-#include "evolution-shell-component-utils.h"
-#include "e-util/e-icon-factory.h"
-#include "e-util/e-util-private.h"
-#include "e-cal-menu.h"
-
-/* Focusing information for the calendar view. We have to keep track of this
- * ourselves because with Bonobo controls, we may get unpaired focus_out events.
- */
-typedef struct {
- guint calendar_focused : 1;
- guint taskpad_focused : 1;
-} FocusData;
-
-/* Sets a clock cursor for the specified calendar window */
-static void
-set_clock_cursor (GnomeCalendar *gcal)
-{
- GdkCursor *cursor;
-
- cursor = gdk_cursor_new (GDK_WATCH);
- gdk_window_set_cursor (GTK_WIDGET (gcal)->window, cursor);
- gdk_cursor_unref (cursor);
- gdk_flush ();
-}
-
-/* Resets the normal cursor for the specified calendar window */
-static void
-set_normal_cursor (GnomeCalendar *gcal)
-{
- gdk_window_set_cursor (GTK_WIDGET (gcal)->window, NULL);
- gdk_flush ();
-}
-
-static void
-show_day_view_clicked (BonoboUIComponent *uic, gpointer data, const gchar *path)
-{
- GnomeCalendar *gcal;
-
- gcal = GNOME_CALENDAR (data);
-
- gnome_calendar_set_view (gcal, GNOME_CAL_DAY_VIEW);
-}
-
-static void
-show_work_week_view_clicked (BonoboUIComponent *uic, gpointer data, const gchar *path)
-{
- GnomeCalendar *gcal;
-
- gcal = GNOME_CALENDAR (data);
-
- gnome_calendar_set_view (gcal, GNOME_CAL_WORK_WEEK_VIEW);
-}
-
-static void
-show_week_view_clicked (BonoboUIComponent *uic, gpointer data, const gchar *path)
-{
- GnomeCalendar *gcal;
-
- gcal = GNOME_CALENDAR (data);
-
- gnome_calendar_set_view (gcal, GNOME_CAL_WEEK_VIEW);
-}
-
-static void
-show_month_view_clicked (BonoboUIComponent *uic, gpointer data, const gchar *path)
-{
- GnomeCalendar *gcal;
-
- gcal = GNOME_CALENDAR (data);
-
- gnome_calendar_set_view (gcal, GNOME_CAL_MONTH_VIEW);
-}
-
-static void
-show_list_view_clicked (BonoboUIComponent *uic, gpointer data, const gchar *path)
-{
- GnomeCalendar *gcal;
-
- gcal = GNOME_CALENDAR (data);
-
- gnome_calendar_set_view (gcal, GNOME_CAL_LIST_VIEW);
-}
-
-struct _sensitize_item {
- const gchar *command;
- guint32 enable;
-};
-
-static void
-sensitize_items(BonoboUIComponent *uic, struct _sensitize_item *items, guint32 mask)
-{
- while (items->command) {
- gchar command[32];
-
- if (strlen(items->command)>=21) {
- g_warning ("items->command >= 21: %s\n", items->command);
- continue;
- }
- sprintf(command, "/commands/%s", items->command);
-
- bonobo_ui_component_set_prop (uic, command, "sensitive",
- (items->enable & mask) == 0 ? "1" : "0",
- NULL);
- items++;
- }
-}
-
-static struct _sensitize_item taskpad_sensitize_table[] = {
- { "Cut", E_CAL_MENU_SELECT_EDITABLE | E_CAL_MENU_SELECT_ANY },
- { "Copy", E_CAL_MENU_SELECT_ANY },
- { "Paste", E_CAL_MENU_SELECT_EDITABLE },
- { "Delete", E_CAL_MENU_SELECT_EDITABLE },
- { NULL }
-};
-
-/* Sensitizes the UI Component menu/toolbar tasks commands based on the number
- * of selected tasks. If enable is FALSE, all will be disabled. Otherwise, the
- * currently-selected number of tasks will be used.
- */
-static void
-sensitize_taskpad_commands (GnomeCalendar *gcal, BonoboControl *control, gboolean enable)
-{
- BonoboUIComponent *uic;
- ECalendarTable *task_pad;
- ECalModel *model;
- GSList *selected, *l;
- ECalMenu *menu;
- GPtrArray *events;
- ECalMenuTargetSelect *t;
-
- uic = bonobo_control_get_ui_component (control);
- g_return_if_fail (uic != NULL);
-
- menu = gnome_calendar_get_calendar_menu (gcal);
- task_pad = gnome_calendar_get_task_pad(gcal);
- model = e_calendar_table_get_model (task_pad);
- selected = e_calendar_table_get_selected(task_pad);
- events = g_ptr_array_new();
- for (l=selected;l;l=g_slist_next(l))
- g_ptr_array_add(events, e_cal_model_copy_component_data((ECalModelComponent *)l->data));
- g_slist_free(selected);
-
- t = e_cal_menu_target_new_select(menu, model, events);
- if (!enable)
- t->target.mask = ~((~t->target.mask) & E_CAL_MENU_SELECT_EDITABLE);
-
- sensitize_items(uic, taskpad_sensitize_table, t->target.mask);
-}
-
-/* Callback used when the selection in the calendar views changes */
-static void
-gcal_calendar_selection_changed_cb (GnomeCalendar *gcal, gpointer data)
-{
- BonoboControl *control;
-
- control = BONOBO_CONTROL (data);
-
- calendar_control_sensitize_calendar_commands (control, gcal, TRUE);
-}
-
-/* Callback used when the selection in the taskpad changes */
-static void
-gcal_taskpad_selection_changed_cb (GnomeCalendar *gcal, gpointer data)
-{
- BonoboControl *control;
-
- control = BONOBO_CONTROL (data);
-
- sensitize_taskpad_commands (gcal, control, TRUE);
-}
-
-/* Callback used when the focus changes for a calendar view */
-static void
-gcal_calendar_focus_change_cb (GnomeCalendar *gcal, gboolean in, gpointer data)
-{
- BonoboControl *control;
- FocusData *focus;
-
- control = BONOBO_CONTROL (data);
-
- focus = g_object_get_data (G_OBJECT (control), "focus_data");
- g_return_if_fail (focus != NULL);
-
- if (in) {
- g_signal_connect (gcal, "calendar_selection_changed",
- G_CALLBACK (gcal_calendar_selection_changed_cb), control);
- calendar_control_sensitize_calendar_commands (control, gcal, TRUE);
- focus->calendar_focused = TRUE;
- } else if (focus->calendar_focused) {
- g_signal_handlers_disconnect_by_func (
- gcal, G_CALLBACK (gcal_calendar_selection_changed_cb), control);
- calendar_control_sensitize_calendar_commands (control, gcal, FALSE);
- focus->calendar_focused = FALSE;
- }
-}
-
-/* Callback used when the taskpad focus changes */
-static void
-gcal_taskpad_focus_change_cb (GnomeCalendar *gcal, gboolean in, gpointer data)
-{
- BonoboControl *control;
- FocusData *focus;
-
- control = BONOBO_CONTROL (data);
-
- focus = g_object_get_data (G_OBJECT (control), "focus_data");
- g_return_if_fail (focus != NULL);
-
- if (in) {
- g_signal_connect (gcal, "taskpad_selection_changed",
- G_CALLBACK (gcal_taskpad_selection_changed_cb), control);
- sensitize_taskpad_commands (gcal, control, TRUE);
- focus->taskpad_focused = TRUE;
- } else if (focus->taskpad_focused) {
- /* With Bonobo controls, we may get unpaired focus_out events.
- * That is why we have to keep track of this ourselves instead
- * of blindly assumming that we are getting this event because
- * the taskpad was in fact focused.
- */
- g_signal_handlers_disconnect_by_func (
- gcal, G_CALLBACK (gcal_taskpad_selection_changed_cb), control);
- sensitize_taskpad_commands (gcal, control, FALSE);
- focus->taskpad_focused = FALSE;
- }
-
-}
-
-static void
-help_debug (BonoboUIComponent *uid, gpointer data, const gchar *path)
-{
- calendar_component_show_logger ((GtkWidget *) data);
-}
-
-static BonoboUIVerb verbs [] = {
-
- BONOBO_UI_VERB ("ShowDayView", show_day_view_clicked),
- BONOBO_UI_VERB ("ShowWorkWeekView", show_work_week_view_clicked),
- BONOBO_UI_VERB ("ShowWeekView", show_week_view_clicked),
- BONOBO_UI_VERB ("ShowMonthView", show_month_view_clicked),
- BONOBO_UI_VERB ("ShowListView", show_list_view_clicked),
-
- BONOBO_UI_VERB ("HelpDebug", help_debug),
- BONOBO_UI_VERB_END
-};
-
-void
-calendar_control_activate (BonoboControl *control,
- GnomeCalendar *gcal)
-{
- Bonobo_UIContainer remote_uih;
- BonoboUIComponent *uic;
- FocusData *focus;
- gchar *xmlfile;
-
- uic = bonobo_control_get_ui_component (control);
- g_return_if_fail (uic != NULL);
-
- remote_uih = bonobo_control_get_remote_ui_container (control, NULL);
- bonobo_ui_component_set_container (uic, remote_uih, NULL);
- bonobo_object_release_unref (remote_uih, NULL);
-
- gnome_calendar_set_ui_component (gcal, uic);
-
- bonobo_ui_component_add_verb_list_with_data (uic, verbs, gcal);
-
- bonobo_ui_component_freeze (uic, NULL);
-
- xmlfile = g_build_filename (EVOLUTION_UIDIR,
- "evolution-calendar.xml",
- NULL);
- bonobo_ui_util_set_ui (uic, PREFIX,
- xmlfile,
- "evolution-calendar",
- NULL);
- g_free (xmlfile);
-
- gnome_calendar_setup_view_menus (gcal, uic);
-
- g_signal_connect (gcal, "calendar_focus_change",
- G_CALLBACK (gcal_calendar_focus_change_cb), control);
- g_signal_connect (gcal, "taskpad_focus_change",
- G_CALLBACK (gcal_taskpad_focus_change_cb), control);
-
- e_menu_activate((EMenu *)gnome_calendar_get_calendar_menu (gcal), uic, 1);
- e_menu_activate((EMenu *)gnome_calendar_get_taskpad_menu (gcal), uic, 1);
-
- calendar_control_sensitize_calendar_commands (control, gcal, TRUE);
- sensitize_taskpad_commands (gcal, control, TRUE);
-
- bonobo_ui_component_thaw (uic, NULL);
-
- focus = g_new (FocusData, 1);
- focus->calendar_focused = FALSE;
- focus->taskpad_focused = FALSE;
-
- g_object_set_data (G_OBJECT (control), "focus_data", focus);
-}
-
-void
-calendar_control_deactivate (BonoboControl *control, GnomeCalendar *gcal)
-{
- FocusData *focus;
- BonoboUIComponent *uic;
-
- uic = bonobo_control_get_ui_component (control);
- g_return_if_fail (uic != NULL);
-
- e_menu_activate((EMenu *)gnome_calendar_get_calendar_menu (gcal), uic, 0);
- e_menu_activate((EMenu *)gnome_calendar_get_taskpad_menu (gcal), uic, 0);
-
- gnome_calendar_set_ui_component (gcal, NULL);
-
- focus = g_object_get_data (G_OBJECT (control), "focus_data");
- g_return_if_fail (focus != NULL);
-
- g_object_set_data (G_OBJECT (control), "focus_data", NULL);
- g_free (focus);
-
- gnome_calendar_discard_view_menus (gcal);
-
- g_signal_handlers_disconnect_matched (gcal, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, control);
-
- bonobo_ui_component_rm (uic, "/", NULL);
- bonobo_ui_component_unset_container (uic, NULL);
-}
diff --git a/calendar/gui/calendar-commands.h.dead b/calendar/gui/calendar-commands.h.dead
deleted file mode 100644
index 605230302e..0000000000
--- a/calendar/gui/calendar-commands.h.dead
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Evolution calendar - Commands for the calendar GUI control
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) version 3.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
- *
- *
- * Authors:
- * Miguel de Icaza <miguel@ximian.com>
- * Federico Mena-Quintero <federico@ximian.com>
- * Seth Alves <alves@hungry.com>
- *
- * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
- *
- */
-
-#ifndef CALENDAR_COMMANDS_H
-#define CALENDAR_COMMANDS_H
-
-#include "gnome-cal.h"
-
-#include <bonobo/bonobo-control.h>
-#include <bonobo/bonobo-ui-component.h>
-
-void calendar_control_activate (BonoboControl *control, GnomeCalendar *gcal);
-void calendar_control_deactivate (BonoboControl *control, GnomeCalendar *gcal);
-
-void calendar_control_sensitize_calendar_commands (BonoboControl *control, GnomeCalendar *gcal, gboolean enable);
-
-void calendar_goto_today (GnomeCalendar *gcal);
-
-void calendar_command_print (GnomeCalendar *gcal, GtkPrintOperationAction action);
-
-#endif /* CALENDAR_COMMANDS_H */
diff --git a/calendar/gui/calendar-component.c.dead b/calendar/gui/calendar-component.c.dead
deleted file mode 100644
index 9cd0e8eb21..0000000000
--- a/calendar/gui/calendar-component.c.dead
+++ /dev/null
@@ -1,710 +0,0 @@
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) version 3.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
- *
- *
- * Authors:
- * Ettore Perazzoli <ettore@ximian.com>
- * Rodrigo Moya <rodrigo@ximian.com>
- *
- * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
- *
- */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <string.h>
-#include <errno.h>
-#include <glib/gi18n-lib.h>
-#include <bonobo/bonobo-control.h>
-#include <bonobo/bonobo-exception.h>
-#include <libical/icalvcal.h>
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-url.h>
-#include <libecal/e-cal-time-util.h>
-#include <libedataserverui/e-source-selector.h>
-#include <shell/e-user-creatable-items-handler.h>
-#include <shell/e-component-view.h>
-#include "e-calendar-view.h"
-#include "calendar-config-keys.h"
-#include "calendar-config.h"
-#include "calendar-component.h"
-#include "calendar-commands.h"
-#include "control-factory.h"
-#include "gnome-cal.h"
-#include "migration.h"
-#include "comp-util.h"
-#include "common/authentication.h"
-#include "dialogs/calendar-setup.h"
-#include "dialogs/comp-editor.h"
-#include "dialogs/copy-source-dialog.h"
-#include "dialogs/event-editor.h"
-#include "misc/e-info-label.h"
-#include "e-util/e-non-intrusive-error-dialog.h"
-#include "e-util/gconf-bridge.h"
-#include "e-util/e-error.h"
-#include "e-cal-menu.h"
-#include "e-cal-popup.h"
-#include "e-attachment-handler-calendar.h"
-
-/* IDs for user creatable items */
-#define CREATE_EVENT_ID "event"
-#define CREATE_MEETING_ID "meeting"
-#define CREATE_ALLDAY_EVENT_ID "allday-event"
-#define CREATE_CALENDAR_ID "calendar"
-#define CALENDAR_ERROR_LEVEL_KEY "/apps/evolution/calendar/display/error_level"
-#define CALENDAR_ERROR_TIME_OUT_KEY "/apps/evolution/calendar/display/error_timeout"
-
-static BonoboObjectClass *parent_class = NULL;
-
-typedef struct
-{
- ESourceList *source_list;
- ESourceList *task_source_list;
- ESourceList *memo_source_list;
-
- GSList *source_selection;
- GSList *task_source_selection;
- GSList *memo_source_selection;
-
- GnomeCalendar *calendar;
-
- GtkWidget *source_selector;
-
- BonoboControl *view_control;
-
- GList *notifications;
-
- gfloat vpane_pos;
-} CalendarComponentView;
-
-struct _CalendarComponentPrivate {
-
- gint gconf_notify_id;
-
- ESourceList *source_list;
- ESourceList *task_source_list;
- ESourceList *memo_source_list;
-
- EActivityHandler *activity_handler;
- ELogger *logger;
-
- GList *views;
-
- ECal *create_ecal;
-
- GList *notifications;
-};
-
-static void
-calcomp_vpane_realized (GtkWidget *vpane, CalendarComponentView *view)
-{
- gtk_paned_set_position (GTK_PANED (vpane), (gint)(view->vpane_pos*vpane->allocation.height));
-
-}
-
-static gboolean
-calcomp_vpane_resized (GtkWidget *vpane, GdkEventButton *e, CalendarComponentView *view)
-{
-
- view->vpane_pos = gtk_paned_get_position (GTK_PANED (vpane));
- calendar_config_set_tag_vpane_pos (view->vpane_pos/(gfloat)vpane->allocation.height);
-
- return FALSE;
-}
-
-/* Utility functions. */
-
-static gboolean
-is_in_selection (GSList *selection, ESource *source)
-{
- GSList *l;
-
- for (l = selection; l; l = l->next) {
- ESource *selected_source = l->data;
-
- if (!strcmp (e_source_peek_uid (selected_source), e_source_peek_uid (source)))
- return TRUE;
- }
-
- return FALSE;
-}
-
-static gboolean
-is_in_uids (GSList *uids, ESource *source)
-{
- GSList *l;
-
- for (l = uids; l; l = l->next) {
- const gchar *uid = l->data;
-
- if (!strcmp (uid, e_source_peek_uid (source)))
- return TRUE;
- }
-
- return FALSE;
-}
-
-static void
-update_task_memo_selection (CalendarComponentView *component_view, ECalSourceType type)
-{
- GSList *uids_selected, *l, *source_selection;
- ESourceList *source_list = NULL;
-
- if (type == E_CAL_SOURCE_TYPE_TODO) {
- /* Get the selection in gconf */
- uids_selected = calendar_config_get_tasks_selected ();
- source_list = component_view->task_source_list;
- source_selection = component_view->task_source_selection;
- } else {
- uids_selected = calendar_config_get_memos_selected ();
- source_list = component_view->memo_source_list;
- source_selection = component_view->memo_source_selection;
- }
-
- /* Remove any that aren't there any more */
- for (l = source_selection; l; l = l->next) {
- gchar *uid = l->data;
- ESource *source;
-
- source = e_source_list_peek_source_by_uid (component_view->source_list, uid);
- if (!source)
- gnome_calendar_remove_source_by_uid (component_view->calendar, type, uid);
- else if (!is_in_uids (uids_selected, source))
- gnome_calendar_remove_source (component_view->calendar, type, source);
-
- g_free (uid);
- }
- g_slist_free (source_selection);
-
- /* Make sure the whole selection is there */
- for (l = uids_selected; l; l = l->next) {
- gchar *uid = l->data;
- ESource *source;
-
- source = e_source_list_peek_source_by_uid (source_list, uid);
- if (source && !gnome_calendar_add_source (component_view->calendar, type, source)) {
- /* FIXME do something */;
- }
- }
-
- if (type == E_CAL_SOURCE_TYPE_TODO)
- component_view->task_source_selection = uids_selected;
- else
- component_view->memo_source_selection = uids_selected;
-}
-
-static void
-update_primary_task_memo_selection (CalendarComponentView *component_view, ECalSourceType type)
-{
- ESource *source = NULL;
- gchar *uid;
- ESourceList *source_list = NULL;
-
- if (type == E_CAL_SOURCE_TYPE_TODO) {
- uid = calendar_config_get_primary_tasks ();
- source_list = component_view->task_source_list;
- } else {
- uid = calendar_config_get_primary_memos ();
- source_list = component_view->memo_source_list;
- }
-
- if (uid) {
- source = e_source_list_peek_source_by_uid (source_list, uid);
-
- g_free (uid);
- }
-
- if (source)
- gnome_calendar_set_default_source (component_view->calendar, type, source);
-}
-
-static void
-config_primary_selection_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointer data)
-{
- CalendarComponent *calendar_component = data;
- CalendarComponentPrivate *priv = calendar_component->priv;
-
- if (priv->create_ecal) {
- g_object_unref (priv->create_ecal);
- priv->create_ecal = NULL;
- }
-}
-
-static void
-config_tasks_selection_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointer data)
-{
- update_task_memo_selection (data, E_CAL_SOURCE_TYPE_TODO);
-}
-
-static void
-config_primary_tasks_selection_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointer data)
-{
- update_primary_task_memo_selection (data, E_CAL_SOURCE_TYPE_TODO);
-}
-
-static void
-config_memos_selection_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointer data)
-{
- update_task_memo_selection (data, E_CAL_SOURCE_TYPE_JOURNAL);
-}
-
-static void
-config_primary_memos_selection_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointer data)
-{
- update_primary_task_memo_selection (data, E_CAL_SOURCE_TYPE_JOURNAL);
-}
-
-/* Evolution::Component CORBA methods. */
-static void
-impl_handleURI (PortableServer_Servant servant, const gchar *uri, CORBA_Environment *ev)
-{
- CalendarComponent *calendar_component = CALENDAR_COMPONENT (bonobo_object_from_servant (servant));
- CalendarComponentPrivate *priv;
- GList *l;
- CalendarComponentView *view = NULL;
- gchar *src_uid = NULL;
- gchar *uid = NULL;
- gchar *rid = NULL;
-
- priv = calendar_component->priv;
-
- l = g_list_last (priv->views);
- if (!l)
- return;
-
- view = l->data;
-
- if (!strncmp (uri, "calendar:", 9)) {
- EUri *euri = e_uri_new (uri);
- const gchar *p;
- gchar *header, *content;
- gsize len, clen;
- time_t start = -1, end = -1;
-
- p = euri->query;
- if (p) {
- while (*p) {
- len = strcspn (p, "=&");
-
- /* If it's malformed, give up. */
- if (p[len] != '=')
- break;
-
- header = (gchar *) p;
- header[len] = '\0';
- p += len + 1;
-
- clen = strcspn (p, "&");
-
- content = g_strndup (p, clen);
-
- if (!g_ascii_strcasecmp (header, "startdate")) {
- start = time_from_isodate (content);
- } else if (!g_ascii_strcasecmp (header, "enddate")) {
- end = time_from_isodate (content);
- } else if (!g_ascii_strcasecmp (header, "source-uid")) {
- src_uid = g_strdup (content);
- } else if (!g_ascii_strcasecmp (header, "comp-uid")) {
- uid = g_strdup (content);
- } else if (!g_ascii_strcasecmp (header, "comp-rid")) {
- rid = g_strdup (content);
- }
-
- g_free (content);
-
- p += clen;
- if (*p == '&') {
- p++;
- if (!strcmp (p, "amp;"))
- p += 4;
- }
- }
-
- if (start != -1) {
-
- if (end == -1)
- gnome_calendar_set_selected_time_range (view->calendar, start);
- }
- if (src_uid && uid)
- gnome_calendar_edit_appointment (view->calendar, src_uid, uid, rid);
-
- g_free (src_uid);
- g_free (uid);
- g_free (rid);
- }
- e_uri_free (euri);
- }
-}
-
-static void
-config_create_ecal_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointer data)
-{
- CalendarComponent *calendar_component = data;
- CalendarComponentPrivate *priv;
-
- priv = calendar_component->priv;
-
- g_object_unref (priv->create_ecal);
- priv->create_ecal = NULL;
-
- priv->notifications = g_list_remove (priv->notifications, GUINT_TO_POINTER (id));
-}
-
-static ECal *
-setup_create_ecal (CalendarComponent *calendar_component, CalendarComponentView *component_view)
-{
- CalendarComponentPrivate *priv;
- ESource *source = NULL;
- gchar *uid;
- guint not;
-
- priv = calendar_component->priv;
-
- /* Try to use the client from the calendar first to avoid re-opening things */
- if (component_view) {
- ECal *default_ecal;
-
- default_ecal = gnome_calendar_get_default_client (component_view->calendar);
- if (default_ecal)
- return default_ecal;
- }
-
- /* If there is an existing fall back, use that */
- if (priv->create_ecal)
- return priv->create_ecal;
-
- /* Get the current primary calendar, or try to set one if it doesn't already exist */
- uid = calendar_config_get_primary_calendar ();
- if (uid) {
- source = e_source_list_peek_source_by_uid (priv->source_list, uid);
- g_free (uid);
-
- priv->create_ecal = auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_EVENT);
- }
-
- if (!priv->create_ecal) {
- /* Try to create a default if there isn't one */
- source = e_source_list_peek_source_any (priv->source_list);
- if (source)
- priv->create_ecal = auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_EVENT);
- }
-
- if (priv->create_ecal) {
- icaltimezone *zone;
-
- zone = calendar_config_get_icaltimezone ();
- e_cal_set_default_timezone (priv->create_ecal, zone, NULL);
-
- if (!e_cal_open (priv->create_ecal, FALSE, NULL)) {
- GtkWidget *dialog;
-
- dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
- GTK_MESSAGE_WARNING, GTK_BUTTONS_OK,
- _("Unable to open the calendar '%s' for creating events and meetings"),
- e_source_peek_name (source));
-
- gtk_dialog_run (GTK_DIALOG (dialog));
- gtk_widget_destroy (dialog);
- g_object_unref (priv->create_ecal);
- priv->create_ecal = NULL;
-
- return NULL;
- }
-
- } else {
- GtkWidget *dialog;
-
- dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
- GTK_MESSAGE_WARNING, GTK_BUTTONS_OK,
- _("There is no calendar available for creating events and meetings"));
- gtk_dialog_run (GTK_DIALOG (dialog));
- gtk_widget_destroy (dialog);
-
- return NULL;
- }
-
- /* Handle the fact it may change on us */
- not = calendar_config_add_notification_primary_calendar (config_create_ecal_changed_cb,
- calendar_component);
- priv->notifications = g_list_prepend (priv->notifications, GUINT_TO_POINTER (not));
-
- /* Save the primary source for use elsewhere */
- calendar_config_set_primary_calendar (e_source_peek_uid (source));
-
- return priv->create_ecal;
-}
-
-static CalendarComponentView *
-create_component_view (CalendarComponent *calendar_component)
-{
- CalendarComponentPrivate *priv;
- CalendarComponentView *component_view;
- GtkWidget **vpane;
- guint not;
-
- priv = calendar_component->priv;
-
- /* Create the calendar component view */
- component_view = g_new0 (CalendarComponentView, 1);
-
- vpane = gtk_vpaned_new ();
- g_signal_connect_after (vpane, "realize",
- G_CALLBACK(calcomp_vpane_realized), component_view);
- g_signal_connect (vpane, "button_release_event",
- G_CALLBACK (calcomp_vpane_resized), component_view);
- gtk_widget_show (vpane);
- /* Add the source lists */
- component_view->source_list = g_object_ref (priv->source_list);
- component_view->task_source_list = g_object_ref (priv->task_source_list);
- component_view->memo_source_list = g_object_ref (priv->memo_source_list);
- /* Create sidebar selector */
- component_view->source_selector = e_source_selector_new (calendar_component->priv->source_list);
- g_signal_connect (
- component_view->source_selector, "data-dropped",
- G_CALLBACK (selector_tree_data_dropped), calendar_component);
-
- gtk_drag_dest_set(component_view->source_selector, GTK_DEST_DEFAULT_ALL, drag_types,
- num_drag_types, GDK_ACTION_COPY | GDK_ACTION_MOVE);
-
- gtk_widget_show (component_view->source_selector);
-
- selector_scrolled_window = gtk_scrolled_window_new (NULL, NULL);
- gtk_container_add (GTK_CONTAINER (selector_scrolled_window), component_view->source_selector);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (selector_scrolled_window),
- GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (selector_scrolled_window),
- GTK_SHADOW_IN);
- gtk_widget_show (selector_scrolled_window);
-
- component_view->info_label = (EInfoLabel *)e_info_label_new("x-office-calendar");
- e_info_label_set_info (component_view->info_label, _("Calendars"), "");
- gtk_widget_show (GTK_WIDGET (component_view->info_label));
-
- vbox = gtk_vbox_new(FALSE, 0);
- gtk_box_pack_start(GTK_BOX (vbox), GTK_WIDGET (component_view->info_label), FALSE, TRUE, 0);
- gtk_box_pack_start(GTK_BOX (vbox), selector_scrolled_window, TRUE, TRUE, 0);
- gtk_widget_show (vbox);
-
- gtk_paned_pack1 (GTK_PANED (vpane), vbox, FALSE, FALSE);
-
- component_view->sidebar_control = bonobo_control_new (vpane);
-
- /* Create main view */
- component_view->view_control = control_factory_new_control ();
- if (!component_view->view_control) {
- /* FIXME free memory */
-
- return NULL;
- }
-
- component_view->calendar = (GnomeCalendar *) bonobo_control_get_widget (component_view->view_control);
-
- gtk_paned_pack2 (GTK_PANED (vpane), gnome_calendar_get_tag (component_view->calendar), FALSE, FALSE);
-
- /* This signal is thrown if backends die - we update the selector */
- g_signal_connect (component_view->calendar, "source_added",
- G_CALLBACK (source_added_cb), component_view);
- g_signal_connect (component_view->calendar, "source_removed",
- G_CALLBACK (source_removed_cb), component_view);
-
- /* Create status bar */
- statusbar_widget = e_task_bar_new ();
- component_view->activity_handler = e_activity_handler_new ();
- e_activity_handler_attach_task_bar (component_view->activity_handler, E_TASK_BAR (statusbar_widget));
- e_activity_handler_attach_task_bar (priv->activity_handler, E_TASK_BAR (statusbar_widget));
-
- gtk_widget_show (statusbar_widget);
-
- component_view->statusbar_control = bonobo_control_new (statusbar_widget);
-
- gnome_calendar_set_activity_handler (component_view->calendar, component_view->activity_handler);
-
- /* connect after setting the initial selections, or we'll get unwanted calls
- to calendar_control_sensitize_calendar_commands */
- g_signal_connect (component_view->source_selector, "selection_changed",
- G_CALLBACK (source_selection_changed_cb), component_view);
- g_signal_connect (component_view->source_selector, "primary_selection_changed",
- G_CALLBACK (primary_source_selection_changed_cb), component_view);
- g_signal_connect (component_view->source_selector, "popup_event",
- G_CALLBACK (popup_event_cb), component_view);
-
->>>>>>> 23df769955ea54f756a579c19964df87ae6fd5c8:calendar/gui/calendar-component.c
- /* Set up the "new" item handler */
- g_signal_connect (component_view->view_control, "activate", G_CALLBACK (control_activate_cb), component_view);
-
- /* Load the selection from the last run */
- update_task_memo_selection (component_view, E_CAL_SOURCE_TYPE_TODO);
- update_primary_task_memo_selection (component_view, E_CAL_SOURCE_TYPE_TODO);
- update_task_memo_selection (component_view, E_CAL_SOURCE_TYPE_JOURNAL);
- update_primary_task_memo_selection (component_view, E_CAL_SOURCE_TYPE_JOURNAL);
-
- /* If the tasks/memos selection changes elsewhere, update it for the mini
- mini tasks view sidebar */
- not = calendar_config_add_notification_tasks_selected (config_tasks_selection_changed_cb,
- component_view);
- component_view->notifications = g_list_prepend (component_view->notifications, GUINT_TO_POINTER (not));
-
- not = calendar_config_add_notification_memos_selected (config_memos_selection_changed_cb,
- component_view);
- component_view->notifications = g_list_prepend (component_view->notifications, GUINT_TO_POINTER (not));
-
- not = calendar_config_add_notification_primary_tasks (config_primary_tasks_selection_changed_cb,
- component_view);
- component_view->notifications = g_list_prepend (component_view->notifications, GUINT_TO_POINTER (not));
-
- not = calendar_config_add_notification_primary_memos (config_primary_memos_selection_changed_cb,
- component_view);
- component_view->notifications = g_list_prepend (component_view->notifications, GUINT_TO_POINTER (not));
-
- return component_view;
-}
-
-static void
-destroy_component_view (CalendarComponentView *component_view)
-{
- GList *l;
-
- if (component_view->source_list)
- g_object_unref (component_view->source_list);
-
- if (component_view->task_source_list)
- g_object_unref (component_view->task_source_list);
-
- if (component_view->memo_source_list)
- g_object_unref (component_view->memo_source_list);
-
- if (component_view->source_selection)
- e_source_selector_free_selection (component_view->source_selection);
-
- for (l = component_view->notifications; l; l = l->next)
- calendar_config_remove_notification (GPOINTER_TO_UINT (l->data));
- g_list_free (component_view->notifications);
-
- if (component_view->task_source_selection) {
- g_slist_foreach (component_view->task_source_selection, (GFunc) g_free, NULL);
- g_slist_free (component_view->task_source_selection);
- }
-
- if (component_view->memo_source_selection) {
- g_slist_foreach (component_view->memo_source_selection, (GFunc) g_free, NULL);
- g_slist_free (component_view->memo_source_selection);
- }
-
- g_free (component_view);
-}
-
-static void
-view_destroyed_cb (gpointer data, GObject *where_the_object_was)
-{
- CalendarComponent *calendar_component = data;
- CalendarComponentPrivate *priv;
- GList *l;
-
- priv = calendar_component->priv;
-
- for (l = priv->views; l; l = l->next) {
- CalendarComponentView *component_view = l->data;
-
- if (G_OBJECT (component_view->view_control) == where_the_object_was) {
- priv->views = g_list_remove (priv->views, component_view);
- destroy_component_view (component_view);
-
- break;
- }
- }
-}
-
-/* GObject methods. */
-
-static void
-impl_dispose (GObject *object)
-{
- CalendarComponent *calendar_component = CALENDAR_COMPONENT (object);
- CalendarComponentPrivate *priv = calendar_component->priv;
- GList *l;
-
- if (priv->source_list != NULL) {
- g_object_unref (priv->source_list);
- priv->source_list = NULL;
- }
-
- if (priv->activity_handler != NULL) {
- g_object_unref (priv->activity_handler);
- priv->activity_handler = NULL;
- }
-
- if (priv->activity_handler != NULL) {
- g_object_unref (priv->activity_handler);
- priv->activity_handler = NULL;
- }
-
- if (priv->create_ecal) {
- g_object_unref (priv->create_ecal);
- priv->create_ecal = NULL;
- }
-
- for (l = priv->views; l; l = l->next) {
- CalendarComponentView *component_view = l->data;
-
- g_object_weak_unref (G_OBJECT (component_view->view_control), view_destroyed_cb, calendar_component);
- }
- g_list_free (priv->views);
- priv->views = NULL;
-
- for (l = priv->notifications; l; l = l->next)
- calendar_config_remove_notification (GPOINTER_TO_UINT (l->data));
- g_list_free (priv->notifications);
- priv->notifications = NULL;
-
- (* G_OBJECT_CLASS (parent_class)->dispose) (object);
-}
-
-static void
-calendar_component_class_init (CalendarComponentClass *class)
-{
- POA_GNOME_Evolution_Component__epv *epv = &class->epv;
- GObjectClass *object_class = G_OBJECT_CLASS (class);
-
- bindtextdomain (GETTEXT_PACKAGE, EVOLUTION_LOCALEDIR);
- bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-
- parent_class = g_type_class_peek_parent (class);
-
- epv->handleURI = impl_handleURI;
-
- object_class->dispose = impl_dispose;
-}
-
-static void
-calendar_component_init (CalendarComponent *component)
-{
- CalendarComponentPrivate *priv;
- guint not;
-
- not = calendar_config_add_notification_primary_calendar (config_primary_selection_changed_cb,
- component);
- priv->notifications = g_list_prepend (priv->notifications, GUINT_TO_POINTER (not));
-
- priv->logger = e_logger_create ("calendar");
- priv->activity_handler = e_activity_handler_new ();
- e_activity_handler_set_logger (priv->activity_handler, priv->logger);
- e_activity_handler_set_error_flush_time (priv->activity_handler,eni_config_get_error_timeout (CALENDAR_ERROR_TIME_OUT_KEY)*1000);
-
- component->priv = priv;
-
- e_cal_get_sources (&priv->task_source_list, E_CAL_SOURCE_TYPE_TODO, NULL);
- e_cal_get_sources (&priv->memo_source_list, E_CAL_SOURCE_TYPE_JOURNAL, NULL);
-}
diff --git a/calendar/gui/calendar-component.h.dead b/calendar/gui/calendar-component.h.dead
deleted file mode 100644
index fbdd8efd23..0000000000
--- a/calendar/gui/calendar-component.h.dead
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) version 3.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
- *
- *
- * Authors:
- * Ettore Perazzoli <ettore@ximian.com>
- *
- * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
- *
- */
-
-#ifndef _CALENDAR_COMPONENT_H_
-#define _CALENDAR_COMPONENT_H_
-
-#include <bonobo/bonobo-object.h>
-#include <libedataserver/e-source-list.h>
-#include <widgets/misc/e-activity-handler.h>
-#include "Evolution.h"
-
-#define CALENDAR_TYPE_COMPONENT (calendar_component_get_type ())
-#define CALENDAR_COMPONENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CALENDAR_TYPE_COMPONENT, CalendarComponent))
-#define CALENDAR_COMPONENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CALENDAR_TYPE_COMPONENT, CalendarComponentClass))
-#define CALENDAR_IS_COMPONENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CALENDAR_TYPE_COMPONENT))
-#define CALENDAR_IS_COMPONENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), CALENDAR_TYPE_COMPONENT))
-
-typedef struct _CalendarComponent CalendarComponent;
-typedef struct _CalendarComponentPrivate CalendarComponentPrivate;
-typedef struct _CalendarComponentClass CalendarComponentClass;
-
-struct _CalendarComponent {
- BonoboObject parent;
-
- CalendarComponentPrivate *priv;
-};
-
-struct _CalendarComponentClass {
- BonoboObjectClass parent_class;
-
- POA_GNOME_Evolution_Component__epv epv;
-};
-
-GType calendar_component_get_type (void);
-
-#endif /* _CALENDAR_COMPONENT_H_ */
diff --git a/calendar/gui/comp-util.c b/calendar/gui/comp-util.c
index a8fa9aef72..e8cbc72436 100644
--- a/calendar/gui/comp-util.c
+++ b/calendar/gui/comp-util.c
@@ -483,6 +483,7 @@ cal_comp_selection_set_string_list (GtkSelectionData *data, GSList *str_list)
/* format is "str1\0str2\0...strN\0" */
GSList *p;
GByteArray *array;
+ GdkAtom target;
g_return_if_fail (data != NULL);
@@ -497,7 +498,8 @@ cal_comp_selection_set_string_list (GtkSelectionData *data, GSList *str_list)
g_byte_array_append (array, c, strlen ((const gchar *) c) + 1);
}
- gtk_selection_data_set (data, data->target, 8, array->data, array->len);
+ target = gtk_selection_data_get_target (data);
+ gtk_selection_data_set (data, target, 8, array->data, array->len);
g_byte_array_free (array, TRUE);
}
@@ -512,17 +514,22 @@ cal_comp_selection_set_string_list (GtkSelectionData *data, GSList *str_list)
* @return Newly allocated GSList of strings.
**/
GSList *
-cal_comp_selection_get_string_list (GtkSelectionData *data)
+cal_comp_selection_get_string_list (GtkSelectionData *selection_data)
{
/* format is "str1\0str2\0...strN\0" */
gchar *inptr, *inend;
GSList *list;
+ const guchar *data;
+ gint length;
- g_return_val_if_fail (data != NULL, NULL);
+ g_return_val_if_fail (selection_data != NULL, NULL);
+
+ data = gtk_selection_data_get_data (selection_data);
+ length = gtk_selection_data_get_length (selection_data);
list = NULL;
- inptr = (gchar *)data->data;
- inend = (gchar *)(data->data + data->length);
+ inptr = (gchar *) data;
+ inend = (gchar *) (data + length);
while (inptr < inend) {
gchar *start = inptr;
diff --git a/calendar/gui/dialogs/Makefile.am b/calendar/gui/dialogs/Makefile.am
index 6e9cb26c05..0bd89de799 100644
--- a/calendar/gui/dialogs/Makefile.am
+++ b/calendar/gui/dialogs/Makefile.am
@@ -15,7 +15,8 @@ libcal_dialogs_la_CPPFLAGS = \
-DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\" \
-DPREFIX=\""$(prefix)"\" \
$(GNOME_PLATFORM_CFLAGS) \
- $(EVOLUTION_CALENDAR_CFLAGS)
+ $(EVOLUTION_CALENDAR_CFLAGS) \
+ $(CAMEL_CFLAGS)
ecalendarincludedir = $(privincludedir)/calendar/gui/dialogs
diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c
index f7d5443da0..9fe23fe525 100644
--- a/calendar/gui/dialogs/alarm-dialog.c
+++ b/calendar/gui/dialogs/alarm-dialog.c
@@ -1209,6 +1209,7 @@ gboolean
alarm_dialog_run (GtkWidget *parent, ECal *ecal, ECalComponentAlarm *alarm)
{
Dialog dialog;
+ GtkWidget *container;
gint response_id;
g_return_val_if_fail (alarm != NULL, FALSE);
@@ -1234,8 +1235,12 @@ alarm_dialog_run (GtkWidget *parent, ECal *ecal, ECalComponentAlarm *alarm)
alarm_to_dialog (&dialog);
gtk_widget_ensure_style (dialog.toplevel);
- gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog.toplevel)->vbox), 0);
- gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog.toplevel)->action_area), 12);
+
+ container = gtk_dialog_get_action_area (GTK_DIALOG (dialog.toplevel));
+ gtk_container_set_border_width (GTK_CONTAINER (container), 12);
+
+ container = gtk_dialog_get_content_area (GTK_DIALOG (dialog.toplevel));
+ gtk_container_set_border_width (GTK_CONTAINER (container), 0);
gtk_window_set_icon_name (
GTK_WINDOW (dialog.toplevel), "x-office-calendar");
diff --git a/calendar/gui/dialogs/alarm-dialog.ui b/calendar/gui/dialogs/alarm-dialog.ui
index 94ae8009c4..bf6e570e4a 100644
--- a/calendar/gui/dialogs/alarm-dialog.ui
+++ b/calendar/gui/dialogs/alarm-dialog.ui
@@ -411,7 +411,7 @@
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
- <property name="label" translatable="yes">extra times every</property>
+ <property name="label" translatable="yes" comments="This is part of the sentence: 'Repeat the alarm %d extra times every %d minutes'. Where %d are numbers.">extra times every</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
diff --git a/calendar/gui/dialogs/alarm-list-dialog.c b/calendar/gui/dialogs/alarm-list-dialog.c
index c350b4774d..b8588d666d 100644
--- a/calendar/gui/dialogs/alarm-list-dialog.c
+++ b/calendar/gui/dialogs/alarm-list-dialog.c
@@ -261,6 +261,7 @@ gboolean
alarm_list_dialog_run (GtkWidget *parent, ECal *ecal, EAlarmList *list_store)
{
Dialog dialog;
+ GtkWidget *container;
gint response_id;
dialog.ecal = ecal;
@@ -279,14 +280,19 @@ alarm_list_dialog_run (GtkWidget *parent, ECal *ecal, EAlarmList *list_store)
sensitize_buttons (&dialog);
gtk_widget_ensure_style (dialog.toplevel);
- gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog.toplevel)->vbox), 0);
- gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog.toplevel)->action_area), 12);
+
+ container = gtk_dialog_get_action_area (GTK_DIALOG (dialog.toplevel));
+ gtk_container_set_border_width (GTK_CONTAINER (container), 12);
+
+ container = gtk_dialog_get_content_area (GTK_DIALOG (dialog.toplevel));
+ gtk_container_set_border_width (GTK_CONTAINER (container), 0);
gtk_window_set_icon_name (
GTK_WINDOW (dialog.toplevel), "x-office-calendar");
- gtk_window_set_transient_for (GTK_WINDOW (dialog.toplevel),
- GTK_WINDOW (parent));
+ gtk_window_set_transient_for (
+ GTK_WINDOW (dialog.toplevel),
+ GTK_WINDOW (parent));
response_id = gtk_dialog_run (GTK_DIALOG (dialog.toplevel));
gtk_widget_hide (dialog.toplevel);
diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c
index f6ba176d00..914c26c3ec 100644
--- a/calendar/gui/dialogs/cal-prefs-dialog.c
+++ b/calendar/gui/dialogs/cal-prefs-dialog.c
@@ -779,8 +779,8 @@ calendar_prefs_dialog_construct (CalendarPrefsDialog *prefs,
/* date/time format */
table = e_builder_get_widget (prefs->builder, "datetime_format_table");
- e_datetime_format_add_setup_widget (table, 0, "calendar", "table", DTFormatKindDateTime, _("Time and date:"));
- e_datetime_format_add_setup_widget (table, 1, "calendar", "table", DTFormatKindDate, _("Date only:"));
+ e_datetime_format_add_setup_widget (table, 0, "calendar", "table", DTFormatKindDateTime, _("Ti_me and date:"));
+ e_datetime_format_add_setup_widget (table, 1, "calendar", "table", DTFormatKindDate, _("_Date only:"));
/* Hide senseless preferences when running in Express mode */
e_shell_hide_widgets_for_express_mode (shell, prefs->builder,
diff --git a/calendar/gui/dialogs/calendar-setup.c b/calendar/gui/dialogs/calendar-setup.c
index 9b396ce2cf..b21c027fe1 100644
--- a/calendar/gui/dialogs/calendar-setup.c
+++ b/calendar/gui/dialogs/calendar-setup.c
@@ -137,7 +137,7 @@ static GtkWidget *
eccp_get_source_type (EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWidget *old, gpointer data)
{
static GtkWidget *label, *type;
- gint row;
+ guint row;
CalendarSourceDialog *sdialog = data;
ECalConfigTargetSource *t = (ECalConfigTargetSource *) ec->target;
ESource *source = t->source;
@@ -147,7 +147,7 @@ eccp_get_source_type (EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWidg
if (old)
gtk_widget_destroy (label);
- row = ((GtkTable *)parent)->nrows;
+ g_object_get (parent, "n-rows", &row, NULL);
if (sdialog->original_source) {
label = gtk_label_new (_("Type:"));
@@ -214,14 +214,14 @@ static GtkWidget *
eccp_get_source_name (EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWidget *old, gpointer data)
{
static GtkWidget *label, *entry;
- gint row;
+ guint row;
ECalConfigTargetSource *t = (ECalConfigTargetSource *) ec->target;
ESource *source = t->source;
if (old)
gtk_widget_destroy (label);
- row = ((GtkTable*)parent)->nrows;
+ g_object_get (parent, "n-rows", &row, NULL);
label = gtk_label_new_with_mnemonic (_("_Name:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
@@ -257,14 +257,14 @@ eccp_general_offline (EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWidg
CalendarSourceDialog *sdialog = data;
GtkWidget *offline_setting = NULL;
const gchar *offline_sync;
- gint row;
+ guint row;
const gchar *base_uri = e_source_group_peek_base_uri (sdialog->source_group);
gboolean is_local = base_uri && (g_str_has_prefix (base_uri, "file://") || g_str_has_prefix (base_uri, "contacts://"));
offline_sync = e_source_get_property (sdialog->source, "offline_sync");
if (old)
return old;
else {
- row = ((GtkTable*)parent)->nrows;
+ g_object_get (parent, "n-rows", &row, NULL);
if (sdialog->source_type == E_CAL_SOURCE_TYPE_EVENT)
offline_setting = gtk_check_button_new_with_mnemonic (_("Cop_y calendar contents locally for offline operation"));
@@ -322,10 +322,12 @@ eccp_get_source_color (EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWid
{
CalendarSourceDialog *sdialog = data;
static GtkWidget *label, *color_button;
- guint row = GTK_TABLE (parent)->nrows;
+ guint row;
const gchar *color_spec = NULL;
GdkColor color;
+ g_object_get (parent, "n-rows", &row, NULL);
+
if (old)
gtk_widget_destroy (label);
diff --git a/calendar/gui/dialogs/comp-editor-util.c b/calendar/gui/dialogs/comp-editor-util.c
index 9f96011eda..9856bd7c96 100644
--- a/calendar/gui/dialogs/comp-editor-util.c
+++ b/calendar/gui/dialogs/comp-editor-util.c
@@ -111,102 +111,6 @@ comp_editor_free_dates (CompEditorPageDates *dates)
e_cal_component_free_icaltimetype (dates->complete);
}
-/* dtstart is only passed in if tt is the dtend. */
-static void
-write_label_piece (struct icaltimetype *tt,
- gchar *buffer,
- gint size,
- gchar *stext,
- const gchar *etext,
- struct icaltimetype *dtstart)
-{
- struct tm tmp_tm = { 0 };
- struct icaltimetype tt_copy = *tt;
- gint len;
-
- /* FIXME: May want to convert the time to an appropriate zone. */
-
- if (stext != NULL)
- strcat (buffer, stext);
-
- /* If we are writing the DTEND (i.e. DTSTART is set), and
- DTEND > DTSTART, subtract 1 day. The DTEND date is not inclusive. */
- if (tt_copy.is_date && dtstart
- && icaltime_compare_date_only (tt_copy, *dtstart) > 0) {
- icaltime_adjust (&tt_copy, -1, 0, 0, 0);
- }
-
- tmp_tm.tm_year = tt_copy.year - 1900;
- tmp_tm.tm_mon = tt_copy.month - 1;
- tmp_tm.tm_mday = tt_copy.day;
- tmp_tm.tm_hour = tt_copy.hour;
- tmp_tm.tm_min = tt_copy.minute;
- tmp_tm.tm_sec = tt_copy.second;
- tmp_tm.tm_isdst = -1;
-
- tmp_tm.tm_wday = time_day_of_week (tt_copy.day, tt_copy.month - 1,
- tt_copy.year);
-
- len = strlen (buffer);
- e_time_format_date_and_time (&tmp_tm,
- calendar_config_get_24_hour_format (),
- !tt_copy.is_date, FALSE,
- &buffer[len], size - len);
- if (etext != NULL)
- strcat (buffer, etext);
-}
-
-/**
- * comp_editor_date_label:
- * @dates: The dates to use in constructing a label
- * @label: The label whose text is to be set
- *
- * Set the text of a label based on the dates available and the user's
- * formatting preferences
- **/
-void
-comp_editor_date_label (CompEditorPageDates *dates, GtkWidget *label)
-{
- gchar buffer[1024];
- gboolean start_set = FALSE, end_set = FALSE;
- gboolean complete_set = FALSE, due_set = FALSE;
-
- buffer[0] = '\0';
-
- if (dates->start && !icaltime_is_null_time (*dates->start->value))
- start_set = TRUE;
- if (dates->end && !icaltime_is_null_time (*dates->end->value))
- end_set = TRUE;
- if (dates->complete && !icaltime_is_null_time (*dates->complete))
- complete_set = TRUE;
- if (dates->due && !icaltime_is_null_time (*dates->due->value))
- due_set = TRUE;
-
- if (start_set)
- write_label_piece (dates->start->value, buffer, 1024,
- NULL, NULL, NULL);
-
- if (start_set && end_set)
- write_label_piece (dates->end->value, buffer, 1024,
- _(" to "), NULL, dates->start->value);
-
- if (complete_set) {
- if (start_set)
- write_label_piece (dates->complete, buffer, 1024, _(" (Completed "), ")", NULL);
- else
- write_label_piece (dates->complete, buffer, 1024, _("Completed "), NULL, NULL);
- }
-
- if (due_set && dates->complete == NULL) {
- if (start_set)
- write_label_piece (dates->due->value, buffer, 1024, _(" (Due "), ")", NULL);
- else
- write_label_piece (dates->due->value, buffer, 1024, _("Due "), NULL, NULL);
- }
-
- gtk_label_set_text (GTK_LABEL (label), buffer);
-}
-
/**
* comp_editor_new_date_edit:
* @show_date: Whether to show a date picker in the widget.
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 062e483562..010dd1cbf6 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -42,16 +42,6 @@
#include <e-util/gconf-bridge.h>
#include <shell/e-shell.h>
-#include <camel/camel-url.h>
-#include <camel/camel-exception.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-file-utils.h>
-#include <camel/camel-stream-fs.h>
-
-#include "mail/mail-tools.h"
-
#include "../print.h"
#include "../comp-util.h"
#include "save-comp.h"
@@ -2974,7 +2964,8 @@ comp_editor_get_mime_attach_list (CompEditor *editor)
EAttachment *attachment;
CamelDataWrapper *wrapper;
CamelMimePart *mime_part;
- CamelStreamMem *mstream;
+ CamelStream *stream;
+ GByteArray *byte_array;
guchar *buffer = NULL;
const gchar *desc, *disp;
gint column_id;
@@ -2990,16 +2981,18 @@ comp_editor_get_mime_attach_list (CompEditor *editor)
continue;
cal_mime_attach = g_malloc0 (sizeof (struct CalMimeAttach));
- wrapper = camel_medium_get_content_object (CAMEL_MEDIUM (mime_part));
- mstream = (CamelStreamMem *) camel_stream_mem_new ();
+ wrapper = camel_medium_get_content (CAMEL_MEDIUM (mime_part));
+
+ byte_array = g_byte_array_new ();
+ stream = camel_stream_mem_new_with_byte_array (byte_array);
- camel_data_wrapper_decode_to_stream (wrapper, (CamelStream *) mstream);
- buffer = g_memdup (mstream->buffer->data, mstream->buffer->len);
+ camel_data_wrapper_decode_to_stream (wrapper, stream);
+ buffer = g_memdup (byte_array->data, byte_array->len);
camel_mime_part_set_content_id (mime_part, NULL);
cal_mime_attach->encoded_data = (gchar *)buffer;
- cal_mime_attach->length = mstream->buffer->len;
+ cal_mime_attach->length = byte_array->len;
cal_mime_attach->filename = g_strdup (camel_mime_part_get_filename (mime_part));
desc = camel_mime_part_get_description (mime_part);
if (!desc || *desc == '\0')
@@ -3014,7 +3007,7 @@ comp_editor_get_mime_attach_list (CompEditor *editor)
attach_list = g_slist_append (attach_list, cal_mime_attach);
- camel_object_unref (mstream);
+ g_object_unref (stream);
}
diff --git a/calendar/gui/dialogs/delete-comp.c b/calendar/gui/dialogs/delete-comp.c
index e0a431ffb7..ecdaf58762 100644
--- a/calendar/gui/dialogs/delete-comp.c
+++ b/calendar/gui/dialogs/delete-comp.c
@@ -166,12 +166,12 @@ delete_component_dialog (ECalComponent *comp,
}
static void
-cb_toggled_cb (GtkWidget *toggle, gpointer data)
+cb_toggled_cb (GtkToggleButton *toggle, gpointer data)
{
gboolean active = FALSE;
GtkWidget *entry = (GtkWidget *) data;
- active = GTK_TOGGLE_BUTTON (toggle)->active;
+ active = gtk_toggle_button_get_active (toggle);
gtk_widget_set_sensitive (entry, active);
}
@@ -208,13 +208,13 @@ prompt_retract_dialog (ECalComponent *comp, gchar **retract_text, GtkWidget *par
gtk_window_set_resizable (GTK_WINDOW (dialog), TRUE);
- gtk_box_set_spacing ((GtkBox *) (GTK_DIALOG (dialog)->vbox), 12);
- vbox = GTK_WIDGET (GTK_DIALOG (dialog)->vbox);
+ vbox = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
+ gtk_box_set_spacing (GTK_BOX (vbox), 12);
cb = gtk_check_button_new_with_mnemonic (_("_Delete this item from all other recipient's mailboxes?"));
gtk_container_add (GTK_CONTAINER (vbox), cb);
- label = gtk_label_new_with_mnemonic ("_Retract comment");
+ label = gtk_label_new_with_mnemonic (_("_Retract comment"));
frame = gtk_frame_new (NULL);
gtk_frame_set_label_widget ((GtkFrame *) frame, label);
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c
index 7184a63d9e..262751fa86 100644
--- a/calendar/gui/dialogs/event-editor.c
+++ b/calendar/gui/dialogs/event-editor.c
@@ -117,6 +117,7 @@ create_schedule_page (CompEditor *editor)
EventEditorPrivate *priv;
ENameSelector *name_selector;
CompEditorPage *page;
+ GtkWidget *content_area;
priv = EVENT_EDITOR_GET_PRIVATE (editor);
@@ -124,6 +125,9 @@ create_schedule_page (CompEditor *editor)
_("Free/Busy"), GTK_WINDOW (editor), GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, NULL);
+ content_area =
+ gtk_dialog_get_content_area (GTK_DIALOG (priv->sched_window));
+
g_signal_connect (
priv->sched_window, "response",
G_CALLBACK (gtk_widget_hide), NULL);
@@ -134,7 +138,7 @@ create_schedule_page (CompEditor *editor)
priv->sched_page = schedule_page_new (priv->model, editor);
page = COMP_EDITOR_PAGE (priv->sched_page);
gtk_container_add (
- GTK_CONTAINER (GTK_DIALOG (priv->sched_window)->vbox),
+ GTK_CONTAINER (content_area),
comp_editor_page_get_widget (page));
name_selector = event_page_get_name_selector (priv->event_page);
@@ -282,6 +286,7 @@ event_editor_constructor (GType type,
CompEditorPage *page;
EventEditorPrivate *priv;
GtkActionGroup *action_group;
+ GtkWidget *content_area;
ECal *client;
gboolean is_meeting;
GtkWidget *alarm_page;
@@ -317,6 +322,9 @@ event_editor_constructor (GType type,
priv->recur_window, "delete-event",
G_CALLBACK(gtk_widget_hide_on_delete), NULL);
+ content_area =
+ gtk_dialog_get_content_area (GTK_DIALOG (priv->recur_window));
+
priv->recur_page = recurrence_page_new (editor);
page = COMP_EDITOR_PAGE (priv->recur_page);
if (!e_shell_get_express_mode(e_shell_get_default())) {
@@ -556,6 +564,9 @@ event_editor_init (EventEditor *ee)
g_error_free (error);
}
+ action = comp_editor_get_action (editor, "print");
+ gtk_action_set_tooltip (action, _("Print this event"));
+
/* Hide send options. */
action = comp_editor_get_action (editor, "send-options");
gtk_action_set_visible (action, FALSE);
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index f37861827d..1dfabb7597 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -2137,6 +2137,7 @@ get_widgets (EventPage *epage)
EventPagePrivate *priv;
GSList *accel_groups;
GtkAction *action;
+ GtkWidget *parent;
GtkWidget *toplevel;
GtkWidget *sw;
@@ -2178,7 +2179,8 @@ get_widgets (EventPage *epage)
priv->attendees_label = GW ("attendees-label");
g_object_ref (priv->main);
- gtk_container_remove (GTK_CONTAINER (priv->main->parent), priv->main);
+ parent = gtk_widget_get_parent (priv->main);
+ gtk_container_remove (GTK_CONTAINER (parent), priv->main);
priv->categories = GW ("categories");
priv->categories_btn = GW ("categories-button");
@@ -2457,11 +2459,7 @@ safe_to_process_date_changed_signal (GtkWidget *dedit_widget)
entry = e_date_edit_get_entry (dedit);
-#if GTK_CHECK_VERSION(2,19,7)
return !entry || !gtk_widget_has_focus (entry);
-#else
- return !entry || !GTK_WIDGET_HAS_FOCUS (entry);
-#endif
}
/* Callback used when the start date widget change. We check that the
diff --git a/calendar/gui/dialogs/event-page.ui b/calendar/gui/dialogs/event-page.ui
index 328b6eac42..061c0b1e43 100644
--- a/calendar/gui/dialogs/event-page.ui
+++ b/calendar/gui/dialogs/event-page.ui
@@ -323,7 +323,7 @@
<child>
<object class="GtkLabel" id="summary-label">
<property name="visible">True</property>
- <property name="label" translatable="yes">Su_mmary:</property>
+ <property name="label" translatable="yes">_Summary:</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
@@ -858,7 +858,7 @@
<child>
<object class="GtkLabel" id="attendees-label">
<property name="visible">True</property>
- <property name="label" translatable="yes">Attendee_s...</property>
+ <property name="label" translatable="yes">Atte_ndees...</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
diff --git a/calendar/gui/dialogs/memo-editor.c b/calendar/gui/dialogs/memo-editor.c
index 8e988c00a5..9486ef6770 100644
--- a/calendar/gui/dialogs/memo-editor.c
+++ b/calendar/gui/dialogs/memo-editor.c
@@ -133,6 +133,7 @@ memo_editor_init (MemoEditor *me)
{
CompEditor *editor = COMP_EDITOR (me);
GtkUIManager *ui_manager;
+ GtkAction *action;
const gchar *id;
GError *error = NULL;
@@ -150,6 +151,9 @@ memo_editor_init (MemoEditor *me)
g_critical ("%s: %s", G_STRFUNC, error->message);
g_error_free (error);
}
+
+ action = comp_editor_get_action (editor, "print");
+ gtk_action_set_tooltip (action, _("Print this memo"));
}
/**
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c
index adb10dc9fa..8ffe45d2c5 100644
--- a/calendar/gui/dialogs/memo-page.c
+++ b/calendar/gui/dialogs/memo-page.c
@@ -438,12 +438,14 @@ fill_comp_with_recipients (ENameSelector *name_selector, ECalComponent *comp)
if (contact && e_contact_get (contact , E_CONTACT_IS_LIST)) {
EBook *book = NULL;
ENameSelectorDialog *dialog;
+ ENameSelectorModel *model;
EContactStore *c_store;
GList *books, *l;
gchar *uri = e_contact_get (contact, E_CONTACT_BOOK_URI);
dialog = e_name_selector_peek_dialog (name_selector);
- c_store = e_name_selector_dialog_peek_model (dialog)->contact_store;
+ model = e_name_selector_dialog_peek_model (dialog);
+ c_store = e_name_selector_model_peek_contact_store (model);
books = e_contact_store_get_books (c_store);
for (l = books; l; l = l->next) {
@@ -768,6 +770,7 @@ get_widgets (MemoPage *mpage)
MemoPagePrivate *priv;
GSList *accel_groups;
GtkWidget *toplevel;
+ GtkWidget *parent;
priv = mpage->priv;
@@ -787,7 +790,8 @@ get_widgets (MemoPage *mpage)
page->accel_group = g_object_ref (accel_groups->data);
g_object_ref (priv->main);
- gtk_container_remove (GTK_CONTAINER (priv->main->parent), priv->main);
+ parent = gtk_widget_get_parent (priv->main);
+ gtk_container_remove (GTK_CONTAINER (parent), priv->main);
priv->info_hbox = GW ("generic-info");
priv->info_icon = GW ("generic-info-image");
diff --git a/calendar/gui/dialogs/recur-comp.c b/calendar/gui/dialogs/recur-comp.c
index 0d9197546b..7793647723 100644
--- a/calendar/gui/dialogs/recur-comp.c
+++ b/calendar/gui/dialogs/recur-comp.c
@@ -40,6 +40,7 @@ recur_component_dialog (ECal *client,
gchar *str;
GtkWidget *dialog, *rb_this, *rb_prior, *rb_future, *rb_all, *hbox;
GtkWidget *placeholder, *vbox;
+ GtkWidget *content_area;
ECalComponentVType vtype;
gboolean ret;
@@ -72,8 +73,10 @@ recur_component_dialog (ECal *client,
g_free (str);
gtk_window_set_resizable (GTK_WINDOW (dialog), TRUE);
+ content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
+
hbox = gtk_hbox_new (FALSE, 12);
- gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), hbox);
+ gtk_container_add (GTK_CONTAINER (content_area), hbox);
placeholder = gtk_label_new ("");
gtk_widget_set_size_request (placeholder, 48, 48);
@@ -105,7 +108,7 @@ recur_component_dialog (ECal *client,
gtk_widget_show_all (hbox);
placeholder = gtk_label_new ("");
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), placeholder, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (content_area), placeholder, FALSE, FALSE, 0);
gtk_widget_show (placeholder);
ret = gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK;
diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c
index 578f98929c..ae79698efd 100644
--- a/calendar/gui/dialogs/recurrence-page.c
+++ b/calendar/gui/dialogs/recurrence-page.c
@@ -532,6 +532,7 @@ sensitize_recur_widgets (RecurrencePage *rpage)
CompEditor *editor;
CompEditorFlags flags;
gboolean recurs, sens = TRUE;
+ GtkWidget *child;
GtkWidget *label;
editor = comp_editor_page_get_editor (COMP_EDITOR_PAGE (rpage));
@@ -548,8 +549,9 @@ sensitize_recur_widgets (RecurrencePage *rpage)
else
gtk_widget_set_sensitive (priv->preview_calendar, TRUE && sens);
- if (GTK_BIN (priv->custom_warning_bin)->child)
- gtk_widget_destroy (GTK_BIN (priv->custom_warning_bin)->child);
+ child = gtk_bin_get_child (GTK_BIN (priv->custom_warning_bin));
+ if (child != NULL)
+ gtk_widget_destroy (child);
if (recurs && priv->custom) {
gtk_widget_set_sensitive (priv->params, FALSE);
@@ -681,7 +683,7 @@ simple_recur_to_comp (RecurrencePage *rpage, ECalComponent *comp)
guint8 day_mask;
gint i;
- g_return_if_fail (GTK_BIN (priv->special)->child != NULL);
+ g_return_if_fail (gtk_bin_get_child (GTK_BIN (priv->special)) != NULL);
g_return_if_fail (priv->weekday_picker != NULL);
g_return_if_fail (IS_WEEKDAY_PICKER (priv->weekday_picker));
@@ -717,7 +719,7 @@ simple_recur_to_comp (RecurrencePage *rpage, ECalComponent *comp)
enum month_num_options month_num;
enum month_day_options month_day;
- g_return_if_fail (GTK_BIN (priv->special)->child != NULL);
+ g_return_if_fail (gtk_bin_get_child (GTK_BIN (priv->special)) != NULL);
g_return_if_fail (priv->month_day_combo != NULL);
g_return_if_fail (GTK_IS_COMBO_BOX (priv->month_day_combo));
g_return_if_fail (priv->month_num_combo != NULL);
@@ -901,11 +903,7 @@ fill_component (RecurrencePage *rpage, ECalComponent *comp)
e_cal_component_set_exdate_list (comp, list);
e_cal_component_free_exdate_list (list);
-#if GTK_CHECK_VERSION(2,19,7)
if (gtk_widget_get_visible (priv->ending_combo) && gtk_widget_get_sensitive (priv->ending_combo) &&
-#else
- if (GTK_WIDGET_VISIBLE (priv->ending_combo) && GTK_WIDGET_IS_SENSITIVE (priv->ending_combo) &&
-#endif
e_dialog_combo_box_get (priv->ending_combo, ending_types_map) == ENDING_UNTIL) {
/* check whether the "until" date is in the future */
struct icaltimetype tt;
@@ -950,7 +948,7 @@ make_weekly_special (RecurrencePage *rpage)
priv = rpage->priv;
- g_return_if_fail (GTK_BIN (priv->special)->child == NULL);
+ g_return_if_fail (gtk_bin_get_child (GTK_BIN (priv->special)) == NULL);
g_return_if_fail (priv->weekday_picker == NULL);
/* Create the widgets */
@@ -1228,7 +1226,7 @@ make_monthly_special (RecurrencePage *rpage)
priv = rpage->priv;
- g_return_if_fail (GTK_BIN (priv->special)->child == NULL);
+ g_return_if_fail (gtk_bin_get_child (GTK_BIN (priv->special)) == NULL);
g_return_if_fail (priv->month_day_combo == NULL);
/* Create the widgets */
@@ -1282,6 +1280,7 @@ make_recurrence_special (RecurrencePage *rpage)
{
RecurrencePagePrivate *priv;
icalrecurrencetype_frequency frequency;
+ GtkWidget *child;
priv = rpage->priv;
@@ -1289,8 +1288,10 @@ make_recurrence_special (RecurrencePage *rpage)
gtk_widget_destroy (priv->month_num_combo);
priv->month_num_combo = NULL;
}
- if (GTK_BIN (priv->special)->child != NULL) {
- gtk_widget_destroy (GTK_BIN (priv->special)->child);
+
+ child = gtk_bin_get_child (GTK_BIN (priv->special));
+ if (child != NULL) {
+ gtk_widget_destroy (child);
priv->weekday_picker = NULL;
priv->month_day_combo = NULL;
@@ -1345,7 +1346,7 @@ make_ending_until_special (RecurrencePage *rpage)
EDateEdit *de;
ECalComponentDateTime dt_start;
- g_return_if_fail (GTK_BIN (priv->ending_special)->child == NULL);
+ g_return_if_fail (gtk_bin_get_child (GTK_BIN (priv->ending_special)) == NULL);
g_return_if_fail (priv->ending_date_edit == NULL);
editor = comp_editor_page_get_editor (COMP_EDITOR_PAGE (rpage));
@@ -1394,7 +1395,7 @@ make_ending_count_special (RecurrencePage *rpage)
priv = rpage->priv;
- g_return_if_fail (GTK_BIN (priv->ending_special)->child == NULL);
+ g_return_if_fail (gtk_bin_get_child (GTK_BIN (priv->ending_special)) == NULL);
g_return_if_fail (priv->ending_count_spin == NULL);
/* Create the widgets */
@@ -1435,11 +1436,13 @@ make_ending_special (RecurrencePage *rpage)
{
RecurrencePagePrivate *priv;
enum ending_type ending_type;
+ GtkWidget *child;
priv = rpage->priv;
- if (GTK_BIN (priv->ending_special)->child != NULL) {
- gtk_widget_destroy (GTK_BIN (priv->ending_special)->child);
+ child = gtk_bin_get_child (GTK_BIN (priv->ending_special));
+ if (child != NULL) {
+ gtk_widget_destroy (child);
priv->ending_date_edit = NULL;
priv->ending_count_spin = NULL;
@@ -1985,6 +1988,7 @@ get_widgets (RecurrencePage *rpage)
RecurrencePagePrivate *priv;
GSList *accel_groups;
GtkWidget *toplevel;
+ GtkWidget *parent;
priv = rpage->priv;
@@ -2002,7 +2006,8 @@ get_widgets (RecurrencePage *rpage)
page->accel_group = g_object_ref (accel_groups->data);
g_object_ref (priv->main);
- gtk_container_remove (GTK_CONTAINER (priv->main->parent), priv->main);
+ parent = gtk_widget_get_parent (priv->main);
+ gtk_container_remove (GTK_CONTAINER (parent), priv->main);
priv->recurs = GW ("recurs");
priv->params = GW ("params");
@@ -2082,6 +2087,7 @@ create_exception_dialog (RecurrencePage *rpage, const gchar *title, GtkWidget **
RecurrencePagePrivate *priv;
GtkWidget *dialog, *toplevel;
CompEditor *editor;
+ GtkWidget *container;
priv = rpage->priv;
@@ -2096,7 +2102,8 @@ create_exception_dialog (RecurrencePage *rpage, const gchar *title, GtkWidget **
*date_edit = comp_editor_new_date_edit (TRUE, FALSE, TRUE);
gtk_widget_show (*date_edit);
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), *date_edit, FALSE, TRUE, 6);
+ container = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
+ gtk_box_pack_start (GTK_BOX (container), *date_edit, FALSE, TRUE, 6);
return dialog;
}
diff --git a/calendar/gui/dialogs/schedule-page.c b/calendar/gui/dialogs/schedule-page.c
index 2e13cba1b9..7cd177e410 100644
--- a/calendar/gui/dialogs/schedule-page.c
+++ b/calendar/gui/dialogs/schedule-page.c
@@ -307,6 +307,7 @@ get_widgets (SchedulePage *spage)
SchedulePagePrivate *priv;
GSList *accel_groups;
GtkWidget *toplevel;
+ GtkWidget *parent;
priv = spage->priv;
@@ -324,7 +325,8 @@ get_widgets (SchedulePage *spage)
page->accel_group = g_object_ref (accel_groups->data);
g_object_ref (priv->main);
- gtk_container_remove (GTK_CONTAINER (priv->main->parent), priv->main);
+ parent = gtk_widget_get_parent (priv->main);
+ gtk_container_remove (GTK_CONTAINER (parent), priv->main);
#undef GW
diff --git a/calendar/gui/dialogs/send-comp.c b/calendar/gui/dialogs/send-comp.c
index a42501c9d6..4a9f80ef21 100644
--- a/calendar/gui/dialogs/send-comp.c
+++ b/calendar/gui/dialogs/send-comp.c
@@ -108,6 +108,7 @@ send_component_dialog (GtkWindow *parent, ECal *client, ECalComponent *comp, gbo
ECalComponentVType vtype;
const gchar *id;
GtkWidget *dialog, *sa_checkbox = NULL, *ona_checkbox = NULL;
+ GtkWidget *content_area;
gboolean res;
if (strip_alarms)
@@ -155,11 +156,12 @@ send_component_dialog (GtkWindow *parent, ECal *client, ECalComponent *comp, gbo
}
dialog = e_alert_dialog_new_for_args (parent, id, NULL);
+ content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
if (strip_alarms)
- sa_checkbox = add_checkbox (GTK_BOX (GTK_DIALOG (dialog)->vbox), _("Send my alarms with this event"));
+ sa_checkbox = add_checkbox (GTK_BOX (content_area), _("Send my alarms with this event"));
if (only_new_attendees)
- ona_checkbox = add_checkbox (GTK_BOX (GTK_DIALOG (dialog)->vbox), _("Notify new attendees _only"));
+ ona_checkbox = add_checkbox (GTK_BOX (content_area), _("Notify new attendees _only"));
res = gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_YES;
@@ -183,11 +185,11 @@ send_component_prompt_subject (GtkWindow *parent, ECal *client, ECalComponent *c
switch (vtype) {
case E_CAL_COMPONENT_EVENT:
- id = "calendar:prompt-send-no-subject-calendar";
+ id = "calendar:prompt-save-no-subject-calendar";
break;
case E_CAL_COMPONENT_TODO:
- id = "calendar:prompt-send-no-subject-task";
+ id = "calendar:prompt-save-no-subject-task";
break;
case E_CAL_COMPONENT_JOURNAL:
id = "calendar:prompt-send-no-subject-memo";
diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c
index c549633eb5..f84b07ecd3 100644
--- a/calendar/gui/dialogs/task-details-page.c
+++ b/calendar/gui/dialogs/task-details-page.c
@@ -448,6 +448,7 @@ get_widgets (TaskDetailsPage *tdpage)
TaskDetailsPagePrivate *priv;
GSList *accel_groups;
GtkWidget *toplevel;
+ GtkWidget *parent;
priv = tdpage->priv;
@@ -465,7 +466,8 @@ get_widgets (TaskDetailsPage *tdpage)
page->accel_group = g_object_ref (accel_groups->data);
g_object_ref (priv->main);
- gtk_container_remove (GTK_CONTAINER (priv->main->parent), priv->main);
+ parent = gtk_widget_get_parent (priv->main);
+ gtk_container_remove (GTK_CONTAINER (parent), priv->main);
priv->status_combo = GW ("status-combobox");
priv->priority_combo = GW ("priority-combobox");
@@ -661,6 +663,7 @@ static void
init_widgets (TaskDetailsPage *tdpage)
{
TaskDetailsPagePrivate *priv;
+ GtkAdjustment *adjustment;
priv = tdpage->priv;
@@ -677,13 +680,15 @@ init_widgets (TaskDetailsPage *tdpage)
/* Connect signals. The Status, Percent Complete & Date Completed
properties are closely related so whenever one changes we may need
to update the other 2. */
- g_signal_connect (GTK_COMBO_BOX (priv->status_combo),
- "changed",
- G_CALLBACK (status_changed), tdpage);
+ g_signal_connect (
+ GTK_COMBO_BOX (priv->status_combo), "changed",
+ G_CALLBACK (status_changed), tdpage);
- g_signal_connect((GTK_SPIN_BUTTON (priv->percent_complete)->adjustment),
- "value_changed",
- G_CALLBACK (percent_complete_changed), tdpage);
+ adjustment = gtk_spin_button_get_adjustment (
+ GTK_SPIN_BUTTON (priv->percent_complete));
+ g_signal_connect (
+ adjustment, "value_changed",
+ G_CALLBACK (percent_complete_changed), tdpage);
/* Priority */
g_signal_connect_swapped (
diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c
index 7e35cbe070..46a2f95d0e 100644
--- a/calendar/gui/dialogs/task-editor.c
+++ b/calendar/gui/dialogs/task-editor.c
@@ -309,6 +309,8 @@ task_editor_init (TaskEditor *te)
CompEditor *editor = COMP_EDITOR (te);
GtkUIManager *ui_manager;
GtkActionGroup *action_group;
+ GtkWidget *content_area;
+ GtkAction *action;
const gchar *id;
GError *error = NULL;
@@ -333,8 +335,10 @@ task_editor_init (TaskEditor *te)
G_CALLBACK(gtk_widget_hide), NULL);
te->priv->task_details_page = task_details_page_new (editor);
+ content_area = gtk_dialog_get_content_area (
+ GTK_DIALOG (te->priv->task_details_window));
gtk_container_add (
- GTK_CONTAINER (GTK_DIALOG (te->priv->task_details_window)->vbox),
+ GTK_CONTAINER (content_area),
comp_editor_page_get_widget ((CompEditorPage *) te->priv->task_details_page));
gtk_widget_show_all (gtk_bin_get_child (GTK_BIN (te->priv->task_details_window)));
comp_editor_append_page (
@@ -362,6 +366,9 @@ task_editor_init (TaskEditor *te)
g_error_free (error);
}
+ action = comp_editor_get_action (editor, "print");
+ gtk_action_set_tooltip (action, _("Print this task"));
+
g_signal_connect_swapped (
te->priv->model, "row_changed",
G_CALLBACK (task_editor_model_changed_cb), te);
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c
index fb6338005f..9747501eea 100644
--- a/calendar/gui/dialogs/task-page.c
+++ b/calendar/gui/dialogs/task-page.c
@@ -1335,6 +1335,7 @@ get_widgets (TaskPage *tpage)
TaskPagePrivate *priv;
GSList *accel_groups;
GtkWidget *toplevel;
+ GtkWidget *parent;
GtkWidget *sw;
GtkTreeSelection *selection;
@@ -1352,7 +1353,8 @@ get_widgets (TaskPage *tpage)
page->accel_group = g_object_ref (accel_groups->data);
g_object_ref (priv->main);
- gtk_container_remove (GTK_CONTAINER (priv->main->parent), priv->main);
+ parent = gtk_widget_get_parent (priv->main);
+ gtk_container_remove (GTK_CONTAINER (parent), priv->main);
priv->info_hbox = e_builder_get_widget (priv->builder, "generic-info");
priv->info_icon = e_builder_get_widget (priv->builder, "generic-info-image");
diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c
index 77fa25c995..da7e853863 100644
--- a/calendar/gui/e-cal-component-preview.c
+++ b/calendar/gui/e-cal-component-preview.c
@@ -27,13 +27,13 @@
#include <string.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
+#include <camel/camel.h>
#include <libecal/e-cal-time-util.h>
#include <libedataserver/e-categories.h>
#include <libedataserver/e-time-utils.h>
#include <e-util/e-util.h>
#include <e-util/e-categories-config.h>
#include "calendar-config.h"
-#include <camel/camel-mime-filter-tohtml.h>
#define E_CAL_COMPONENT_PREVIEW_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
@@ -401,14 +401,8 @@ cal_component_preview_class_init (ECalComponentPreviewClass *class)
static void
cal_component_preview_init (ECalComponentPreview *preview)
{
- GtkHTML *html;
-
preview->priv = E_CAL_COMPONENT_PREVIEW_GET_PRIVATE (preview);
- html = GTK_HTML (preview);
- gtk_html_set_default_content_type (html, "charset=utf-8");
- gtk_html_load_empty (html);
-
preview->priv->zone = icaltimezone_get_utc_timezone ();
}
diff --git a/calendar/gui/e-cal-list-view.c b/calendar/gui/e-cal-list-view.c
index 0a3c3de0be..aabf98ce55 100644
--- a/calendar/gui/e-cal-list-view.c
+++ b/calendar/gui/e-cal-list-view.c
@@ -235,6 +235,7 @@ setup_e_table (ECalListView *cal_list_view)
strings = g_list_append (strings, (gchar *) _("Confidential"));
e_cell_combo_set_popdown_strings (E_CELL_COMBO (popup_cell),
strings);
+ g_list_free (strings);
e_table_extras_add_cell (extras, "classification", popup_cell);
@@ -420,6 +421,9 @@ e_cal_list_view_get_selected_time_range (ECalendarView *cal_view, time_t *start_
ECalComponentDateTime dtstart, dtend;
ECalComponent *comp;
+ if (!is_comp_data_valid (event))
+ return FALSE;
+
comp = e_cal_component_new ();
e_cal_component_set_icalcomponent (comp, icalcomponent_new_clone (event->comp_data->icalcomp));
if (start_time) {
diff --git a/calendar/gui/e-cal-list-view.etspec b/calendar/gui/e-cal-list-view.etspec
index f8f2d72853..ba0130fac4 100644
--- a/calendar/gui/e-cal-list-view.etspec
+++ b/calendar/gui/e-cal-list-view.etspec
@@ -2,6 +2,7 @@
<ETableColumn model_col="5" _title="Start Date" expansion="2.0" minimum_width="10" resizable="true" cell="dateedit" compare="date-compare" priority="-2"/>
<ETableColumn model_col="12" _title="End Date" expansion="2.0" minimum_width="10" resizable="true" cell="dateedit" compare="date-compare" priority="-2"/>
<ETableColumn model_col="8" _title="Summary" expansion="3.0" minimum_width="10" resizable="true" cell="calstring" compare="collate" priority="10"/>
+ <ETableColumn model_col="4" _title="Description" expansion="3.0" minimum_width="10" resizable="true" cell="calstring" compare="collate" priority="10"/>
<ETableColumn model_col="13" _title="Location" expansion="3.0" minimum_width="10" resizable="true" cell="calstring" compare="collate" priority="10"/>
<ETableColumn model_col="0" _title="Categories" cell="calstring" compare="collate" expansion="1.0" minimum_width="10" resizable="true" priority="-2"/>
<ETableColumn model_col="10" _title="Created" expansion="2.0" minimum_width="10" resizable="true" cell="dateedit" compare="date-compare" priority="-2"/>
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index e48b95999d..e745d33810 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -323,7 +323,7 @@ e_cal_model_class_init (ECalModelClass *class)
PROP_DEFAULT_CLIENT,
g_param_spec_object (
"default-client",
- _("Default Client"),
+ "Default Client",
NULL,
E_TYPE_CAL,
G_PARAM_READWRITE));
diff --git a/calendar/gui/e-calendar-selector.c b/calendar/gui/e-calendar-selector.c
index 0747b55b59..915c970871 100644
--- a/calendar/gui/e-calendar-selector.c
+++ b/calendar/gui/e-calendar-selector.c
@@ -105,12 +105,12 @@ calendar_selector_data_dropped (ESourceSelector *selector,
GtkTreePath *path = NULL;
ECal *client;
icalcomponent *icalcomp;
- const gchar *string;
+ const guchar *data;
gboolean success = FALSE;
gpointer object = NULL;
- string = (const gchar *) selection_data->data;
- icalcomp = icalparser_parse_string (string);
+ data = gtk_selection_data_get_data (selection_data);
+ icalcomp = icalparser_parse_string ((const gchar *) data);
if (icalcomp == NULL)
goto exit;
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index d41ef007a4..63088350c2 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -170,6 +170,9 @@ calendar_view_delete_event (ECalendarView *cal_view,
gboolean delete = FALSE;
GError *error = NULL;
+ if (!is_comp_data_valid (event))
+ return;
+
comp = e_cal_component_new ();
e_cal_component_set_icalcomponent (comp, icalcomponent_new_clone (event->comp_data->icalcomp));
vtype = e_cal_component_get_vtype (comp);
@@ -341,6 +344,15 @@ calendar_view_finalize (GObject *object)
}
static void
+calendar_view_constructed (GObject *object)
+{
+ /* Do this after calendar_view_init() so extensions can query
+ * the GType accurately. See GInstanceInitFunc documentation
+ * for details of the problem. */
+ e_extensible_load_extensions (E_EXTENSIBLE (object));
+}
+
+static void
calendar_view_update_actions (ESelectable *selectable,
EFocusTracker *focus_tracker,
GdkAtom *clipboard_targets,
@@ -442,6 +454,9 @@ calendar_view_cut_clipboard (ESelectable *selectable)
if (!event)
continue;
+ if (!is_comp_data_valid (event))
+ continue;
+
comp = e_cal_component_new ();
e_cal_component_set_icalcomponent (comp, icalcomponent_new_clone (event->comp_data->icalcomp));
@@ -551,7 +566,7 @@ calendar_view_copy_clipboard (ESelectable *selectable)
for (l = selected; l != NULL; l = l->next) {
event = (ECalendarViewEvent *) l->data;
- if (event) {
+ if (event && is_comp_data_valid (event)) {
e_cal_util_add_timezones_from_component (vcal_comp, event->comp_data->icalcomp);
add_related_timezones (vcal_comp, event->comp_data->icalcomp, event->comp_data->client);
@@ -561,6 +576,9 @@ calendar_view_copy_clipboard (ESelectable *selectable)
for (l = selected; l != NULL; l = l->next) {
event = (ECalendarViewEvent *) l->data;
+ if (!is_comp_data_valid (event))
+ continue;
+
new_icalcomp = icalcomponent_new_clone (event->comp_data->icalcomp);
/* remove RECURRENCE-IDs from copied objects */
@@ -736,6 +754,7 @@ e_calendar_view_class_init (ECalendarViewClass *class)
object_class->get_property = calendar_view_get_property;
object_class->dispose = calendar_view_dispose;
object_class->finalize = calendar_view_finalize;
+ object_class->constructed = calendar_view_constructed;
class->selection_changed = NULL;
class->selected_time_changed = NULL;
@@ -1197,6 +1216,9 @@ e_calendar_view_delete_selected_occurrence (ECalendarView *cal_view)
if (!selected)
return;
event = (ECalendarViewEvent *) selected->data;
+ if (!is_comp_data_valid (event))
+ return;
+
comp = e_cal_component_new ();
e_cal_component_set_icalcomponent (comp, icalcomponent_new_clone (event->comp_data->icalcomp));
vtype = e_cal_component_get_vtype (comp);
@@ -1307,7 +1329,7 @@ e_calendar_view_open_event (ECalendarView *cal_view)
selected = e_calendar_view_get_selected_events (cal_view);
if (selected) {
ECalendarViewEvent *event = (ECalendarViewEvent *) selected->data;
- if (event)
+ if (event && is_comp_data_valid (event))
e_calendar_view_edit_appointment (cal_view, event->comp_data->client,
event->comp_data->icalcomp, icalcomponent_get_first_property(event->comp_data->icalcomp, ICAL_ATTENDEE_PROPERTY) != NULL);
@@ -1644,39 +1666,42 @@ get_label (struct icaltimetype *tt, icaltimezone *f_zone, icaltimezone *t_zone)
void
e_calendar_view_move_tip (GtkWidget *widget, gint x, gint y)
{
- GtkRequisition requisition;
- gint w, h;
- GdkScreen *screen;
- GdkScreen *pointer_screen;
- gint monitor_num, px, py;
- GdkRectangle monitor;
-
- screen = gtk_widget_get_screen (widget);
-
- gtk_widget_size_request (widget, &requisition);
- w = requisition.width;
- h = requisition.height;
-
- gdk_display_get_pointer (gdk_screen_get_display (screen),
- &pointer_screen, &px, &py, NULL);
- if (pointer_screen != screen)
- {
- px = x;
- py = y;
- }
- monitor_num = gdk_screen_get_monitor_at_point (screen, px, py);
- gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor);
-
- if ((x + w) > monitor.x + monitor.width)
- x -= (x + w) - (monitor.x + monitor.width);
- else if (x < monitor.x)
- x = monitor.x;
-
- if ((y + h + widget->allocation.height + 4) > monitor.y + monitor.height)
- y = y - h - 36;
-
- gtk_window_move (GTK_WINDOW (widget), x, y);
- gtk_widget_show (widget);
+ GtkAllocation allocation;
+ GtkRequisition requisition;
+ gint w, h;
+ GdkScreen *screen;
+ GdkScreen *pointer_screen;
+ gint monitor_num, px, py;
+ GdkRectangle monitor;
+
+ screen = gtk_widget_get_screen (widget);
+
+ gtk_widget_size_request (widget, &requisition);
+ w = requisition.width;
+ h = requisition.height;
+
+ gdk_display_get_pointer (
+ gdk_screen_get_display (screen),
+ &pointer_screen, &px, &py, NULL);
+ if (pointer_screen != screen) {
+ px = x;
+ py = y;
+ }
+ monitor_num = gdk_screen_get_monitor_at_point (screen, px, py);
+ gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor);
+
+ if ((x + w) > monitor.x + monitor.width)
+ x -= (x + w) - (monitor.x + monitor.width);
+ else if (x < monitor.x)
+ x = monitor.x;
+
+ gtk_widget_get_allocation (widget, &allocation);
+
+ if ((y + h + allocation.height + 4) > monitor.y + monitor.height)
+ y = y - h - 36;
+
+ gtk_window_move (GTK_WINDOW (widget), x, y);
+ gtk_widget_show (widget);
}
/**
@@ -1779,6 +1804,7 @@ e_calendar_view_get_tooltips (ECalendarViewEventData *data)
ECalendarViewEvent *pevent;
GtkStyle *style = gtk_widget_get_default_style ();
GtkWidget *widget = (GtkWidget *) g_object_get_data (G_OBJECT (data->cal_view), "tooltip-window");
+ GdkWindow *window;
ECalComponent *newcomp = e_cal_component_new ();
icaltimezone *zone, *default_zone;
ECal *client = NULL;
@@ -1791,6 +1817,9 @@ e_calendar_view_get_tooltips (ECalendarViewEventData *data)
default_zone = e_calendar_view_get_timezone (data->cal_view);
pevent = data->get_view_event (data->cal_view, data->day, data->event_num);
+ if (!is_comp_data_valid (pevent))
+ return FALSE;
+
client = pevent->comp_data->client;
clone_comp = icalcomponent_new_clone (pevent->comp_data->icalcomp);
@@ -1938,7 +1967,8 @@ e_calendar_view_get_tooltips (ECalendarViewEventData *data)
e_calendar_view_move_tip (pevent->tooltip, pevent->x +16, pevent->y+16);
- gdk_keyboard_grab (pevent->tooltip->window, FALSE, GDK_CURRENT_TIME);
+ window = gtk_widget_get_window (pevent->tooltip);
+ gdk_keyboard_grab (window, FALSE, GDK_CURRENT_TIME);
g_signal_connect (pevent->tooltip, "key-press-event", G_CALLBACK (tooltip_grab), data->cal_view);
pevent->timeout = -1;
@@ -2091,3 +2121,38 @@ get_today_background (const GdkColor base_background)
return res;
}
+gboolean
+is_comp_data_valid_func (ECalendarViewEvent *event, const gchar *location)
+{
+ g_return_val_if_fail (location != NULL, FALSE);
+
+ if (!event) {
+ g_warning ("%s: event is NULL", location);
+ return FALSE;
+ }
+
+ if (!event->comp_data) {
+ g_warning ("%s: event's (%p) comp_data is NULL", location, event);
+ return FALSE;
+ }
+
+ return TRUE;
+}
+
+gboolean
+is_array_index_in_bounds_func (GArray *array, gint index, const gchar *location)
+{
+ g_return_val_if_fail (location != NULL, FALSE);
+
+ if (!array) {
+ g_warning ("%s: array is NULL", location);
+ return FALSE;
+ }
+
+ if (index < 0 || index >= array->len) {
+ g_warning ("%s: index %d is out of bounds [0,%d) at array %p", location, index, array->len, array);
+ return FALSE;
+ }
+
+ return TRUE;
+}
diff --git a/calendar/gui/e-calendar-view.h b/calendar/gui/e-calendar-view.h
index 62fcabcc37..6f68e6376b 100644
--- a/calendar/gui/e-calendar-view.h
+++ b/calendar/gui/e-calendar-view.h
@@ -87,6 +87,14 @@ typedef struct {
E_CALENDAR_VIEW_EVENT_FIELDS
} ECalendarViewEvent;
+/* checks if event->comp_data is not NULL, returns FALSE when it is and prints a warning on a console */
+gboolean is_comp_data_valid_func (ECalendarViewEvent *event, const gchar *location);
+#define is_comp_data_valid(_event) is_comp_data_valid_func ((ECalendarViewEvent *) (_event), G_STRFUNC)
+
+/* checks if index is within bounds for the array; returns FALSE when not, and prints a warning on a console */
+gboolean is_array_index_in_bounds_func (GArray *array, gint index, const gchar *location);
+#define is_array_index_in_bounds(_array, _index) is_array_index_in_bounds_func (_array, _index, G_STRFUNC)
+
typedef struct _ECalendarView ECalendarView;
typedef struct _ECalendarViewClass ECalendarViewClass;
typedef struct _ECalendarViewPrivate ECalendarViewPrivate;
diff --git a/calendar/gui/e-day-view-main-item.c b/calendar/gui/e-day-view-main-item.c
index 11baebf67b..5de9b76546 100644
--- a/calendar/gui/e-day-view-main-item.c
+++ b/calendar/gui/e-day-view-main-item.c
@@ -107,6 +107,9 @@ day_view_main_item_draw_long_events_in_vbars (EDayViewMainItem *main_item,
gboolean first = TRUE;
event = &g_array_index (day_view->long_events, EDayViewEvent, event_num);
+ if (!is_comp_data_valid (event))
+ continue;
+
/* If the event is TRANSPARENT, skip it. */
if (icalcomp_is_transparent (event->comp_data->icalcomp)) {
continue;
@@ -248,9 +251,15 @@ day_view_main_item_draw_day_event (EDayViewMainItem *main_item,
font_options = get_font_options ();
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
+ if (!is_comp_data_valid (event))
+ return;
+
/* Fill in the event background. Note that for events in the first
column of the day, we might not want to paint over the vertical bar,
since that is used for multiple events. But then you can't see
@@ -279,11 +288,7 @@ day_view_main_item_draw_day_event (EDayViewMainItem *main_item,
g_object_get (G_OBJECT (event->canvas_item), "x_offset", &text_x_offset, NULL);
/* Draw shadow around the event when selected */
-#if GTK_CHECK_VERSION(2,19,7)
if (is_editing && (gtk_widget_has_focus (day_view->main_canvas))) {
-#else
- if (is_editing && (GTK_WIDGET_HAS_FOCUS (day_view->main_canvas))) {
-#endif
/* For embossing Item selection */
item_x -= 1;
item_y -= 2;
@@ -870,6 +875,9 @@ day_view_main_item_draw_events_in_vbars (EDayViewMainItem *main_item,
for (event_num = 0; event_num < day_view->events[day]->len; event_num++) {
event = &g_array_index (day_view->events[day], EDayViewEvent, event_num);
+ if (!is_comp_data_valid (event))
+ continue;
+
/* We can skip the events in the first column since they will
draw over this anyway. */
if (event->num_columns > 0 && event->start_row_or_col == 0) {
@@ -1103,11 +1111,7 @@ day_view_main_item_draw (GnomeCanvasItem *canvas_item,
if (can_draw_in_region (draw_region, rect_x, rect_y, rect_width, rect_height)) {
cairo_save (cr);
-#if GTK_CHECK_VERSION(2,19,7)
gdk_cairo_set_source_color (cr, &day_view->colors[gtk_widget_has_focus (GTK_WIDGET (day_view)) ? E_DAY_VIEW_COLOR_BG_SELECTED : E_DAY_VIEW_COLOR_BG_SELECTED_UNFOCUSSED]);
-#else
- gdk_cairo_set_source_color (cr, &day_view->colors[GTK_WIDGET_HAS_FOCUS(day_view) ? E_DAY_VIEW_COLOR_BG_SELECTED : E_DAY_VIEW_COLOR_BG_SELECTED_UNFOCUSSED]);
-#endif
cairo_rectangle (cr, rect_x, rect_y, rect_width, rect_height);
cairo_fill (cr);
cairo_restore (cr);
diff --git a/calendar/gui/e-day-view-time-item.c b/calendar/gui/e-day-view-time-item.c
index 6f7b8313c0..edc446ac25 100644
--- a/calendar/gui/e-day-view-time-item.c
+++ b/calendar/gui/e-day-view-time-item.c
@@ -853,6 +853,7 @@ static void
e_day_view_time_item_on_button_press (EDayViewTimeItem *time_item,
GdkEvent *event)
{
+ GdkWindow *window;
EDayView *day_view;
GnomeCanvas *canvas;
gint row;
@@ -868,14 +869,12 @@ e_day_view_time_item_on_button_press (EDayViewTimeItem *time_item,
if (row == -1)
return;
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_has_focus (GTK_WIDGET (day_view)))
-#else
- if (!GTK_WIDGET_HAS_FOCUS (day_view))
-#endif
gtk_widget_grab_focus (GTK_WIDGET (day_view));
- if (gdk_pointer_grab (GTK_LAYOUT (canvas)->bin_window, FALSE,
+ window = gtk_layout_get_bin_window (GTK_LAYOUT (canvas));
+
+ if (gdk_pointer_grab (window, FALSE,
GDK_POINTER_MOTION_MASK
| GDK_BUTTON_RELEASE_MASK,
NULL, NULL, event->button.time) == 0) {
diff --git a/calendar/gui/e-day-view-top-item.c b/calendar/gui/e-day-view-top-item.c
index 4012ba6289..f622b8252b 100644
--- a/calendar/gui/e-day-view-top-item.c
+++ b/calendar/gui/e-day-view-top-item.c
@@ -93,8 +93,15 @@ day_view_top_item_draw_triangle (EDayViewTopItem *top_item,
if (h % 2 == 0)
c1--;
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
+
+ if (!is_comp_data_valid (event))
+ return;
+
cairo_save (cr);
/* Fill it in. */
if (gdk_color_parse (e_cal_model_get_color_for_component (e_calendar_view_get_model (E_CALENDAR_VIEW (day_view)),
@@ -187,9 +194,15 @@ day_view_top_item_draw_long_event (EDayViewTopItem *top_item,
&item_w, &item_h))
return;
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
+ if (!is_comp_data_valid (event))
+ return;
+
style = gtk_widget_get_style (GTK_WIDGET (day_view));
gc = day_view->main_gc;
fg_gc = style->fg_gc[GTK_STATE_NORMAL];
@@ -581,6 +594,7 @@ day_view_top_item_draw (GnomeCanvasItem *canvas_item,
GtkStyle *style;
GdkGC *fg_gc;
gchar buffer[128];
+ GtkAllocation allocation;
GdkRectangle clip_rect;
gint canvas_width, canvas_height, left_edge, day, date_width, date_x;
gint item_height, event_num;
@@ -598,7 +612,9 @@ day_view_top_item_draw (GnomeCanvasItem *canvas_item,
style = gtk_widget_get_style (GTK_WIDGET (day_view));
fg_gc = style->fg_gc[GTK_STATE_NORMAL];
- canvas_width = GTK_WIDGET (canvas_item->canvas)->allocation.width;
+ gtk_widget_get_allocation (
+ GTK_WIDGET (canvas_item->canvas), &allocation);
+ canvas_width = allocation.width;
canvas_height = (show_dates ? 1 : (MAX (1, day_view->rows_in_top_display) + 1)) * day_view->top_row_height;
left_edge = 0;
item_height = day_view->top_row_height - E_DAY_VIEW_TOP_CANVAS_Y_GAP;
@@ -648,11 +664,7 @@ day_view_top_item_draw (GnomeCanvasItem *canvas_item,
cairo_restore (cr);
/* Draw the selection background. */
-#if GTK_CHECK_VERSION(2,19,7)
if (gtk_widget_has_focus (GTK_WIDGET (day_view))
-#else
- if (GTK_WIDGET_HAS_FOCUS (day_view)
-#endif
&& day_view->selection_start_day != -1) {
gint start_col, end_col, rect_x, rect_y, rect_w, rect_h;
@@ -684,9 +696,11 @@ day_view_top_item_draw (GnomeCanvasItem *canvas_item,
e_day_view_top_item_get_day_label (day_view, day, buffer, sizeof (buffer));
clip_rect.x = day_view->day_offsets[day] - x;
clip_rect.y = 2 - y;
- if (day_view->days_shown == 1)
- clip_rect.width = day_view->top_canvas->allocation.width - day_view->day_offsets[day];
- else
+ if (day_view->days_shown == 1) {
+ gtk_widget_get_allocation (
+ day_view->top_canvas, &allocation);
+ clip_rect.width = allocation.width - day_view->day_offsets[day];
+ } else
clip_rect.width = day_view->day_widths[day];
clip_rect.height = item_height - 2;
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index cc8581fb00..010f5bdb32 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -591,6 +591,9 @@ day_view_constructed (GObject *object)
{
ECalModel *model;
+ /* Chain up to parent's constructed() method. */
+ G_OBJECT_CLASS (e_day_view_parent_class)->constructed (object);
+
model = e_calendar_view_get_model (E_CALENDAR_VIEW (object));
g_signal_connect_swapped (
@@ -981,9 +984,11 @@ e_day_view_init (EDayView *day_view)
{
gint day;
GnomeCanvasGroup *canvas_group;
+ GtkAdjustment *adjustment;
+ GtkLayout *layout;
GtkWidget *w;
- GTK_WIDGET_SET_FLAGS (day_view, GTK_CAN_FOCUS);
+ gtk_widget_set_can_focus (GTK_WIDGET (day_view), TRUE);
day_view->long_events = g_array_new (FALSE, FALSE,
sizeof (EDayViewEvent));
@@ -1239,8 +1244,10 @@ e_day_view_init (EDayView *day_view)
* Times Canvas
*/
day_view->time_canvas = e_canvas_new ();
- gtk_layout_set_vadjustment (GTK_LAYOUT (day_view->time_canvas),
- GTK_LAYOUT (day_view->main_canvas)->vadjustment);
+ layout = GTK_LAYOUT (day_view->main_canvas);
+ adjustment = gtk_layout_get_vadjustment (layout);
+ layout = GTK_LAYOUT (day_view->time_canvas);
+ gtk_layout_set_vadjustment (layout, adjustment);
gtk_table_attach (GTK_TABLE (day_view), day_view->time_canvas,
0, 1, 1, 2,
GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
@@ -1259,16 +1266,22 @@ e_day_view_init (EDayView *day_view)
/*
* Scrollbar.
*/
- day_view->mc_hscrollbar = gtk_hscrollbar_new (GTK_LAYOUT (day_view->main_canvas)->hadjustment);
+ layout = GTK_LAYOUT (day_view->main_canvas);
+ adjustment = gtk_layout_get_hadjustment (layout);
+ day_view->mc_hscrollbar = gtk_hscrollbar_new (adjustment);
gtk_table_attach (GTK_TABLE (day_view), day_view->mc_hscrollbar, 1, 2, 2, 3, GTK_FILL, 0, 0, 0);
gtk_widget_show (day_view->mc_hscrollbar);
- day_view->tc_vscrollbar = gtk_vscrollbar_new (GTK_LAYOUT (day_view->top_canvas)->vadjustment);
+ layout = GTK_LAYOUT (day_view->top_canvas);
+ adjustment = gtk_layout_get_vadjustment (layout);
+ day_view->tc_vscrollbar = gtk_vscrollbar_new (adjustment);
gtk_table_attach (GTK_TABLE (day_view), day_view->tc_vscrollbar,
2, 3, 0, 1, 0, GTK_FILL, 0, 0);
/* gtk_widget_show (day_view->tc_vscrollbar); */
- day_view->vscrollbar = gtk_vscrollbar_new (GTK_LAYOUT (day_view->main_canvas)->vadjustment);
+ layout = GTK_LAYOUT (day_view->main_canvas);
+ adjustment = gtk_layout_get_vadjustment (layout);
+ day_view->vscrollbar = gtk_vscrollbar_new (adjustment);
gtk_table_attach (GTK_TABLE (day_view), day_view->vscrollbar,
2, 3, 1, 2, 0, GTK_EXPAND | GTK_FILL, 0, 0);
gtk_widget_show (day_view->vscrollbar);
@@ -1321,8 +1334,10 @@ static void
e_day_view_on_canvas_realized (GtkWidget *widget,
EDayView *day_view)
{
- gdk_window_set_back_pixmap (GTK_LAYOUT (widget)->bin_window,
- NULL, FALSE);
+ GdkWindow *window;
+
+ window = gtk_layout_get_bin_window (GTK_LAYOUT (widget));
+ gdk_window_set_back_pixmap (window, NULL, FALSE);
}
/**
@@ -1404,12 +1419,14 @@ e_day_view_realize (GtkWidget *widget)
{
EDayView *day_view;
GdkColormap *colormap;
+ GdkWindow *window;
if (GTK_WIDGET_CLASS (e_day_view_parent_class)->realize)
(*GTK_WIDGET_CLASS (e_day_view_parent_class)->realize)(widget);
day_view = E_DAY_VIEW (widget);
- day_view->main_gc = gdk_gc_new (widget->window);
+ window = gtk_widget_get_window (widget);
+ day_view->main_gc = gdk_gc_new (window);
colormap = gtk_widget_get_colormap (widget);
@@ -1446,21 +1463,25 @@ e_day_view_realize (GtkWidget *widget)
static void
e_day_view_set_colors(EDayView *day_view, GtkWidget *widget)
{
- day_view->colors[E_DAY_VIEW_COLOR_BG_WORKING] = widget->style->base[GTK_STATE_NORMAL];
- day_view->colors[E_DAY_VIEW_COLOR_BG_NOT_WORKING] = widget->style->bg[GTK_STATE_ACTIVE];
- day_view->colors[E_DAY_VIEW_COLOR_BG_SELECTED] = widget->style->base[GTK_STATE_SELECTED];
- day_view->colors[E_DAY_VIEW_COLOR_BG_SELECTED_UNFOCUSSED] = widget->style->bg[GTK_STATE_SELECTED];
- day_view->colors[E_DAY_VIEW_COLOR_BG_GRID] = widget->style->dark[GTK_STATE_NORMAL];
+ GtkStyle *style;
+
+ style = gtk_widget_get_style (widget);
+
+ day_view->colors[E_DAY_VIEW_COLOR_BG_WORKING] = style->base[GTK_STATE_NORMAL];
+ day_view->colors[E_DAY_VIEW_COLOR_BG_NOT_WORKING] = style->bg[GTK_STATE_ACTIVE];
+ day_view->colors[E_DAY_VIEW_COLOR_BG_SELECTED] = style->base[GTK_STATE_SELECTED];
+ day_view->colors[E_DAY_VIEW_COLOR_BG_SELECTED_UNFOCUSSED] = style->bg[GTK_STATE_SELECTED];
+ day_view->colors[E_DAY_VIEW_COLOR_BG_GRID] = style->dark[GTK_STATE_NORMAL];
day_view->colors[E_DAY_VIEW_COLOR_BG_MULTIDAY_TODAY] = get_today_background (day_view->colors[E_DAY_VIEW_COLOR_BG_WORKING]);
- day_view->colors[E_DAY_VIEW_COLOR_BG_TOP_CANVAS] = widget->style->dark[GTK_STATE_NORMAL];
- day_view->colors[E_DAY_VIEW_COLOR_BG_TOP_CANVAS_SELECTED] = widget->style->bg[GTK_STATE_SELECTED];
- day_view->colors[E_DAY_VIEW_COLOR_BG_TOP_CANVAS_GRID] = widget->style->light[GTK_STATE_NORMAL];
- day_view->colors[E_DAY_VIEW_COLOR_EVENT_VBAR] = widget->style->base[GTK_STATE_SELECTED];
- day_view->colors[E_DAY_VIEW_COLOR_EVENT_BACKGROUND] = widget->style->base[GTK_STATE_NORMAL];
- day_view->colors[E_DAY_VIEW_COLOR_EVENT_BORDER] = widget->style->dark[GTK_STATE_NORMAL];
- day_view->colors[E_DAY_VIEW_COLOR_LONG_EVENT_BACKGROUND] = widget->style->bg[GTK_STATE_ACTIVE];
- day_view->colors[E_DAY_VIEW_COLOR_LONG_EVENT_BORDER] = widget->style->dark[GTK_STATE_NORMAL];
- day_view->colors[E_DAY_VIEW_COLOR_MARCUS_BAINS_LINE] = widget->style->dark[GTK_STATE_PRELIGHT];
+ day_view->colors[E_DAY_VIEW_COLOR_BG_TOP_CANVAS] = style->dark[GTK_STATE_NORMAL];
+ day_view->colors[E_DAY_VIEW_COLOR_BG_TOP_CANVAS_SELECTED] = style->bg[GTK_STATE_SELECTED];
+ day_view->colors[E_DAY_VIEW_COLOR_BG_TOP_CANVAS_GRID] = style->light[GTK_STATE_NORMAL];
+ day_view->colors[E_DAY_VIEW_COLOR_EVENT_VBAR] = style->base[GTK_STATE_SELECTED];
+ day_view->colors[E_DAY_VIEW_COLOR_EVENT_BACKGROUND] = style->base[GTK_STATE_NORMAL];
+ day_view->colors[E_DAY_VIEW_COLOR_EVENT_BORDER] = style->dark[GTK_STATE_NORMAL];
+ day_view->colors[E_DAY_VIEW_COLOR_LONG_EVENT_BACKGROUND] = style->bg[GTK_STATE_ACTIVE];
+ day_view->colors[E_DAY_VIEW_COLOR_LONG_EVENT_BORDER] = style->dark[GTK_STATE_NORMAL];
+ day_view->colors[E_DAY_VIEW_COLOR_MARCUS_BAINS_LINE] = style->dark[GTK_STATE_PRELIGHT];
}
static void
@@ -1495,6 +1516,7 @@ e_day_view_unrealize (GtkWidget *widget)
static GdkColor
e_day_view_get_text_color (EDayView *day_view, EDayViewEvent *event, GtkWidget *widget)
{
+ GtkStyle *style;
GdkColor bg_color;
guint16 red, green, blue;
gdouble cc = 65535.0;
@@ -1503,7 +1525,7 @@ e_day_view_get_text_color (EDayView *day_view, EDayViewEvent *event, GtkWidget *
green = day_view->colors[E_DAY_VIEW_COLOR_EVENT_BACKGROUND].green;
blue = day_view->colors[E_DAY_VIEW_COLOR_EVENT_BACKGROUND].blue;
- if (gdk_color_parse (e_cal_model_get_color_for_component (e_calendar_view_get_model (E_CALENDAR_VIEW (day_view)), event->comp_data),
+ if (is_comp_data_valid (event) && gdk_color_parse (e_cal_model_get_color_for_component (e_calendar_view_get_model (E_CALENDAR_VIEW (day_view)), event->comp_data),
&bg_color)) {
GdkColormap *colormap;
colormap = gtk_widget_get_colormap (GTK_WIDGET (day_view));
@@ -1514,15 +1536,18 @@ e_day_view_get_text_color (EDayView *day_view, EDayViewEvent *event, GtkWidget *
}
}
+ style = gtk_widget_get_style (widget);
+
if ((red/cc > 0.7) || (green/cc > 0.7) || (blue/cc > 0.7 ))
- return widget->style->black;
+ return style->black;
else
- return widget->style->white;
+ return style->white;
}
static void
e_day_view_update_top_scroll (EDayView *day_view, gboolean scroll_to_top)
{
+ GtkAllocation allocation;
gint top_rows, top_canvas_height;
gdouble old_x2, old_y2, new_x2, new_y2;
@@ -1541,7 +1566,8 @@ e_day_view_update_top_scroll (EDayView *day_view, gboolean scroll_to_top)
/* Set the scroll region of the top canvas */
gnome_canvas_get_scroll_region (GNOME_CANVAS (day_view->top_canvas),
NULL, NULL, &old_x2, &old_y2);
- new_x2 = day_view->top_canvas->allocation.width - 1;
+ gtk_widget_get_allocation (day_view->top_canvas, &allocation);
+ new_x2 = allocation.width - 1;
new_y2 = (MAX (1, day_view->rows_in_top_display) + 1) * day_view->top_row_height - 1;
if (old_x2 != new_x2 || old_y2 != new_y2) {
gnome_canvas_set_scroll_region (GNOME_CANVAS (day_view->top_canvas),
@@ -1577,6 +1603,7 @@ e_day_view_style_set (GtkWidget *widget,
PangoFontMetrics *font_metrics;
PangoLayout *layout;
gint week_day, event_num;
+ GtkAdjustment *adjustment;
EDayViewEvent *event;
GdkColor color;
@@ -1635,16 +1662,25 @@ e_day_view_style_set (GtkWidget *widget,
PANGO_PIXELS (pango_font_metrics_get_ascent (font_metrics)) +
PANGO_PIXELS (pango_font_metrics_get_descent (font_metrics)) +
E_DAY_VIEW_EVENT_BORDER_HEIGHT + E_DAY_VIEW_EVENT_Y_PAD * 2 + 2 /* FIXME */;
- day_view->row_height = MAX (day_view->row_height, E_DAY_VIEW_ICON_HEIGHT + E_DAY_VIEW_ICON_Y_PAD + 2);
- GTK_LAYOUT (day_view->main_canvas)->vadjustment->step_increment = day_view->row_height;
+ day_view->row_height =
+ MAX (day_view->row_height,
+ E_DAY_VIEW_ICON_HEIGHT + E_DAY_VIEW_ICON_Y_PAD + 2);
+
+ adjustment = gtk_layout_get_vadjustment (GTK_LAYOUT (day_view->main_canvas));
+ gtk_adjustment_set_step_increment (adjustment, day_view->row_height);
day_view->top_row_height =
PANGO_PIXELS (pango_font_metrics_get_ascent (font_metrics)) +
PANGO_PIXELS (pango_font_metrics_get_descent (font_metrics)) +
E_DAY_VIEW_LONG_EVENT_BORDER_HEIGHT * 2 + E_DAY_VIEW_LONG_EVENT_Y_PAD * 2 +
E_DAY_VIEW_TOP_CANVAS_Y_GAP;
- day_view->top_row_height = MAX (day_view->top_row_height, E_DAY_VIEW_ICON_HEIGHT + E_DAY_VIEW_ICON_Y_PAD + 2 + E_DAY_VIEW_TOP_CANVAS_Y_GAP);
- GTK_LAYOUT (day_view->top_canvas)->vadjustment->step_increment = day_view->top_row_height;
+ day_view->top_row_height =
+ MAX (day_view->top_row_height,
+ E_DAY_VIEW_ICON_HEIGHT + E_DAY_VIEW_ICON_Y_PAD + 2 +
+ E_DAY_VIEW_TOP_CANVAS_Y_GAP);
+
+ adjustment = gtk_layout_get_vadjustment (GTK_LAYOUT (day_view->top_canvas));
+ gtk_adjustment_set_step_increment (adjustment, day_view->top_row_height);
gtk_widget_set_size_request (day_view->top_dates_canvas, -1, day_view->top_row_height - 2);
e_day_view_update_top_scroll (day_view, TRUE);
@@ -1791,11 +1827,14 @@ e_day_view_recalc_cell_sizes (EDayView *day_view)
gint day, max_width;
struct tm date_tm;
gchar buffer[128];
+ GtkAllocation allocation;
PangoContext *pango_context;
PangoLayout *layout;
gint pango_width;
- g_return_if_fail (((GtkWidget*)day_view)->style != NULL);
+ g_return_if_fail (gtk_widget_get_style (GTK_WIDGET (day_view)) != NULL);
+
+ gtk_widget_get_allocation (day_view->main_canvas, &allocation);
/* Set up Pango prerequisites */
pango_context = gtk_widget_get_pango_context (GTK_WIDGET (day_view));
@@ -1804,7 +1843,7 @@ e_day_view_recalc_cell_sizes (EDayView *day_view)
/* Calculate the column sizes, using floating point so that pixels
get divided evenly. Note that we use one more element than the
number of columns, to make it easy to get the column widths. */
- width = day_view->main_canvas->allocation.width;
+ width = allocation.width;
if (day_view->days_shown == 1)
width = MAX (width, day_view->max_cols * (E_DAY_VIEW_MIN_DAY_COL_WIDTH + E_DAY_VIEW_GAP_WIDTH) - E_DAY_VIEW_MIN_DAY_COL_WIDTH - 1);
width /= day_view->days_shown;
@@ -1969,6 +2008,9 @@ e_day_view_foreach_event_with_uid (EDayView *day_view,
event = &g_array_index (day_view->events[day],
EDayViewEvent, event_num);
+ if (!is_comp_data_valid (event))
+ continue;
+
u = icalcomponent_get_uid (event->comp_data->icalcomp);
if (uid && !strcmp (uid, u)) {
if (!(*callback) (day_view, day, event_num, data))
@@ -1983,6 +2025,9 @@ e_day_view_foreach_event_with_uid (EDayView *day_view,
event = &g_array_index (day_view->long_events,
EDayViewEvent, event_num);
+ if (!is_comp_data_valid (event))
+ continue;
+
u = icalcomponent_get_uid (event->comp_data->icalcomp);
if (u && !strcmp (uid, u)) {
if (!(*callback) (day_view, E_DAY_VIEW_LONG_EVENT, event_num, data))
@@ -2004,12 +2049,19 @@ e_day_view_remove_event_cb (EDayView *day_view,
day, event_num);
#endif
- if (day == E_DAY_VIEW_LONG_EVENT)
+ if (day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return TRUE;
+
event = &g_array_index (day_view->long_events,
EDayViewEvent, event_num);
- else
+ } else {
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return TRUE;
+
event = &g_array_index (day_view->events[day],
EDayViewEvent, event_num);
+ }
if (!event)
return TRUE;
@@ -2029,7 +2081,8 @@ e_day_view_remove_event_cb (EDayView *day_view,
if (event->canvas_item)
gtk_object_destroy (GTK_OBJECT (event->canvas_item));
- g_object_unref (event->comp_data);
+ if (is_comp_data_valid (event))
+ g_object_unref (event->comp_data);
event->comp_data = NULL;
if (day == E_DAY_VIEW_LONG_EVENT) {
@@ -2053,6 +2106,9 @@ set_text_as_bold (EDayViewEvent *event)
gchar *address;
ECalComponentAttendee *at = NULL;
+ if (!is_comp_data_valid (event))
+ return;
+
comp = e_cal_component_new ();
e_cal_component_set_icalcomponent (comp, icalcomponent_new_clone (event->comp_data->icalcomp));
address = itip_get_comp_attendee (comp, event->comp_data->client);
@@ -2091,10 +2147,13 @@ e_day_view_update_event_label (EDayView *day_view,
gchar *text;
gint interval;
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent, event_num);
/* If the event isn't visible just return. */
- if (!event->canvas_item)
+ if (!event->canvas_item || !is_comp_data_valid (event))
return;
summary = icalcomponent_get_summary (event->comp_data->icalcomp);
@@ -2142,11 +2201,14 @@ e_day_view_update_long_event_label (EDayView *day_view,
const gchar *summary;
gboolean free_text = FALSE;
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
/* If the event isn't visible just return. */
- if (!event->canvas_item)
+ if (!event->canvas_item || !is_comp_data_valid (event))
return;
summary = e_calendar_view_get_icalcomponent_summary (event->comp_data->client, event->comp_data->icalcomp, &free_text);
@@ -2231,6 +2293,9 @@ e_day_view_find_event_from_uid (EDayView *day_view,
event = &g_array_index (day_view->events[day],
EDayViewEvent, event_num);
+ if (!is_comp_data_valid (event))
+ continue;
+
if (event->comp_data->client != client)
continue;
@@ -2259,6 +2324,9 @@ e_day_view_find_event_from_uid (EDayView *day_view,
event = &g_array_index (day_view->long_events,
EDayViewEvent, event_num);
+ if (!is_comp_data_valid (event))
+ continue;
+
if (event->comp_data->client != client)
continue;
@@ -2976,25 +3044,34 @@ e_day_view_recalc_work_week (EDayView *day_view)
static gboolean
e_day_view_update_scroll_regions (EDayView *day_view)
{
+ GtkAllocation main_canvas_allocation;
+ GtkAllocation time_canvas_allocation;
gdouble old_x2, old_y2, new_x2, new_y2;
gboolean need_reshape = FALSE;
+ gtk_widget_get_allocation (
+ day_view->main_canvas, &main_canvas_allocation);
+ gtk_widget_get_allocation (
+ day_view->time_canvas, &time_canvas_allocation);
+
/* Set the scroll region of the time canvas to its allocated width,
but with the height the same as the main canvas. */
- gnome_canvas_get_scroll_region (GNOME_CANVAS (day_view->time_canvas),
- NULL, NULL, &old_x2, &old_y2);
- new_x2 = day_view->time_canvas->allocation.width - 1;
+ gnome_canvas_get_scroll_region (
+ GNOME_CANVAS (day_view->time_canvas),
+ NULL, NULL, &old_x2, &old_y2);
+ new_x2 = time_canvas_allocation.width - 1;
new_y2 = MAX (day_view->rows * day_view->row_height,
- day_view->main_canvas->allocation.height) - 1;
+ main_canvas_allocation.height) - 1;
if (old_x2 != new_x2 || old_y2 != new_y2)
gnome_canvas_set_scroll_region (GNOME_CANVAS (day_view->time_canvas),
0, 0, new_x2, new_y2);
/* Set the scroll region of the main canvas to its allocated width,
but with the height depending on the number of rows needed. */
- gnome_canvas_get_scroll_region (GNOME_CANVAS (day_view->main_canvas),
- NULL, NULL, &old_x2, &old_y2);
- new_x2 = day_view->main_canvas->allocation.width - 1;
+ gnome_canvas_get_scroll_region (
+ GNOME_CANVAS (day_view->main_canvas),
+ NULL, NULL, &old_x2, &old_y2);
+ new_x2 = main_canvas_allocation.width - 1;
if (day_view->days_shown == 1)
new_x2 = MAX (new_x2, day_view->max_cols * (E_DAY_VIEW_MIN_DAY_COL_WIDTH + E_DAY_VIEW_GAP_WIDTH) - E_DAY_VIEW_MIN_DAY_COL_WIDTH - 1);
@@ -3005,7 +3082,7 @@ e_day_view_update_scroll_regions (EDayView *day_view)
0, 0, new_x2, new_y2);
}
- if (new_x2 <= day_view->main_canvas->allocation.width - 1)
+ if (new_x2 <= main_canvas_allocation.width - 1)
gtk_widget_hide (day_view->mc_hscrollbar);
else
gtk_widget_show (day_view->mc_hscrollbar);
@@ -3070,6 +3147,11 @@ e_day_view_on_top_canvas_button_press (GtkWidget *widget,
{
gint event_x, event_y, day, event_num;
ECalendarViewPosition pos;
+ GtkLayout *layout;
+ GdkWindow *window;
+
+ layout = GTK_LAYOUT (widget);
+ window = gtk_layout_get_bin_window (layout);
if (day_view->resize_event_num != -1)
day_view->resize_event_num = -1;
@@ -3079,9 +3161,8 @@ e_day_view_on_top_canvas_button_press (GtkWidget *widget,
/* Convert the coords to the main canvas window, or return if the
window is not found. */
- if (!e_day_view_convert_event_coords (day_view, (GdkEvent*) event,
- GTK_LAYOUT (widget)->bin_window,
- &event_x, &event_y))
+ if (!e_day_view_convert_event_coords (
+ day_view, (GdkEvent*) event, window, &event_x, &event_y))
return FALSE;
pos = e_day_view_convert_position_in_top_canvas (day_view,
@@ -3116,14 +3197,10 @@ e_day_view_on_top_canvas_button_press (GtkWidget *widget,
return TRUE;
}
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_has_focus (GTK_WIDGET (day_view)))
-#else
- if (!GTK_WIDGET_HAS_FOCUS (day_view))
-#endif
gtk_widget_grab_focus (GTK_WIDGET (day_view));
- if (gdk_pointer_grab (GTK_LAYOUT (widget)->bin_window, FALSE,
+ if (gdk_pointer_grab (window, FALSE,
GDK_POINTER_MOTION_MASK
| GDK_BUTTON_RELEASE_MASK,
NULL, NULL, event->time) == 0) {
@@ -3133,11 +3210,7 @@ e_day_view_on_top_canvas_button_press (GtkWidget *widget,
e_day_view_start_selection (day_view, day, -1);
}
} else if (event->button == 3) {
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_has_focus (GTK_WIDGET (day_view)))
-#else
- if (!GTK_WIDGET_HAS_FOCUS (day_view))
-#endif
gtk_widget_grab_focus (GTK_WIDGET (day_view));
if (day < day_view->selection_start_day || day > day_view->selection_end_day) {
@@ -3211,11 +3284,16 @@ e_day_view_on_main_canvas_button_press (GtkWidget *widget,
{
gint event_x, event_y, row, day, event_num;
ECalendarViewPosition pos;
+ GtkLayout *layout;
+ GdkWindow *window;
#if 0
g_print ("In e_day_view_on_main_canvas_button_press\n");
#endif
+ layout = GTK_LAYOUT (widget);
+ window = gtk_layout_get_bin_window (layout);
+
if (day_view->resize_event_num != -1)
day_view->resize_event_num = -1;
@@ -3224,9 +3302,8 @@ e_day_view_on_main_canvas_button_press (GtkWidget *widget,
/* Convert the coords to the main canvas window, or return if the
window is not found. */
- if (!e_day_view_convert_event_coords (day_view, (GdkEvent*) event,
- GTK_LAYOUT (widget)->bin_window,
- &event_x, &event_y))
+ if (!e_day_view_convert_event_coords (
+ day_view, (GdkEvent*) event, window, &event_x, &event_y))
return FALSE;
/* Find out where the mouse is. */
@@ -3262,14 +3339,10 @@ e_day_view_on_main_canvas_button_press (GtkWidget *widget,
return TRUE;
}
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_has_focus (GTK_WIDGET (day_view)) && !gtk_widget_has_focus (GTK_WIDGET (day_view->main_canvas)))
-#else
- if (!GTK_WIDGET_HAS_FOCUS (day_view) && !GTK_WIDGET_HAS_FOCUS (day_view->main_canvas))
-#endif
gtk_widget_grab_focus (GTK_WIDGET (day_view));
- if (gdk_pointer_grab (GTK_LAYOUT (widget)->bin_window, FALSE,
+ if (gdk_pointer_grab (window, FALSE,
GDK_POINTER_MOTION_MASK
| GDK_BUTTON_RELEASE_MASK,
NULL, NULL, event->time) == 0) {
@@ -3280,11 +3353,7 @@ e_day_view_on_main_canvas_button_press (GtkWidget *widget,
g_signal_emit_by_name (day_view, "selected_time_changed");
}
} else if (event->button == 3) {
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_has_focus (GTK_WIDGET (day_view)))
-#else
- if (!GTK_WIDGET_HAS_FOCUS (day_view))
-#endif
gtk_widget_grab_focus (GTK_WIDGET (day_view));
if ((day < day_view->selection_start_day || day > day_view->selection_end_day)
@@ -3383,6 +3452,9 @@ e_day_view_on_long_event_button_press (EDayView *day_view,
} else if (event->button == 3) {
EDayViewEvent *e;
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return TRUE;
+
e = &g_array_index (day_view->long_events, EDayViewEvent, event_num);
e_day_view_set_selected_time_range_in_top_visible (day_view, e->start, e->end);
@@ -3421,6 +3493,9 @@ e_day_view_on_event_button_press (EDayView *day_view,
} else if (event->button == 3) {
EDayViewEvent *e;
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return TRUE;
+
e = &g_array_index (day_view->events[day], EDayViewEvent, event_num);
e_day_view_set_selected_time_range_visible (day_view, e->start, e->end);
@@ -3442,12 +3517,20 @@ e_day_view_on_long_event_click (EDayView *day_view,
gint event_y)
{
EDayViewEvent *event;
+ GtkLayout *layout;
+ GdkWindow *window;
gint start_day, end_day, day;
gint item_x, item_y, item_w, item_h;
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
+ if (!is_comp_data_valid (event))
+ return;
+
/* Ignore clicks on the EText while editing. */
if (pos == E_CALENDAR_VIEW_POS_EVENT
&& E_TEXT (event->canvas_item)->editing) {
@@ -3467,14 +3550,13 @@ e_day_view_on_long_event_click (EDayView *day_view,
/* Grab the keyboard focus, so the event being edited is saved
and we can use the Escape key to abort the resize. */
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_has_focus (GTK_WIDGET (day_view)))
-#else
- if (!GTK_WIDGET_HAS_FOCUS (day_view))
-#endif
gtk_widget_grab_focus (GTK_WIDGET (day_view));
- if (gdk_pointer_grab (GTK_LAYOUT (day_view->top_canvas)->bin_window, FALSE,
+ layout = GTK_LAYOUT (day_view->top_canvas);
+ window = gtk_layout_get_bin_window (layout);
+
+ if (gdk_pointer_grab (window, FALSE,
GDK_POINTER_MOTION_MASK
| GDK_BUTTON_RELEASE_MASK,
NULL, NULL, bevent->time) == 0) {
@@ -3517,11 +3599,19 @@ e_day_view_on_event_click (EDayView *day_view,
gint event_y)
{
EDayViewEvent *event;
+ GtkLayout *layout;
+ GdkWindow *window;
gint tmp_day, row, start_row;
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
+ if (!is_comp_data_valid (event))
+ return;
+
/* Ignore clicks on the EText while editing. */
if (pos == E_CALENDAR_VIEW_POS_EVENT
&& E_TEXT (event->canvas_item)->editing) {
@@ -3541,14 +3631,13 @@ e_day_view_on_event_click (EDayView *day_view,
/* Grab the keyboard focus, so the event being edited is saved
and we can use the Escape key to abort the resize. */
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_has_focus (GTK_WIDGET (day_view)))
-#else
- if (!GTK_WIDGET_HAS_FOCUS (day_view))
-#endif
gtk_widget_grab_focus (GTK_WIDGET (day_view));
- if (gdk_pointer_grab (GTK_LAYOUT (day_view->main_canvas)->bin_window, FALSE,
+ layout = GTK_LAYOUT (day_view->main_canvas);
+ window = gtk_layout_get_bin_window (layout);
+
+ if (gdk_pointer_grab (window, FALSE,
GDK_POINTER_MOTION_MASK
| GDK_BUTTON_RELEASE_MASK,
NULL, NULL, bevent->time) == 0) {
@@ -3596,12 +3685,22 @@ e_day_view_on_event_double_click (EDayView *day_view,
EDayViewEvent *event;
icalproperty *attendee_prop = NULL;
- if (day == -1)
+ if (day == -1) {
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
- else
+ } else {
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
+ }
+
+ if (!is_comp_data_valid (event))
+ return;
attendee_prop = icalcomponent_get_first_property (event->comp_data->icalcomp, ICAL_ATTENDEE_PROPERTY);
@@ -3643,23 +3742,37 @@ e_day_view_get_selected_events (ECalendarView *cal_view)
g_return_val_if_fail (E_IS_DAY_VIEW (day_view), NULL);
if (day_view->editing_event_num != -1) {
- if (day_view->editing_event_day == E_DAY_VIEW_LONG_EVENT)
+ if (day_view->editing_event_day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, day_view->editing_event_num))
+ return NULL;
+
event = &g_array_index (day_view->long_events,
EDayViewEvent,
day_view->editing_event_num);
- else
+ } else {
+ if (!is_array_index_in_bounds (day_view->events[day_view->editing_event_day], day_view->editing_event_num))
+ return NULL;
+
event = &g_array_index (day_view->events[day_view->editing_event_day],
EDayViewEvent,
day_view->editing_event_num);
+ }
} else if (day_view->popup_event_num != -1) {
- if (day_view->popup_event_day == E_DAY_VIEW_LONG_EVENT)
+ if (day_view->popup_event_day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, day_view->popup_event_num))
+ return NULL;
+
event = &g_array_index (day_view->long_events,
EDayViewEvent,
day_view->popup_event_num);
- else
+ } else {
+ if (!is_array_index_in_bounds (day_view->events[day_view->popup_event_day], day_view->popup_event_num))
+ return NULL;
+
event = &g_array_index (day_view->events[day_view->popup_event_day],
EDayViewEvent,
day_view->popup_event_num);
+ }
}
if (event)
@@ -3787,16 +3900,18 @@ e_day_view_on_top_canvas_motion (GtkWidget *widget,
gint event_x, event_y, canvas_x, canvas_y;
gint day, event_num;
GdkCursor *cursor;
+ GdkWindow *window;
#if 0
g_print ("In e_day_view_on_top_canvas_motion\n");
#endif
+ window = gtk_layout_get_bin_window (GTK_LAYOUT (widget));
+
/* Convert the coords to the main canvas window, or return if the
window is not found. */
- if (!e_day_view_convert_event_coords (day_view, (GdkEvent*) mevent,
- GTK_LAYOUT (widget)->bin_window,
- &event_x, &event_y))
+ if (!e_day_view_convert_event_coords (
+ day_view, (GdkEvent*) mevent, window, &event_x, &event_y))
return FALSE;
canvas_x = event_x;
@@ -3805,9 +3920,13 @@ e_day_view_on_top_canvas_motion (GtkWidget *widget,
pos = e_day_view_convert_position_in_top_canvas (day_view,
canvas_x, canvas_y,
&day, &event_num);
- if (event_num != -1)
+ if (event_num != -1) {
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return FALSE;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
+ }
if (day_view->selection_is_being_dragged) {
e_day_view_update_selection (day_view, day, -1);
@@ -3820,9 +3939,15 @@ e_day_view_on_top_canvas_motion (GtkWidget *widget,
} else if (day_view->pressed_event_day == E_DAY_VIEW_LONG_EVENT) {
GtkTargetList *target_list;
+ if (!is_array_index_in_bounds (day_view->long_events, day_view->pressed_event_num))
+ return FALSE;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
day_view->pressed_event_num);
+ if (!is_comp_data_valid (event))
+ return FALSE;
+
if (!e_cal_util_component_has_recurrences (event->comp_data->icalcomp)
&& (abs (canvas_x - day_view->drag_event_x)
> E_DAY_VIEW_DRAG_START_OFFSET
@@ -3850,7 +3975,7 @@ e_day_view_on_top_canvas_motion (GtkWidget *widget,
cursor = day_view->normal_cursor;
/* Recurring events can't be resized. */
- if (event && !e_cal_util_component_has_recurrences (event->comp_data->icalcomp)) {
+ if (event && is_comp_data_valid (event) && !e_cal_util_component_has_recurrences (event->comp_data->icalcomp)) {
switch (pos) {
case E_CALENDAR_VIEW_POS_LEFT_EDGE:
case E_CALENDAR_VIEW_POS_RIGHT_EDGE:
@@ -3863,8 +3988,12 @@ e_day_view_on_top_canvas_motion (GtkWidget *widget,
/* Only set the cursor if it is different to last one set. */
if (day_view->last_cursor_set_in_top_canvas != cursor) {
+ GdkWindow *window;
+
day_view->last_cursor_set_in_top_canvas = cursor;
- gdk_window_set_cursor (widget->window, cursor);
+
+ window = gtk_widget_get_window (widget);
+ gdk_window_set_cursor (window, cursor);
}
if (event && E_IS_TEXT (event->canvas_item) && E_TEXT (event->canvas_item)->editing) {
@@ -3884,17 +4013,19 @@ e_day_view_on_main_canvas_motion (GtkWidget *widget,
ECalendarViewPosition pos;
gint event_x, event_y, canvas_x, canvas_y;
gint row, day, event_num;
+ GdkWindow *window;
GdkCursor *cursor;
#if 0
g_print ("In e_day_view_on_main_canvas_motion\n");
#endif
+ window = gtk_layout_get_bin_window (GTK_LAYOUT (widget));
+
/* Convert the coords to the main canvas window, or return if the
window is not found. */
- if (!e_day_view_convert_event_coords (day_view, (GdkEvent*) mevent,
- GTK_LAYOUT (widget)->bin_window,
- &event_x, &event_y))
+ if (!e_day_view_convert_event_coords (
+ day_view, (GdkEvent*) mevent, window, &event_x, &event_y))
return FALSE;
canvas_x = event_x;
@@ -3904,9 +4035,13 @@ e_day_view_on_main_canvas_motion (GtkWidget *widget,
canvas_x, canvas_y,
&day, &row,
&event_num);
- if (event_num != -1)
+ if (event_num != -1) {
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return FALSE;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
+ }
if (day_view->selection_is_being_dragged) {
if (pos != E_CALENDAR_VIEW_POS_OUTSIDE) {
@@ -3953,7 +4088,7 @@ e_day_view_on_main_canvas_motion (GtkWidget *widget,
cursor = day_view->normal_cursor;
/* Check if the event is editable and client is not readonly while changing the cursor */
- if (event && event->is_editable && e_cal_is_read_only (event->comp_data->client, &read_only, NULL) && !read_only) {
+ if (event && event->is_editable && is_comp_data_valid (event) && e_cal_is_read_only (event->comp_data->client, &read_only, NULL) && !read_only) {
switch (pos) {
case E_CALENDAR_VIEW_POS_LEFT_EDGE:
@@ -3970,8 +4105,12 @@ e_day_view_on_main_canvas_motion (GtkWidget *widget,
/* Only set the cursor if it is different to last one set. */
if (day_view->last_cursor_set_in_main_canvas != cursor) {
+ GdkWindow *window;
+
day_view->last_cursor_set_in_main_canvas = cursor;
- gdk_window_set_cursor (widget->window, cursor);
+
+ window = gtk_widget_get_window (widget);
+ gdk_window_set_cursor (window, cursor);
}
if (event && E_IS_TEXT (event->canvas_item) && E_TEXT (event->canvas_item)->editing) {
@@ -4139,10 +4278,14 @@ e_day_view_update_resize (EDayView *day_view,
day = day_view->resize_event_day;
event_num = day_view->resize_event_num;
+
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
- if (event && (!event->is_editable || (e_cal_is_read_only (event->comp_data->client, &read_only, NULL) && read_only))) {
+ if (event && (!event->is_editable || !is_comp_data_valid (event) || (e_cal_is_read_only (event->comp_data->client, &read_only, NULL) && read_only))) {
return;
}
@@ -4186,9 +4329,16 @@ e_day_view_finish_long_event_resize (EDayView *day_view)
gint is_date;
event_num = day_view->resize_event_num;
+
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
+ if (!is_comp_data_valid (event))
+ return;
+
client = event->comp_data->client;
/* We use a temporary copy of the comp since we don't want to
@@ -4297,9 +4447,16 @@ e_day_view_finish_resize (EDayView *day_view)
day = day_view->resize_event_day;
event_num = day_view->resize_event_num;
+
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
+ if (!is_comp_data_valid (event))
+ return;
+
client = event->comp_data->client;
/* We use a temporary shallow copy of the ico since we don't want to
@@ -4386,6 +4543,7 @@ e_day_view_finish_resize (EDayView *day_view)
static void
e_day_view_abort_resize (EDayView *day_view)
{
+ GdkWindow *window;
gint day, event_num;
if (day_view->resize_drag_pos == E_CALENDAR_VIEW_POS_NONE)
@@ -4401,16 +4559,16 @@ e_day_view_abort_resize (EDayView *day_view)
gtk_widget_queue_draw (day_view->top_canvas);
day_view->last_cursor_set_in_top_canvas = day_view->normal_cursor;
- gdk_window_set_cursor (day_view->top_canvas->window,
- day_view->normal_cursor);
+ window = gtk_widget_get_window (day_view->top_canvas);
+ gdk_window_set_cursor (window, day_view->normal_cursor);
} else {
e_day_view_reshape_day_event (day_view, day, event_num);
e_day_view_reshape_main_canvas_resize_bars (day_view);
gtk_widget_queue_draw (day_view->main_canvas);
day_view->last_cursor_set_in_main_canvas = day_view->normal_cursor;
- gdk_window_set_cursor (day_view->main_canvas->window,
- day_view->normal_cursor);
+ window = gtk_widget_get_window (day_view->main_canvas);
+ gdk_window_set_cursor (window, day_view->normal_cursor);
}
}
@@ -4447,7 +4605,8 @@ e_day_view_free_event_array (EDayView *day_view,
if (event->canvas_item)
gtk_object_destroy (GTK_OBJECT (event->canvas_item));
- g_object_unref (event->comp_data);
+ if (is_comp_data_valid (event))
+ g_object_unref (event->comp_data);
}
g_array_set_size (array, 0);
@@ -4660,6 +4819,9 @@ e_day_view_reshape_long_event (EDayView *day_view,
PangoContext *pango_context;
PangoLayout *layout;
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
@@ -4674,6 +4836,9 @@ e_day_view_reshape_long_event (EDayView *day_view,
return;
}
+ if (!is_comp_data_valid (event))
+ return;
+
/* Take off the border and padding. */
item_x += E_DAY_VIEW_LONG_EVENT_BORDER_WIDTH + E_DAY_VIEW_LONG_EVENT_X_PAD;
item_w -= (E_DAY_VIEW_LONG_EVENT_BORDER_WIDTH + E_DAY_VIEW_LONG_EVENT_X_PAD) * 2;
@@ -4819,6 +4984,10 @@ e_day_view_reshape_day_events (EDayView *day_view,
e_day_view_reshape_day_event (day_view, day, event_num);
event = &g_array_index (day_view->events[day], EDayViewEvent, event_num);
+
+ if (!is_comp_data_valid (event))
+ continue;
+
current_comp_string = icalcomponent_as_ical_string_r (event->comp_data->icalcomp);
if (day_view->last_edited_comp_string == NULL) {
g_free (current_comp_string);
@@ -4843,6 +5012,9 @@ e_day_view_reshape_day_event (EDayView *day_view,
gint item_x, item_y, item_w, item_h;
gint num_icons, icons_offset;
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
@@ -4864,9 +5036,9 @@ e_day_view_reshape_day_event (EDayView *day_view,
draw them on top of the resize rect. */
icons_offset = 0;
num_icons = 0;
- if (day_view->resize_drag_pos == E_CALENDAR_VIEW_POS_NONE
+ if (is_comp_data_valid (event) && (day_view->resize_drag_pos == E_CALENDAR_VIEW_POS_NONE
|| day_view->resize_event_day != day
- || day_view->resize_event_num != event_num) {
+ || day_view->resize_event_num != event_num)) {
ECalComponent *comp;
comp = e_cal_component_new ();
@@ -5839,24 +6011,50 @@ static void
e_day_view_scroll (EDayView *day_view,
gfloat pages_to_scroll)
{
- GtkAdjustment *adj = GTK_LAYOUT (day_view->main_canvas)->vadjustment;
- gfloat new_value;
+ GtkLayout *layout;
+ GtkAdjustment *adjustment;
+ gdouble new_value;
+ gdouble page_size;
+ gdouble lower;
+ gdouble upper;
+ gdouble value;
+
+ layout = GTK_LAYOUT (day_view->main_canvas);
+ adjustment = gtk_layout_get_vadjustment (layout);
+
+ page_size = gtk_adjustment_get_page_size (adjustment);
+ lower = gtk_adjustment_get_lower (adjustment);
+ upper = gtk_adjustment_get_upper (adjustment);
+ value = gtk_adjustment_get_value (adjustment);
- new_value = adj->value - adj->page_size * pages_to_scroll;
- new_value = CLAMP (new_value, adj->lower, adj->upper - adj->page_size);
- gtk_adjustment_set_value (adj, new_value);
+ new_value = value - page_size * pages_to_scroll;
+ new_value = CLAMP (new_value, lower, upper - page_size);
+ gtk_adjustment_set_value (adjustment, new_value);
}
static void
e_day_view_top_scroll (EDayView *day_view,
gfloat pages_to_scroll)
{
- GtkAdjustment *adj = GTK_LAYOUT (day_view->top_canvas)->vadjustment;
- gfloat new_value;
+ GtkLayout *layout;
+ GtkAdjustment *adjustment;
+ gdouble new_value;
+ gdouble page_size;
+ gdouble lower;
+ gdouble upper;
+ gdouble value;
- new_value = adj->value - adj->page_size * pages_to_scroll;
- new_value = CLAMP (new_value, adj->lower, adj->upper - adj->page_size);
- gtk_adjustment_set_value (adj, new_value);
+ layout = GTK_LAYOUT (day_view->top_canvas);
+ adjustment = gtk_layout_get_vadjustment (layout);
+
+ page_size = gtk_adjustment_get_page_size (adjustment);
+ lower = gtk_adjustment_get_lower (adjustment);
+ upper = gtk_adjustment_get_upper (adjustment);
+ value = gtk_adjustment_get_value (adjustment);
+
+ new_value = value - page_size * pages_to_scroll;
+ new_value = CLAMP (new_value, lower, upper - page_size);
+ gtk_adjustment_set_value (adjustment, new_value);
}
void
@@ -5864,14 +6062,20 @@ e_day_view_ensure_rows_visible (EDayView *day_view,
gint start_row,
gint end_row)
{
- GtkAdjustment *adj;
- gfloat value, min_value, max_value;
+ GtkLayout *layout;
+ GtkAdjustment *adjustment;
+ gdouble max_value;
+ gdouble min_value;
+ gdouble page_size;
+ gdouble value;
- adj = GTK_LAYOUT (day_view->main_canvas)->vadjustment;
+ layout = GTK_LAYOUT (day_view->main_canvas);
+ adjustment = gtk_layout_get_vadjustment (layout);
- value = adj->value;
+ value = gtk_adjustment_get_value (adjustment);
+ page_size = gtk_adjustment_get_page_size (adjustment);
- min_value = (end_row + 1) * day_view->row_height - adj->page_size;
+ min_value = (end_row + 1) * day_view->row_height - page_size;
if (value < min_value)
value = min_value;
@@ -5879,10 +6083,7 @@ e_day_view_ensure_rows_visible (EDayView *day_view,
if (value > max_value)
value = max_value;
- if (value != adj->value) {
- adj->value = value;
- gtk_adjustment_value_changed (adj);
- }
+ gtk_adjustment_set_value (adjustment, value);
}
static void
@@ -5906,13 +6107,22 @@ e_day_view_start_editing_event (EDayView *day_view,
return;
if (day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
} else {
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
}
+ if (!is_comp_data_valid (event))
+ return;
+
if (!e_cal_is_read_only (event->comp_data->client, &read_only, NULL) || read_only)
return;
@@ -5984,10 +6194,20 @@ cancel_editing (EDayView *day_view)
g_return_if_fail (day != -1);
- if (day == E_DAY_VIEW_LONG_EVENT)
+ if (day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent, event_num);
- else
+ } else {
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent, event_num);
+ }
+
+ if (!is_comp_data_valid (event))
+ return;
/* Reset the text to what was in the component */
@@ -6006,9 +6226,15 @@ tooltip_get_view_event (EDayView *day_view, gint day, gint event_num)
EDayViewEvent *pevent;
if (day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return NULL;
+
pevent = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
} else {
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return NULL;
+
pevent = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
}
@@ -6111,6 +6337,8 @@ e_day_view_on_text_item_event (GnomeCanvasItem *item,
gint event_x, event_y, row, day, event_num;
ECalendarViewPosition pos;
gboolean main_canvas = TRUE;
+ GdkWindow *window;
+ GtkLayout *layout;
if (day_view->editing_event_num != -1)
break;
@@ -6123,13 +6351,19 @@ e_day_view_on_text_item_event (GnomeCanvasItem *item,
/* Convert the coords to the main canvas window, or return if the
window is not found. */
- if (!e_day_view_convert_event_coords (day_view, (GdkEvent*) event,
- GTK_LAYOUT (day_view->main_canvas)->bin_window,
- &event_x, &event_y)) {
+ layout = GTK_LAYOUT (day_view->main_canvas);
+ window = gtk_layout_get_bin_window (layout);
+ if (!e_day_view_convert_event_coords (
+ day_view, (GdkEvent*) event,
+ window, &event_x, &event_y)) {
+
main_canvas = FALSE;
- if (!e_day_view_convert_event_coords (day_view, (GdkEvent*) event,
- GTK_LAYOUT (day_view->top_canvas)->bin_window,
- &event_x, &event_y)) {
+
+ layout = GTK_LAYOUT (day_view->top_canvas);
+ window = gtk_layout_get_bin_window (layout);
+ if (!e_day_view_convert_event_coords (
+ day_view, (GdkEvent*) event,
+ window, &event_x, &event_y)) {
return FALSE;
}
}
@@ -6217,6 +6451,9 @@ e_day_view_event_move (ECalendarView *cal_view, ECalViewMoveDirection direction)
if ((day == -1) || (day == E_DAY_VIEW_LONG_EVENT))
return FALSE;
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return FALSE;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
day_view->resize_event_day = day;
@@ -6293,8 +6530,16 @@ e_day_view_change_event_time (EDayView *day_view, time_t start_dt, time_t end_dt
day = day_view->editing_event_day;
event_num = day_view->editing_event_num;
+
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
+
+ if (!is_comp_data_valid (event))
+ return;
+
client = event->comp_data->client;
/* We use a temporary shallow copy of the ico since we don't want to
@@ -6368,6 +6613,10 @@ e_day_view_change_event_end_time_up (EDayView *day_view)
event_num = day_view->editing_event_num;
if ((day == -1) || (day == E_DAY_VIEW_LONG_EVENT))
return;
+
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
day_view->resize_event_day = day;
@@ -6398,6 +6647,10 @@ e_day_view_change_event_end_time_down (EDayView *day_view)
event_num = day_view->editing_event_num;
if ((day == -1) || (day == E_DAY_VIEW_LONG_EVENT))
return;
+
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
day_view->resize_event_day = day;
@@ -6422,6 +6675,7 @@ static void
e_day_view_on_editing_started (EDayView *day_view,
GnomeCanvasItem *item)
{
+ GtkAllocation allocation;
gint day, event_num;
if (!e_day_view_find_event_from_item (day_view, item,
@@ -6444,6 +6698,8 @@ e_day_view_on_editing_started (EDayView *day_view,
day_view->editing_event_day = day;
day_view->editing_event_num = event_num;
+ gtk_widget_get_allocation (day_view->top_canvas, &allocation);
+
if (day == E_DAY_VIEW_LONG_EVENT) {
gint item_x, item_y, item_w, item_h, scroll_y;
gint start_day, end_day;
@@ -6454,11 +6710,16 @@ e_day_view_on_editing_started (EDayView *day_view,
&start_day, &end_day,
&item_x, &item_y,
&item_w, &item_h)) {
+ GtkLayout *layout;
+ GtkAdjustment *adjustment;
+
+ layout = GTK_LAYOUT (day_view->top_canvas);
+ adjustment = gtk_layout_get_vadjustment (layout);
+
/* and ensure it's visible too */
/*item_y = (event_num * (day_view->top_row_height + 1)) - 1;*/
- scroll_y = gtk_adjustment_get_value (GTK_LAYOUT (day_view->top_canvas)->vadjustment);
- if (item_y + day_view->top_row_height > day_view->top_canvas->allocation.height + scroll_y ||
- item_y < scroll_y)
+ scroll_y = gtk_adjustment_get_value (adjustment);
+ if (item_y + day_view->top_row_height > allocation.height + scroll_y || item_y < scroll_y)
gnome_canvas_scroll_to (GNOME_CANVAS (day_view->top_canvas), 0, item_y);
}
} else {
@@ -6499,14 +6760,23 @@ e_day_view_on_editing_stopped (EDayView *day_view,
return;
if (day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
} else {
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
}
+ if (!is_comp_data_valid (event))
+ return;
+
/* Reset the edit fields. */
day_view->editing_event_day = -1;
day_view->editing_event_num = -1;
@@ -6719,6 +6989,7 @@ e_day_view_check_auto_scroll (EDayView *day_view,
gint event_x,
gint event_y)
{
+ GtkAllocation allocation;
gint scroll_x, scroll_y;
gnome_canvas_get_scroll_offsets (GNOME_CANVAS (day_view->main_canvas),
@@ -6730,10 +7001,11 @@ e_day_view_check_auto_scroll (EDayView *day_view,
day_view->last_mouse_x = event_x;
day_view->last_mouse_y = event_y;
+ gtk_widget_get_allocation (day_view->main_canvas, &allocation);
+
if (event_y < E_DAY_VIEW_AUTO_SCROLL_OFFSET)
e_day_view_start_auto_scroll (day_view, TRUE);
- else if (event_y >= day_view->main_canvas->allocation.height
- - E_DAY_VIEW_AUTO_SCROLL_OFFSET)
+ else if (event_y >= allocation.height - E_DAY_VIEW_AUTO_SCROLL_OFFSET)
e_day_view_start_auto_scroll (day_view, FALSE);
else
e_day_view_stop_auto_scroll (day_view);
@@ -6765,7 +7037,11 @@ e_day_view_auto_scroll_handler (gpointer data)
EDayView *day_view;
ECalendarViewPosition pos;
gint scroll_x, scroll_y, new_scroll_y, canvas_x, canvas_y, row, day;
- GtkAdjustment *adj;
+ GtkAdjustment *adjustment;
+ GtkLayout *layout;
+ gdouble step_increment;
+ gdouble page_size;
+ gdouble upper;
g_return_val_if_fail (E_IS_DAY_VIEW (data), FALSE);
@@ -6782,13 +7058,18 @@ e_day_view_auto_scroll_handler (gpointer data)
gnome_canvas_get_scroll_offsets (GNOME_CANVAS (day_view->main_canvas),
&scroll_x, &scroll_y);
- adj = GTK_LAYOUT (day_view->main_canvas)->vadjustment;
+ layout = GTK_LAYOUT (day_view->main_canvas);
+ adjustment = gtk_layout_get_vadjustment (layout);
+
+ step_increment = gtk_adjustment_get_step_increment (adjustment);
+ page_size = gtk_adjustment_get_page_size (adjustment);
+ upper = gtk_adjustment_get_upper (adjustment);
if (day_view->auto_scroll_up)
- new_scroll_y = MAX (scroll_y - adj->step_increment, 0);
+ new_scroll_y = MAX (scroll_y - step_increment, 0);
else
- new_scroll_y = MIN (scroll_y + adj->step_increment,
- adj->upper - adj->page_size);
+ new_scroll_y = MIN (scroll_y + step_increment,
+ upper - page_size);
if (new_scroll_y != scroll_y) {
/* NOTE: This reduces flicker, but only works if we don't use
@@ -6844,6 +7125,9 @@ e_day_view_get_event_rows (EDayView *day_view,
g_return_val_if_fail (day < E_DAY_VIEW_LONG_EVENT, FALSE);
g_return_val_if_fail (event_num >= 0, FALSE);
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return FALSE;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
start_row = event->start_minute / day_view->mins_per_row;
@@ -6868,6 +7152,9 @@ e_day_view_get_event_position (EDayView *day_view,
EDayViewEvent *event;
gint start_row, end_row, cols_in_row, start_col, num_columns;
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return FALSE;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
@@ -6922,6 +7209,9 @@ e_day_view_get_long_event_position (EDayView *day_view,
{
EDayViewEvent *event;
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return FALSE;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
@@ -6946,9 +7236,12 @@ e_day_view_get_long_event_position (EDayView *day_view,
}
*item_x = day_view->day_offsets[*start_day] + E_DAY_VIEW_BAR_WIDTH;
- if (day_view->days_shown == 1)
- *item_w = day_view->top_canvas->allocation.width;
- else
+ if (day_view->days_shown == 1) {
+ GtkAllocation allocation;
+
+ gtk_widget_get_allocation (day_view->top_canvas, &allocation);
+ *item_w = allocation.width;
+ } else
*item_w = day_view->day_offsets[*end_day + 1];
*item_w = MAX (*item_w - *item_x - E_DAY_VIEW_GAP_WIDTH, 0);
*item_y = (event->start_row_or_col) * day_view->top_row_height;
@@ -7189,6 +7482,9 @@ e_day_view_update_top_canvas_drag (EDayView *day_view,
num_days = 1;
if (day_view->drag_event_day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, day_view->drag_event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
day_view->drag_event_num);
row = event->start_row_or_col + 1;
@@ -7205,6 +7501,9 @@ e_day_view_update_top_canvas_drag (EDayView *day_view,
day = MIN (day, day_view->days_shown - num_days);
} else if (day_view->drag_event_day != -1) {
+ if (!is_array_index_in_bounds (day_view->events[day_view->drag_event_day], day_view->drag_event_num))
+ return;
+
event = &g_array_index (day_view->events[day_view->drag_event_day],
EDayViewEvent,
day_view->drag_event_num);
@@ -7252,7 +7551,7 @@ e_day_view_update_top_canvas_drag (EDayView *day_view,
& GNOME_CANVAS_ITEM_VISIBLE)) {
const gchar *summary;
- if (event) {
+ if (event && is_comp_data_valid (event)) {
summary = icalcomponent_get_summary (event->comp_data->icalcomp);
text = g_strdup (summary);
} else {
@@ -7345,9 +7644,15 @@ e_day_view_update_main_canvas_drag (EDayView *day_view,
num_rows = 1;
if (day_view->drag_event_day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, day_view->drag_event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
day_view->drag_event_num);
} else if (day_view->drag_event_day != -1) {
+ if (!is_array_index_in_bounds (day_view->events[day_view->drag_event_day], day_view->drag_event_num))
+ return;
+
event = &g_array_index (day_view->events[day_view->drag_event_day],
EDayViewEvent,
day_view->drag_event_num);
@@ -7411,7 +7716,7 @@ e_day_view_update_main_canvas_drag (EDayView *day_view,
if (!(day_view->drag_item->object.flags & GNOME_CANVAS_ITEM_VISIBLE)) {
const gchar *summary;
- if (event) {
+ if (event && is_comp_data_valid (event)) {
summary = icalcomponent_get_summary (event->comp_data->icalcomp);
text = g_strdup (summary);
} else {
@@ -7475,12 +7780,19 @@ e_day_view_on_drag_begin (GtkWidget *widget,
g_return_if_fail (day != -1);
g_return_if_fail (event_num != -1);
- if (day == E_DAY_VIEW_LONG_EVENT)
+ if (day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
- else
+ } else {
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
+ }
/* Hide the text item, since it will be shown in the special drag
items. */
@@ -7504,10 +7816,16 @@ e_day_view_on_drag_end (GtkWidget *widget,
return;
if (day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
event_num);
gtk_widget_queue_draw (day_view->top_canvas);
} else {
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day], EDayViewEvent,
event_num);
gtk_widget_queue_draw (day_view->main_canvas);
@@ -7540,12 +7858,22 @@ e_day_view_on_drag_data_get (GtkWidget *widget,
g_return_if_fail (day != -1);
g_return_if_fail (event_num != -1);
- if (day == E_DAY_VIEW_LONG_EVENT)
+ if (day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, event_num))
+ return;
+
event = &g_array_index (day_view->long_events,
EDayViewEvent, event_num);
- else
+ } else {
+ if (!is_array_index_in_bounds (day_view->events[day], event_num))
+ return;
+
event = &g_array_index (day_view->events[day],
EDayViewEvent, event_num);
+ }
+
+ if (!is_comp_data_valid (event))
+ return;
vcal = e_cal_util_new_top_level ();
e_cal_util_add_timezones_from_component (
@@ -7557,15 +7885,17 @@ e_day_view_on_drag_data_get (GtkWidget *widget,
if (comp_str) {
ESource *source = e_cal_get_source (event->comp_data->client);
const gchar *source_uid = e_source_peek_uid (source);
+ GdkAtom target;
gchar *tmp;
if (!source_uid)
source_uid = "";
tmp = g_strconcat (source_uid, "\n", comp_str, NULL);
+ target = gtk_selection_data_get_target (selection_data);
gtk_selection_data_set (
- selection_data, selection_data->target,
- 8, (guchar *) tmp, strlen (tmp));
+ selection_data, target, 8,
+ (guchar *) tmp, strlen (tmp));
g_free (tmp);
}
@@ -7579,7 +7909,7 @@ e_day_view_on_top_canvas_drag_data_received (GtkWidget *widget,
GdkDragContext *context,
gint x,
gint y,
- GtkSelectionData *data,
+ GtkSelectionData *selection_data,
guint info,
guint time,
EDayView *day_view)
@@ -7595,6 +7925,12 @@ e_day_view_on_top_canvas_drag_data_received (GtkWidget *widget,
gboolean all_day_event;
ECal *client;
gboolean drag_from_same_window;
+ const guchar *data;
+ gint format, length;
+
+ data = gtk_selection_data_get_data (selection_data);
+ format = gtk_selection_data_get_format (selection_data);
+ length = gtk_selection_data_get_length (selection_data);
if (day_view->drag_event_day != -1)
drag_from_same_window = TRUE;
@@ -7604,8 +7940,7 @@ e_day_view_on_top_canvas_drag_data_received (GtkWidget *widget,
client = e_cal_model_get_default_client (e_calendar_view_get_model (E_CALENDAR_VIEW (day_view)));
/* Note that we only support DnD within the EDayView at present. */
- if ((data->length >= 0) && (data->format == 8)
- && (day_view->drag_event_day != -1)) {
+ if (length >= 0 && format == 8 && day_view->drag_event_day != -1) {
/* We are dragging in the same window */
pos = e_day_view_convert_position_in_top_canvas (day_view,
@@ -7620,8 +7955,15 @@ e_day_view_on_top_canvas_drag_data_received (GtkWidget *widget,
end_offset = 0;
if (day_view->drag_event_day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, day_view->drag_event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
day_view->drag_event_num);
+
+ if (!is_comp_data_valid (event))
+ return;
+
day -= day_view->drag_event_offset;
day = MAX (day, 0);
@@ -7637,9 +7979,15 @@ e_day_view_on_top_canvas_drag_data_received (GtkWidget *widget,
start_offset = event->start_minute;
end_offset = event->end_minute;
} else {
+ if (!is_array_index_in_bounds (day_view->events[day_view->drag_event_day], day_view->drag_event_num))
+ return;
+
event = &g_array_index (day_view->events[day_view->drag_event_day],
EDayViewEvent,
day_view->drag_event_num);
+
+ if (!is_comp_data_valid (event))
+ return;
}
client = event->comp_data->client;
@@ -7731,11 +8079,9 @@ e_day_view_on_top_canvas_drag_data_received (GtkWidget *widget,
}
}
- if ((data->length >= 0) && (data->format == 8)
- && !drag_from_same_window) {
+ if (length >= 0 && format == 8 && !drag_from_same_window) {
/* We are dragging between different window */
- gchar *comp_str;
icalcomponent *icalcomp;
icalcomponent_kind kind;
time_t dtstart;
@@ -7747,8 +8093,7 @@ e_day_view_on_top_canvas_drag_data_received (GtkWidget *widget,
if (pos == E_CALENDAR_VIEW_POS_OUTSIDE)
goto error;
- comp_str = (gchar *) data->data;
- icalcomp = icalparser_parse_string ((const gchar *) comp_str);
+ icalcomp = icalparser_parse_string ((const gchar *) data);
if (!icalcomp)
goto error;
@@ -7804,7 +8149,7 @@ e_day_view_on_main_canvas_drag_data_received (GtkWidget *widget,
GdkDragContext *context,
gint x,
gint y,
- GtkSelectionData *data,
+ GtkSelectionData *selection_data,
guint info,
guint time,
EDayView *day_view)
@@ -7819,6 +8164,12 @@ e_day_view_on_main_canvas_drag_data_received (GtkWidget *widget,
time_t dt;
ECal *client;
gboolean drag_from_same_window;
+ const guchar *data;
+ gint format, length;
+
+ data = gtk_selection_data_get_data (selection_data);
+ format = gtk_selection_data_get_format (selection_data);
+ length = gtk_selection_data_get_length (selection_data);
if (day_view->drag_event_day != -1)
drag_from_same_window = TRUE;
@@ -7833,8 +8184,7 @@ e_day_view_on_main_canvas_drag_data_received (GtkWidget *widget,
y += scroll_y;
/* Note that we only support DnD within the EDayView at present. */
- if ((data->length >= 0) && (data->format == 8)
- && (day_view->drag_event_day != -1)) {
+ if (length >= 0 && format == 8 && (day_view->drag_event_day != -1)) {
/* We are dragging in the same window */
pos = e_day_view_convert_position_in_main_canvas (day_view,
@@ -7849,12 +8199,25 @@ e_day_view_on_main_canvas_drag_data_received (GtkWidget *widget,
end_offset = 0;
if (day_view->drag_event_day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, day_view->drag_event_num))
+ return;
+
event = &g_array_index (day_view->long_events, EDayViewEvent,
day_view->drag_event_num);
+
+ if (!is_comp_data_valid (event))
+ return;
} else {
+ if (!is_array_index_in_bounds (day_view->events[day_view->drag_event_day], day_view->drag_event_num))
+ return;
+
event = &g_array_index (day_view->events[day_view->drag_event_day],
EDayViewEvent,
day_view->drag_event_num);
+
+ if (!is_comp_data_valid (event))
+ return;
+
row -= day_view->drag_event_offset;
/* Calculate time offset from start row. */
@@ -7936,11 +8299,9 @@ e_day_view_on_main_canvas_drag_data_received (GtkWidget *widget,
}
}
- if ((data->length >= 0) && (data->format == 8)
- && !drag_from_same_window) {
+ if (length >= 0 && format == 8 && !drag_from_same_window) {
/* We are dragging between different window */
- gchar *comp_str;
icalcomponent *icalcomp;
icalcomponent_kind kind;
time_t dtstart;
@@ -7952,8 +8313,7 @@ e_day_view_on_main_canvas_drag_data_received (GtkWidget *widget,
if (pos == E_CALENDAR_VIEW_POS_OUTSIDE)
goto error;
- comp_str = (gchar *) data->data;
- icalcomp = icalparser_parse_string ((const gchar *) comp_str);
+ icalcomp = icalparser_parse_string ((const gchar *) data);
if (!icalcomp)
goto error;
@@ -8112,10 +8472,16 @@ e_day_view_paste_text (ECalendarView *cal_view)
return;
if (day_view->editing_event_day == E_DAY_VIEW_LONG_EVENT) {
+ if (!is_array_index_in_bounds (day_view->long_events, day_view->editing_event_num))
+ return;
+
event = &g_array_index (day_view->long_events,
EDayViewEvent,
day_view->editing_event_num);
} else {
+ if (!is_array_index_in_bounds (day_view->events[day_view->editing_event_day], day_view->editing_event_num))
+ return;
+
event = &g_array_index (day_view->events[day_view->editing_event_day],
EDayViewEvent,
day_view->editing_event_num);
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index c941310a2e..fed200d34c 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -758,7 +758,7 @@ write_recurrence_piece (EItipControl *itip, ECalComponent *comp,
struct icalrecurrencetype *r;
gint i;
- g_string_append_len (buffer, "<b>Recurring:</b> ", 18);
+ g_string_append_printf (buffer, "<b>%s</b> ", _("Recurring:"));
if (!e_cal_component_has_simple_recurrence (comp)) {
g_string_append_printf (
@@ -1021,6 +1021,18 @@ write_error_html (EItipControl *itip, const gchar *itip_err)
g_string_free (buffer, TRUE);
}
+static gchar *
+dupe_first_bold (const gchar *format, const gchar *organizer, const gchar *delegator)
+{
+ gchar *tmp, *res;
+
+ tmp = g_strconcat ("<b>", organizer ? organizer : "", "</b>", NULL);
+ res = g_strdup_printf (format, tmp, delegator ? delegator : "");
+ g_free (tmp);
+
+ return res;
+}
+
static void
write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title, const gchar *options)
{
@@ -1072,12 +1084,12 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title,
e_cal_component_get_attendee_list (priv->comp, &attendees);
if (attendees != NULL) {
attendee = attendees->data;
- html = g_strdup_printf (itip_desc,
+ html = dupe_first_bold (itip_desc,
attendee->cn ?
attendee->cn :
- itip_strip_mailto (attendee->value));
+ itip_strip_mailto (attendee->value), NULL);
} else {
- html = g_strdup_printf (itip_desc, _("An unknown person"));
+ html = dupe_first_bold (itip_desc, _("An unknown person"), NULL);
}
break;
case ICAL_METHOD_REQUEST:
@@ -1085,7 +1097,7 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title,
e_cal_component_get_organizer (priv->comp, &organizer);
if (priv->delegator_address != NULL) {
if (organizer.value != NULL)
- html = g_strdup_printf (itip_desc,
+ html = dupe_first_bold (itip_desc,
organizer.cn ?
organizer.cn :
itip_strip_mailto (organizer.value),
@@ -1093,18 +1105,18 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title,
priv->delegator_name :
priv->delegator_address);
else
- html = g_strdup_printf (itip_desc, _("An unknown person"),
+ html = dupe_first_bold (itip_desc, _("An unknown person"),
priv->delegator_name ?
priv->delegator_name :
priv->delegator_address);
} else {
if (organizer.value != NULL)
- html = g_strdup_printf (itip_desc,
+ html = dupe_first_bold (itip_desc,
organizer.cn ?
organizer.cn :
- itip_strip_mailto (organizer.value));
+ itip_strip_mailto (organizer.value), NULL);
else
- html = g_strdup_printf (itip_desc, _("An unknown person"));
+ html = dupe_first_bold (itip_desc, _("An unknown person"), NULL);
}
break;
@@ -1116,20 +1128,21 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title,
/* The organizer sent this */
e_cal_component_get_organizer (priv->comp, &organizer);
if (organizer.value != NULL)
- html = g_strdup_printf (itip_desc,
+ html = dupe_first_bold (itip_desc,
organizer.cn ?
organizer.cn :
- itip_strip_mailto (organizer.value));
+ itip_strip_mailto (organizer.value), NULL);
else
- html = g_strdup_printf (itip_desc, _("An unknown person"));
+ html = dupe_first_bold (itip_desc, _("An unknown person"), NULL);
break;
}
g_string_append_printf (buffer, "%s", html);
g_free (html);
+ g_string_append (buffer, "<br> ");
/* Describe what the user can do */
g_string_append (
- buffer, _("<br> Please review the following information, "
+ buffer, _("Please review the following information, "
"and then select an action from the menu below."));
/* Separator */
@@ -1353,28 +1366,28 @@ show_current_event (EItipControl *itip)
switch (priv->method) {
case ICAL_METHOD_PUBLISH:
- itip_desc = _("<b>%s</b> has published meeting information.");
+ itip_desc = _("%s has published meeting information.");
itip_title = _("Meeting Information");
options = get_publish_options ();
show_selector = TRUE;
break;
case ICAL_METHOD_REQUEST:
if (priv->delegator_address != NULL)
- itip_desc = _("<b>%s</b> requests the presence of %s at a meeting.");
+ itip_desc = _("%s requests the presence of %s at a meeting.");
else
- itip_desc = _("<b>%s</b> requests your presence at a meeting.");
+ itip_desc = _("%s requests your presence at a meeting.");
itip_title = _("Meeting Proposal");
options = get_request_options ();
show_selector = TRUE;
break;
case ICAL_METHOD_ADD:
/* FIXME Whats going on here? */
- itip_desc = _("<b>%s</b> wishes to be added to an existing meeting.");
+ itip_desc = _("%s wishes to be added to an existing meeting.");
itip_title = _("Meeting Update");
options = get_publish_options ();
break;
case ICAL_METHOD_REFRESH:
- itip_desc = _("<b>%s</b> wishes to receive the latest meeting information.");
+ itip_desc = _("%s wishes to receive the latest meeting information.");
itip_title = _("Meeting Update Request");
options = get_refresh_options ();
@@ -1382,7 +1395,7 @@ show_current_event (EItipControl *itip)
adjust_item (itip, priv->comp);
break;
case ICAL_METHOD_REPLY:
- itip_desc = _("<b>%s</b> has replied to a meeting request.");
+ itip_desc = _("%s has replied to a meeting request.");
itip_title = _("Meeting Reply");
options = get_reply_options ();
@@ -1390,7 +1403,7 @@ show_current_event (EItipControl *itip)
adjust_item (itip, priv->comp);
break;
case ICAL_METHOD_CANCEL:
- itip_desc = _("<b>%s</b> has canceled a meeting.");
+ itip_desc = _("%s has canceled a meeting.");
itip_title = _("Meeting Cancelation");
/* FIXME priv->current_ecal will always be NULL so the
* user won't see an error message, the OK button will
@@ -1401,7 +1414,7 @@ show_current_event (EItipControl *itip)
adjust_item (itip, priv->comp);
break;
default:
- itip_desc = _("<b>%s</b> has sent an unintelligible message.");
+ itip_desc = _("%s has sent an unintelligible message.");
itip_title = _("Bad Meeting Message");
options = NULL;
}
@@ -1429,7 +1442,7 @@ show_current_todo (EItipControl *itip)
switch (priv->method) {
case ICAL_METHOD_PUBLISH:
- itip_desc = _("<b>%s</b> has published task information.");
+ itip_desc = _("%s has published task information.");
itip_title = _("Task Information");
options = get_publish_options ();
show_selector = TRUE;
@@ -1437,21 +1450,21 @@ show_current_todo (EItipControl *itip)
case ICAL_METHOD_REQUEST:
/* FIXME Does this need to handle like events above? */
if (priv->delegator_address != NULL)
- itip_desc = _("<b>%s</b> requests %s to perform a task.");
+ itip_desc = _("%s requests %s to perform a task.");
else
- itip_desc = _("<b>%s</b> requests you perform a task.");
+ itip_desc = _("%s requests you perform a task.");
itip_title = _("Task Proposal");
options = get_request_options ();
show_selector = TRUE;
break;
case ICAL_METHOD_ADD:
/* FIXME Whats going on here? */
- itip_desc = _("<b>%s</b> wishes to be added to an existing task.");
+ itip_desc = _("%s wishes to be added to an existing task.");
itip_title = _("Task Update");
options = get_publish_options ();
break;
case ICAL_METHOD_REFRESH:
- itip_desc = _("<b>%s</b> wishes to receive the latest task information.");
+ itip_desc = _("%s wishes to receive the latest task information.");
itip_title = _("Task Update Request");
options = get_refresh_options ();
@@ -1459,7 +1472,7 @@ show_current_todo (EItipControl *itip)
adjust_item (itip, priv->comp);
break;
case ICAL_METHOD_REPLY:
- itip_desc = _("<b>%s</b> has replied to a task assignment.");
+ itip_desc = _("%s has replied to a task assignment.");
itip_title = _("Task Reply");
options = get_reply_options ();
@@ -1467,7 +1480,7 @@ show_current_todo (EItipControl *itip)
adjust_item (itip, priv->comp);
break;
case ICAL_METHOD_CANCEL:
- itip_desc = _("<b>%s</b> has canceled a task.");
+ itip_desc = _("%s has canceled a task.");
itip_title = _("Task Cancelation");
/* FIXME priv->current_ecal will always be NULL so the
* user won't see an error message, the OK button will
@@ -1478,7 +1491,7 @@ show_current_todo (EItipControl *itip)
adjust_item (itip, priv->comp);
break;
default:
- itip_desc = _("<b>%s</b> has sent an unintelligible message.");
+ itip_desc = _("%s has sent an unintelligible message.");
itip_title = _("Bad Task Message");
options = NULL;
}
@@ -1503,22 +1516,22 @@ show_current_freebusy (EItipControl *itip)
switch (priv->method) {
case ICAL_METHOD_PUBLISH:
- itip_desc = _("<b>%s</b> has published free/busy information.");
+ itip_desc = _("%s has published free/busy information.");
itip_title = _("Free/Busy Information");
options = NULL;
break;
case ICAL_METHOD_REQUEST:
- itip_desc = _("<b>%s</b> requests your free/busy information.");
+ itip_desc = _("%s requests your free/busy information.");
itip_title = _("Free/Busy Request");
options = get_request_fb_options ();
break;
case ICAL_METHOD_REPLY:
- itip_desc = _("<b>%s</b> has replied to a free/busy request.");
+ itip_desc = _("%s has replied to a free/busy request.");
itip_title = _("Free/Busy Reply");
options = NULL;
break;
default:
- itip_desc = _("<b>%s</b> has sent an unintelligible message.");
+ itip_desc = _("%s has sent an unintelligible message.");
itip_title = _("Bad Free/Busy Message");
options = NULL;
}
diff --git a/calendar/gui/e-meeting-list-view.c b/calendar/gui/e-meeting-list-view.c
index 0e48f7cb32..9920de85e1 100644
--- a/calendar/gui/e-meeting-list-view.c
+++ b/calendar/gui/e-meeting-list-view.c
@@ -771,12 +771,14 @@ process_section (EMeetingListView *view, GList *destinations, icalparameter_role
if (contact && e_contact_get (contact , E_CONTACT_IS_LIST)) {
EBook *book = NULL;
ENameSelectorDialog *dialog;
+ ENameSelectorModel *model;
EContactStore *c_store;
GList *books, *l;
gchar *uri = e_contact_get (contact, E_CONTACT_BOOK_URI);
dialog = e_name_selector_peek_dialog (view->priv->name_selector);
- c_store = e_name_selector_dialog_peek_model (dialog)->contact_store;
+ model = e_name_selector_dialog_peek_model (dialog);
+ c_store = e_name_selector_model_peek_contact_store (model);
books = e_contact_store_get_books (c_store);
for (l = books; l; l = l->next) {
diff --git a/calendar/gui/e-meeting-time-sel-item.c b/calendar/gui/e-meeting-time-sel-item.c
index 6c4c2ad8dc..c7c81e12ce 100644
--- a/calendar/gui/e-meeting-time-sel-item.c
+++ b/calendar/gui/e-meeting-time-sel-item.c
@@ -203,7 +203,7 @@ e_meeting_time_selector_item_realize (GnomeCanvasItem *item)
mts_item = E_MEETING_TIME_SELECTOR_ITEM (item);
canvas = item->canvas;
- window = GTK_WIDGET (canvas)->window;
+ window = gtk_widget_get_window (GTK_WIDGET (canvas));
mts_item->main_gc = gdk_gc_new (window);
mts_item->stipple_gc = gdk_gc_new (window);
@@ -976,8 +976,14 @@ e_meeting_time_selector_item_motion_notify (EMeetingTimeSelectorItem *mts_item,
/* Only set the cursor if it is different to the last one we set. */
if (mts_item->last_cursor_set != cursor) {
+ GdkWindow *window;
+ GnomeCanvas *canvas;
+
mts_item->last_cursor_set = cursor;
- gdk_window_set_cursor (GTK_WIDGET (GNOME_CANVAS_ITEM (mts_item)->canvas)->window, cursor);
+
+ canvas = GNOME_CANVAS_ITEM (mts_item)->canvas;
+ window = gtk_widget_get_window (GTK_WIDGET (canvas));
+ gdk_window_set_cursor (window, cursor);
}
return FALSE;
@@ -1043,7 +1049,12 @@ e_meeting_time_selector_item_calculate_busy_range (EMeetingTimeSelector *mts,
void
e_meeting_time_selector_item_set_normal_cursor (EMeetingTimeSelectorItem *mts_item)
{
+ GnomeCanvas *canvas;
+ GdkWindow *window;
+
g_return_if_fail (IS_E_MEETING_TIME_SELECTOR_ITEM (mts_item));
- gdk_window_set_cursor (GTK_WIDGET (GNOME_CANVAS_ITEM (mts_item)->canvas)->window, mts_item->normal_cursor);
+ canvas = GNOME_CANVAS_ITEM (mts_item)->canvas;
+ window = gtk_widget_get_window (GTK_WIDGET (canvas));
+ gdk_window_set_cursor (window, mts_item->normal_cursor);
}
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c
index dd3f49df75..4c19b5a3aa 100644
--- a/calendar/gui/e-meeting-time-sel.c
+++ b/calendar/gui/e-meeting-time-sel.c
@@ -133,9 +133,9 @@ static void e_meeting_time_selector_options_menu_position_callback (GtkMenu *men
gint *y,
gboolean *push_in,
gpointer user_data);
-static void e_meeting_time_selector_on_zoomed_out_toggled (GtkWidget *button,
+static void e_meeting_time_selector_on_zoomed_out_toggled (GtkCheckMenuItem *button,
EMeetingTimeSelector *mts);
-static void e_meeting_time_selector_on_working_hours_toggled (GtkWidget *button,
+static void e_meeting_time_selector_on_working_hours_toggled (GtkCheckMenuItem *menuitem,
EMeetingTimeSelector *mts);
static void e_meeting_time_selector_on_invite_others_button_clicked (GtkWidget *button,
EMeetingTimeSelector *mts);
@@ -403,6 +403,9 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
{
GtkWidget *hbox, *vbox, *separator, *label, *table, *sw;
GtkWidget *alignment, *child_hbox, *arrow, *menuitem;
+ GtkWidget *child;
+ GtkAdjustment *adjustment;
+ GtkLayout *layout;
GSList *group;
guint accel_key;
time_t meeting_start_time;
@@ -473,7 +476,9 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
sw = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_IN);
- gtk_widget_set_child_visible (GTK_SCROLLED_WINDOW (sw)->vscrollbar, FALSE);
+ gtk_widget_set_child_visible (
+ gtk_scrolled_window_get_vscrollbar (
+ GTK_SCROLLED_WINDOW (sw)), FALSE);
gtk_widget_show (sw);
gtk_container_add (GTK_CONTAINER (sw), GTK_WIDGET (mts->list_view));
@@ -512,18 +517,26 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
g_signal_connect (mts->display_main, "scroll-event",
G_CALLBACK (e_meeting_time_selector_on_canvas_scroll_event), mts);
- gtk_scrolled_window_set_vadjustment (GTK_SCROLLED_WINDOW (sw), GTK_LAYOUT (mts->display_main)->vadjustment);
+ layout = GTK_LAYOUT (mts->display_main);
- mts->hscrollbar = gtk_hscrollbar_new (GTK_LAYOUT (mts->display_main)->hadjustment);
- GTK_LAYOUT (mts->display_main)->hadjustment->step_increment = mts->day_width;
- gtk_table_attach (GTK_TABLE (mts), mts->hscrollbar,
- 1, 4, 2, 3, GTK_EXPAND | GTK_FILL, 0, 0, 0);
+ adjustment = gtk_layout_get_vadjustment (layout);
+ gtk_scrolled_window_set_vadjustment (
+ GTK_SCROLLED_WINDOW (sw), adjustment);
+
+ adjustment = gtk_layout_get_hadjustment (layout);
+ mts->hscrollbar = gtk_hscrollbar_new (adjustment);
+ gtk_adjustment_set_step_increment (adjustment, mts->day_width);
+ gtk_table_attach (
+ GTK_TABLE (mts), mts->hscrollbar,
+ 1, 4, 2, 3, GTK_EXPAND | GTK_FILL, 0, 0, 0);
gtk_widget_show (mts->hscrollbar);
- mts->vscrollbar = gtk_vscrollbar_new (GTK_LAYOUT (mts->display_main)->vadjustment);
- GTK_LAYOUT (mts->display_main)->vadjustment->step_increment = mts->row_height;
- gtk_table_attach (GTK_TABLE (mts), mts->vscrollbar,
- 4, 5, 1, 2, 0, GTK_EXPAND | GTK_FILL, 0, 0);
+ adjustment = gtk_layout_get_vadjustment (layout);
+ mts->vscrollbar = gtk_vscrollbar_new (adjustment);
+ gtk_adjustment_set_step_increment (adjustment, mts->row_height);
+ gtk_table_attach (
+ GTK_TABLE (mts), mts->vscrollbar,
+ 4, 5, 1, 2, 0, GTK_EXPAND | GTK_FILL, 0, 0);
gtk_widget_show (mts->vscrollbar);
/* Create the item in the top canvas. */
@@ -562,7 +575,7 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
gtk_widget_show (hbox);
mts->add_attendees_button =
- gtk_button_new_with_mnemonic (_("A_ttendees..."));
+ gtk_button_new_with_mnemonic (_("Atte_ndees..."));
gtk_button_set_image (
GTK_BUTTON (mts->add_attendees_button),
gtk_image_new_from_stock (
@@ -600,7 +613,8 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
e_meeting_time_selector_options_menu_detacher);
menuitem = gtk_check_menu_item_new_with_label ("");
- gtk_label_set_text_with_mnemonic (GTK_LABEL (GTK_BIN (menuitem)->child), _("Show _only working hours"));
+ child = gtk_bin_get_child (GTK_BIN (menuitem));
+ gtk_label_set_text_with_mnemonic (GTK_LABEL (child), _("Show _only working hours"));
gtk_menu_shell_append (GTK_MENU_SHELL (mts->options_menu), menuitem);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menuitem),
mts->working_hours_only);
@@ -610,7 +624,8 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
gtk_widget_show (menuitem);
menuitem = gtk_check_menu_item_new_with_label ("");
- gtk_label_set_text_with_mnemonic (GTK_LABEL (GTK_BIN (menuitem)->child), _("Show _zoomed out"));
+ child = gtk_bin_get_child (GTK_BIN (menuitem));
+ gtk_label_set_text_with_mnemonic (GTK_LABEL (child), _("Show _zoomed out"));
gtk_menu_shell_append (GTK_MENU_SHELL (mts->options_menu), menuitem);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menuitem),
mts->zoomed_out);
@@ -625,7 +640,8 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
gtk_widget_show (menuitem);
menuitem = gtk_menu_item_new_with_label ("");
- gtk_label_set_text_with_mnemonic (GTK_LABEL (GTK_BIN (menuitem)->child), _("_Update free/busy"));
+ child = gtk_bin_get_child (GTK_BIN (menuitem));
+ gtk_label_set_text_with_mnemonic (GTK_LABEL (child), _("_Update free/busy"));
gtk_menu_shell_append (GTK_MENU_SHELL (mts->options_menu), menuitem);
g_signal_connect (menuitem, "activate",
@@ -639,9 +655,9 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
gtk_widget_show (hbox);
mts->autopick_down_button = gtk_button_new_with_label ("");
- gtk_label_set_text_with_mnemonic (GTK_LABEL (GTK_BIN (mts->autopick_down_button)->child),
- _("_<<"));
- accel_key = gtk_label_get_mnemonic_keyval (GTK_LABEL (GTK_BIN (mts->autopick_down_button)->child));
+ child = gtk_bin_get_child (GTK_BIN (mts->autopick_down_button));
+ gtk_label_set_text_with_mnemonic (GTK_LABEL (child), _("_<<"));
+ accel_key = gtk_label_get_mnemonic_keyval (GTK_LABEL (child));
gtk_widget_add_accelerator (mts->autopick_down_button, "clicked", mts->accel_group,
accel_key, GDK_MOD1_MASK | GDK_SHIFT_MASK, 0);
gtk_box_pack_start (GTK_BOX (hbox), mts->autopick_down_button, TRUE, TRUE, 6);
@@ -672,9 +688,9 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
gtk_widget_show (arrow);
mts->autopick_up_button = gtk_button_new_with_label ("");
- gtk_label_set_text_with_mnemonic (GTK_LABEL (GTK_BIN (mts->autopick_up_button)->child),
- _(">_>"));
- accel_key = gtk_label_get_mnemonic_keyval (GTK_LABEL (GTK_BIN (mts->autopick_up_button)->child));
+ child = gtk_bin_get_child (GTK_BIN (mts->autopick_up_button));
+ gtk_label_set_text_with_mnemonic (GTK_LABEL (child), _(">_>"));
+ accel_key = gtk_label_get_mnemonic_keyval (GTK_LABEL (child));
gtk_widget_add_accelerator (mts->autopick_up_button, "clicked", mts->accel_group,
accel_key, GDK_MOD1_MASK | GDK_SHIFT_MASK, 0);
gtk_box_pack_start (GTK_BOX (hbox), mts->autopick_up_button, TRUE, TRUE, 6);
@@ -689,8 +705,9 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
menuitem = gtk_radio_menu_item_new_with_label (NULL, "");
mts->autopick_all_item = menuitem;
+ child = gtk_bin_get_child (GTK_BIN (menuitem));
group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menuitem));
- gtk_label_set_text_with_mnemonic (GTK_LABEL (GTK_BIN (menuitem)->child), _("_All people and resources"));
+ gtk_label_set_text_with_mnemonic (GTK_LABEL (child), _("_All people and resources"));
gtk_menu_shell_append (GTK_MENU_SHELL (mts->autopick_menu), menuitem);
g_signal_connect (menuitem, "toggled",
G_CALLBACK (e_meeting_time_selector_on_autopick_option_toggled), mts);
@@ -698,8 +715,9 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
menuitem = gtk_radio_menu_item_new_with_label (group, "");
mts->autopick_all_people_one_resource_item = menuitem;
+ child = gtk_bin_get_child (GTK_BIN (menuitem));
group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menuitem));
- gtk_label_set_text_with_mnemonic (GTK_LABEL (GTK_BIN (menuitem)->child), _("All _people and one resource"));
+ gtk_label_set_text_with_mnemonic (GTK_LABEL (child), _("All _people and one resource"));
gtk_menu_shell_append (GTK_MENU_SHELL (mts->autopick_menu), menuitem);
g_signal_connect (menuitem, "toggled",
G_CALLBACK (e_meeting_time_selector_on_autopick_option_toggled), mts);
@@ -707,8 +725,9 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
menuitem = gtk_radio_menu_item_new_with_label (group, "");
mts->autopick_required_people_item = menuitem;
+ child = gtk_bin_get_child (GTK_BIN (menuitem));
group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menuitem));
- gtk_label_set_text_with_mnemonic (GTK_LABEL (GTK_BIN (menuitem)->child), _("_Required people"));
+ gtk_label_set_text_with_mnemonic (GTK_LABEL (child), _("_Required people"));
gtk_menu_shell_append (GTK_MENU_SHELL (mts->autopick_menu), menuitem);
g_signal_connect (menuitem, "activate",
G_CALLBACK (e_meeting_time_selector_on_autopick_option_toggled), mts);
@@ -716,7 +735,8 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
menuitem = gtk_radio_menu_item_new_with_label (group, "");
mts->autopick_required_people_one_resource_item = menuitem;
- gtk_label_set_text_with_mnemonic (GTK_LABEL (GTK_BIN (menuitem)->child), _("Required people and _one resource"));
+ child = gtk_bin_get_child (GTK_BIN (menuitem));
+ gtk_label_set_text_with_mnemonic (GTK_LABEL (child), _("Required people and _one resource"));
gtk_menu_shell_append (GTK_MENU_SHELL (mts->autopick_menu), menuitem);
g_signal_connect (menuitem, "activate",
G_CALLBACK (e_meeting_time_selector_on_autopick_option_toggled), mts);
@@ -830,12 +850,18 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
8, 8);
/* Connect handlers to the adjustments scroll the other items. */
- g_signal_connect (GTK_LAYOUT (mts->display_main)->hadjustment, "value_changed",
- G_CALLBACK (e_meeting_time_selector_hadjustment_changed), mts);
- g_signal_connect (GTK_LAYOUT (mts->display_main)->vadjustment, "value_changed",
- G_CALLBACK (e_meeting_time_selector_vadjustment_changed), mts);
- g_signal_connect (GTK_LAYOUT (mts->display_main)->vadjustment, "changed",
- G_CALLBACK (e_meeting_time_selector_vadjustment_changed), mts);
+ layout = GTK_LAYOUT (mts->display_main);
+ adjustment = gtk_layout_get_hadjustment (layout);
+ g_signal_connect (
+ adjustment, "value_changed",
+ G_CALLBACK (e_meeting_time_selector_hadjustment_changed), mts);
+ adjustment = gtk_layout_get_vadjustment (layout);
+ g_signal_connect (
+ adjustment, "value_changed",
+ G_CALLBACK (e_meeting_time_selector_vadjustment_changed), mts);
+ g_signal_connect (
+ adjustment, "changed",
+ G_CALLBACK (e_meeting_time_selector_vadjustment_changed), mts);
e_meeting_time_selector_recalc_grid (mts);
e_meeting_time_selector_ensure_meeting_time_shown (mts);
@@ -881,28 +907,36 @@ e_meeting_time_selector_expose_key_color (GtkWidget *darea,
GdkColor *color)
{
EMeetingTimeSelector * mts;
+ GtkAllocation allocation;
+ GdkWindow *window;
+ GtkStyle *style;
GdkGC *gc;
- gint width, height;
+
+ style = gtk_widget_get_style (darea);
+ window = gtk_widget_get_window (darea);
+ gtk_widget_get_allocation (darea, &allocation);
mts = g_object_get_data (G_OBJECT (darea), "data");
gc = mts->color_key_gc;
- width = darea->allocation.width;
- height = darea->allocation.height;
- gtk_paint_shadow (darea->style, darea->window, GTK_STATE_NORMAL,
- GTK_SHADOW_IN, NULL, NULL, NULL, 0, 0, width, height);
+ gtk_paint_shadow (
+ style, window, GTK_STATE_NORMAL,
+ GTK_SHADOW_IN, NULL, NULL, NULL, 0, 0,
+ allocation.width, allocation.height);
if (color) {
gdk_gc_set_foreground (gc, color);
- gdk_draw_rectangle (darea->window, gc, TRUE, 1, 1,
- width - 2, height - 2);
+ gdk_draw_rectangle (
+ window, gc, TRUE, 1, 1,
+ allocation.width - 2, allocation.height - 2);
} else {
gdk_gc_set_foreground (gc, &mts->grid_color);
gdk_gc_set_background (gc, &mts->stipple_bg_color);
gdk_gc_set_stipple (gc, mts->stipple);
gdk_gc_set_fill (gc, GDK_OPAQUE_STIPPLED);
- gdk_draw_rectangle (darea->window, gc, TRUE, 1, 1,
- width - 2, height - 2);
+ gdk_draw_rectangle (
+ window, gc, TRUE, 1, 1,
+ allocation.width - 2, allocation.height - 2);
gdk_gc_set_fill (gc, GDK_SOLID);
}
@@ -1027,13 +1061,15 @@ static void
e_meeting_time_selector_realize (GtkWidget *widget)
{
EMeetingTimeSelector *mts;
+ GdkWindow *window;
if (GTK_WIDGET_CLASS (e_meeting_time_selector_parent_class)->realize)
(*GTK_WIDGET_CLASS (e_meeting_time_selector_parent_class)->realize)(widget);
mts = E_MEETING_TIME_SELECTOR (widget);
- mts->color_key_gc = gdk_gc_new (widget->window);
+ window = gtk_widget_get_window (widget);
+ mts->color_key_gc = gdk_gc_new (window);
}
static void
@@ -1065,10 +1101,11 @@ get_cell_height (GtkTreeView *tree)
}
static gboolean
-style_change_idle_func (gpointer widget)
+style_change_idle_func (EMeetingTimeSelector *mts)
{
- EMeetingTimeSelector *mts;
EMeetingTime saved_time;
+ GtkAdjustment *adjustment;
+ GtkWidget *widget;
gint hour, max_hour_width;
/*int maxheight; */
PangoFontDescription *font_desc;
@@ -1076,9 +1113,8 @@ style_change_idle_func (gpointer widget)
PangoFontMetrics *font_metrics;
PangoLayout *layout;
- mts = E_MEETING_TIME_SELECTOR (widget);
-
/* Set up Pango prerequisites */
+ widget = GTK_WIDGET (mts);
font_desc = gtk_widget_get_style (widget)->font_desc;
pango_context = gtk_widget_get_pango_context (widget);
font_metrics = pango_context_get_metrics (pango_context, font_desc,
@@ -1121,8 +1157,13 @@ style_change_idle_func (gpointer widget)
gtk_widget_set_size_request (mts->attendees_vbox_spacer, 1, mts->row_height * 2 - 6);
- GTK_LAYOUT (mts->display_main)->hadjustment->step_increment = mts->day_width;
- GTK_LAYOUT (mts->display_main)->vadjustment->step_increment = mts->row_height;
+ widget = mts->display_main;
+
+ adjustment = gtk_layout_get_hadjustment (GTK_LAYOUT (widget));
+ gtk_adjustment_set_step_increment (adjustment, mts->day_width);
+
+ adjustment = gtk_layout_get_vadjustment (GTK_LAYOUT (widget));
+ gtk_adjustment_set_step_increment (adjustment, mts->row_height);
g_object_unref (layout);
pango_font_metrics_unref (font_metrics);
@@ -1142,7 +1183,8 @@ e_meeting_time_selector_style_set (GtkWidget *widget,
(*GTK_WIDGET_CLASS (e_meeting_time_selector_parent_class)->style_set)(widget, previous_style);
if (!mts->style_change_idle_id)
- mts->style_change_idle_id = g_idle_add (style_change_idle_func, widget);
+ mts->style_change_idle_id = g_idle_add (
+ (GSourceFunc) style_change_idle_func, widget);
}
/* This draws a shadow around the top display and main display. */
@@ -1165,19 +1207,24 @@ e_meeting_time_selector_expose_event (GtkWidget *widget,
static void
e_meeting_time_selector_draw_shadow (EMeetingTimeSelector *mts)
{
- GtkWidget *widget;
+ GtkAllocation allocation;
+ GdkWindow *window;
+ GtkStyle *style;
gint x, y, w, h;
- widget = GTK_WIDGET (mts);
-
/* Draw the shadow around the graphical displays. */
- x = mts->display_top->allocation.x - 2;
- y = mts->display_top->allocation.y - 2;
- w = mts->display_top->allocation.width + 4;
- h = mts->display_top->allocation.height + mts->display_main->allocation.height + 4;
+ gtk_widget_get_allocation (mts->display_top, &allocation);
+ x = allocation.x - 2;
+ y = allocation.y - 2;
+ w = allocation.width + 4;
+ h = allocation.height + allocation.height + 4;
- gtk_paint_shadow (widget->style, widget->window, GTK_STATE_NORMAL,
- GTK_SHADOW_IN, NULL, NULL, NULL, x, y, w, h);
+ style = gtk_widget_get_style (GTK_WIDGET (mts));
+ window = gtk_widget_get_window (GTK_WIDGET (mts));
+
+ gtk_paint_shadow (
+ style, window, GTK_STATE_NORMAL,
+ GTK_SHADOW_IN, NULL, NULL, NULL, x, y, w, h);
}
/* When the main canvas scrolls, we scroll the other canvases. */
@@ -1185,26 +1232,30 @@ static void
e_meeting_time_selector_hadjustment_changed (GtkAdjustment *adjustment,
EMeetingTimeSelector *mts)
{
- GtkAdjustment *adj;
+ GtkAdjustment *hadjustment;
+ GtkLayout *layout;
+ gdouble value;
- adj = GTK_LAYOUT (mts->display_top)->hadjustment;
- if (adj->value != adjustment->value) {
- adj->value = adjustment->value;
- gtk_adjustment_value_changed (adj);
- }
+ layout = GTK_LAYOUT (mts->display_top);
+ hadjustment = gtk_layout_get_hadjustment (layout);
+
+ value = gtk_adjustment_get_value (adjustment);
+ gtk_adjustment_set_value (hadjustment, value);
}
static void
e_meeting_time_selector_vadjustment_changed (GtkAdjustment *adjustment,
EMeetingTimeSelector *mts)
{
- GtkAdjustment *adj;
+ GtkAdjustment *vadjustment;
+ GtkTreeView *tree_view;
+ gdouble value;
- adj = gtk_tree_view_get_vadjustment (GTK_TREE_VIEW (mts->list_view));
- if (adj->value != adjustment->value) {
- adj->value = adjustment->value;
- gtk_adjustment_value_changed (adj);
- }
+ tree_view = GTK_TREE_VIEW (mts->list_view);
+ vadjustment = gtk_tree_view_get_vadjustment (tree_view);
+
+ value = gtk_adjustment_get_value (adjustment);
+ gtk_adjustment_set_value (vadjustment, value);
}
void
@@ -1467,12 +1518,20 @@ e_meeting_time_selector_refresh_free_busy (EMeetingTimeSelector *mts, gint row,
EMeetingTimeSelectorAutopickOption
e_meeting_time_selector_get_autopick_option (EMeetingTimeSelector *mts)
{
- if (GTK_CHECK_MENU_ITEM (mts->autopick_all_item)->active)
+ GtkWidget *widget;
+
+ widget = mts->autopick_all_item;
+ if (gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (widget)))
return E_MEETING_TIME_SELECTOR_ALL_PEOPLE_AND_RESOURCES;
- if (GTK_CHECK_MENU_ITEM (mts->autopick_all_people_one_resource_item)->active)
+
+ widget = mts->autopick_all_people_one_resource_item;
+ if (gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (widget)))
return E_MEETING_TIME_SELECTOR_ALL_PEOPLE_AND_ONE_RESOURCE;
- if (GTK_CHECK_MENU_ITEM (mts->autopick_required_people_item)->active)
+
+ widget = mts->autopick_required_people_item;
+ if (gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (widget)))
return E_MEETING_TIME_SELECTOR_REQUIRED_PEOPLE;
+
return E_MEETING_TIME_SELECTOR_REQUIRED_PEOPLE_AND_ONE_RESOURCE;
}
@@ -1639,14 +1698,20 @@ e_meeting_time_selector_options_menu_position_callback (GtkMenu *menu,
{
EMeetingTimeSelector *mts;
GtkRequisition menu_requisition;
+ GtkAllocation allocation;
+ GtkWidget *widget;
+ GdkWindow *window;
gint max_x, max_y;
mts = E_MEETING_TIME_SELECTOR (user_data);
/* Calculate our preferred position. */
- gdk_window_get_origin (mts->options_button->window, x, y);
- *x += mts->options_button->allocation.x;
- *y += mts->options_button->allocation.y + mts->options_button->allocation.height - 2;
+ widget = mts->options_button;
+ window = gtk_widget_get_window (widget);
+ gdk_window_get_origin (window, x, y);
+ gtk_widget_get_allocation (widget, &allocation);
+ *x += allocation.x;
+ *y += allocation.y + allocation.height - 2;
/* Now make sure we are on the screen. */
gtk_widget_size_request (mts->options_menu, &menu_requisition);
@@ -1662,11 +1727,7 @@ e_meeting_time_selector_on_update_free_busy (GtkWidget *button,
{
/* Make sure the menu pops down, which doesn't happen by default if
keyboard accelerators are used. */
-#if GTK_CHECK_VERSION(2,19,7)
if (gtk_widget_get_visible (mts->options_menu))
-#else
- if (GTK_WIDGET_VISIBLE (mts->options_menu))
-#endif
gtk_menu_popdown (GTK_MENU (mts->options_menu));
e_meeting_time_selector_refresh_free_busy (mts, 0, TRUE);
@@ -1690,14 +1751,20 @@ e_meeting_time_selector_autopick_menu_position_callback (GtkMenu *menu,
{
EMeetingTimeSelector *mts;
GtkRequisition menu_requisition;
+ GtkAllocation allocation;
+ GtkWidget *widget;
+ GdkWindow *window;
gint max_x, max_y;
mts = E_MEETING_TIME_SELECTOR (user_data);
/* Calculate our preferred position. */
- gdk_window_get_origin (mts->autopick_button->window, x, y);
- *x += mts->autopick_button->allocation.x;
- *y += mts->autopick_button->allocation.y + mts->autopick_button->allocation.height - 2;
+ widget = mts->autopick_button;
+ window = gtk_widget_get_window (widget);
+ gdk_window_get_origin (window, x, y);
+ gtk_widget_get_allocation (widget, &allocation);
+ *x += allocation.x;
+ *y += allocation.y + allocation.height - 2;
/* Now make sure we are on the screen. */
gtk_widget_size_request (mts->autopick_menu, &menu_requisition);
@@ -1713,11 +1780,7 @@ e_meeting_time_selector_on_autopick_option_toggled (GtkWidget *button,
{
/* Make sure the menu pops down, which doesn't happen by default if
keyboard accelerators are used. */
-#if GTK_CHECK_VERSION(2,19,7)
if (gtk_widget_get_visible (mts->autopick_menu))
-#else
- if (GTK_WIDGET_VISIBLE (mts->autopick_menu))
-#endif
gtk_menu_popdown (GTK_MENU (mts->autopick_menu));
}
@@ -2112,36 +2175,34 @@ e_meeting_time_selector_find_time_clash (EMeetingTimeSelector *mts,
}
static void
-e_meeting_time_selector_on_zoomed_out_toggled (GtkWidget *menuitem,
+e_meeting_time_selector_on_zoomed_out_toggled (GtkCheckMenuItem *menuitem,
EMeetingTimeSelector *mts)
{
+ gboolean active;
+
/* Make sure the menu pops down, which doesn't happen by default if
keyboard accelerators are used. */
-#if GTK_CHECK_VERSION(2,19,7)
if (gtk_widget_get_visible (mts->options_menu))
-#else
- if (GTK_WIDGET_VISIBLE (mts->options_menu))
-#endif
gtk_menu_popdown (GTK_MENU (mts->options_menu));
- e_meeting_time_selector_set_zoomed_out (mts, GTK_CHECK_MENU_ITEM (menuitem)->active);
+ active = gtk_check_menu_item_get_active (menuitem);
+ e_meeting_time_selector_set_zoomed_out (mts, active);
e_meeting_time_selector_ensure_meeting_time_shown (mts);
}
static void
-e_meeting_time_selector_on_working_hours_toggled (GtkWidget *menuitem,
+e_meeting_time_selector_on_working_hours_toggled (GtkCheckMenuItem *menuitem,
EMeetingTimeSelector *mts)
{
+ gboolean active;
+
/* Make sure the menu pops down, which doesn't happen by default if
keyboard accelerators are used. */
-#if GTK_CHECK_VERSION(2,19,7)
if (gtk_widget_get_visible (mts->options_menu))
-#else
- if (GTK_WIDGET_VISIBLE (mts->options_menu))
-#endif
gtk_menu_popdown (GTK_MENU (mts->options_menu));
- e_meeting_time_selector_set_working_hours_only (mts, GTK_CHECK_MENU_ITEM (menuitem)->active);
+ active = gtk_check_menu_item_get_active (menuitem);
+ e_meeting_time_selector_set_working_hours_only (mts, active);
e_meeting_time_selector_ensure_meeting_time_shown (mts);
}
@@ -2360,8 +2421,10 @@ static void
e_meeting_time_selector_on_canvas_realized (GtkWidget *widget,
EMeetingTimeSelector *mts)
{
- gdk_window_set_back_pixmap (GTK_LAYOUT (widget)->bin_window,
- NULL, FALSE);
+ GdkWindow *window;
+
+ window = gtk_layout_get_bin_window (GTK_LAYOUT (widget));
+ gdk_window_set_back_pixmap (window, NULL, FALSE);
}
/* This is called when the meeting start time GnomeDateEdit is changed,
@@ -2509,12 +2572,12 @@ e_meeting_time_selector_on_canvas_scroll_event (GtkWidget *widget, GdkEventScrol
static void
e_meeting_time_selector_update_main_canvas_scroll_region (EMeetingTimeSelector *mts)
{
- gint height, canvas_height;
+ GtkAllocation allocation;
+ gint height;
+ gtk_widget_get_allocation (mts->display_main, &allocation);
height = mts->row_height * (e_meeting_store_count_actual_attendees (mts->model) + 2);
- canvas_height = GTK_WIDGET (mts->display_main)->allocation.height;
-
- height = MAX (height, canvas_height);
+ height = MAX (height, allocation.height);
gnome_canvas_set_scroll_region (GNOME_CANVAS (mts->display_main),
0, 0,
@@ -2534,11 +2597,13 @@ e_meeting_time_selector_drag_meeting_time (EMeetingTimeSelector *mts,
EMeetingTime first_time, last_time, drag_time, *time_to_set;
gint scroll_x, scroll_y, canvas_width;
gboolean set_both_times = FALSE;
+ GtkAllocation allocation;
/* Get the x coords of visible part of the canvas. */
gnome_canvas_get_scroll_offsets (GNOME_CANVAS (mts->display_main),
&scroll_x, &scroll_y);
- canvas_width = mts->display_main->allocation.width;
+ gtk_widget_get_allocation (mts->display_main, &allocation);
+ canvas_width = allocation.width;
/* Save the x coordinate for the timeout handler. */
mts->last_drag_x = (x < scroll_x) ? x - scroll_x
@@ -2684,6 +2749,7 @@ e_meeting_time_selector_timeout_handler (gpointer data)
gint scroll_x, max_scroll_x, scroll_y, canvas_width;
gint scroll_speed, scroll_offset;
gboolean set_both_times = FALSE;
+ GtkAllocation allocation;
mts = E_MEETING_TIME_SELECTOR (data);
@@ -2698,7 +2764,8 @@ e_meeting_time_selector_timeout_handler (gpointer data)
/* Get the x coords of visible part of the canvas. */
gnome_canvas_get_scroll_offsets (GNOME_CANVAS (mts->display_main),
&scroll_x, &scroll_y);
- canvas_width = mts->display_main->allocation.width;
+ gtk_widget_get_allocation (mts->display_main, &allocation);
+ canvas_width = allocation.width;
/* Calculate the scroll delay, between 0 and MAX_SCROLL_SPEED. */
scroll_speed = abs (mts->last_drag_x / E_MEETING_TIME_SELECTOR_SCROLL_INCREMENT_WIDTH);
@@ -2870,8 +2937,9 @@ e_meeting_time_selector_update_end_date_edit (EMeetingTimeSelector *mts)
static void
e_meeting_time_selector_ensure_meeting_time_shown (EMeetingTimeSelector *mts)
{
- gint start_x, end_x, scroll_x, scroll_y, canvas_width;
+ gint start_x, end_x, scroll_x, scroll_y;
gint new_scroll_x;
+ GtkAllocation allocation;
EMeetingTime time;
/* Check if we need to change the range of dates shown. */
@@ -2895,8 +2963,8 @@ e_meeting_time_selector_ensure_meeting_time_shown (EMeetingTimeSelector *mts)
gnome_canvas_get_scroll_offsets (GNOME_CANVAS (mts->display_main),
&scroll_x, &scroll_y);
- canvas_width = mts->display_main->allocation.width;
- if (start_x > scroll_x && end_x <= scroll_x + canvas_width)
+ gtk_widget_get_allocation (mts->display_main, &allocation);
+ if (start_x > scroll_x && end_x <= scroll_x + allocation.width)
return;
new_scroll_x = start_x;
diff --git a/calendar/gui/e-memo-table.c b/calendar/gui/e-memo-table.c
index d5e5093a93..a078fd140f 100644
--- a/calendar/gui/e-memo-table.c
+++ b/calendar/gui/e-memo-table.c
@@ -570,6 +570,7 @@ memo_table_query_tooltip (GtkWidget *widget,
FALSE, FALSE, buff, 1000);
if (buff [0]) {
+ /* Translators: This is followed by an event's start date/time */
g_string_append (tmp2, _("Start: "));
g_string_append (tmp2, buff);
}
@@ -588,6 +589,7 @@ memo_table_query_tooltip (GtkWidget *widget,
if (tmp2->len)
g_string_append (tmp2, "; ");
+ /* Translators: This is followed by an event's due date/time */
g_string_append (tmp2, _("Due: "));
g_string_append (tmp2, buff);
}
@@ -912,11 +914,7 @@ memo_table_paste_clipboard (ESelectable *selectable)
/* Paste text into a cell being edited. */
if (gtk_clipboard_wait_is_text_available (clipboard) &&
-#if GTK_CHECK_VERSION(2,19,7)
gtk_widget_has_focus (GTK_WIDGET (table_canvas)) &&
-#else
- GTK_WIDGET_HAS_FOCUS (table_canvas) &&
-#endif
E_IS_TABLE_ITEM (item) &&
E_TABLE_ITEM (item)->editing_col >= 0 &&
E_TABLE_ITEM (item)->editing_row >= 0) {
@@ -1050,7 +1048,7 @@ memo_table_class_init (EMemoTableClass *class)
PROP_MODEL,
g_param_spec_object (
"model",
- _("Model"),
+ "Model",
NULL,
E_TYPE_CAL_MODEL,
G_PARAM_READWRITE |
@@ -1067,7 +1065,7 @@ memo_table_class_init (EMemoTableClass *class)
PROP_SHELL_VIEW,
g_param_spec_object (
"shell-view",
- _("Shell View"),
+ "Shell View",
NULL,
E_TYPE_SHELL_VIEW,
G_PARAM_READWRITE |
diff --git a/calendar/gui/e-select-names-renderer.c b/calendar/gui/e-select-names-renderer.c
index bb0698fa29..ddb8e72efe 100644
--- a/calendar/gui/e-select-names-renderer.c
+++ b/calendar/gui/e-select-names-renderer.c
@@ -54,11 +54,13 @@ static void
e_select_names_renderer_editing_done (GtkCellEditable *editable, ESelectNamesRenderer *cell)
{
GList *addresses = NULL, *names = NULL, *a, *n;
+ gboolean editing_canceled;
/* We don't need to listen for the focus out event any more */
g_signal_handlers_disconnect_matched (editable, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, cell);
- if (GTK_ENTRY (editable)->editing_canceled) {
+ g_object_get (editable, "editing-canceled", &editing_canceled, NULL);
+ if (editing_canceled) {
gtk_cell_renderer_stop_editing (GTK_CELL_RENDERER (cell), TRUE);
goto cleanup;
}
@@ -103,13 +105,20 @@ e_select_names_renderer_start_editing (GtkCellRenderer *cell, GdkEvent *event, G
ESelectNamesRenderer *sn_cell = E_SELECT_NAMES_RENDERER (cell);
GtkCellRendererText *text_cell = GTK_CELL_RENDERER_TEXT (cell);
ESelectNamesEditable *editable;
+ gboolean is_editable;
+ gfloat xalign;
- if (!text_cell->editable)
+ g_object_get (
+ text_cell,
+ "editable", &is_editable,
+ "xalign", &xalign, NULL);
+
+ if (!is_editable)
return NULL;
editable = E_SELECT_NAMES_EDITABLE (e_select_names_editable_new ());
gtk_entry_set_has_frame (GTK_ENTRY (editable), FALSE);
- gtk_entry_set_alignment (GTK_ENTRY (editable), cell->xalign);
+ gtk_entry_set_alignment (GTK_ENTRY (editable), xalign);
if (sn_cell->priv->email && *sn_cell->priv->email)
e_select_names_editable_set_address (editable, sn_cell->priv->name, sn_cell->priv->email);
gtk_widget_show (GTK_WIDGET (editable));
diff --git a/calendar/gui/e-task-table.c b/calendar/gui/e-task-table.c
index c71eeeeb04..98d422aa16 100644
--- a/calendar/gui/e-task-table.c
+++ b/calendar/gui/e-task-table.c
@@ -412,6 +412,7 @@ task_table_constructed (GObject *object)
GList *strings;
AtkObject *a11y;
gchar *etspecfile;
+ gint percent;
task_table = E_TASK_TABLE (object);
model = e_task_table_get_model (task_table);
@@ -488,6 +489,7 @@ task_table_constructed (GObject *object)
strings = g_list_append (strings, (gchar *) _("Confidential"));
e_cell_combo_set_popdown_strings (E_CELL_COMBO (popup_cell),
strings);
+ g_list_free (strings);
e_table_extras_add_cell (extras, "classification", popup_cell);
@@ -511,6 +513,7 @@ task_table_constructed (GObject *object)
strings = g_list_append (strings, (gchar *) _("Undefined"));
e_cell_combo_set_popdown_strings (E_CELL_COMBO (popup_cell),
strings);
+ g_list_free (strings);
e_table_extras_add_cell (extras, "priority", popup_cell);
@@ -527,20 +530,19 @@ task_table_constructed (GObject *object)
g_object_unref (cell);
strings = NULL;
- strings = g_list_append (strings, (gchar *) _("0%"));
- strings = g_list_append (strings, (gchar *) _("10%"));
- strings = g_list_append (strings, (gchar *) _("20%"));
- strings = g_list_append (strings, (gchar *) _("30%"));
- strings = g_list_append (strings, (gchar *) _("40%"));
- strings = g_list_append (strings, (gchar *) _("50%"));
- strings = g_list_append (strings, (gchar *) _("60%"));
- strings = g_list_append (strings, (gchar *) _("70%"));
- strings = g_list_append (strings, (gchar *) _("80%"));
- strings = g_list_append (strings, (gchar *) _("90%"));
- strings = g_list_append (strings, (gchar *) _("100%"));
+ for (percent = 0; percent <= 100; percent += 10) {
+ /* Translators: "%d%%" is the percentage of a task done.
+ %d is the actual value, %% is replaced with a percent sign.
+ Result values will be 0%, 10%, 20%, ... 100%
+ */
+ strings = g_list_append (strings, g_strdup_printf (_("%d%%"), percent));
+ }
e_cell_combo_set_popdown_strings (E_CELL_COMBO (popup_cell),
strings);
+ g_list_foreach (strings, (GFunc) g_free, NULL);
+ g_list_free (strings);
+
e_table_extras_add_cell (extras, "percent", popup_cell);
/* Transparency field. */
@@ -561,6 +563,7 @@ task_table_constructed (GObject *object)
strings = g_list_append (strings, (gchar *) _("Busy"));
e_cell_combo_set_popdown_strings (E_CELL_COMBO (popup_cell),
strings);
+ g_list_free (strings);
e_table_extras_add_cell (extras, "transparency", popup_cell);
@@ -584,6 +587,7 @@ task_table_constructed (GObject *object)
strings = g_list_append (strings, (gchar *) _("Canceled"));
e_cell_combo_set_popdown_strings (E_CELL_COMBO (popup_cell),
strings);
+ g_list_free (strings);
e_table_extras_add_cell (extras, "calstatus", popup_cell);
@@ -1133,11 +1137,7 @@ task_table_paste_clipboard (ESelectable *selectable)
/* Paste text into a cell being edited. */
if (gtk_clipboard_wait_is_text_available (clipboard) &&
-#if GTK_CHECK_VERSION(2,19,7)
gtk_widget_has_focus (GTK_WIDGET (table_canvas)) &&
-#else
- GTK_WIDGET_HAS_FOCUS (table_canvas) &&
-#endif
E_IS_TABLE_ITEM (item) &&
E_TABLE_ITEM (item)->editing_col >= 0 &&
E_TABLE_ITEM (item)->editing_row >= 0) {
@@ -1349,7 +1349,7 @@ task_table_class_init (ETaskTableClass *class)
PROP_MODEL,
g_param_spec_object (
"model",
- _("Model"),
+ "Model",
NULL,
E_TYPE_CAL_MODEL,
G_PARAM_READWRITE |
@@ -1366,7 +1366,7 @@ task_table_class_init (ETaskTableClass *class)
PROP_SHELL_VIEW,
g_param_spec_object (
"shell-view",
- _("Shell View"),
+ "Shell View",
NULL,
E_TYPE_SHELL_VIEW,
G_PARAM_READWRITE |
diff --git a/calendar/gui/e-timezone-entry.c b/calendar/gui/e-timezone-entry.c
index 309661a2db..c281a4aedf 100644
--- a/calendar/gui/e-timezone-entry.c
+++ b/calendar/gui/e-timezone-entry.c
@@ -236,44 +236,20 @@ timezone_entry_focus (GtkWidget *widget,
priv = E_TIMEZONE_ENTRY_GET_PRIVATE (widget);
if (direction == GTK_DIR_TAB_FORWARD) {
-#if GTK_CHECK_VERSION(2,19,7)
if (gtk_widget_has_focus (priv->entry))
-#else
- if (GTK_WIDGET_HAS_FOCUS (priv->entry))
-#endif
gtk_widget_grab_focus (priv->button);
-#if GTK_CHECK_VERSION(2,19,7)
else if (gtk_widget_has_focus (priv->button))
-#else
- else if (GTK_WIDGET_HAS_FOCUS (priv->button))
-#endif
return FALSE;
-#if GTK_CHECK_VERSION(2,19,7)
else if (gtk_widget_get_visible (priv->entry))
-#else
- else if (GTK_WIDGET_VISIBLE (priv->entry))
-#endif
gtk_widget_grab_focus (priv->entry);
else
gtk_widget_grab_focus (priv->button);
} else if (direction == GTK_DIR_TAB_BACKWARD) {
-#if GTK_CHECK_VERSION(2,19,7)
if (gtk_widget_has_focus (priv->entry))
-#else
- if (GTK_WIDGET_HAS_FOCUS (priv->entry))
-#endif
return FALSE;
-#if GTK_CHECK_VERSION(2,19,7)
else if (gtk_widget_has_focus (priv->button)) {
-#else
- else if (GTK_WIDGET_HAS_FOCUS (priv->button)) {
-#endif
-#if GTK_CHECK_VERSION(2,19,7)
if (gtk_widget_get_visible (priv->entry))
-#else
- if (GTK_WIDGET_VISIBLE (priv->entry))
-#endif
gtk_widget_grab_focus (priv->entry);
else
return FALSE;
@@ -328,7 +304,7 @@ e_timezone_entry_init (ETimezoneEntry *timezone_entry)
timezone_entry->priv = E_TIMEZONE_ENTRY_GET_PRIVATE (timezone_entry);
- GTK_WIDGET_SET_FLAGS (GTK_WIDGET (timezone_entry), GTK_CAN_FOCUS);
+ gtk_widget_set_can_focus (GTK_WIDGET (timezone_entry), TRUE);
widget = gtk_entry_new ();
gtk_editable_set_editable (GTK_EDITABLE (widget), FALSE);
diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c
index 90d8831747..ba44b7a24a 100644
--- a/calendar/gui/e-week-view-event-item.c
+++ b/calendar/gui/e-week-view-event-item.c
@@ -87,11 +87,14 @@ week_view_event_item_get_position (EWeekViewEventItem *event_item,
{
EWeekView *week_view;
GnomeCanvasItem *item;
+ GtkWidget *parent;
item = GNOME_CANVAS_ITEM (event_item);
- week_view = E_WEEK_VIEW (GTK_WIDGET (item->canvas)->parent);
- g_return_val_if_fail (E_IS_WEEK_VIEW (week_view), E_CALENDAR_VIEW_POS_NONE);
+ parent = gtk_widget_get_parent (GTK_WIDGET (item->canvas));
+ g_return_val_if_fail (E_IS_WEEK_VIEW (parent), E_CALENDAR_VIEW_POS_NONE);
+
+ week_view = E_WEEK_VIEW (parent);
if (x < item->x1 + E_WEEK_VIEW_EVENT_L_PAD
|| x >= item->x2 - E_WEEK_VIEW_EVENT_R_PAD)
@@ -120,19 +123,31 @@ week_view_event_item_double_click (EWeekViewEventItem *event_item,
EWeekView *week_view;
EWeekViewEvent *event;
GnomeCanvasItem *item;
+ GtkWidget *parent;
item = GNOME_CANVAS_ITEM (event_item);
- week_view = E_WEEK_VIEW (GTK_WIDGET (item->canvas)->parent);
- g_return_val_if_fail (E_IS_WEEK_VIEW (week_view), FALSE);
+ parent = gtk_widget_get_parent (GTK_WIDGET (item->canvas));
+ g_return_val_if_fail (E_IS_WEEK_VIEW (parent), FALSE);
+
+ week_view = E_WEEK_VIEW (parent);
+
+ if (!is_array_index_in_bounds (week_view->events, event_item->priv->event_num))
+ return TRUE;
event = &g_array_index (
week_view->events, EWeekViewEvent,
event_item->priv->event_num);
+ if (!is_comp_data_valid (event))
+ return TRUE;
+
if (week_view->editing_event_num >= 0) {
EWeekViewEvent *editing;
+ if (!is_array_index_in_bounds (week_view->events, week_view->editing_event_num))
+ return TRUE;
+
editing = &g_array_index (
week_view->events, EWeekViewEvent,
week_view->editing_event_num);
@@ -141,6 +156,7 @@ week_view_event_item_double_click (EWeekViewEventItem *event_item,
* on the component, which is not on the server. */
if (editing && event &&
editing->comp_data == event->comp_data &&
+ is_comp_data_valid (editing) &&
(!event->comp_data ||
!is_icalcomp_on_the_server (
event->comp_data->icalcomp,
@@ -167,14 +183,24 @@ week_view_event_item_button_press (EWeekViewEventItem *event_item,
EWeekViewEvent *event;
EWeekViewEventSpan *span;
GnomeCanvasItem *item;
+ GtkWidget *parent;
item = GNOME_CANVAS_ITEM (event_item);
- week_view = E_WEEK_VIEW (GTK_WIDGET (item->canvas)->parent);
- g_return_val_if_fail (E_IS_WEEK_VIEW (week_view), FALSE);
+ parent = gtk_widget_get_parent (GTK_WIDGET (item->canvas));
+ g_return_val_if_fail (E_IS_WEEK_VIEW (parent), FALSE);
+
+ week_view = E_WEEK_VIEW (parent);
+
+ if (!is_array_index_in_bounds (week_view->events, event_item->priv->event_num))
+ return FALSE;
event = &g_array_index (week_view->events, EWeekViewEvent,
event_item->priv->event_num);
+
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + event_item->priv->span_num))
+ return FALSE;
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan,
event->spans_index + event_item->priv->span_num);
@@ -201,11 +227,7 @@ week_view_event_item_button_press (EWeekViewEventItem *event_item,
return TRUE;
} else if (bevent->button.button == 3) {
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_has_focus (GTK_WIDGET (week_view))) {
-#else
- if (!GTK_WIDGET_HAS_FOCUS (week_view)) {
-#endif
gtk_widget_grab_focus (GTK_WIDGET (week_view));
if (week_view->event_destroyed) {
week_view->event_destroyed = FALSE;
@@ -235,11 +257,14 @@ week_view_event_item_button_release (EWeekViewEventItem *event_item,
{
EWeekView *week_view;
GnomeCanvasItem *item;
+ GtkWidget *parent;
item = GNOME_CANVAS_ITEM (event_item);
- week_view = E_WEEK_VIEW (GTK_WIDGET (item->canvas)->parent);
- g_return_val_if_fail (E_IS_WEEK_VIEW (week_view), FALSE);
+ parent = gtk_widget_get_parent (GTK_WIDGET (item->canvas));
+ g_return_val_if_fail (E_IS_WEEK_VIEW (parent), FALSE);
+
+ week_view = E_WEEK_VIEW (parent);
if (week_view->pressed_event_num != -1
&& week_view->pressed_event_num == event_item->priv->event_num
@@ -368,6 +393,8 @@ week_view_event_item_draw_icons (EWeekViewEventItem *event_item,
EWeekView *week_view;
EWeekViewEvent *event;
ECalComponent *comp;
+ GnomeCanvas *canvas;
+ GtkWidget *parent;
GdkGC *gc;
gint num_icons = 0, icon_x_inc;
gboolean draw_reminder_icon = FALSE, draw_recurrence_icon = FALSE;
@@ -376,10 +403,19 @@ week_view_event_item_draw_icons (EWeekViewEventItem *event_item,
GSList *categories_pixbufs = NULL, *pixbufs;
cairo_t *cr;
- week_view = E_WEEK_VIEW (GTK_WIDGET (GNOME_CANVAS_ITEM (event_item)->canvas)->parent);
+ canvas = GNOME_CANVAS_ITEM (event_item)->canvas;
+ parent = gtk_widget_get_parent (GTK_WIDGET (canvas));
+ week_view = E_WEEK_VIEW (parent);
+
+ if (!is_array_index_in_bounds (week_view->events, event_item->priv->event_num))
+ return;
event = &g_array_index (week_view->events, EWeekViewEvent,
event_item->priv->event_num);
+
+ if (!is_comp_data_valid (event))
+ return;
+
comp = e_cal_component_new ();
e_cal_component_set_icalcomponent (
comp, icalcomponent_new_clone (event->comp_data->icalcomp));
@@ -484,6 +520,8 @@ week_view_event_item_draw_triangle (EWeekViewEventItem *event_item,
ECalModel *model;
EWeekView *week_view;
EWeekViewEvent *event;
+ GnomeCanvas *canvas;
+ GtkWidget *parent;
GdkPoint points[3];
const gchar *color_spec;
gint c1, c2;
@@ -492,11 +530,19 @@ week_view_event_item_draw_triangle (EWeekViewEventItem *event_item,
if (!can_draw_in_region (draw_region, x, y, w, h))
return;
- week_view = E_WEEK_VIEW (GTK_WIDGET (GNOME_CANVAS_ITEM (event_item)->canvas)->parent);
+ canvas = GNOME_CANVAS_ITEM (event_item)->canvas;
+ parent = gtk_widget_get_parent (GTK_WIDGET (canvas));
+ week_view = E_WEEK_VIEW (parent);
+
+ if (!is_array_index_in_bounds (week_view->events, event_item->priv->event_num))
+ return;
event = &g_array_index (week_view->events, EWeekViewEvent,
event_item->priv->event_num);
+ if (!is_comp_data_valid (event))
+ return;
+
cr = gdk_cairo_create (drawable);
points[0].x = x;
@@ -621,12 +667,15 @@ week_view_event_item_update (GnomeCanvasItem *item,
GnomeCanvasItemClass *canvas_item_class;
EWeekViewEventItem *event_item;
EWeekView *week_view;
+ GtkWidget *parent;
gint event_num, span_num;
gint span_x, span_y, span_w;
event_item = E_WEEK_VIEW_EVENT_ITEM (item);
- week_view = E_WEEK_VIEW (GTK_WIDGET (item->canvas)->parent);
- g_return_if_fail (E_IS_WEEK_VIEW (week_view));
+ parent = gtk_widget_get_parent (GTK_WIDGET (item->canvas));
+ g_return_if_fail (E_IS_WEEK_VIEW (parent));
+
+ week_view = E_WEEK_VIEW (parent);
/* Chain up to parent's update() method. */
canvas_item_class = GNOME_CANVAS_ITEM_CLASS (parent_class);
@@ -666,6 +715,7 @@ week_view_event_item_draw (GnomeCanvasItem *canvas_item,
EWeekViewEventSpan *span;
ECalModel *model;
GdkGC *gc;
+ GtkWidget *parent;
gint x1, y1, x2, y2, time_x, time_y;
gint icon_x, icon_y, time_width, min_end_time_x, max_icon_x;
gint rect_x, rect_w, rect_x2 = 0;
@@ -686,21 +736,32 @@ week_view_event_item_draw (GnomeCanvasItem *canvas_item,
const gchar *color_spec;
event_item = E_WEEK_VIEW_EVENT_ITEM (canvas_item);
- week_view = E_WEEK_VIEW (GTK_WIDGET (canvas_item->canvas)->parent);
- g_return_if_fail (E_IS_WEEK_VIEW (week_view));
+ parent = gtk_widget_get_parent (GTK_WIDGET (canvas_item->canvas));
+ g_return_if_fail (E_IS_WEEK_VIEW (parent));
+
+ week_view = E_WEEK_VIEW (parent);
if (event_item->priv->event_num == -1 || event_item->priv->span_num == -1)
return;
g_return_if_fail (event_item->priv->event_num < week_view->events->len);
+ if (!is_array_index_in_bounds (week_view->events, event_item->priv->event_num))
+ return;
+
event = &g_array_index (week_view->events, EWeekViewEvent,
event_item->priv->event_num);
+ if (!is_comp_data_valid (event))
+ return;
+
g_return_if_fail (
event->spans_index + event_item->priv->span_num <
week_view->spans->len);
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + event_item->priv->span_num))
+ return;
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan,
event->spans_index + event_item->priv->span_num);
diff --git a/calendar/gui/e-week-view-main-item.c b/calendar/gui/e-week-view-main-item.c
index eb8de3af9a..3522790401 100644
--- a/calendar/gui/e-week-view-main-item.c
+++ b/calendar/gui/e-week-view-main-item.c
@@ -169,11 +169,7 @@ week_view_main_item_draw_day (EWeekViewMainItem *main_item,
|| week_view->selection_end_day < day)
selected = FALSE;
if (selected) {
-#if GTK_CHECK_VERSION(2,19,7)
if (gtk_widget_has_focus (GTK_WIDGET (week_view))) {
-#else
- if (GTK_WIDGET_HAS_FOCUS (week_view)) {
-#endif
gdk_cairo_set_source_color (cr, &week_view->colors[E_WEEK_VIEW_COLOR_SELECTED]);
} else {
gdk_cairo_set_source_color (cr, &week_view->colors[E_WEEK_VIEW_COLOR_SELECTED]);
diff --git a/calendar/gui/e-week-view-titles-item.c b/calendar/gui/e-week-view-titles-item.c
index f2d90e7150..ab7a9db652 100644
--- a/calendar/gui/e-week-view-titles-item.c
+++ b/calendar/gui/e-week-view-titles-item.c
@@ -126,9 +126,10 @@ week_view_titles_item_draw (GnomeCanvasItem *canvas_item,
EWeekView *week_view;
GtkStyle *style;
GdkGC *fg_gc, *light_gc, *dark_gc;
- gint canvas_width, canvas_height, col_width, col, date_width, date_x;
+ gint col_width, col, date_width, date_x;
gchar buffer[128];
GdkRectangle clip_rect;
+ GtkAllocation allocation;
gboolean abbreviated;
gint weekday;
PangoLayout *layout;
@@ -137,28 +138,29 @@ week_view_titles_item_draw (GnomeCanvasItem *canvas_item,
week_view = e_week_view_titles_item_get_week_view (titles_item);
g_return_if_fail (week_view != NULL);
+ gtk_widget_get_allocation (
+ GTK_WIDGET (canvas_item->canvas), &allocation);
+
style = gtk_widget_get_style (GTK_WIDGET (week_view));
fg_gc = style->fg_gc[GTK_STATE_NORMAL];
light_gc = style->light_gc[GTK_STATE_NORMAL];
dark_gc = style->dark_gc[GTK_STATE_NORMAL];
- canvas_width = GTK_WIDGET (canvas_item->canvas)->allocation.width;
- canvas_height = GTK_WIDGET (canvas_item->canvas)->allocation.height;
layout = gtk_widget_create_pango_layout (GTK_WIDGET (week_view), NULL);
/* Draw the shadow around the dates. */
gdk_draw_line (drawable, light_gc,
1 - x, 1 - y,
- canvas_width - 2 - x, 1 - y);
+ allocation.width - 2 - x, 1 - y);
gdk_draw_line (drawable, light_gc,
1 - x, 2 - y,
- 1 - x, canvas_height - 1 - y);
+ 1 - x, allocation.height - 1 - y);
gdk_draw_rectangle (drawable, dark_gc, FALSE,
0 - x, 0 - y,
- canvas_width - 1, canvas_height);
+ allocation.width - 1, allocation.height);
/* Determine the format to use. */
- col_width = canvas_width / week_view->columns;
+ col_width = allocation.width / week_view->columns;
abbreviated = (week_view->max_day_width + 2 >= col_width);
/* Shift right one pixel to account for the shadow around the main
@@ -182,7 +184,7 @@ week_view_titles_item_draw (GnomeCanvasItem *canvas_item,
clip_rect.x = week_view->col_offsets[col] - x;
clip_rect.y = 2 - y;
clip_rect.width = week_view->col_widths[col];
- clip_rect.height = canvas_height - 2;
+ clip_rect.height = allocation.height - 2;
gdk_gc_set_clip_rectangle (fg_gc, &clip_rect);
if (weekday == 5 && week_view->compress_weekend)
@@ -212,22 +214,22 @@ week_view_titles_item_draw (GnomeCanvasItem *canvas_item,
week_view->col_offsets[col] - x,
4 - y,
week_view->col_offsets[col] - x,
- canvas_height - 4 - y);
+ allocation.height - 4 - y);
gdk_draw_line (drawable, dark_gc,
week_view->col_offsets[col] - 1 - x,
4 - y,
week_view->col_offsets[col] - 1 - x,
- canvas_height - 4 - y);
+ allocation.height - 4 - y);
}
/* Draw the lines between each column. */
if (col != 0) {
gdk_draw_line (drawable, style->black_gc,
week_view->col_offsets[col] - x,
- canvas_height - y,
+ allocation.height - y,
week_view->col_offsets[col] - x,
- canvas_height - y);
+ allocation.height - y);
}
if (weekday == 5 && week_view->compress_weekend)
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 696113987b..accafd9ac2 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -405,8 +405,14 @@ week_view_time_range_changed_cb (EWeekView *week_view,
/* Reset the adjustment value to 0 if the base address has changed.
Note that we do this after updating first_day_shown so that our
signal handler will not try to reload the events. */
- if (update_adjustment_value)
- gtk_adjustment_set_value (GTK_RANGE (week_view->vscrollbar)->adjustment, 0);
+ if (update_adjustment_value) {
+ GtkRange *range;
+ GtkAdjustment *adjustment;
+
+ range = GTK_RANGE (week_view->vscrollbar);
+ adjustment = gtk_range_get_adjustment (range);
+ gtk_adjustment_set_value (adjustment, 0);
+ }
if (!E_CALENDAR_VIEW (week_view)->in_focus) {
e_week_view_free_events (week_view);
@@ -524,6 +530,9 @@ week_view_constructed (GObject *object)
ECalModel *model;
ECalendarView *calendar_view;
+ /* Chain up to parent's constructed() method. */
+ G_OBJECT_CLASS (e_week_view_parent_class)->constructed (object);
+
calendar_view = E_CALENDAR_VIEW (object);
model = e_calendar_view_get_model (calendar_view);
@@ -687,7 +696,7 @@ e_week_view_init (EWeekView *week_view)
GdkPixbuf *pixbuf;
gint i;
- GTK_WIDGET_SET_FLAGS (week_view, GTK_CAN_FOCUS);
+ gtk_widget_set_can_focus (GTK_WIDGET (week_view), TRUE);
week_view->query = NULL;
week_view->event_destroyed = FALSE;
@@ -894,12 +903,14 @@ e_week_view_realize (GtkWidget *widget)
{
EWeekView *week_view;
GdkColormap *colormap;
+ GdkWindow *window;
if (GTK_WIDGET_CLASS (e_week_view_parent_class)->realize)
(*GTK_WIDGET_CLASS (e_week_view_parent_class)->realize)(widget);
week_view = E_WEEK_VIEW (widget);
- week_view->main_gc = gdk_gc_new (widget->window);
+ window = gtk_widget_get_window (widget);
+ week_view->main_gc = gdk_gc_new (window);
colormap = gtk_widget_get_colormap (widget);
@@ -940,17 +951,21 @@ color_inc (GdkColor c, gint amount)
static void
e_week_view_set_colors(EWeekView *week_view, GtkWidget *widget)
{
- week_view->colors[E_WEEK_VIEW_COLOR_EVEN_MONTHS] = widget->style->base[GTK_STATE_INSENSITIVE];
- week_view->colors[E_WEEK_VIEW_COLOR_ODD_MONTHS] = widget->style->base[GTK_STATE_NORMAL];
- week_view->colors[E_WEEK_VIEW_COLOR_EVENT_BACKGROUND] = widget->style->base[GTK_STATE_NORMAL];
- week_view->colors[E_WEEK_VIEW_COLOR_EVENT_BORDER] = widget->style->dark[GTK_STATE_NORMAL];
- week_view->colors[E_WEEK_VIEW_COLOR_EVENT_TEXT] = widget->style->text[GTK_STATE_NORMAL];
- week_view->colors[E_WEEK_VIEW_COLOR_GRID] = widget->style->dark[GTK_STATE_NORMAL];
- week_view->colors[E_WEEK_VIEW_COLOR_SELECTED] = widget->style->base[GTK_STATE_SELECTED];
- week_view->colors[E_WEEK_VIEW_COLOR_SELECTED_UNFOCUSSED] = widget->style->bg[GTK_STATE_SELECTED];
- week_view->colors[E_WEEK_VIEW_COLOR_DATES] = widget->style->text[GTK_STATE_NORMAL];
- week_view->colors[E_WEEK_VIEW_COLOR_DATES_SELECTED] = widget->style->text[GTK_STATE_SELECTED];
- week_view->colors[E_WEEK_VIEW_COLOR_TODAY] = widget->style->base[GTK_STATE_SELECTED];
+ GtkStyle *style;
+
+ style = gtk_widget_get_style (widget);
+
+ week_view->colors[E_WEEK_VIEW_COLOR_EVEN_MONTHS] = style->base[GTK_STATE_INSENSITIVE];
+ week_view->colors[E_WEEK_VIEW_COLOR_ODD_MONTHS] = style->base[GTK_STATE_NORMAL];
+ week_view->colors[E_WEEK_VIEW_COLOR_EVENT_BACKGROUND] = style->base[GTK_STATE_NORMAL];
+ week_view->colors[E_WEEK_VIEW_COLOR_EVENT_BORDER] = style->dark[GTK_STATE_NORMAL];
+ week_view->colors[E_WEEK_VIEW_COLOR_EVENT_TEXT] = style->text[GTK_STATE_NORMAL];
+ week_view->colors[E_WEEK_VIEW_COLOR_GRID] = style->dark[GTK_STATE_NORMAL];
+ week_view->colors[E_WEEK_VIEW_COLOR_SELECTED] = style->base[GTK_STATE_SELECTED];
+ week_view->colors[E_WEEK_VIEW_COLOR_SELECTED_UNFOCUSSED] = style->bg[GTK_STATE_SELECTED];
+ week_view->colors[E_WEEK_VIEW_COLOR_DATES] = style->text[GTK_STATE_NORMAL];
+ week_view->colors[E_WEEK_VIEW_COLOR_DATES_SELECTED] = style->text[GTK_STATE_SELECTED];
+ week_view->colors[E_WEEK_VIEW_COLOR_TODAY] = style->base[GTK_STATE_SELECTED];
week_view->colors[E_WEEK_VIEW_COLOR_TODAY_BACKGROUND] = get_today_background (week_view->colors[E_WEEK_VIEW_COLOR_EVENT_BACKGROUND]);
week_view->colors[E_WEEK_VIEW_COLOR_MONTH_NONWORKING_DAY] = color_inc (week_view->colors[E_WEEK_VIEW_COLOR_EVEN_MONTHS], -0x0A0A);
}
@@ -1021,6 +1036,7 @@ get_digit_width (PangoLayout *layout)
static GdkColor
e_week_view_get_text_color (EWeekView *week_view, EWeekViewEvent *event, GtkWidget *widget)
{
+ GtkStyle *style;
GdkColor bg_color;
guint16 red, green, blue;
gdouble cc = 65535.0;
@@ -1029,7 +1045,7 @@ e_week_view_get_text_color (EWeekView *week_view, EWeekViewEvent *event, GtkWidg
green = week_view->colors[E_WEEK_VIEW_COLOR_EVENT_BACKGROUND].green;
blue = week_view->colors[E_WEEK_VIEW_COLOR_EVENT_BACKGROUND].blue;
- if (gdk_color_parse (e_cal_model_get_color_for_component (e_calendar_view_get_model (E_CALENDAR_VIEW (week_view)), event->comp_data),
+ if (is_comp_data_valid (event) && gdk_color_parse (e_cal_model_get_color_for_component (e_calendar_view_get_model (E_CALENDAR_VIEW (week_view)), event->comp_data),
&bg_color)) {
GdkColormap *colormap;
colormap = gtk_widget_get_colormap (GTK_WIDGET (week_view));
@@ -1040,10 +1056,12 @@ e_week_view_get_text_color (EWeekView *week_view, EWeekViewEvent *event, GtkWidg
}
}
+ style = gtk_widget_get_style (widget);
+
if ((red/cc > 0.7) || (green/cc > 0.7) || (blue/cc > 0.7 ))
- return widget->style->black;
+ return style->black;
else
- return widget->style->white;
+ return style->white;
}
static void
@@ -1075,9 +1093,10 @@ e_week_view_style_set (GtkWidget *widget,
span = &g_array_index (week_view->spans,
EWeekViewEventSpan, span_num);
if (span->text_item) {
- gnome_canvas_item_set (span->text_item,
- "fill_color_gdk", &widget->style->text[GTK_STATE_NORMAL],
- NULL);
+ gnome_canvas_item_set (
+ span->text_item,
+ "fill_color_gdk", &style->text[GTK_STATE_NORMAL],
+ NULL);
}
}
}
@@ -1169,6 +1188,7 @@ static void
e_week_view_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
{
EWeekView *week_view;
+ GtkAllocation canvas_allocation;
gdouble old_x2, old_y2, new_x2, new_y2;
week_view = E_WEEK_VIEW (widget);
@@ -1178,23 +1198,31 @@ e_week_view_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
e_week_view_recalc_cell_sizes (week_view);
/* Set the scroll region of the top canvas to its allocated size. */
- gnome_canvas_get_scroll_region (GNOME_CANVAS (week_view->titles_canvas),
- NULL, NULL, &old_x2, &old_y2);
- new_x2 = week_view->titles_canvas->allocation.width - 1;
- new_y2 = week_view->titles_canvas->allocation.height - 1;
+ gnome_canvas_get_scroll_region (
+ GNOME_CANVAS (week_view->titles_canvas),
+ NULL, NULL, &old_x2, &old_y2);
+ gtk_widget_get_allocation (
+ week_view->titles_canvas, &canvas_allocation);
+ new_x2 = canvas_allocation.width - 1;
+ new_y2 = canvas_allocation.height - 1;
if (old_x2 != new_x2 || old_y2 != new_y2)
- gnome_canvas_set_scroll_region (GNOME_CANVAS (week_view->titles_canvas),
- 0, 0, new_x2, new_y2);
+ gnome_canvas_set_scroll_region (
+ GNOME_CANVAS (week_view->titles_canvas),
+ 0, 0, new_x2, new_y2);
/* Set the scroll region of the main canvas to its allocated width,
but with the height depending on the number of rows needed. */
- gnome_canvas_get_scroll_region (GNOME_CANVAS (week_view->main_canvas),
- NULL, NULL, &old_x2, &old_y2);
- new_x2 = week_view->main_canvas->allocation.width - 1;
- new_y2 = week_view->main_canvas->allocation.height - 1;
+ gnome_canvas_get_scroll_region (
+ GNOME_CANVAS (week_view->main_canvas),
+ NULL, NULL, &old_x2, &old_y2);
+ gtk_widget_get_allocation (
+ week_view->main_canvas, &canvas_allocation);
+ new_x2 = canvas_allocation.width - 1;
+ new_y2 = canvas_allocation.height - 1;
if (old_x2 != new_x2 || old_y2 != new_y2)
- gnome_canvas_set_scroll_region (GNOME_CANVAS (week_view->main_canvas),
- 0, 0, new_x2, new_y2);
+ gnome_canvas_set_scroll_region (
+ GNOME_CANVAS (week_view->main_canvas),
+ 0, 0, new_x2, new_y2);
/* Flag that we need to reshape the events. */
if (old_x2 != new_x2 || old_y2 != new_y2) {
@@ -1208,6 +1236,7 @@ e_week_view_recalc_cell_sizes (EWeekView *week_view)
{
gfloat canvas_width, canvas_height, offset;
gint row, col;
+ GtkAllocation allocation;
GtkWidget *widget;
GtkStyle *style;
gint width, height, time_width;
@@ -1223,12 +1252,14 @@ e_week_view_recalc_cell_sizes (EWeekView *week_view)
week_view->columns = 2;
}
+ gtk_widget_get_allocation (week_view->main_canvas, &allocation);
+
/* Calculate the column sizes, using floating point so that pixels
get divided evenly. Note that we use one more element than the
number of columns, to make it easy to get the column widths.
We also add one to the width so that the right border of the last
column is off the edge of the displayed area. */
- canvas_width = week_view->main_canvas->allocation.width + 1;
+ canvas_width = allocation.width + 1;
canvas_width /= week_view->columns;
offset = 0;
for (col = 0; col <= week_view->columns; col++) {
@@ -1243,7 +1274,7 @@ e_week_view_recalc_cell_sizes (EWeekView *week_view)
}
/* Now do the same for the row heights. */
- canvas_height = week_view->main_canvas->allocation.height + 1;
+ canvas_height = allocation.height + 1;
canvas_height /= week_view->rows;
offset = 0;
for (row = 0; row <= week_view->rows; row++) {
@@ -1491,9 +1522,16 @@ e_week_view_focus (GtkWidget *widget, GtkDirectionType direction)
EWeekViewEventSpan *span;
gint current_day;
+ if (!is_array_index_in_bounds (week_view->events, new_event_num))
+ break;
+
event = &g_array_index (week_view->events,
EWeekViewEvent,
new_event_num);
+
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + new_span_num))
+ break;
+
span = &g_array_index (week_view->spans,
EWeekViewEventSpan,
event->spans_index + new_span_num);
@@ -1523,9 +1561,15 @@ e_week_view_get_selected_events (ECalendarView *cal_view)
g_return_val_if_fail (E_IS_WEEK_VIEW (week_view), NULL);
if (week_view->editing_event_num != -1) {
+ if (!is_array_index_in_bounds (week_view->events, week_view->editing_event_num))
+ return NULL;
+
event = &g_array_index (week_view->events, EWeekViewEvent,
week_view->editing_event_num);
} else if (week_view->popup_event_num != -1) {
+ if (!is_array_index_in_bounds (week_view->events, week_view->popup_event_num))
+ return NULL;
+
event = &g_array_index (week_view->events, EWeekViewEvent,
week_view->popup_event_num);
}
@@ -1565,22 +1609,25 @@ e_week_view_update_query (EWeekView *week_view)
static void
e_week_view_draw_shadow (EWeekView *week_view)
{
+ GtkAllocation allocation;
gint x1, y1, x2, y2;
GtkStyle *style;
GdkGC *light_gc, *dark_gc;
GdkWindow *window;
+ gtk_widget_get_allocation (week_view->main_canvas, &allocation);
+
/* Draw the shadow around the graphical displays. */
- x1 = week_view->main_canvas->allocation.x - 1;
- y1 = week_view->main_canvas->allocation.y - 1;
- x2 = x1 + week_view->main_canvas->allocation.width + 2;
- y2 = y1 + week_view->main_canvas->allocation.height + 2;
+ x1 = allocation.x - 1;
+ y1 = allocation.y - 1;
+ x2 = x1 + allocation.width + 2;
+ y2 = y1 + allocation.height + 2;
- style = GTK_WIDGET (week_view)->style;
+ style = gtk_widget_get_style (GTK_WIDGET (week_view));
dark_gc = style->dark_gc[GTK_STATE_NORMAL];
light_gc = style->light_gc[GTK_STATE_NORMAL];
- window = GTK_WIDGET (week_view)->window;
+ window = gtk_widget_get_window (GTK_WIDGET (week_view));
gdk_draw_line (window, dark_gc, x1, y1, x1, y2);
gdk_draw_line (window, dark_gc, x1, y1, x2, y1);
gdk_draw_line (window, light_gc, x2, y1, x2, y2);
@@ -1634,8 +1681,14 @@ e_week_view_set_selected_time_range (ECalendarView *cal_view,
/* Reset the adjustment value to 0 if the base address has changed.
Note that we do this after updating first_day_shown so that our
signal handler will not try to reload the events. */
- if (update_adjustment_value)
- gtk_adjustment_set_value (GTK_RANGE (week_view->vscrollbar)->adjustment, 0);
+ if (update_adjustment_value) {
+ GtkRange *range;
+ GtkAdjustment *adjustment;
+
+ range = GTK_RANGE (week_view->vscrollbar);
+ adjustment = gtk_range_get_adjustment (range);
+ gtk_adjustment_set_value (adjustment, 0);
+ }
gtk_widget_queue_draw (week_view->main_canvas);
}
@@ -1813,8 +1866,14 @@ e_week_view_set_first_day_shown (EWeekView *week_view,
/* Reset the adjustment value to 0 if the base address has changed.
Note that we do this after updating first_day_shown so that our
signal handler will not try to reload the events. */
- if (update_adjustment_value)
- gtk_adjustment_set_value (GTK_RANGE (week_view->vscrollbar)->adjustment, 0);
+ if (update_adjustment_value) {
+ GtkRange *range;
+ GtkAdjustment *adjustment;
+
+ range = GTK_RANGE (week_view->vscrollbar);
+ adjustment = gtk_range_get_adjustment (range);
+ gtk_adjustment_set_value (adjustment, 0);
+ }
e_week_view_update_query (week_view);
gtk_widget_queue_draw (week_view->main_canvas);
@@ -1865,6 +1924,7 @@ void
e_week_view_set_multi_week_view (EWeekView *week_view,
gboolean multi_week_view)
{
+ GtkRange *range;
GtkAdjustment *adjustment;
gint page_increment, page_size;
@@ -1899,10 +1959,10 @@ e_week_view_set_multi_week_view (EWeekView *week_view,
}
}
- adjustment = GTK_RANGE (week_view->vscrollbar)->adjustment;
- adjustment->page_increment = page_increment;
- adjustment->page_size = page_size;
- gtk_adjustment_changed (adjustment);
+ range = GTK_RANGE (week_view->vscrollbar);
+ adjustment = gtk_range_get_adjustment (range);
+ gtk_adjustment_set_page_increment (adjustment, page_increment);
+ gtk_adjustment_set_page_size (adjustment, page_size);
e_week_view_recalc_cell_sizes (week_view);
@@ -1939,6 +1999,7 @@ void
e_week_view_set_weeks_shown (EWeekView *week_view,
gint weeks_shown)
{
+ GtkRange *range;
GtkAdjustment *adjustment;
gint page_increment, page_size;
@@ -1960,10 +2021,10 @@ e_week_view_set_weeks_shown (EWeekView *week_view,
page_size = 5;
}
- adjustment = GTK_RANGE (week_view->vscrollbar)->adjustment;
- adjustment->page_increment = page_increment;
- adjustment->page_size = page_size;
- gtk_adjustment_changed (adjustment);
+ range = GTK_RANGE (week_view->vscrollbar);
+ adjustment = gtk_range_get_adjustment (range);
+ gtk_adjustment_set_page_increment (adjustment, page_increment);
+ gtk_adjustment_set_page_size (adjustment, page_size);
e_week_view_recalc_cell_sizes (week_view);
@@ -2083,6 +2144,9 @@ set_text_as_bold (EWeekViewEvent *event, EWeekViewEventSpan *span)
gchar *address;
ECalComponentAttendee *at = NULL;
+ if (!is_comp_data_valid (event))
+ return;
+
comp = e_cal_component_new ();
e_cal_component_set_icalcomponent (comp, icalcomponent_new_clone (event->comp_data->icalcomp));
address = itip_get_comp_attendee (comp, event->comp_data->client);
@@ -2128,6 +2192,9 @@ e_week_view_foreach_event_with_uid (EWeekView *week_view,
event = &g_array_index (week_view->events, EWeekViewEvent,
event_num);
+ if (!is_comp_data_valid (event))
+ continue;
+
u = icalcomponent_get_uid (event->comp_data->icalcomp);
if (u && !strcmp (uid, u)) {
if (!(*callback) (week_view, event_num, data))
@@ -2145,6 +2212,9 @@ e_week_view_remove_event_cb (EWeekView *week_view,
EWeekViewEventSpan *span;
gint span_num;
+ if (!is_array_index_in_bounds (week_view->events, event_num))
+ return TRUE;
+
event = &g_array_index (week_view->events, EWeekViewEvent, event_num);
if (!event)
return TRUE;
@@ -2157,13 +2227,17 @@ e_week_view_remove_event_cb (EWeekView *week_view,
if (week_view->popup_event_num == event_num)
week_view->popup_event_num = -1;
- g_object_unref (event->comp_data);
+ if (is_comp_data_valid (event))
+ g_object_unref (event->comp_data);
event->comp_data = NULL;
if (week_view->spans) {
/* We leave the span elements in the array, but set the canvas item
pointers to NULL. */
for (span_num = 0; span_num < event->num_spans; span_num++) {
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + span_num))
+ break;
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan,
event->spans_index + span_num);
@@ -2261,6 +2335,9 @@ e_week_view_get_span_position (EWeekView *week_view,
g_return_val_if_fail (span_num < event->num_spans, FALSE);
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + span_num))
+ return FALSE;
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan,
event->spans_index + span_num);
@@ -2303,7 +2380,14 @@ ewv_pass_gdkevent_to_etext (EWeekView *week_view, GdkEvent *gevent)
EWeekViewEvent *event;
EWeekViewEventSpan *span;
+ if (!is_array_index_in_bounds (week_view->events, week_view->editing_event_num))
+ return FALSE;
+
event = &g_array_index (week_view->events, EWeekViewEvent, week_view->editing_event_num);
+
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + week_view->editing_span_num))
+ return FALSE;
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan, event->spans_index + week_view->editing_span_num);
if (span->text_item && E_IS_TEXT (span->text_item)) {
@@ -2356,15 +2440,15 @@ e_week_view_on_button_press (GtkWidget *widget,
}
if (event->button == 1) {
+ GdkWindow *window;
+
/* Start the selection drag. */
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_has_focus (GTK_WIDGET (week_view)) && !gtk_widget_has_focus (GTK_WIDGET (week_view->main_canvas)))
-#else
- if (!GTK_WIDGET_HAS_FOCUS (week_view) && !GTK_WIDGET_HAS_FOCUS (week_view->main_canvas))
-#endif
gtk_widget_grab_focus (GTK_WIDGET (week_view));
- if (gdk_pointer_grab (GTK_LAYOUT (widget)->bin_window, FALSE,
+ window = gtk_layout_get_bin_window (GTK_LAYOUT (widget));
+
+ if (gdk_pointer_grab (window, FALSE,
GDK_POINTER_MOTION_MASK
| GDK_BUTTON_RELEASE_MASK,
NULL, NULL, event->time) == 0) {
@@ -2380,11 +2464,7 @@ e_week_view_on_button_press (GtkWidget *widget,
gtk_widget_queue_draw (week_view->main_canvas);
}
} else if (event->button == 3) {
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_has_focus (GTK_WIDGET (week_view)))
-#else
- if (!GTK_WIDGET_HAS_FOCUS (week_view))
-#endif
gtk_widget_grab_focus (GTK_WIDGET (week_view));
if (day < week_view->selection_start_day || day > week_view->selection_end_day) {
@@ -2426,8 +2506,14 @@ e_week_view_on_scroll (GtkWidget *widget,
GdkEventScroll *scroll,
EWeekView *week_view)
{
- GtkAdjustment *adj = GTK_RANGE (week_view->vscrollbar)->adjustment;
- gfloat new_value;
+ GtkRange *range;
+ GtkAdjustment *adjustment;
+ gdouble page_increment;
+ gdouble new_value;
+ gdouble page_size;
+ gdouble lower;
+ gdouble upper;
+ gdouble value;
GtkWidget *tool_window = g_object_get_data (G_OBJECT (week_view), "tooltip-window");
guint timeout;
@@ -2442,19 +2528,28 @@ e_week_view_on_scroll (GtkWidget *widget,
g_object_set_data (G_OBJECT (week_view), "tooltip-window", NULL);
}
+ range = GTK_RANGE (week_view->vscrollbar);
+ adjustment = gtk_range_get_adjustment (range);
+
+ page_increment = gtk_adjustment_get_page_increment (adjustment);
+ page_size = gtk_adjustment_get_page_size (adjustment);
+ lower = gtk_adjustment_get_lower (adjustment);
+ upper = gtk_adjustment_get_upper (adjustment);
+ value = gtk_adjustment_get_value (adjustment);
+
switch (scroll->direction) {
- case GDK_SCROLL_UP:
- new_value = adj->value - adj->page_increment;
- break;
- case GDK_SCROLL_DOWN:
- new_value = adj->value + adj->page_increment;
- break;
- default:
- return FALSE;
+ case GDK_SCROLL_UP:
+ new_value = value - page_increment;
+ break;
+ case GDK_SCROLL_DOWN:
+ new_value = value + page_increment;
+ break;
+ default:
+ return FALSE;
}
- new_value = CLAMP (new_value, adj->lower, adj->upper - adj->page_size);
- gtk_adjustment_set_value (adj, new_value);
+ new_value = CLAMP (new_value, lower, upper - page_size);
+ gtk_adjustment_set_value (adjustment, new_value);
return TRUE;
}
@@ -2603,7 +2698,9 @@ e_week_view_free_events (EWeekView *week_view)
for (event_num = 0; event_num < week_view->events->len; event_num++) {
event = &g_array_index (week_view->events, EWeekViewEvent,
event_num);
- g_object_unref (event->comp_data);
+
+ if (is_comp_data_valid (event))
+ g_object_unref (event->comp_data);
}
g_array_set_size (week_view->events, 0);
@@ -2785,6 +2882,9 @@ e_week_view_reshape_events (EWeekView *week_view)
for (event_num = 0; event_num < week_view->events->len; event_num++) {
event = &g_array_index (week_view->events, EWeekViewEvent,
event_num);
+ if (!is_comp_data_valid (event))
+ continue;
+
for (span_num = 0; span_num < event->num_spans; span_num++) {
gchar *current_comp_string;
@@ -2795,6 +2895,12 @@ e_week_view_reshape_events (EWeekView *week_view)
current_comp_string = icalcomponent_as_ical_string_r (event->comp_data->icalcomp);
if (strncmp (current_comp_string, week_view->last_edited_comp_string,50) == 0) {
EWeekViewEventSpan *span;
+
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + span_num)) {
+ g_free (current_comp_string);
+ continue;
+ }
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan, event->spans_index + span_num);
e_canvas_item_grab_focus (span->text_item, TRUE);
g_free (week_view->last_edited_comp_string);
@@ -2843,6 +2949,9 @@ tooltip_get_view_event (EWeekView *week_view, gint day, gint event_num)
{
EWeekViewEvent *pevent;
+ if (!is_array_index_in_bounds (week_view->events, event_num))
+ return NULL;
+
pevent = &g_array_index (week_view->events, EWeekViewEvent, event_num);
return pevent;
@@ -2941,7 +3050,17 @@ e_week_view_reshape_event_span (EWeekView *week_view,
PangoFontMetrics *font_metrics;
PangoLayout *layout;
+ if (!is_array_index_in_bounds (week_view->events, event_num))
+ return;
+
event = &g_array_index (week_view->events, EWeekViewEvent, event_num);
+
+ if (!is_comp_data_valid (event))
+ return;
+
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + span_num))
+ return;
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan,
event->spans_index + span_num);
comp = e_cal_component_new ();
@@ -3211,7 +3330,17 @@ e_week_view_start_editing_event (EWeekView *week_view,
&& span_num == week_view->editing_span_num)
return TRUE;
+ if (!is_array_index_in_bounds (week_view->events, event_num))
+ return FALSE;
+
event = &g_array_index (week_view->events, EWeekViewEvent, event_num);
+
+ if (!is_comp_data_valid (event))
+ return FALSE;
+
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + span_num))
+ return FALSE;
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan,
event->spans_index + span_num);
@@ -3223,7 +3352,12 @@ e_week_view_start_editing_event (EWeekView *week_view,
return FALSE;
if (week_view->editing_event_num >= 0) {
- EWeekViewEvent *editing = &g_array_index (week_view->events, EWeekViewEvent, week_view->editing_event_num);
+ EWeekViewEvent *editing;
+
+ if (!is_array_index_in_bounds (week_view->events, week_view->editing_event_num))
+ return FALSE;
+
+ editing = &g_array_index (week_view->events, EWeekViewEvent, week_view->editing_event_num);
/* do not change to other part of same component - the event is spread into more days */
if (editing && event && editing->comp_data == event->comp_data)
@@ -3260,6 +3394,10 @@ e_week_view_start_editing_event (EWeekView *week_view,
}
g_return_val_if_fail (event_num >= 0, FALSE);
}
+
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + span_num))
+ return FALSE;
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan, event->spans_index + span_num);
/* Try to move the cursor to the end of the text. */
@@ -3304,7 +3442,17 @@ cancel_editing (EWeekView *week_view)
g_return_if_fail (event_num != -1);
+ if (!is_array_index_in_bounds (week_view->events, event_num))
+ return;
+
event = &g_array_index (week_view->events, EWeekViewEvent, event_num);
+
+ if (!is_comp_data_valid (event))
+ return;
+
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + span_num))
+ return;
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan, event->spans_index + span_num);
/* Reset the text to what was in the component */
@@ -3360,9 +3508,15 @@ e_week_view_on_text_item_event (GnomeCanvasItem *item,
&event_num, &span_num))
return FALSE;
+ if (!is_array_index_in_bounds (week_view->events, event_num))
+ return FALSE;
+
event = &g_array_index (week_view->events, EWeekViewEvent,
event_num);
+ if (!is_comp_data_valid (event))
+ return FALSE;
+
/* if we started to editing new item on the canvas, then do not open editing dialog until it's saved,
because the save of the event recalculates event numbers and you can edit different one */
if (!is_icalcomp_on_the_server (event->comp_data->icalcomp, event->comp_data->client))
@@ -3389,13 +3543,12 @@ e_week_view_on_text_item_event (GnomeCanvasItem *item,
return FALSE;
}
+ if (!is_array_index_in_bounds (week_view->events, event_num))
+ return FALSE;
+
e = &g_array_index (week_view->events, EWeekViewEvent, event_num);
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_has_focus (GTK_WIDGET (week_view)))
-#else
- if (!GTK_WIDGET_HAS_FOCUS (week_view))
-#endif
gtk_widget_grab_focus (GTK_WIDGET (week_view));
e_week_view_set_selected_time_range_visible (week_view, e->start, e->end);
@@ -3530,8 +3683,14 @@ static gboolean e_week_view_event_move (ECalendarView *cal_view, ECalViewMoveDir
if (event_num == -1)
return FALSE;
+ if (!is_array_index_in_bounds (week_view->events, event_num))
+ return FALSE;
+
event = &g_array_index (week_view->events, EWeekViewEvent, event_num);
+ if (!is_comp_data_valid (event))
+ return FALSE;
+
end_dt = event->end;
start_time = icalcomponent_get_dtstart (event->comp_data->icalcomp);
end_time = icalcomponent_get_dtend (event->comp_data->icalcomp);
@@ -3601,27 +3760,43 @@ e_week_view_get_day_offset_of_event (EWeekView *week_view, time_t event_time)
void
e_week_view_scroll_a_step (EWeekView *week_view, ECalViewMoveDirection direction)
{
- GtkAdjustment *adj = GTK_RANGE (week_view->vscrollbar)->adjustment;
- gfloat new_value;
+ GtkAdjustment *adjustment;
+ GtkRange *range;
+ gdouble step_increment;
+ gdouble page_size;
+ gdouble new_value;
+ gdouble lower;
+ gdouble upper;
+ gdouble value;
+
+ range = GTK_RANGE (week_view->vscrollbar);
+ adjustment = gtk_range_get_adjustment (range);
+
+ step_increment = gtk_adjustment_get_step_increment (adjustment);
+ page_size = gtk_adjustment_get_page_size (adjustment);
+ lower = gtk_adjustment_get_lower (adjustment);
+ upper = gtk_adjustment_get_upper (adjustment);
+ value = gtk_adjustment_get_value (adjustment);
switch (direction) {
- case E_CAL_VIEW_MOVE_UP:
- new_value = adj->value - adj->step_increment;
- break;
- case E_CAL_VIEW_MOVE_DOWN:
- new_value = adj->value + adj->step_increment;
- break;
- case E_CAL_VIEW_MOVE_PAGE_UP:
- new_value = adj->value - adj->page_size;
- break;
- case E_CAL_VIEW_MOVE_PAGE_DOWN:
- new_value = adj->value + adj->page_size;
- break;
- default:
- return;
+ case E_CAL_VIEW_MOVE_UP:
+ new_value = value - step_increment;
+ break;
+ case E_CAL_VIEW_MOVE_DOWN:
+ new_value = value + step_increment;
+ break;
+ case E_CAL_VIEW_MOVE_PAGE_UP:
+ new_value = value - page_size;
+ break;
+ case E_CAL_VIEW_MOVE_PAGE_DOWN:
+ new_value = value + page_size;
+ break;
+ default:
+ return;
}
- new_value = CLAMP (new_value, adj->lower, adj->upper - adj->page_size);
- gtk_adjustment_set_value (adj, new_value);
+
+ new_value = CLAMP (new_value, lower, upper - page_size);
+ gtk_adjustment_set_value (adjustment, new_value);
}
static void
@@ -3642,7 +3817,14 @@ e_week_view_change_event_time (EWeekView *week_view, time_t start_dt, time_t end
if (event_num == -1)
return;
+ if (!is_array_index_in_bounds (week_view->events, event_num))
+ return;
+
event = &g_array_index (week_view->events, EWeekViewEvent, event_num);
+
+ if (!is_comp_data_valid (event))
+ return;
+
client = event->comp_data->client;
/* We use a temporary shallow copy of the ico since we don't want to
@@ -3749,7 +3931,17 @@ e_week_view_on_editing_stopped (EWeekView *week_view,
if (event_num == -1)
return;
+ if (!is_array_index_in_bounds (week_view->events, event_num))
+ return;
+
event = &g_array_index (week_view->events, EWeekViewEvent, event_num);
+
+ if (!is_comp_data_valid (event))
+ return;
+
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + span_num))
+ return;
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan,
event->spans_index + span_num);
@@ -3898,6 +4090,9 @@ e_week_view_find_event_from_item (EWeekView *week_view,
event = &g_array_index (week_view->events, EWeekViewEvent,
event_num);
for (span_num = 0; span_num < event->num_spans; span_num++) {
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + span_num))
+ continue;
+
span = &g_array_index (week_view->spans,
EWeekViewEventSpan,
event->spans_index + span_num);
@@ -3940,6 +4135,9 @@ e_week_view_find_event_from_uid (EWeekView *week_view,
event = &g_array_index (week_view->events, EWeekViewEvent,
event_num);
+ if (!is_comp_data_valid (event))
+ continue;
+
if (event->comp_data->client != client)
continue;
@@ -3971,10 +4169,16 @@ e_week_view_is_one_day_event (EWeekView *week_view,
EWeekViewEvent *event;
EWeekViewEventSpan *span;
+ if (!is_array_index_in_bounds (week_view->events, event_num))
+ return FALSE;
+
event = &g_array_index (week_view->events, EWeekViewEvent, event_num);
if (event->num_spans != 1)
return FALSE;
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index))
+ return FALSE;
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan,
event->spans_index);
@@ -4103,8 +4307,15 @@ e_week_view_add_new_event_in_selected_range (EWeekView *week_view, const gchar *
return FALSE;
}
+ if (!is_array_index_in_bounds (week_view->events, event_num))
+ return FALSE;
+
wvevent = &g_array_index (week_view->events, EWeekViewEvent,
event_num);
+
+ if (!is_array_index_in_bounds (week_view->spans, wvevent->spans_index + 0))
+ return FALSE;
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan,
wvevent->spans_index + 0);
@@ -4484,8 +4695,15 @@ e_week_view_paste_text (ECalendarView *cal_view)
!e_week_view_add_new_event_in_selected_range (week_view, NULL))
return;
+ if (!is_array_index_in_bounds (week_view->events, week_view->editing_event_num))
+ return;
+
event = &g_array_index (week_view->events, EWeekViewEvent,
week_view->editing_event_num);
+
+ if (!is_array_index_in_bounds (week_view->spans, event->spans_index + week_view->editing_span_num))
+ return;
+
span = &g_array_index (week_view->spans, EWeekViewEventSpan,
event->spans_index + week_view->editing_span_num);
diff --git a/calendar/gui/ea-cal-view-event.c b/calendar/gui/ea-cal-view-event.c
index 230d7ca84f..b2bdc5c4b3 100644
--- a/calendar/gui/ea-cal-view-event.c
+++ b/calendar/gui/ea-cal-view-event.c
@@ -198,9 +198,17 @@ ea_cal_view_event_new (GObject *obj)
&event_num,
&span_num))
return NULL;
+
+ if (!is_array_index_in_bounds (week_view->events, event_num))
+ return NULL;
+
week_view_event = &g_array_index (week_view->events,
EWeekViewEvent,
event_num);
+
+ if (!is_array_index_in_bounds (week_view->spans, week_view_event->spans_index))
+ return NULL;
+
/* get the first span */
event_span = &g_array_index (week_view->spans,
EWeekViewEventSpan,
@@ -269,6 +277,8 @@ ea_cal_view_event_get_name (AtkObject *accessible)
if (!g_obj || !E_IS_TEXT (g_obj))
return NULL;
event = ea_calendar_helpers_get_cal_view_event_from (GNOME_CANVAS_ITEM(g_obj));
+ if (!is_comp_data_valid (event))
+ return NULL;
alarm_string = recur_string = meeting_string = "";
if (event && event->comp_data) {
@@ -445,6 +455,7 @@ ea_cal_view_get_extents (AtkComponent *component,
ECalendarView *cal_view;
gint item_x, item_y, item_w, item_h;
GtkWidget *canvas = NULL;
+ GdkWindow *window;
g_return_if_fail (EA_IS_CAL_VIEW_EVENT (component));
@@ -509,8 +520,8 @@ ea_cal_view_get_extents (AtkComponent *component,
if (!canvas)
return;
- gdk_window_get_origin (canvas->window,
- &x_window, &y_window);
+ window = gtk_widget_get_window (canvas);
+ gdk_window_get_origin (window, &x_window, &y_window);
gnome_canvas_get_scroll_offsets (GNOME_CANVAS (canvas), &scroll_x, &scroll_y);
*x = item_x + x_window - scroll_x;
@@ -519,10 +530,10 @@ ea_cal_view_get_extents (AtkComponent *component,
*height = item_h;
if (coord_type == ATK_XY_WINDOW) {
- GdkWindow *window;
gint x_toplevel, y_toplevel;
- window = gdk_window_get_toplevel (GTK_WIDGET (cal_view)->window);
+ window = gtk_widget_get_window (GTK_WIDGET (cal_view));
+ window = gdk_window_get_toplevel (window);
gdk_window_get_origin (window, &x_toplevel, &y_toplevel);
*x -= x_toplevel;
diff --git a/calendar/gui/ea-cal-view.c b/calendar/gui/ea-cal-view.c
index ceffaa0483..67969c75ec 100644
--- a/calendar/gui/ea-cal-view.c
+++ b/calendar/gui/ea-cal-view.c
@@ -331,11 +331,7 @@ action_interface_do_action (AtkAction *action, gint index)
*/
return FALSE;
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_get_sensitive (widget) || !gtk_widget_get_visible (widget))
-#else
- if (!GTK_WIDGET_IS_SENSITIVE (widget) || !GTK_WIDGET_VISIBLE (widget))
-#endif
return FALSE;
cal_view = E_CALENDAR_VIEW (widget);
@@ -399,11 +395,7 @@ action_interface_get_keybinding (AtkAction *action, gint index)
*/
return NULL;
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_get_sensitive (widget) || !gtk_widget_get_visible (widget))
-#else
- if (!GTK_WIDGET_IS_SENSITIVE (widget) || !GTK_WIDGET_VISIBLE (widget))
-#endif
return NULL;
switch (index) {
diff --git a/calendar/gui/ea-day-view.c b/calendar/gui/ea-day-view.c
index c75bf89f7b..d197f49e04 100644
--- a/calendar/gui/ea-day-view.c
+++ b/calendar/gui/ea-day-view.c
@@ -133,11 +133,7 @@ ea_day_view_get_name (AtkObject *accessible)
day_view = E_DAY_VIEW (GTK_ACCESSIBLE (accessible)->widget);
gcal = e_calendar_view_get_calendar (E_CALENDAR_VIEW (day_view));
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_get_visible (GTK_WIDGET (gcal)))
-#else
- if (!GTK_WIDGET_VISIBLE (GTK_WIDGET (gcal)))
-#endif
return NULL;
label_text = ea_gnome_calendar_get_label_description (gcal);
diff --git a/calendar/gui/ea-week-view.c b/calendar/gui/ea-week-view.c
index c3b4658e78..a34326cf74 100644
--- a/calendar/gui/ea-week-view.c
+++ b/calendar/gui/ea-week-view.c
@@ -134,11 +134,7 @@ ea_week_view_get_name (AtkObject *accessible)
week_view = E_WEEK_VIEW (GTK_ACCESSIBLE (accessible)->widget);
gcal = e_calendar_view_get_calendar (E_CALENDAR_VIEW (week_view));
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_get_visible (GTK_WIDGET (gcal)))
-#else
- if (!GTK_WIDGET_VISIBLE (GTK_WIDGET (gcal)))
-#endif
return NULL;
label_text = ea_gnome_calendar_get_label_description (gcal);
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index f22e70efc7..a24dfa26ed 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -138,7 +138,6 @@ struct _GnomeCalendarPrivate {
enum {
PROP_0,
PROP_DATE_NAVIGATOR,
- PROP_SHELL_SETTINGS,
PROP_VIEW,
PROP_MEMO_TABLE,
PROP_TASK_TABLE
@@ -231,14 +230,17 @@ update_adjustment (GnomeCalendar *gcal,
time_t lower;
guint32 old_first_day_julian, new_first_day_julian;
icaltimezone *timezone;
+ gdouble value;
/* If we don't have a valid date set yet, just return. */
if (!g_date_valid (&week_view->first_day_shown))
return;
+ value = gtk_adjustment_get_value (adjustment);
+
/* Determine the first date shown. */
date = week_view->base_date;
- week_offset = floor (adjustment->value + 0.5);
+ week_offset = floor (value + 0.5);
g_date_add_days (&date, week_offset * 7);
/* Convert the old & new first days shown to julian values. */
@@ -2087,11 +2089,7 @@ gnome_calendar_update_date_navigator (GnomeCalendar *gcal)
return;
/* If the ECalendar isn't visible, we just return. */
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_get_visible (GTK_WIDGET (priv->date_navigator)))
-#else
- if (!GTK_WIDGET_VISIBLE (priv->date_navigator))
-#endif
return;
if (priv->current_view_type == GNOME_CAL_LIST_VIEW && !priv->lview_select_daten_range)
diff --git a/calendar/gui/goto-dialog.ui b/calendar/gui/goto-dialog.ui
index 2e9fbf19d0..a7e3014712 100644
--- a/calendar/gui/goto-dialog.ui
+++ b/calendar/gui/goto-dialog.ui
@@ -81,7 +81,7 @@
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">_Select Today</property>
+ <property name="label" translatable="yes">Select _Today</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 9fe0f1bdb6..d40a7ac633 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -38,7 +38,6 @@
#include "dialogs/comp-editor-util.h"
#include <composer/e-msg-composer.h>
-#include <camel/camel-mime-filter-tohtml.h>
static const gchar *itip_methods[] = {
"PUBLISH",
@@ -1194,7 +1193,7 @@ append_cal_attachments (EMsgComposer *composer,
camel_mime_part_set_disposition (
attachment, "attachment");
e_msg_composer_attach (composer, attachment);
- camel_object_unref (attachment);
+ g_object_unref (attachment);
g_free (mime_attach->filename);
g_free (mime_attach->content_type);
@@ -1363,7 +1362,7 @@ itip_send_comp (ECalComponentItipMethod method, ECalComponent *send_comp,
camel_mime_part_set_description (attachment, description);
camel_mime_part_set_disposition (attachment, "inline");
e_msg_composer_attach (composer, attachment);
- camel_object_unref (attachment);
+ g_object_unref (attachment);
g_free (description);
}
diff --git a/calendar/gui/print.c b/calendar/gui/print.c
index a3e9af3bdd..ab2f784c33 100644
--- a/calendar/gui/print.c
+++ b/calendar/gui/print.c
@@ -1092,6 +1092,9 @@ print_day_long_event (GtkPrintContext *context,
struct tm date_tm;
gdouble red, green, blue;
+ if (!is_comp_data_valid (event))
+ return;
+
/* If the event starts before the first day being printed, draw a
triangle. (Note that I am assuming we are just showing 1 day at
the moment.) */
@@ -1172,6 +1175,9 @@ print_day_event (GtkPrintContext *context, PangoFontDescription *font,
struct tm date_tm;
gdouble red, green, blue;
+ if (!is_comp_data_valid (event))
+ return;
+
if ((event->start_minute >= pdi->end_minute_offset)
|| (event->end_minute <= pdi->start_minute_offset))
return;
@@ -1561,6 +1567,9 @@ print_week_event (GtkPrintContext *context, PangoFontDescription *font,
gdouble red, green, blue;
GdkPixbuf *pixbuf = NULL;
+ if (!is_comp_data_valid (event))
+ return;
+
text = get_summary_with_location (event->comp_data->icalcomp);
for (span_num = 0; span_num < event->num_spans; span_num++) {
@@ -2414,21 +2423,36 @@ print_date_label (GtkPrintContext *context, ECalComponent *comp, ECal *client,
if (start > 0)
write_label_piece (start, buffer, 1024, NULL, NULL);
- if (end > 0 && start > 0)
+ if (end > 0 && start > 0) {
+ /* Translators: This is part of "START to END" text,
+ * where START and END are date/times. */
write_label_piece (end, buffer, 1024, _(" to "), NULL);
+ }
if (complete > 0) {
- if (start > 0)
+ if (start > 0) {
+ /* Translators: This is part of "START to END
+ * (Completed COMPLETED)", where COMPLETED is a
+ * completed date/time. */
write_label_piece (complete, buffer, 1024, _(" (Completed "), ")");
- else
+ } else {
+ /* Translators: This is part of "Completed COMPLETED",
+ * where COMPLETED is a completed date/time. */
write_label_piece (complete, buffer, 1024, _("Completed "), NULL);
+ }
}
if (due > 0 && complete == 0) {
- if (start > 0)
+ if (start > 0) {
+ /* Translators: This is part of "START (Due DUE)",
+ * where START and DUE are dates/times. */
write_label_piece (due, buffer, 1024, _(" (Due "), ")");
- else
+ } else {
+ /* Translators: This is part of "Due DUE",
+ * where DUE is a date/time due the event
+ * should be finished. */
write_label_piece (due, buffer, 1024, _("Due "), NULL);
+ }
}
print_text_size_bold (context, buffer, PANGO_ALIGN_LEFT,
diff --git a/calendar/gui/tag-calendar.c b/calendar/gui/tag-calendar.c
index a6a7e520ab..f700da5a3b 100644
--- a/calendar/gui/tag-calendar.c
+++ b/calendar/gui/tag-calendar.c
@@ -142,11 +142,7 @@ tag_calendar_by_client (ECalendar *ecal,
g_return_if_fail (E_IS_CAL (client));
/* If the ECalendar isn't visible, we just return. */
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_get_visible (GTK_WIDGET (ecal)))
-#else
- if (!GTK_WIDGET_VISIBLE (ecal))
-#endif
return;
if (e_cal_get_load_state (client) != E_CAL_LOAD_LOADED)
@@ -214,11 +210,7 @@ tag_calendar_by_comp (ECalendar *ecal,
g_return_if_fail (E_IS_CAL_COMPONENT (comp));
/* If the ECalendar isn't visible, we just return. */
-#if GTK_CHECK_VERSION(2,19,7)
if (!gtk_widget_get_visible (GTK_WIDGET (ecal)))
-#else
- if (!GTK_WIDGET_VISIBLE (ecal))
-#endif
return;
if (!prepare_tag (ecal, &c, display_zone, clear_first))
diff --git a/calendar/gui/weekday-picker.c b/calendar/gui/weekday-picker.c
index 12dd47d16a..69ba5b79f3 100644
--- a/calendar/gui/weekday-picker.c
+++ b/calendar/gui/weekday-picker.c
@@ -93,20 +93,22 @@ colorize_items (WeekdayPicker *wp)
GdkColor *fill, *sel_fill;
GdkColor *text_fill, *sel_text_fill;
GtkStateType state;
+ GtkStyle *style;
gint i;
priv = wp->priv;
state = gtk_widget_get_state (GTK_WIDGET (wp));
+ style = gtk_widget_get_style (GTK_WIDGET (wp));
- outline = &GTK_WIDGET (wp)->style->fg[state];
- focus_outline = &GTK_WIDGET (wp)->style->bg[state];
+ outline = &style->fg[state];
+ focus_outline = &style->bg[state];
- fill = &GTK_WIDGET (wp)->style->base[state];
- text_fill = &GTK_WIDGET (wp)->style->fg[state];
+ fill = &style->base[state];
+ text_fill = &style->fg[state];
- sel_fill = &GTK_WIDGET (wp)->style->bg[GTK_STATE_SELECTED];
- sel_text_fill = &GTK_WIDGET (wp)->style->fg[GTK_STATE_SELECTED];
+ sel_fill = &style->bg[GTK_STATE_SELECTED];
+ sel_text_fill = &style->fg[GTK_STATE_SELECTED];
for (i = 0; i < 7; i++) {
gint day;
@@ -144,14 +146,17 @@ static void
configure_items (WeekdayPicker *wp)
{
WeekdayPickerPrivate *priv;
+ GtkAllocation allocation;
gint width, height;
gint box_width;
gint i;
priv = wp->priv;
- width = GTK_WIDGET (wp)->allocation.width;
- height = GTK_WIDGET (wp)->allocation.height;
+ gtk_widget_get_allocation (GTK_WIDGET (wp), &allocation);
+
+ width = allocation.width;
+ height = allocation.height;
box_width = (width - 1) / 7;
@@ -321,11 +326,7 @@ weekday_picker_focus (GtkWidget *widget,
if (!gtk_widget_get_can_focus (widget))
return FALSE;
-#if GTK_CHECK_VERSION(2,19,7)
if (gtk_widget_has_focus (widget)) {
-#else
- if (GTK_WIDGET_HAS_FOCUS (widget)) {
-#endif
priv->focus_day = -1;
colorize_items (wp);
return FALSE;
diff --git a/calendar/importers/Makefile.am b/calendar/importers/Makefile.am
index a5274b60e1..b54e619249 100644
--- a/calendar/importers/Makefile.am
+++ b/calendar/importers/Makefile.am
@@ -6,6 +6,7 @@ libevolution_calendar_importers_la_CPPFLAGS = \
-DG_LOG_DOMAIN=\"Evolution-Importer\" \
-I$(top_srcdir) \
-I$(top_srcdir)/calendar \
+ -I$(top_srcdir)/widgets \
-I$(top_builddir)/calendar \
$(GNOME_PLATFORM_CFLAGS) \
$(EVOLUTION_CALENDAR_CFLAGS)
@@ -19,6 +20,8 @@ libevolution_calendar_importers_la_LDFLAGS = $(NO_UNDEFINED)
libevolution_calendar_importers_la_LIBADD = \
$(top_builddir)/e-util/libeutil.la \
$(top_builddir)/calendar/common/libevolution-calendarprivate.la \
+ $(top_builddir)/shell/libeshell.la \
+ $(top_builddir)/widgets/misc/libemiscwidgets.la \
$(EVOLUTION_CALENDAR_LIBS) \
$(GNOME_PLATFORM_LIBS)
diff --git a/calendar/importers/icalendar-importer.c b/calendar/importers/icalendar-importer.c
index 1f7da5e421..f719c9ce41 100644
--- a/calendar/importers/icalendar-importer.c
+++ b/calendar/importers/icalendar-importer.c
@@ -36,13 +36,18 @@
#include <gtk/gtk.h>
#include <libecal/e-cal.h>
+#include <libecal/e-cal-time-util.h>
#include <libedataserverui/e-source-selector.h>
#include <libical/icalvcal.h>
#include "evolution-calendar-importer.h"
+#include "shell/e-shell.h"
#include "common/authentication.h"
+#include "gui/calendar-config-keys.h"
#include "e-util/e-import.h"
#include "e-util/e-util-private.h"
+#include "e-util/e-datetime-format.h"
+#include "misc/e-web-view-preview.h"
/* We timeout after 2 minutes, when opening the folders. */
#define IMPORTER_TIMEOUT_SECONDS 120
@@ -81,6 +86,16 @@ static const gchar *import_type_strings[] = {
* Functions shared by iCalendar & vCalendar importer.
*/
+static GtkWidget *ical_get_preview (icalcomponent *icalcomp);
+
+static gboolean
+is_icalcomp_usable (icalcomponent *icalcomp)
+{
+ return icalcomp && icalcomponent_is_valid (icalcomp) && (
+ icalcomponent_get_first_component (icalcomp, ICAL_VEVENT_COMPONENT) != NULL ||
+ icalcomponent_get_first_component (icalcomp, ICAL_VTODO_COMPONENT) != NULL);
+}
+
static void
ivcal_import_done(ICalImporter *ici)
{
@@ -379,13 +394,14 @@ ical_supported(EImport *ei, EImportTarget *target, EImportImporter *im)
return FALSE;
if (g_file_get_contents (filename, &contents, NULL, NULL)) {
- icalcomponent *icalcomp;
+ icalcomponent *icalcomp = NULL;
- icalcomp = e_cal_util_parse_ics_string (contents);
+ if (g_ascii_strncasecmp (contents, "BEGIN:", 6) == 0)
+ icalcomp = e_cal_util_parse_ics_string (contents);
g_free (contents);
if (icalcomp) {
- if (icalcomponent_is_valid (icalcomp))
+ if (is_icalcomp_usable (icalcomp))
ret = TRUE;
else
ret = FALSE;
@@ -427,6 +443,40 @@ ical_import(EImport *ei, EImportTarget *target, EImportImporter *im)
e_import_complete(ei, target);
}
+static GtkWidget *
+ivcal_get_preview (EImport *ei, EImportTarget *target, EImportImporter *im)
+{
+ GtkWidget *preview;
+ EImportTargetURI *s = (EImportTargetURI *)target;
+ gchar *filename;
+ icalcomponent *icalcomp;
+ gchar *contents;
+
+ filename = g_filename_from_uri (s->uri_src, NULL, NULL);
+ if (filename == NULL) {
+ g_message (G_STRLOC ": Couldn't get filename from URI '%s'", s->uri_src);
+ return NULL;
+ }
+
+ if (!g_file_get_contents (filename, &contents, NULL, NULL)) {
+ g_free (filename);
+ return NULL;
+ }
+ g_free (filename);
+
+ icalcomp = e_cal_util_parse_ics_string (contents);
+ g_free (contents);
+
+ if (!icalcomp)
+ return NULL;
+
+ preview = ical_get_preview (icalcomp);
+
+ icalcomponent_free (icalcomp);
+
+ return preview;
+}
+
static EImportImporter ical_importer = {
E_IMPORT_TARGET_URI,
0,
@@ -434,6 +484,7 @@ static EImportImporter ical_importer = {
ivcal_getwidget,
ical_import,
ivcal_cancel,
+ ivcal_get_preview,
};
EImportImporter *
@@ -480,7 +531,7 @@ vcal_supported(EImport *ei, EImportTarget *target, EImportImporter *im)
icalcomp = e_cal_util_parse_ics_string (contents);
- if (icalcomp && icalcomponent_is_valid (icalcomp)) {
+ if (icalcomp && is_icalcomp_usable (icalcomp)) {
/* If we can create proper iCalendar from the file, then
rather use ics importer, because it knows to read more
information than older version, the vCalendar. */
@@ -568,6 +619,33 @@ vcal_import(EImport *ei, EImportTarget *target, EImportImporter *im)
e_import_complete(ei, target);
}
+static GtkWidget *
+vcal_get_preview (EImport *ei, EImportTarget *target, EImportImporter *im)
+{
+ GtkWidget *preview;
+ EImportTargetURI *s = (EImportTargetURI *)target;
+ gchar *filename;
+ icalcomponent *icalcomp;
+
+ filename = g_filename_from_uri (s->uri_src, NULL, NULL);
+ if (filename == NULL) {
+ g_message (G_STRLOC ": Couldn't get filename from URI '%s'", s->uri_src);
+ return NULL;
+ }
+
+ icalcomp = load_vcalendar_file (filename);
+ g_free (filename);
+
+ if (!icalcomp)
+ return NULL;
+
+ preview = ical_get_preview (icalcomp);
+
+ icalcomponent_free (icalcomp);
+
+ return preview;
+}
+
static EImportImporter vcal_importer = {
E_IMPORT_TARGET_URI,
0,
@@ -575,6 +653,7 @@ static EImportImporter vcal_importer = {
ivcal_getwidget,
vcal_import,
ivcal_cancel,
+ vcal_get_preview,
};
EImportImporter *
@@ -772,6 +851,7 @@ static EImportImporter gnome_calendar_importer = {
gnome_calendar_getwidget,
gnome_calendar_import,
gnome_calendar_cancel,
+ NULL, /* get_preview */
};
EImportImporter *
@@ -782,3 +862,430 @@ gnome_calendar_importer_peek(void)
return &gnome_calendar_importer;
}
+
+/* ********************************************************************** */
+
+static gchar *
+format_dt (const ECalComponentDateTime *dt, GHashTable *timezones, icaltimezone *users_zone)
+{
+ struct tm tm;
+
+ g_return_val_if_fail (dt != NULL, NULL);
+ g_return_val_if_fail (timezones != NULL, NULL);
+
+ if (!dt->value)
+ return NULL;
+
+ dt->value->zone = NULL;
+ if (dt->tzid) {
+ dt->value->zone = g_hash_table_lookup (timezones, dt->tzid);
+ if (!dt->value->zone)
+ dt->value->zone = icaltimezone_get_builtin_timezone_from_tzid (dt->tzid);
+ }
+
+ if (dt->value->zone)
+ tm = icaltimetype_to_tm_with_zone (dt->value, (icaltimezone *) dt->value->zone, users_zone);
+ else
+ tm = icaltimetype_to_tm (dt->value);
+
+ return e_datetime_format_format_tm ("calendar", "table", dt->value->is_date ? DTFormatKindDate : DTFormatKindDateTime, &tm);
+}
+
+static const gchar *
+strip_mailto (const gchar *str)
+{
+ if (!str || g_ascii_strncasecmp (str, "mailto:", 7) != 0)
+ return str;
+
+ return str + 7;
+}
+
+static void
+preview_comp (EWebViewPreview *preview, ECalComponent *comp)
+{
+ ECalComponentText text = { 0 };
+ ECalComponentDateTime dt;
+ ECalComponentClassification classif;
+ const gchar *str;
+ gchar *tmp;
+ gint percent;
+ gboolean have;
+ GHashTable *timezones;
+ icaltimezone *users_zone;
+ GSList *slist, *l;
+
+ g_return_if_fail (preview != NULL);
+ g_return_if_fail (comp != NULL);
+
+ timezones = g_object_get_data (G_OBJECT (preview), "iCalImp-timezones");
+ users_zone = g_object_get_data (G_OBJECT (preview), "iCalImp-userszone");
+
+ str = NULL;
+ switch (e_cal_component_get_vtype (comp)) {
+ case E_CAL_COMPONENT_EVENT:
+ str = e_cal_component_has_attendees (comp) ? C_("iCalImp", "Meeting") : C_("iCalImp", "Event");
+ break;
+ case E_CAL_COMPONENT_TODO:
+ str = C_("iCalImp", "Task");
+ break;
+ case E_CAL_COMPONENT_JOURNAL:
+ str = C_("iCalImp", "Memo");
+ break;
+ default:
+ str = "??? Other ???";
+ break;
+ }
+
+ have = FALSE;
+ if (e_cal_component_has_recurrences (comp)) {
+ e_web_view_preview_add_section (preview, have ? NULL : str, C_("iCalImp", "has recurrences"));
+ have = TRUE;
+ }
+
+ if (e_cal_component_is_instance (comp)) {
+ e_web_view_preview_add_section (preview, have ? NULL : str, C_("iCalImp", "is an instance"));
+ have = TRUE;
+ }
+
+ if (e_cal_component_has_alarms (comp)) {
+ e_web_view_preview_add_section (preview, have ? NULL : str, C_("iCalImp", "has alarms"));
+ have = TRUE;
+ }
+
+ if (e_cal_component_has_attachments (comp)) {
+ e_web_view_preview_add_section (preview, have ? NULL : str, C_("iCalImp", "has attachments"));
+ have = TRUE;
+ }
+
+ if (!have) {
+ e_web_view_preview_add_section (preview, str, "");
+ }
+
+ str = NULL;
+ classif = E_CAL_COMPONENT_CLASS_NONE;
+ e_cal_component_get_classification (comp, &classif);
+ if (classif == E_CAL_COMPONENT_CLASS_PUBLIC) {
+ /* Translators: Appointment's classification */
+ str = C_("iCalImp", "Public");
+ } else if (classif == E_CAL_COMPONENT_CLASS_PRIVATE) {
+ /* Translators: Appointment's classification */
+ str = C_("iCalImp", "Private");
+ } else if (classif == E_CAL_COMPONENT_CLASS_CONFIDENTIAL) {
+ /* Translators: Appointment's classification */
+ str = C_("iCalImp", "Confidential");
+ }
+ if (str)
+ /* Translators: Appointment's classification section name */
+ e_web_view_preview_add_section (preview, C_("iCalImp", "Classification"), str);
+
+ e_cal_component_get_summary (comp, &text);
+ if ((text.value && *text.value) || (text.altrep && *text.altrep))
+ /* Translators: Appointment's summary */
+ e_web_view_preview_add_section (preview, C_("iCalImp", "Summary"), (text.value && *text.value) ? text.value : text.altrep);
+
+ str = NULL;
+ e_cal_component_get_location (comp, &str);
+ if (str && *str)
+ /* Translators: Appointment's location */
+ e_web_view_preview_add_section (preview, C_("iCalImp", "Location"), str);
+
+ dt.value = NULL;
+ e_cal_component_get_dtstart (comp, &dt);
+ if (dt.value) {
+ tmp = format_dt (&dt, timezones, users_zone);
+ if (tmp)
+ /* Translators: Appointment's start time */
+ e_web_view_preview_add_section (preview, C_("iCalImp", "Start"), tmp);
+ g_free (tmp);
+ }
+ e_cal_component_free_datetime (&dt);
+
+ dt.value = NULL;
+ e_cal_component_get_due (comp, &dt);
+ if (dt.value) {
+ tmp = format_dt (&dt, timezones, users_zone);
+ if (tmp)
+ /* Translators: 'Due' like the time due a task should be finished */
+ e_web_view_preview_add_section (preview, C_("iCalImp", "Due"), tmp);
+ g_free (tmp);
+ } else {
+ e_cal_component_free_datetime (&dt);
+
+ dt.value = NULL;
+ e_cal_component_get_dtend (comp, &dt);
+ if (dt.value) {
+ tmp = format_dt (&dt, timezones, users_zone);
+
+ if (tmp)
+ /* Translators: Appointment's end time */
+ e_web_view_preview_add_section (preview, C_("iCalImp", "End"), tmp);
+ g_free (tmp);
+ }
+ }
+ e_cal_component_free_datetime (&dt);
+
+ str = NULL;
+ e_cal_component_get_categories (comp, &str);
+ if (str && *str)
+ /* Translators: Appointment's categories */
+ e_web_view_preview_add_section (preview, C_("iCalImp", "Categories"), str);
+
+ percent = e_cal_component_get_percent_as_int (comp);
+ if (percent >= 0) {
+ tmp = NULL;
+ if (percent == 100) {
+ icaltimetype *completed = NULL;
+
+ e_cal_component_get_completed (comp, &completed);
+
+ if (completed) {
+ dt.tzid = "UTC";
+ dt.value = completed;
+
+ tmp = format_dt (&dt, timezones, users_zone);
+
+ e_cal_component_free_icaltimetype (completed);
+ }
+ }
+
+ if (!tmp)
+ tmp = g_strdup_printf ("%d%%", percent);
+
+ /* Translators: Appointment's complete value (either percentage, or a date/time of a completion) */
+ e_web_view_preview_add_section (preview, C_("iCalImp", "Completed"), tmp);
+ g_free (tmp);
+ }
+
+ str = NULL;
+ e_cal_component_get_url (comp, &str);
+ if (str && *str)
+ /* Translators: Appointment's URL */
+ e_web_view_preview_add_section (preview, C_("iCalImp", "URL"), str);
+
+ if (e_cal_component_has_organizer (comp)) {
+ ECalComponentOrganizer organizer = { 0 };
+
+ e_cal_component_get_organizer (comp, &organizer);
+
+ if (organizer.value && *organizer.value) {
+ if (organizer.cn && *organizer.cn) {
+ tmp = g_strconcat (organizer.cn, " <", strip_mailto (organizer.value), ">", NULL);
+ /* Translators: Appointment's organizer */
+ e_web_view_preview_add_section (preview, C_("iCalImp", "Organizer"), tmp);
+ g_free (tmp);
+ } else {
+ e_web_view_preview_add_section (preview, C_("iCalImp", "Organizer"), strip_mailto (organizer.value));
+ }
+ }
+ }
+
+ if (e_cal_component_has_attendees (comp)) {
+ GSList *attendees = NULL, *a;
+ have = FALSE;
+
+ e_cal_component_get_attendee_list (comp, &attendees);
+
+ for (a = attendees; a; a = a->next) {
+ ECalComponentAttendee *attnd = a->data;
+
+ if (!attnd || !attnd->value || !*attnd->value)
+ continue;
+
+ if (attnd->cn && *attnd->cn) {
+ tmp = g_strconcat (attnd->cn, " <", strip_mailto (attnd->value), ">", NULL);
+ /* Translators: Appointment's attendees */
+ e_web_view_preview_add_section (preview, have ? NULL : C_("iCalImp", "Attendees"), tmp);
+ g_free (tmp);
+ } else {
+ e_web_view_preview_add_section (preview, have ? NULL : C_("iCalImp", "Attendees"), strip_mailto (attnd->value));
+ }
+
+ have = TRUE;
+ }
+
+ e_cal_component_free_attendee_list (attendees);
+ }
+
+ slist = NULL;
+ e_cal_component_get_description_list (comp, &slist);
+ for (l = slist; l; l = l->next) {
+ ECalComponentText *txt = l->data;
+
+ e_web_view_preview_add_section (preview, l != slist ? NULL : C_("iCalImp", "Description"), (txt && txt->value) ? txt->value : "");
+ }
+
+ e_cal_component_free_text_list (slist);
+}
+
+static void
+preview_selection_changed_cb (GtkTreeSelection *selection, EWebViewPreview *preview)
+{
+ GtkTreeIter iter;
+ GtkTreeModel *model = NULL;
+
+ g_return_if_fail (selection != NULL);
+ g_return_if_fail (preview != NULL);
+
+ e_web_view_preview_begin_update (preview);
+
+ if (gtk_tree_selection_get_selected (selection, &model, &iter) && model) {
+ ECalComponent *comp = NULL;
+
+ gtk_tree_model_get (model, &iter, 3, &comp, -1);
+
+ if (comp) {
+ preview_comp (preview, comp);
+ g_object_unref (comp);
+ }
+ }
+
+ e_web_view_preview_end_update (preview);
+}
+
+static icaltimezone *
+get_users_timezone (void)
+{
+ /* more or less copy&paste of calendar_config_get_icaltimezone */
+ icaltimezone *zone = NULL;
+ gchar *location;
+
+ if (e_shell_settings_get_boolean (e_shell_get_shell_settings (e_shell_get_default ()), "cal-use-system-timezone")) {
+ location = e_cal_util_get_system_timezone_location ();
+ } else {
+ GConfClient *client = gconf_client_get_default ();
+
+ location = gconf_client_get_string (client, CALENDAR_CONFIG_TIMEZONE, NULL);
+
+ g_object_unref (client);
+ }
+
+ if (location) {
+ zone = icaltimezone_get_builtin_timezone (location);
+
+ g_free (location);
+ }
+
+ return zone;
+}
+
+static void
+free_zone_cb (gpointer ptr)
+{
+ icaltimezone *zone = ptr;
+
+ if (zone)
+ icaltimezone_free (zone, 1);
+}
+
+static GtkWidget *
+ical_get_preview (icalcomponent *icalcomp)
+{
+ GtkWidget *preview;
+ GtkTreeView *tree_view;
+ GtkTreeSelection *selection;
+ GtkListStore *store;
+ GtkTreeIter iter;
+ GHashTable *timezones;
+ icalcomponent *subcomp;
+ icaltimezone *users_zone;
+
+ if (!icalcomp || !is_icalcomp_usable (icalcomp))
+ return NULL;
+
+ store = gtk_list_store_new (4, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, E_TYPE_CAL_COMPONENT);
+
+ timezones = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, free_zone_cb);
+ users_zone = get_users_timezone ();
+
+ /* get timezones first */
+ for (subcomp = icalcomponent_get_first_component (icalcomp, ICAL_VTIMEZONE_COMPONENT);
+ subcomp;
+ subcomp = icalcomponent_get_next_component (icalcomp, ICAL_VTIMEZONE_COMPONENT)) {
+ icaltimezone *zone = icaltimezone_new ();
+ if (!icaltimezone_set_component (zone, icalcomponent_new_clone (subcomp)) || !icaltimezone_get_tzid (zone)) {
+ icaltimezone_free (zone, 1);
+ } else {
+ g_hash_table_insert (timezones, (gchar *) icaltimezone_get_tzid (zone), zone);
+ }
+ }
+
+ /* then each component */
+ for (subcomp = icalcomponent_get_first_component (icalcomp, ICAL_ANY_COMPONENT);
+ subcomp;
+ subcomp = icalcomponent_get_next_component (icalcomp, ICAL_ANY_COMPONENT)) {
+ icalcomponent_kind kind = icalcomponent_isa (subcomp);
+
+ if (kind == ICAL_VEVENT_COMPONENT ||
+ kind == ICAL_VTODO_COMPONENT ||
+ kind == ICAL_VJOURNAL_COMPONENT) {
+ ECalComponent *comp = e_cal_component_new ();
+ ECalComponentText summary = { 0 };
+ ECalComponentDateTime dt = { 0 };
+ gchar *formatted_dt;
+
+ if (!e_cal_component_set_icalcomponent (comp, icalcomponent_new_clone (subcomp))) {
+ g_object_unref (comp);
+ continue;
+ }
+
+ e_cal_component_get_summary (comp, &summary);
+ e_cal_component_get_dtstart (comp, &dt);
+ formatted_dt = format_dt (&dt, timezones, users_zone);
+
+ gtk_list_store_append (store, &iter);
+ gtk_list_store_set (store, &iter,
+ 0, kind == ICAL_VEVENT_COMPONENT ? (e_cal_component_has_attendees (comp) ? C_("iCalImp", "Meeting") : C_("iCalImp", "Event")) :
+ kind == ICAL_VTODO_COMPONENT ? C_("iCalImp", "Task") :
+ kind == ICAL_VJOURNAL_COMPONENT ? C_("iCalImp", "Memo") : "??? Other ???",
+ 1, formatted_dt ? formatted_dt : "",
+ 2, summary.value && *summary.value ? summary.value : summary.altrep && *summary.altrep ? summary.altrep : "",
+ 3, comp,
+ -1);
+
+ g_free (formatted_dt);
+ e_cal_component_free_datetime (&dt);
+ g_object_unref (comp);
+ }
+ }
+
+ if (!gtk_tree_model_get_iter_first (GTK_TREE_MODEL (store), &iter)) {
+ g_object_unref (store);
+ g_hash_table_destroy (timezones);
+ return NULL;
+ }
+
+ preview = e_web_view_preview_new ();
+ gtk_widget_show (preview);
+
+ g_object_set_data_full (G_OBJECT (preview), "iCalImp-timezones", timezones, (GDestroyNotify) g_hash_table_destroy);
+ g_object_set_data (G_OBJECT (preview), "iCalImp-userszone", users_zone);
+
+ tree_view = e_web_view_preview_get_tree_view (E_WEB_VIEW_PREVIEW (preview));
+ g_return_val_if_fail (tree_view != NULL, NULL);
+
+ gtk_tree_view_set_model (tree_view, GTK_TREE_MODEL (store));
+ g_object_unref (store);
+
+ /* Translators: Column header for a component type; it can be Event, Task or Memo */
+ gtk_tree_view_insert_column_with_attributes (tree_view, -1, C_("iCalImp", "Type"),
+ gtk_cell_renderer_text_new (), "text", 0, NULL);
+
+ /* Translators: Column header for a component start date/time */
+ gtk_tree_view_insert_column_with_attributes (tree_view, -1, C_("iCalImp", "Start"),
+ gtk_cell_renderer_text_new (), "text", 1, NULL);
+
+ /* Translators: Column header for a component summary */
+ gtk_tree_view_insert_column_with_attributes (tree_view, -1, C_("iCalImp", "Summary"),
+ gtk_cell_renderer_text_new (), "text", 2, NULL);
+
+ if (gtk_tree_model_iter_n_children (GTK_TREE_MODEL (store), NULL) > 1)
+ e_web_view_preview_show_tree_view (E_WEB_VIEW_PREVIEW (preview));
+
+ selection = gtk_tree_view_get_selection (tree_view);
+ gtk_tree_selection_select_iter (selection, &iter);
+ g_signal_connect (selection, "changed", G_CALLBACK (preview_selection_changed_cb), preview);
+
+ preview_selection_changed_cb (selection, E_WEB_VIEW_PREVIEW (preview));
+
+ return preview;
+}