| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/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.
svn path=/trunk/; revision=30659
|
|
|
|
| |
svn path=/trunk/; revision=30503
|
|
|
|
| |
svn path=/trunk/; revision=30467
|
|
|
|
| |
svn path=/trunk/; revision=30446
|
|
|
|
|
|
|
|
|
|
|
| |
2005-09-28 Tor Lillqvist <tml@novell.com>
* gui/e-cal-model.c (set_classification): Use g_ascii_strcasecmp()
instead of strcasecmp(). We are comparing to literal ASCII
strings, just casefolding ASCII is enough. Also better for
portability.
svn path=/trunk/; revision=30393
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=30217
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=29850
|
|
|
|
|
|
| |
from EDS
svn path=/trunk/; revision=29618
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=29278
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=29276
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=29181
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=28763
|
|
|
|
|
|
|
|
| |
2005-02-08 Rodrigo Moya <rodrigo@novell.com>
* gui/e-cal-model.c (set_instance_times): set instance times correctly.
svn path=/trunk/; revision=28747
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=28708
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=28214
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=28203
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=28192
|
|
|
|
|
|
|
|
| |
2004-12-22 JP Rosevear <jpr@novell.com>
* gui/e-cal-model.c: Change copyright from ximian to novell
svn path=/trunk/; revision=28182
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=28167
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=28166
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=27580
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=27368
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=26955
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=26868
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=26790
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=26760
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=26720
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=26694
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=26644
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=26634
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=26312
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=25905
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=25825
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=25823
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=25696
|
|
|
|
|
|
|
|
| |
2004-04-29 JP Rosevear <jpr@ximian.com>
* gui/e-cal-model.c (e_cal_model_set_default_client): kill warning
svn path=/trunk/; revision=25692
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=25359
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=25205
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=25204
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=25200
|
|
|
|
|
|
|
|
|
| |
2004-03-25 JP Rosevear <jpr@ximian.com>
* gui/e-cal-model.c (remove_client): fix off by one error when
emitting deleted signal
svn path=/trunk/; revision=25193
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=25159
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=25132
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=25085
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=25075
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
o (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
svn path=/trunk/; revision=25072
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=25042
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=24951
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=24365
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
* 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
svn path=/trunk/; revision=24292
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=23442
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=23435
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=23375
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=23373
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
svn path=/trunk/; revision=23286
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
svn path=/trunk/; revision=23263
|
|
|
|
| |
svn path=/trunk/; revision=23206
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=23113
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-27 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-model.h: changed fill_component_from_model virtual
method to get an ETableModel, not an ECalModel.
* gui/e-cal-model.c (ecm_append_row): the source model sent from
ETable is an ETableModel, not an ECalModel.
* gui/e-cal-model-calendar.c (ecmc_fill_component_from_model):
get an ETableModel for the 'source_model' argument.
* gui/e-cal-model-tasks.c (ecmt_fill_component_from_model): ditto.
svn path=/trunk/; revision=23082
|
|
|
|
| |
svn path=/trunk/; revision=22965
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-10 Hans Petter Jansson <hpj@ximian.com>
* calendar/gui/Makefile.am (etspec_DATA): Add e-cal-list-view.etspec.
(libevolution_calendar_la_SOURCES): Add e-cal-list-view.[ch].
* calendar/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.
* calendar/gui/calendar-view-factory.c
(calendar_view_factory_get_title): Add list view case.
(calendar_view_factory_get_type_code): Add list view case.
* calendar/gui/control-factory.c (get_prop): Add list view case.
* calendar/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.
* calendar/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.
* calendar/gui/gnome-cal.h (GnomeCalendarViewType): Add list view.
* calendar/gui/e-cal-list-view.[ch]: Implement ECalListView,
subclassing ECalView.
* ui/evolution-calendar.xml: Add calendar list view task button.
* art/listview.xpm: Add calendar list view icon.
svn path=/trunk/; revision=22850
|
|
|
|
|
|
| |
Evolution.
svn path=/trunk/; revision=22538
|
|
|
|
| |
svn path=/trunk/; revision=22308
|
|
|
|
| |
svn path=/trunk/; revision=22152
|
|
svn path=/trunk/; revision=22129
|