aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
Commit message (Collapse)AuthorAgeFilesLines
* Update for new libical. Conduits should atleast compile again.JP Rosevear2000-09-024-12/+25
| | | | | | | | | | | | | | 2000-09-01 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c: Update for new libical. Conduits should atleast compile again. * conduits/calendar/calendar-conduit.c: ditto * Makefile.am: Build the conduits only when they've been enabled. svn path=/trunk/; revision=5165
* We don't need AC_PROG_RANLIB and AM_PROG_LIBTOOLJP Rosevear2000-09-013-11/+44
| | | | | | | | | | | | | | | | | | | | | | | 2000-09-01 JP Rosevear <jpr@helixcode.com> * configure.in: We don't need AC_PROG_RANLIB and AM_PROG_LIBTOOL * src/libical/icalyacc.y (clear_recur): Explicitly set the week_start to the Monday default in case the recurrence rule does not. 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 svn path=/trunk/; revision=5164
* No need to spit a warning if removal fails. (event_editor_destroy): FreeFederico Mena Quintero2000-09-017-107/+95
| | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=5155
* Implement delete option (recurrence_toggled): Make an ugly hack to get theJP Rosevear2000-09-014-19/+95
| | | | | | | | | | | | | | | | 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 svn path=/trunk/; revision=5143
* Event editor destroyed callback to do hash cleanupJP Rosevear2000-08-314-138/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=5142
* Made it compilable both with gnome-print 0.20 and 0.21+Lauris Kaplinski2000-08-312-21/+25
| | | | svn path=/trunk/; revision=5126
* Ensure that the child's allocation height is >= 1.Federico Mena Quintero2000-08-312-1/+4
| | | | | | | | | | | | | | | | 2000-08-30 Federico Mena Quintero <federico@helixcode.com> * widgets/e-paned/e-vpaned.c (e_vpaned_size_allocate): Ensure that the child's allocation height is >= 1. * widgets/e-paned/e-hpaned.c (e_hpaned_size_allocate): Ensure that the child's allocation width is >= 1. 2000-08-30 Federico Mena Quintero <federico@helixcode.com> * ChangeLog: Started a ChangeLog here. svn path=/trunk/; revision=5123
* switched to using new ECalendar widget, and a few other fixes.Damon Chaplin2000-08-319-517/+1315
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=5121
* Oops, set the dtstart/dtend on the component before adding it.Federico Mena Quintero2000-08-302-15/+28
| | | | | | | | | | | 2000-08-30 Federico Mena Quintero <federico@helixcode.com> * 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. svn path=/trunk/; revision=5113
* Make sure the is_utc flag is always FALSE for icaltime_from_timetJP Rosevear2000-08-302-21/+27
| | | | | | | | | | | | 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 svn path=/trunk/; revision=5112
* Make sure the is_utc flag is always FALSE for icaltime_from_timetJP Rosevear2000-08-302-34/+50
| | | | | | | | | | | | | | | 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 svn path=/trunk/; revision=5111
* Oops, commit changelogJP Rosevear2000-08-301-0/+6
| | | | svn path=/trunk/; revision=5109
* Actually add the comp_instance struct to the instances list. We now appearJP Rosevear2000-08-301-2/+4
| | | | | | | | | | 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! svn path=/trunk/; revision=5108
* Now the views monitor the client by themselves; it does not make sense toFederico Mena Quintero2000-08-3011-1053/+413
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=5105
* Remove USING_OAF checksDan Winship2000-08-305-59/+10
| | | | svn path=/trunk/; revision=5099
* Use event_editor_set_event_objectJP Rosevear2000-08-305-8/+24
| | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=5097
* These are not UTC timesJP Rosevear2000-08-292-2/+7
| | | | | | | | | 2000-08-29 JP Rosevear <jpr@helixcode.com> * gui/event-editor.c (dialog_to_comp_object): These are not UTC times svn path=/trunk/; revision=5093
* New function. We need this from code that dynamically updates from aFederico Mena Quintero2000-08-2914-45/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=5091
* We no longer need time_from_icaltimetype as libical has the API for thisJP Rosevear2000-08-297-47/+31
| | | | | | | | | | | | | | | | | | | | 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 svn path=/trunk/; revision=5090
* Remove the icalcomponent from the toplevel calendar here.Federico Mena Quintero2000-08-292-21/+38
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=5089
* Initiliaze tzid to null, only set recurrence rules and exception dates ifJP Rosevear2000-08-282-35/+44
| | | | | | | | | | 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 svn path=/trunk/; revision=5072
* Write out the calendar object (cal_backend_file_update_object): Remove/addJP Rosevear2000-08-282-9/+59
| | | | | | | | | | | | 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 svn path=/trunk/; revision=5069
* Remove gnorba stuffJP Rosevear2000-08-269-72/+14
| | | | | | | | | | | | | | | | 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 svn path=/trunk/; revision=5048
* Uncomment debug code.JP Rosevear2000-08-263-5/+36
| | | | | | | | | | | | | 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 svn path=/trunk/; revision=5044
* Don't attempt to free this if its null (calendar_model_duplicate_value):JP Rosevear2000-08-264-17/+43
| | | | | | | | | | | | | | | | | | | 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 svn path=/trunk/; revision=5040
* Properly append to listJP Rosevear2000-08-255-18/+18
| | | | | | | | | | | | | | | 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 svn path=/trunk/; revision=5031
* Update for libical 0.19JP Rosevear2000-08-258-35/+39
| | | | | | | | 2000-08-24 JP Rosevear <jpr@helixcode.com> * Update for libical 0.19 svn path=/trunk/; revision=5024
* Fixed some warnings.Christopher James Lahey2000-08-258-1/+34
| | | | | | | | | | 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. svn path=/trunk/; revision=5009
* Do not alloc the struct icaltimetype but point to one on the stack. MoreJP Rosevear2000-08-252-4/+10
| | | | | | | | | | 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. svn path=/trunk/; revision=5007
* Make signal names saner (released_event_object_cb): dittoJP Rosevear2000-08-255-41/+60
| | | | | | | | | | | | | | | | | | | | | | | 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!) svn path=/trunk/; revision=5006
* Do not alloc the struct icaltimetype but point to one on the stack. MoreFederico Mena Quintero2000-08-242-2/+11
| | | | | | | | | | 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. svn path=/trunk/; revision=5003
* Remove owner fieldJP Rosevear2000-08-244-82/+25
| | | | | | | | | | | | 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 svn path=/trunk/; revision=5002
* Handle summary field (calendar_model_value_is_empty): dittoJP Rosevear2000-08-242-0/+12
| | | | | | | | | | | 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 svn path=/trunk/; revision=5001
* Remove status barJP Rosevear2000-08-244-14/+13
| | | | | | | | | | | | | | | 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 svn path=/trunk/; revision=4995
* #include <e-util/e-cursors.h>Federico Mena Quintero2000-08-248-19/+38
| | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4993
* Set vtype of new CalComponent (e_week_view_on_new_appointment): dittoJP Rosevear2000-08-243-1/+12
| | | | | | | | | | | | 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 svn path=/trunk/; revision=4990
* Include gnome.h for gettext purposesJP Rosevear2000-08-245-3/+17
| | | | | | | | | | | | 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 svn path=/trunk/; revision=4988
* Updated function. (e_calendar_table_open_task): Updated function.Federico Mena Quintero2000-08-243-95/+51
| | | | | | | | | | 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. svn path=/trunk/; revision=4986
* Updated function. (calendar_model_free_value): Updated function.Federico Mena Quintero2000-08-222-343/+234
| | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4910
* New function. (parse_time): Moved over from the old set_time_t(). ThisFederico Mena Quintero2000-08-222-196/+298
| | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4907
* Use CalObjTypeJP Rosevear2000-08-223-2/+9
| | | | | | | | | | | 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 svn path=/trunk/; revision=4904
* Use CalComponent instead of iCalObject. #if some alarm stuffJP Rosevear2000-08-222-4/+12
| | | | | | | | | | 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 svn path=/trunk/; revision=4903
* Use CalComponent instead of iCalObject. #if some alarm stuffJP Rosevear2000-08-222-3/+21
| | | | | | | | | 2000-08-21 JP Rosevear <jpr@helixcode.com> * gui/e-week-view-event-item.c (e_day_view_top_draw_long_event): Use CalComponent instead of iCalObject. #if some alarm stuff svn path=/trunk/; revision=4902
* Update prototypesJP Rosevear2000-08-222-5/+8
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4901
* Use CalComponent instead of iCalObject. Work around not having a compareJP Rosevear2000-08-224-164/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 svn path=/trunk/; revision=4900
* Use CalComponent instead of iCalObject. #if some alarm stuffJP Rosevear2000-08-213-3/+13
| | | | | | | | | | 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 svn path=/trunk/; revision=4896
* Use CalComponent instead of iCalObject. Work around not having a compareJP Rosevear2000-08-213-104/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4895
* Update prototypes.JP Rosevear2000-08-193-275/+305
| | | | | | | | | | | | | | | | | | | | | | | | 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 svn path=/trunk/; revision=4875
* Use CalComponent instead of iCalObject (cancel_button): dittoJP Rosevear2000-08-184-83/+141
| | | | | | | | | | | | | | | | | | 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 svn path=/trunk/; revision=4863
* Rework gnome-cal.c - alarms are a tad broken ATM so this will need moreJP Rosevear2000-08-173-69/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 svn path=/trunk/; revision=4861
* Callback used to mark every event in a month. (mark_month_item): UseJP Rosevear2000-08-163-23/+57
| | | | | | | | | | | 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 svn path=/trunk/; revision=4848
* Use cal_client_get_objects_in_range (print_day_details_cb): Callback usedJP Rosevear2000-08-164-475/+166
| | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4847
* Added the cal-util library to the documentation framework - FedericoFederico Mena Quintero2000-08-151-5/+2
| | | | svn path=/trunk/; revision=4839
* Sync - FedericoFederico Mena Quintero2000-08-132-11/+13
| | | | svn path=/trunk/; revision=4789
* Sync - FedericoFederico Mena Quintero2000-08-121-1/+28
| | | | svn path=/trunk/; revision=4769
* *** empty log message ***Seth Alves2000-08-121-0/+5
| | | | svn path=/trunk/; revision=4768
* stubs for pilot id accessors (cal_component_get_pilot_status):Seth Alves2000-08-127-350/+815
| | | | | | | | | | | | | | * 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 svn path=/trunk/; revision=4767
* Generate a prettier string for the geographical position.Federico Mena Quintero2000-08-124-80/+537
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4763
* Oops - FedericoFederico Mena Quintero2000-08-121-1/+1
| | | | svn path=/trunk/; revision=4746
* Handle the PERCENT-COMPLETE property. (free_icalcomponent): Likewise.Federico Mena Quintero2000-08-129-23/+234
| | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4745
* Update prototype.Dan Winship2000-08-113-2/+8
| | | | | | * gui/component-factory.c (owner_set_cb): Update prototype. svn path=/trunk/; revision=4714
* New function. Mostly moved over fromFederico Mena Quintero2000-08-114-77/+86
| | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4707
* Removed. Wheee!Federico Mena Quintero2000-08-114-84/+23
| | | | | | | | 2000-08-10 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-commands.c (calendar_iterate): Removed. Wheee! svn path=/trunk/; revision=4703
* There. A pretty function to generate recurrence instances atomically soFederico Mena Quintero2000-08-113-7/+291
| | | | | | | | | | | 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. svn path=/trunk/; revision=4701
* Merge with camel-async.Peter Williams2000-08-111-0/+3
| | | | svn path=/trunk/; revision=4687
* Made the toolbars conform to the user's gnomecc settings for detachableCody Russell2000-08-102-1/+10
| | | | | | toolbars. svn path=/trunk/; revision=4677
* Oops, subtract the new alarm's trigger time from the current time.Federico Mena Quintero2000-08-103-2/+7
| | | | | | | | | 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. svn path=/trunk/; revision=4674
* Fixed a warning.Christopher James Lahey2000-08-102-1/+8
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * cal-client/cal-client.c: Fixed a warning. svn path=/trunk/; revision=4659
* Fixed some warnings.Christopher James Lahey2000-08-094-5/+11
| | | | | | | | | 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. svn path=/trunk/; revision=4637
* Added a get_objects_in_range() method. Takes in a time range and the typeFederico Mena Quintero2000-08-098-172/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4613
* Removing old cruft - FedericoFederico Mena Quintero2000-08-093-170/+0
| | | | svn path=/trunk/; revision=4603
* New function. (cal_component_get_icalcomponent): Ensure that the SEQUENCEFederico Mena Quintero2000-08-0815-849/+101
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=4589
* Big sync. Disable calendar compilation for a few hours - FedericoFederico Mena Quintero2000-08-0813-124/+542
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4585
* *** empty log message ***Seth Alves2000-08-051-0/+7
| | | | svn path=/trunk/; revision=4540
* if oaf isn't initialized by the time the conduit starts, start it up. weSeth Alves2000-08-053-5/+32
| | | | | | | | | * 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. svn path=/trunk/; revision=4539
* tlauche is now called wombatSeth Alves2000-08-051-1/+1
| | | | svn path=/trunk/; revision=4538
* Everywhere unref the remote_uih having done a set_container.Michael Meeks2000-08-042-0/+5
| | | | svn path=/trunk/; revision=4524
* *** empty log message ***Seth Alves2000-08-031-0/+5
| | | | svn path=/trunk/; revision=4503
* Fixed a g_return_if_fail that had two parameters and thus wouldn't build.Joe Shaw2000-08-032-1/+7
| | | | | | | | | | 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. svn path=/trunk/; revision=4502
* fixed a bunch of bugs, added a lot of debug spew.Seth Alves2000-08-032-87/+253
| | | | svn path=/trunk/; revision=4501
* call save (cbimc) after setting the pilot id and status.Seth Alves2000-08-031-0/+7
| | | | | | | * pcs/cal-backend-imc.c (cal_backend_imc_update_pilot_id): call save (cbimc) after setting the pilot id and status. svn path=/trunk/; revision=4500
* updated to match the new ETableModel append_row. This meant we could alsoDamon Chaplin2000-08-032-62/+22
| | | | | | | | | | 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. svn path=/trunk/; revision=4499
* Dum dum dum - FedericoFederico Mena Quintero2000-08-031-0/+36
| | | | svn path=/trunk/; revision=4494
* Emit "model_pre_change" signals as appropriate.Christopher James Lahey2000-08-032-0/+8
| | | | | | | | | 2000-08-02 Christopher James Lahey <clahey@helixcode.com> * gui/calendar-model.c: Emit "model_pre_change" signals as appropriate. svn path=/trunk/; revision=4493
* New files for the iCalendar file backend.Federico Mena Quintero2000-08-037-9/+1108
| | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4479
* Ahem, these files will be back in a second - FedericoFederico Mena Quintero2000-08-031-2/+0
| | | | svn path=/trunk/; revision=4476
* Use CalComponent and the new property types instead of the old iCalObjectFederico Mena Quintero2000-08-027-129/+419
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4464
* Removed doc directory, since it is the old gnome-pim docs which aren'tDamon Chaplin2000-08-0213-521/+9
| | | | | | | | | | | 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. svn path=/trunk/; revision=4460
* Solaris compile fix. OK on Linux too.Matthew Loper2000-07-272-0/+8
| | | | svn path=/trunk/; revision=4368
* OK, it seems that we have all the interesting properties for single-userFederico Mena Quintero2000-07-273-0/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4361
* Ahem, be consistent with parameter names - FedericoFederico Mena Quintero2000-07-271-2/+2
| | | | svn path=/trunk/; revision=4354
* Put all the functions used to free returned values all together.Federico Mena Quintero2000-07-273-209/+362
| | | | | | | | | | | | | | | | | 2000-07-26 Federico Mena Quintero <federico@helixcode.com> * 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. svn path=/trunk/; revision=4353
* gui/Makefile.am: Fixed a typo.Jeffrey Stedfast2000-07-272-1/+5
| | | | svn path=/trunk/; revision=4352
* Added a few xpm files to the EXTRA DIST sectionJeffrey Stedfast2000-07-272-4/+12
| | | | | | | | 2000-07-26 Jeffrey Stedfast <fejj@helixcode.com> * gui/Makefile.am: Added a few xpm files to the EXTRA DIST section svn path=/trunk/; revision=4351
* New function. (scan_property): Handle the RDATE property. (scan_period):Federico Mena Quintero2000-07-2610-108/+358
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4336
* new ECalendarTable to show an ETable view for Todo/Event items.Damon Chaplin2000-07-2624-549/+4714
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4323
* *** empty log message ***Damon Chaplin2000-07-231-0/+8
| | | | svn path=/trunk/; revision=4281
* fixed it so it doesn't crash when a URL is loaded.Damon Chaplin2000-07-232-3/+19
| | | | | | | | | | | 2000-07-23 Damon Chaplin <damon@helixcode.com> * cal-util/calobj.c (ical_object_create_from_vobject): fixed it so it doesn't crash when a URL is loaded. * cal-util/calobj.h: added a few more fields. svn path=/trunk/; revision=4280
* Szabolcs BAN <shooby@gnome.hu>Szabolcs Ban2000-07-211-1/+1
| | | | | | * Small typo fix in calendar/gui/event-editor.c svn path=/trunk/; revision=4254
* Update the components to match the changes in the libeshell API.Ettore Perazzoli2000-07-213-2/+7
| | | | svn path=/trunk/; revision=4242
* Finish filling the trigger. What a pain, again.Federico Mena Quintero2000-07-202-6/+83
| | | | | | | | | | 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. svn path=/trunk/; revision=4232
* Added the Turkish desktop entriesFatih Demir2000-07-203-0/+11
| | | | svn path=/trunk/; revision=4227
* Free the icalcomponent if this is an unattached alarm.Federico Mena Quintero2000-07-193-1/+181
| | | | | | | | | | | | 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. svn path=/trunk/; revision=4216
* Docs docs docs - FedericoFederico Mena Quintero2000-07-182-0/+11
| | | | svn path=/trunk/; revision=4206
* Fixed inline docs. (cal_client_new): Ditto.Federico Mena Quintero2000-07-182-4/+8
| | | | | | | | | | 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. svn path=/trunk/; revision=4190
* New internal represntation for alarm components. We really don't map themFederico Mena Quintero2000-07-153-1/+223
| | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4173
* oopsSeth Alves2000-07-141-0/+4
| | | | svn path=/trunk/; revision=4164
* conduit based on the calendar conduit. this conduit syncs a pilot's ToDoDBSeth Alves2000-07-148-308/+1176
| | | | | | | | | | | * 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. svn path=/trunk/; revision=4156
* small cleanups, quiet compilerSeth Alves2000-07-133-109/+93
| | | | svn path=/trunk/; revision=4145
* todo conduit builds and plays nice but does nothingSeth Alves2000-07-138-210/+401
| | | | svn path=/trunk/; revision=4130
* Make gnome-print-0.20 mandatory. We will bail out with CVS HEAD versionsFederico Mena Quintero2000-07-132-40/+35
| | | | | | | | | 2000-07-12 Federico Mena Quintero <federico@helixcode.com> * configure.in: Make gnome-print-0.20 mandatory. We will bail out with CVS HEAD versions to avoid breakage. svn path=/trunk/; revision=4129
* GnomeFont update.Michael Meeks2000-07-132-30/+45
| | | | | | | | | 2000-07-12 Michael Meeks <michael@helixcode.com> * gui/print.c (titled_box, print_text, print_month_small), (bound_text): GnomeFont update. svn path=/trunk/; revision=4123
* fixed various problemsSeth Alves2000-07-138-117/+92
| | | | | | | | | | | * 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 svn path=/trunk/; revision=4116
* Handle the COMPLETED property. (free_icalcomponent): Ditto.Federico Mena Quintero2000-07-123-30/+278
| | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4101
* Removed unneeded check for the URI. (load_fn): Be more paranoid about theFederico Mena Quintero2000-07-122-14/+49
| | | | | | | | | | | | | 2000-07-11 Federico Mena Quintero <federico@helixcode.com> * 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. svn path=/trunk/; revision=4089
* ignore binariesSeth Alves2000-07-111-0/+2
| | | | svn path=/trunk/; revision=4073
* Disable Pilot conduit stuff for now. It's not quite ready yet and itEttore Perazzoli2000-07-113-29/+8
| | | | | | depends on CVS gnome-pilot. svn path=/trunk/; revision=4072
* remove gnomecal.conduitDan Winship2000-07-113-3/+9
| | | | | | | | | * gui/Makefile.am (EXTRA_DIST): remove gnomecal.conduit * conduits/calendar/Makefile.am (EXTRA_DIST): We want calendar.conduit.in, not calendar.conduit. svn path=/trunk/; revision=4070
* *** empty log message ***Seth Alves2000-07-111-4/+5
| | | | svn path=/trunk/; revision=4067
* *** empty log message ***Seth Alves2000-07-111-5/+4
| | | | svn path=/trunk/; revision=4065
* updated calendar conduit to use oaf and wombatSeth Alves2000-07-116-339/+417
| | | | svn path=/trunk/; revision=4061
* Moved these files to calendar/conduits/{calendar/todo} - FedericoFederico Mena Quintero2000-07-118-2524/+0
| | | | svn path=/trunk/; revision=4059
* added makefiles for calendar conduitsSeth Alves2000-07-118-32/+129
| | | | | | | | | | | | * configure.in: added makefiles for calendar conduits * 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 svn path=/trunk/; revision=4058
* As a quasi-hack, do a gdk_flush() when the shell view is unrealized soFederico Mena Quintero2000-07-103-0/+5
| | | | | | | | | | | | | | 2000-07-10 Federico Mena Quintero <federico@helixcode.com> * e-shell-view.c (unrealize): As a quasi-hack, do a gdk_flush() when the shell view is unrealized so that the DeleteEvent gets sent to the remote plugs as soon as possible before we start making other CORBA calls. The problem is that our CORBA pipe is synchronous while our X pipe is asynch. We have to ensure ordering for certain operations. This is NOT the correct and complete fix, which should go in Bonobo. svn path=/trunk/; revision=4030
* Remove unused file - FedericoFederico Mena Quintero2000-07-101-200/+0
| | | | svn path=/trunk/; revision=4022
* Remove "Close calendar" command, which does not make much sense.Ettore Perazzoli2000-07-092-8/+5
| | | | svn path=/trunk/; revision=3990
* Remove conflict markers - FedericoFederico Mena Quintero2000-07-091-1/+0
| | | | svn path=/trunk/; revision=3983
* Add mouse wheel scrolling support to the calendar day and week viewsAnders Carlsson2000-07-083-1/+70
| | | | svn path=/trunk/; revision=3971
* Handle the SEQUENCE property. (free_icalcomponent): Ditto.Federico Mena Quintero2000-07-083-1/+126
| | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3957
* Handle the LAST-MODIFIED property. (free_icalcomponent): Ditto.Federico Mena Quintero2000-07-073-20/+118
| | | | | | | | | | | | | | | | | | 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(). svn path=/trunk/; revision=3936
* Handle the CREATED property. (free_icalcomponent): Ditto.Federico Mena Quintero2000-07-073-121/+324
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-06 Federico Mena Quintero <federico@helixcode.com> * 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. svn path=/trunk/; revision=3934
* Use &obj instead of &ico in the call to cal_client_get_object(). The ToDoDamon Chaplin2000-07-043-1/+11
| | | | | | | | | | | | 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. svn path=/trunk/; revision=3883
* Use CalComponentText instead of CalComponentPropSummary. Removed theFederico Mena Quintero2000-07-043-11/+128
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3880
* Renamed from cal_component_free_description_list(). We can share thisFederico Mena Quintero2000-07-043-253/+368
| | | | | | | | | | | | | | | | | | | | | | | | 2000-07-03 Federico Mena Quintero <federico@helixcode.com> * 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. svn path=/trunk/; revision=3875
* Handle CATEGORIES. This can appear multiple times, so we maintain a list.Federico Mena Quintero2000-07-033-24/+244
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3868
* Handle date/time and timezone pairs. (scan_property): Handle DTSTART andFederico Mena Quintero2000-07-023-12/+318
| | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3857
* Again, disable compilation of the Pilot stuff until it links - FedericoFederico Mena Quintero2000-07-021-18/+19
| | | | svn path=/trunk/; revision=3852
* Handle the DESCRIPTION property. There can be multiple descriptions withFederico Mena Quintero2000-07-013-40/+262
| | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3845
* uncomment out the pilot stuff, i think it links now. hehSeth Alves2000-07-011-19/+19
| | | | svn path=/trunk/; revision=3842
* One of these days, I need somebody to teach me how to program.Ettore Perazzoli2000-06-302-6/+6
| | | | svn path=/trunk/; revision=3824
* Make calendar die when evolution quits.Christopher James Lahey2000-06-303-2/+34
| | | | | | | | 2000-06-29 Christopher James Lahey <clahey@helixcode.com> * gui/component-factory.c: Make calendar die when evolution quits. svn path=/trunk/; revision=3822
* Get an EvolutionShellClient instead of an Evolution_Shell to match theEttore Perazzoli2000-06-303-91/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-29 Ettore Perazzoli <ettore@helixcode.com> * notes/component-factory.c (owner_set_cb): Get an EvolutionShellClient instead of an Evolution_Shell to match the changes in libeshell. 2000-06-29 Peter Williams <peterw@helixcode.com> * configure.in: Re-enable GNOME_PILOT_CHECK. Change AC_MSG_CHECKING([For...]) to [for...]. It's the little things that matter. 2000-06-28 Ettore Perazzoli <ettore@helixcode.com> * configure.in: `AM_PATH_GCONF'. 2000-06-27 Peter Williams <peterw@curious-george.helixcode.com> * configure.in (ctime_r): Check for whether ctime_r takes two (Linux) or three (Solaris) arguments. (AC_OUTPUT): Don't create notes/Makefile twice. * acconfig.h: Add CTIME_R_THREE_ARGS to the list. svn path=/trunk/; revision=3821
* EvolutionShellClient.Ettore Perazzoli2000-06-303-2/+10
| | | | svn path=/trunk/; revision=3820
* Do not link and include the pilot stuff for the calendar component, justFederico Mena Quintero2000-06-302-34/+30
| | | | | | | | | | | 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. svn path=/trunk/; revision=3815
* Make the pilot stuff in calendar/gui optional.Peter Williams2000-06-292-2/+20
| | | | svn path=/trunk/; revision=3793
* server code to service these:Seth Alves2000-06-2910-184/+638
| | | | | | | | | | | | | | | | | | | | * 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. svn path=/trunk/; revision=3789
* New files for the new iCalendar component object. Today's properties:Federico Mena Quintero2000-06-295-3/+487
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=3786
* use BONOBO_VFS_GNOME_CFLAGS.Michael Meeks2000-06-282-1/+5
| | | | | | | | 2000-06-27 Michael Meeks <michael@helixcode.com> * pcs/Makefile.am (INCLUDES): use BONOBO_VFS_GNOME_CFLAGS. svn path=/trunk/; revision=3760
* Calculate height including if clip_height is set to -1.Christopher James Lahey2000-06-272-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Calculate height including if clip_height is set to -1. From addressbook/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c, addressbook/gui/component/e-cardlist-model.c: Added value_to_string handlers. * demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and "y" arguments. * addressbook/gui/component/addressbook.c: Activated Click To Add and set the click to add message. * addressbook/gui/component/e-addressbook-model.c: Added value_to_string and append_row handlers. * addressbook/gui/component/e-select-names.c: Added a column. From calendar/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * gui/calendar-model.c: Added an #ifdefed value_to_string handler assignment. From camel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * providers/mbox/camel-mbox-summary.c: Added debugging information. From composer/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-msg-composer-select-file.h for make distcheck. From e-util/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-canvas-vbox.c and e-canvas-vbox.h. * e-canvas-vbox.c, e-canvas-vbox.h: New canvas object to act like a vbox using the reflow system. From mail/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Added a value_to_string handler. From shell/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * glade/Makefile.am: Added EXTRA_DIST for make distcheck. From widgets/e-table/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-click-to-add.c, e-table-click-to-add.h, e-table-one.c, and e-table-one.h. * e-table-click-to-add.c, e-table-click-to-add.h: A new canvas item that represents a single row that sometimes exists. It's for adding new rows to your table. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Added value_to_string handlers. * e-table-group-container.c: Use value_to_string to make grouping not crash for non string columns. Made some changes to work properly in an ECanvasVbox. * e-table-group-leaf.c, e-table-item.c: Made some changes to work properly in an ECanvasVbox. * e-table-model.c, e-table-model.h: Added append_row and value_to_string methods. * e-table-one.c, e-table-one.h: Given a source ETableModel, this provides a single row model that uses the initialize_value, duplicate_value, free_value, and value_is_empty methods of the original source to implement set_value and value_at (and proxies most of the other methods.) This is used for ETableClickToAdd. * e-table-simple.c, e-table-simple.h: Added append_row and value_to_string handlers. append_row uses a GtkArg instead of a parameter to e_table_simple_new. * e-table-subset.c: Added append_row and value_to_string handlers. * e-table.c, e-table.h: Use a vbox containing an ETableClickToAdd and an ETableItem instead of an ETableItem directly. Only show the ETableClickToAdd if the top level of the xml SPEC has the attribute click-to-add set to some non-zero integer. (click-to-add="1"). Add a "click_to_add_message" argument. * e-tree-model.c: Add a commented out value_to_string handler. From widgets/meeting-time-sel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added the include path to top_srcdir. svn path=/trunk/; revision=3744
* Sync again - FedericoFederico Mena Quintero2000-06-274-25/+309
| | | | svn path=/trunk/; revision=3742
* Sync - FedericoFederico Mena Quintero2000-06-239-69/+304
| | | | svn path=/trunk/; revision=3693
* set event before using it! (e_day_view_init): used new colors from tigert.Damon Chaplin2000-06-212-8/+15
| | | | | | | | | | 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. svn path=/trunk/; revision=3671
* Remove the usage of the "x" and "y" arguments.Christopher James Lahey2000-06-213-10/+19
| | | | | | | | | 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. svn path=/trunk/; revision=3669
* got rid of some debug messagesDamon Chaplin2000-06-211-18/+0
| | | | svn path=/trunk/; revision=3666
* changed so it keeps the selection range. It just moves it on one day/weekDamon Chaplin2000-06-215-38/+397
| | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3665
* tidied up dialog a bit, adding space etc.Damon Chaplin2000-06-203-216/+272
| | | | | | | | | | | 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. svn path=/trunk/; revision=3639
* Fix compilation with builddir != srcdir.Ettore Perazzoli2000-06-193-0/+9
| | | | svn path=/trunk/; revision=3630
* fixed a DnD bug.Damon Chaplin2000-06-192-3/+10
| | | | | | | | | 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. svn path=/trunk/; revision=3628
* Fix to not depend on installed ical.hDan Winship2000-06-182-1/+6
| | | | | | | * cal-client/Makefile.am (INCLUDES): Fix to not depend on installed ical.h svn path=/trunk/; revision=3622
* added little buttons which are shown when there are more events than willDamon Chaplin2000-06-176-3/+138
| | | | | | | | | | | | | | | | | | | | * 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. svn path=/trunk/; revision=3605
* new icon for the EWeekView to jump to the day.Damon Chaplin2000-06-173-0/+21
| | | | | | | | | | 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 svn path=/trunk/; revision=3602
* Squeek - FedericoFederico Mena Quintero2000-06-161-2/+0
| | | | svn path=/trunk/; revision=3595
* #ifdef'ed out references to functions which don't exist yet, so evolutionDamon Chaplin2000-06-162-0/+8
| | | | | | | | | | 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. svn path=/trunk/; revision=3594
* Doh, sync - FedericoFederico Mena Quintero2000-06-167-58/+200
| | | | svn path=/trunk/; revision=3593
* Took out some debugging code.Damon Chaplin2000-06-161-1/+1
| | | | | | Took out some debugging code. svn path=/trunk/; revision=3592
* updated.Damon Chaplin2000-06-165-63/+623
| | | | | | | | | | | 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. svn path=/trunk/; revision=3591
* added icalendar-test.Damon Chaplin2000-06-162-0/+5
| | | | | | | | 2000-06-16 Damon Chaplin <damon@helixcode.com> * pcs/.cvsignore: added icalendar-test. svn path=/trunk/; revision=3589
* use libical.aDamon Chaplin2000-06-162-1/+18
| | | | | | | | 2000-06-15 Damon Chaplin <damon@helixcode.com> * cal-util/Makefile.am (test_recur_LDADD): use libical.a svn path=/trunk/; revision=3586
* merge the two separate noinst_PROGRAMS declarations into one so automakeDan Winship2000-06-152-3/+9
| | | | | | | | | * 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 svn path=/trunk/; revision=3573
* finish switch back to vcalSeth Alves2000-06-141-3/+9
| | | | svn path=/trunk/; revision=3556
* switch back to vcal for debuggingSeth Alves2000-06-141-3/+3
| | | | svn path=/trunk/; revision=3555
* Added the array of objects and the hash table of UID->array index.Federico Mena Quintero2000-06-134-4/+564
| | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3547
* Build a `libeshell.a' library in `shell/' so that we don't need toEttore Perazzoli2000-06-132-8/+7
| | | | | | | link to the shell's object files directly from the components anymore. (That was really gross.) svn path=/trunk/; revision=3546
* Initial support for creating/removing folders. This implies some newEttore Perazzoli2000-06-103-6/+29
| | | | | | | | IDL methods and new functions to implement on the component side. I have also added a simple folder creation dialog in the shell. It's quite unfinished and untested. svn path=/trunk/; revision=3491
* Added a get_n_objects() method.Federico Mena Quintero2000-06-0911-3/+206
| | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3486
* Allow for NULL summaries.Federico Mena Quintero2000-06-092-1/+6
| | | | | | | | | 2000-06-08 Federico Mena Quintero <federico@helixcode.com> * cal-util/calobj.c (ical_object_to_vobject): Allow for NULL summaries. svn path=/trunk/; revision=3478
* Added missing tooltips. We still need icons, though.Federico Mena Quintero2000-06-082-9/+22
| | | | | | | | | 2000-06-07 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (toolbar): Added missing tooltips. We still need icons, though. svn path=/trunk/; revision=3477
* put this back in, it's still used inSeth Alves2000-06-083-3/+5
| | | | | | | * 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 svn path=/trunk/; revision=3466
* update some .cvsignoresSeth Alves2000-06-082-1/+1
| | | | svn path=/trunk/; revision=3464
* instead of returning a text representation, decode the text and return anSeth Alves2000-06-0812-141/+151
| | | | | | | | | | | | | | | | | | | | | | * 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 svn path=/trunk/; revision=3463
* Moved these files to calendar/cal-util - FedericoFederico Mena Quintero2000-06-075-1362/+0
| | | | svn path=/trunk/; revision=3457
* fixed a bunch of problems use libical instead of libversitSeth Alves2000-06-0710-107/+318
| | | | | | | | | | | | | | | * 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 svn path=/trunk/; revision=3446
* Removed from the public header; made static. Now everyone should useFederico Mena Quintero2000-06-077-42/+45
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=3439
* allow the right button to popup the menu, even when the event is beingDamon Chaplin2000-06-063-4/+22
| | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3427
* New function to call the print engine. (calendar_toolbar): Added the PrintFederico Mena Quintero2000-06-037-131/+170
| | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3409
* Implemented. (toolbar): Added an icon for the Save and Close command.Federico Mena Quintero2000-06-022-18/+74
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=3382
* Implemented. (gnome_calendar_add_object): Removed function, since it wasFederico Mena Quintero2000-06-028-284/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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! svn path=/trunk/; revision=3380
* Fixed EXTRA_DIST.Christopher James Lahey2000-06-022-1/+9
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Fixed EXTRA_DIST. svn path=/trunk/; revision=3377
* Handler for the "editor_closed" signal of the event editor; we justFederico Mena Quintero2000-06-024-25/+74
| | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3376
* Change of plans. The toplevel GnomeApp is now generated with Glade insteadFederico Mena Quintero2000-06-026-1539/+1572
| | | | | | | | | | | | | | | | | | | | | | | | 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(). svn path=/trunk/; revision=3348
* Make the toolbar look like a standard GNOME toolbar my putting it intoEttore Perazzoli2000-06-012-3/+18
| | | | | | | | a GtkFrame. Also, make sure it cannot be dragged to the left or right of the dock, because with the current non-BonoboUIHandler system we use it causes bad bad things to happen. svn path=/trunk/; revision=3319
* Added a hash table to map calendar objects to their respective eventFederico Mena Quintero2000-06-0114-1830/+504
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3317
* added test-recur test program.Damon Chaplin2000-06-016-347/+1879
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3315
* Create the UI handler after we have constructed the parent GnomeApp.Federico Mena Quintero2000-05-312-12/+218
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3308
* Flush - FedericoFederico Mena Quintero2000-05-3014-853/+872
| | | | svn path=/trunk/; revision=3280
* Fix 'make dist' errors.Ross Golder2000-05-281-2/+4
| | | | svn path=/trunk/; revision=3231
* Put the main notebook directly under a simple GtkWindow. We are going toFederico Mena Quintero2000-05-265-1545/+1941
| | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3214
* Do not initialize libglade twice.Federico Mena Quintero2000-05-267-26/+217
| | | | | | | | | | | | 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. svn path=/trunk/; revision=3203
* From shell/ChangeLog:Christopher James Lahey2000-05-262-0/+6
| | | | | | | | | | | | | | | 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * e-storage-set-view.c: Make this always look pretty, with Helix GNOME or without. From calendar/ChangeLog: 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * gui/main.c: Make it so that warnings don't crash calendar. svn path=/trunk/; revision=3201
* Reorganized the shell to allow dynamic registration of storages andEttore Perazzoli2000-05-2516-16/+772
| | | | | | | folder types, and changed all the components to work with the new setup. svn path=/trunk/; revision=3199
* Added widgets/e-paned/Makefile.Christopher James Lahey2000-05-253-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-paned/Makefile. * tests/ui-tests/message-browser.c: Switched from GtkPaned to EPaned. * widgets/Makefile.am: Added e-paned directory. * widgets/e-paned/, widgets/e-paned/.cvsignore, widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c, widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c, widgets/e-paned/e-vpaned.h: New widget based completely on GtkPaned from 1.4. This will be more advanced soon. From calendar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added libepaned.a. * gui/gnome-cal.c: Switched from GtkPaned to EPaned. From mail/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * folder-browser.c: Switched from GtkPaned to EPaned. From shell/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * e-shell-view.c: Switched from GtkPaned to EPaned. From widgets/shortcut-bar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * test-shortcut-bar.c: Switched from GtkPaned to EPaned. svn path=/trunk/; revision=3191
* Commit for if my laptop dies - FedericoFederico Mena Quintero2000-05-2426-4208/+1662
| | | | svn path=/trunk/; revision=3185
* Added Norwegian translationKjartan Maraas2000-05-224-0/+8
| | | | svn path=/trunk/; revision=3147
* new files to implement iCalendar recurrence rules. These are only partDamon Chaplin2000-05-2013-125/+1623
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3144
* Fixed warning message. (time_add_day): Likewise. (time_add_month):Federico Mena Quintero2000-05-193-6/+26
| | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3135
* hooked up more widget signals to callbacks to the gladified dialog actsSeth Alves2000-05-185-32/+296
| | | | | | | * gui/event-editor.c: hooked up more widget signals to callbacks to the gladified dialog acts more like the original one. svn path=/trunk/; revision=3106
* hook the radio buttons to the pages of the notebook. (append_exception):Seth Alves2000-05-173-59/+229
| | | | | | | | | | | | | | | | | | * 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. * 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 svn path=/trunk/; revision=3092
* Forgot include file - FedericoFederico Mena Quintero2000-05-161-0/+1
| | | | svn path=/trunk/; revision=3075
* Speak no evil - FedericoFederico Mena Quintero2000-05-161-0/+3
| | | | svn path=/trunk/; revision=3074
* Alarm stuff I had not cvs added, sigh - FedericoFederico Mena Quintero2000-05-1613-4/+1155
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3072
* gladeified replacement for eventedit.cSeth Alves2000-05-1610-8/+2709
| | | | | | | | | | * 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 svn path=/trunk/; revision=3046
* Fix more Makefile breakage.Ettore Perazzoli2000-05-132-0/+6
| | | | svn path=/trunk/; revision=3012
* Added version and availability of required libunicode library.Matt Loper2000-05-133-87/+89
| | | | | | | | | | | | | | | | | | | | 2000-05-10 Matt Loper <matt@helixcode.com> * README: Added version and availability of required libunicode library. 2000-05-10 Dan Winship <danw@helixcode.com> * configure.in: Update versions needed for gnome-print, bonobo, and gtkhtml. 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * HACKING: We need a HACKING file. 2000-05-10 Christopher James Lahey <clahey@helixcode.com> svn path=/trunk/; revision=3008
* New function to add today's alarms for a single object.Federico Mena Quintero2000-05-129-54/+288
| | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3003
* make the toolbars detachable now that we require a new enough versionDan Winship2000-05-122-1/+4
| | | | | | of gnome-libs to avoid the bonobo-toolbar-detaching bug svn path=/trunk/; revision=2997
* remove unused timezone variable to make this compile on BSD systems (whereDan Winship2000-05-123-2/+6
| | | | | | | | * 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) svn path=/trunk/; revision=2996
* Removed unused arguments. Load the initial alarms here. (load_alarms): NewFederico Mena Quintero2000-05-1222-513/+1461
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2987
* Move "about" menuitem to the help menu.Matthew Loper2000-05-112-1/+6
| | | | | | | * gui/calendar-commands.c (calendar_control_activate): Move "about" menuitem to the help menu. svn path=/trunk/; revision=2970
* Removed dist-hook section.Christopher James Lahey2000-05-102-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed dist-hook section. * configure.in: Set the version number. Added a check for gnome window icons. Removed a bunch of unused Makefiles. * tools/Makefile.am: Created a proper EXTRA_DIST section. * widgets/e-text/Makefile.am: Added e-text-event-processor-types.h. From addressbook/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h, e-card-types.h. * backend/pas/Makefile.am: Added pas-backend-ldap.h. * contact-editor/Makefile.am: Added a proper EXTRA_DIST section. Removed some old defines. * ename/Makefile.am: Added e-name-western-tables.h. * gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added a proper EXTRA_DIST section. * gui/minicard/e-reflow.c: Added a missed cast. * printing/Makefile.am: Added a proper EXTRA_DIST section. From calendar/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added main.h. Combined the two EXTRA_DIST sections. From camel/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and camel-thread-proxy.h. From default_user/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, local/Calendar/Makefile.am, local/Contacts/Makefile.am, local/Directories/Makefile.am, local/Directories/subfolders/Bigfoot/Makefile.am, local/Directories/subfolders/Netcenter/Makefile.am, local/Drafts/Makefile.am, local/Inbox/Makefile.am, local/Outbox/Makefile.am, local/Trash/Makefile.am: Created a proper EXTRA_DIST section. From filter/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * filter-arg.h: Changed tree.h to gnome-xml/tree.h. * Makefile.am: Added filter-arg-types.h, filter-arg.h, filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h. From libical/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * configure.in: Reorder Makefiles so that it will build. From mail/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed folder-browser-factory.h since it doesn't exist. Added mail-display.h, mail-types.h, pixmaps.h. From widgets/e-table/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-col-dnd.h and table-test.h. From wombat/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added an include for the pcs directory. svn path=/trunk/; revision=2966
* ChangeLog fix.Chris Lahey2000-05-101-1/+4
| | | | svn path=/trunk/; revision=2962
* Set the format when creating a new calendar.Christopher James Lahey2000-05-102-0/+23
| | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * pcs/cal-backend-imc.c: Set the format when creating a new calendar. svn path=/trunk/; revision=2961
* + * calendar/pcs/cal-backend.c (cal_backend_add_cal): Return nothingMatthew Loper2000-05-101-1/+1
| | | | | | | | | | + for a 'void' function. + * folder-browser-factory.c (control_activate): Remove "File->mail" + menuitem. + * e-shell-view-menu.c (command_run_bugbuddy): New function; allows + users to submit a bug. svn path=/trunk/; revision=2948
* Removed double free of method_string in uri->method_string.Christopher James Lahey2000-05-092-1/+8
| | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * pcs/cal-factory.c: Removed double free of method_string in uri->method_string. svn path=/trunk/; revision=2942
* Fix compilation with builddir != srcdir. Boy I love this.Ettore Perazzoli2000-05-093-2/+10
| | | | svn path=/trunk/; revision=2927
* call e_day_view_stop_editing_event here to avoid a divide by zero a bitSeth Alves2000-05-092-0/+12
| | | | | | | | * 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. svn path=/trunk/; revision=2922
* CalBackendClass now is just an interface for calendar backends; this is anFederico Mena Quintero2000-05-0914-1117/+1562
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2921
* don't set the ico->uid to NULL or we won't find any other occurrences ofDamon Chaplin2000-05-095-10/+25
| | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2920
* show the EText item, just in case it hasn't moved, otherwise it won'tDamon Chaplin2000-05-083-3/+24
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2878
* + * gui/evolution-calendar-control.c (PROPERTY_CALENDAR_URI):Matthew Loper2000-05-072-2/+13
| | | | | | | | + 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. svn path=/trunk/; revision=2852
* changed these so they just do a simple localtime(), update the struct tm,Damon Chaplin2000-05-072-0/+60
| | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2841
* ignore evolution-calendar.pureChris Toshok2000-05-073-0/+18
| | | | | | | | * gui/.cvsignore: ignore evolution-calendar.pure * gui/Makefile.am: add support for building evolution-calendar.pure svn path=/trunk/; revision=2834
* finish editing event when user hits Return key.Damon Chaplin2000-05-076-80/+117
| | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2827
* removed.Damon Chaplin2000-05-063-163/+4
| | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * gui/week-view.[hc]: removed. svn path=/trunk/; revision=2826
* removed old calendar view files.Damon Chaplin2000-05-0613-4075/+9
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=2825
* added guint ref_count to iCalObject struct, and ical_object_ref/unref()Damon Chaplin2000-05-0612-90/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 svn path=/trunk/; revision=2823
* ignore the .pure directoryChris Toshok2000-05-053-1/+4
| | | | | | | | | | | | | | | | | | | | | | * addressbook/backend/ebook/.cvsignore, addressbook/contact-editor/.cvsignore, addressbook/gui/component/.cvsignore, addressbook/gui/minicard/.cvsignore, addressbook/printing/.cvsignore, calendar/cal-client/.cvsignore, calendar/gui/.cvsignore, calendar/pcs/.cvsignore, filter/.cvsignore, mail/.cvsignore, shell/.cvsignore, tests/.cvsignore, widgets/e-table/.cvsignore, widgets/e-text/.cvsignore, widgets/meeting-time-sel/.cvsignore, widgets/shortcut-bar/.cvsignore, wombat/.cvsignore: ignore the .pure directory svn path=/trunk/; revision=2812
* for the long events pass E_DAY_VIEW_LONG_EVENT as the day. Fixes SEGV.Damon Chaplin2000-05-0510-92/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2802
* ShhKjartan Maraas2000-05-041-1/+5
| | | | svn path=/trunk/; revision=2780
* set the active radio button here. Oops - it wasn't a Bonobo problem afterDamon Chaplin2000-05-038-42/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2759
* new function to get the currently seleted time range form the currentDamon Chaplin2000-05-018-46/+175
| | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2712
* Stylistic fix - FedericoFederico Mena Quintero2000-05-011-3/+1
| | | | svn path=/trunk/; revision=2707
* *** empty log message ***Seth Alves2000-05-011-0/+10
| | | | svn path=/trunk/; revision=2703
* set attendee and contact address correctly.Seth Alves2000-05-013-20/+34
| | | | | | | | | | | | * 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. svn path=/trunk/; revision=2702
* new function to see if the event dates have changed (including anyDamon Chaplin2000-05-0113-172/+950
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2701
* updated Danish stringsPablo Saratxaga2000-04-302-2/+2
| | | | svn path=/trunk/; revision=2682
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-2811-25/+231
| | | | svn path=/trunk/; revision=2673
* deleted some commented out codeSeth Alves2000-04-281-3/+1
| | | | svn path=/trunk/; revision=2670
* *** empty log message ***Seth Alves2000-04-281-0/+7
| | | | svn path=/trunk/; revision=2669
* fix memory leak (save_to_vcal): same (save): same (cal_backend_load): sameSeth Alves2000-04-281-0/+5
| | | | | | | | | * pcs/cal-backend.c (cal_backend_load): fix memory leak (save_to_vcal): same (save): same (cal_backend_load): same svn path=/trunk/; revision=2668
* Replaced libcal-util.la with *.laChristopher James Lahey2000-04-263-1/+9
| | | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * cal-util/.cvsignore: Replaced libcal-util.la with *.la * pcs/.cvsignore: Added *.la and *.lo. svn path=/trunk/; revision=2628