| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|