aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
Commit message (Collapse)AuthorAgeFilesLines
* Add translation strings.Miguel de Icaza2001-01-122-0/+21
| | | | | | | | 2001-01-12 Miguel de Icaza <miguel@ximian.com> * gui/e-calendar-table.c: Add translation strings. svn path=/trunk/; revision=7448
* Add a PropertyControl interface so you can set the appointments on or offIain Holmes2001-01-102-91/+322
| | | | | | Add a PersistStream interface to remember this. svn path=/trunk/; revision=7348
* Replaced e-meet-dialog.glade.h with e-meeting-dialog.glade inDave Camp2001-01-106-1/+70
| | | | | | | | | | | | | 2001-01-09 Dave Camp <dave@helixcode.com> * gui/Makefile.am: Replaced e-meet-dialog.glade.h with e-meeting-dialog.glade in glade_messages. * gui/e-meeting-dialog.glade: Enabled the translatable string option. * gui/e-itip-control.glade: Likewise. svn path=/trunk/; revision=7347
* New interface for the alarm notification system.Federico Mena Quintero2001-01-1010-55/+443
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-09 Federico Mena Quintero <federico@helixcode.com> * idl/evolution-calendar.idl (AlarmNotify): New interface for the alarm notification system. * gui/alarm-notify: New directory for the alarm notification daemon and its auxiliary stuff. * gui/alarm-notify/alarm.[ch]: Moved over from gui/alarm.[ch]. * gui/alarm-notify/alarm-queue.[ch]: Moved over from gui/alarm-notify.[ch]. Renamed functions from alarm_notify_*() to alarm_queue_*(). * gui/alarm-notify/alarm-notify.[ch]: Implementation of the GNOME::Evolution::Calendar::AlarmNotify interface. * gui/Makefile.am (evolution_calendar_LDADD): Removed the LINK_FLAGS variable and reordered the libraries to remove some duplicated ones. (SUBDIRS): Added the alarm-notify directory. svn path=/trunk/; revision=7338
* Mark tasks completedIain Holmes2001-01-092-2/+11
| | | | svn path=/trunk/; revision=7309
* Tasks work properlyIain Holmes2001-01-092-8/+6
| | | | svn path=/trunk/; revision=7306
* added new source files for the Tasks folders.Damon Chaplin2001-01-0816-33/+1066
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-08 Damon Chaplin <damon@helixcode.com> * gui/Makefile.am: added new source files for the Tasks folders. * gui/e-tasks.[hc]: new widget to encapsulate the Tasks view. * gui/tasks-control.[hc]: new files to implement the Tasks control. * gui/tasks-control-factory.[hc]: new files to implement the factory for the Tasks controls. (I think the way I've split the code up is a lot cleaner than the GnomeCal implementation - the factory file just contains the factory functions and the control file contains all the control functions. Maybe we should make GnomeCal like this.) * gui/main.c: initialize the Tasks control factory. * gui/component-factory.c: added support for the Tasks control. Also added a "create_folder" function so we can now create new Tasks and Calendar folders within Evolution. I'm not a Bonobo expert so someone might want to check these over. * gui/calendar-config.[hc]: added convenience functions to configure the common settings of ECalendar and EDateEdit widgets. * gui/dialogs/task-editor.c (task_editor_create_date_edit): * gui/gnome-cal.c (gnome_calendar_update_config_settings): * gui/event-editor.c: used function to configure the ECalendars and EDateEdits. * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): fixed minor bug in format strings. svn path=/trunk/; revision=7297
* Neaten the HTML, add Tasks, and make the day change when the day changes :)Iain Holmes2001-01-072-6/+86
| | | | | | Calendar summary. svn path=/trunk/; revision=7285
* get categories button (init_widgets): listen for button clickJP Rosevear2001-01-066-41/+198
| | | | | | | | | | | | | | | | | | 2001-01-05 JP Rosevear <jpr@helixcode.com> * gui/event-editor.c (get_widgets): get categories button (init_widgets): listen for button click (fill_widgets): fill in the categories area (dialog_to_comp_object): set the cal component categories (categories_clicked): throw up the categories dialog and update when ok is clicked * gui/event-editor-dialog.glade: Add categories and contacts buttons and fields * gui/dialogs/task-editor-dialog.glade: Rename button svn path=/trunk/; revision=7270
* get categories button (init_widgets): listen for button clickJP Rosevear2001-01-068-99/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-05 JP Rosevear <jpr@helixcode.com> * gui/dialogs/task-editor.c (get_widgets): get categories button (init_widgets): listen for button click (fill_widgets): fill in the categories area (dialog_to_comp_object): set the cal component categories (categories_clicked): throw up the categories dialog and update when ok is clicked * gui/dialogs/task-editor-dialog.glade: Tweak to name the categories button and make it active * gui/calendar-model.c (get_categories): We can get the string list of categories directly now * cal-util/cal-component.c (cal_component_get_categories): new function to get the categories list as a string (cal_component_set_categories): same but for setting (free_icalcomponent): init the categories var (scan_categories): kill (scan_property): assign the prop to the categories var (cal_component_get_categories_list): deal with renaming var to categories (cal_component_set_categories_list): fix brokeness svn path=/trunk/; revision=7268
* Handle the case where the calendar view cannot be created; present aFederico Mena Quintero2001-01-046-3/+37
| | | | | | | | | | | | | | | | | | | 2001-01-03 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-commands.c (new_calendar): Handle the case where the calendar view cannot be created; present a warning dialog box. (new_calendar): Do not show the widget here, since we already show it in control-factory.c. * gui/control-factory.c (control_factory_new_control): Handle the case where the calendar view cannot be created. * gui/component-factory.c (create_view): Ditto. * gui/calendar-summary.h: Added prototype for calendar_summary_factory_init(). svn path=/trunk/; revision=7233
* If the component has no alarms, do not try to queue them.Federico Mena Quintero2001-01-034-4/+103
| | | | | | | | | | | | 2001-01-02 Federico Mena Quintero <federico@helixcode.com> * gui/alarm-notify.c (add_component_alarms): If the component has no alarms, do not try to queue them. (remove_client_alarms): New function to remove all the queued alarms for a calendar client. (alarm_notify_remove_client): Remove the client's alarms. svn path=/trunk/; revision=7218
* Do not compose strings so that they can be localized correctly. Also,Federico Mena Quintero2001-01-0311-112/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-02 Federico Mena Quintero <federico@helixcode.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Do not compose strings so that they can be localized correctly. Also, convert from UTF8 into the font's encoding. Fixes bug #1030. * gui/e-calendar-table.c (delete_component): Pass the widget argument to delete_component_dialog(). * gui/e-day-view.c (e_day_view_on_delete_appointment): Likewise. * gui/e-week-view.c (e_week_view_on_delete_appointment): Likewise. * gui/event-editor.c (file_delete_cb): Likewise. * gui/calendar-commands.c: Use BONOBO_UI_VERB() instead of BONOBO_UI_UNSAFE_VERB(). Guess what, all of our handler signatures were wrong. * gui/event-editor.c: Likewise. * gui/dialogs/task-editor.c: Likewise. * gui/goto-dialog.glade: Added some spacing between the month/year widgets and the calendar widget. svn path=/trunk/; revision=7211
* Unconditionally remove the client from the alarm notification system.Federico Mena Quintero2001-01-0311-773/+852
| | | | | | | | | | | | | | | | | | | | | | | | 2001-01-01 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (gnome_calendar_destroy): Unconditionally remove the client from the alarm notification system. Removed all the obsolete alarm code. * gui/event-editor.c: Removed some crufty externs left over from Gnomecal. * gui/calendar-commands.c: #include "goto.h" Removed crufty variables left over from Gnomecal. (new_calendar): Do not take a full_name parameter. (init_username): Removed function. (init_calendar): Wheeeeeeee! Removed crufty function. (quit_cmd): Removed function. * gui/print.c (WEEK_STARTS_ON_MONDAY): Made it unconditionally FALSE because we do not use the configuration setting anyways. Sigh, all the printing code needs to be revamped. svn path=/trunk/; revision=7209
* New BonoboPropertyEventless stuffIain Holmes2000-12-272-2/+11
| | | | | | pt 1 svn path=/trunk/; revision=7177
* Set draw background to FALSE. (e_day_view_reshape_long_event): ditto.Miguel de Icaza2000-12-252-0/+10
| | | | | | | | | | 2000-12-25 Miguel de Icaza <miguel@helixcode.com> * gui/e-day-view.c (e_day_view_init): Set draw background to FALSE. (e_day_view_reshape_long_event): ditto. (e_day_view_reshape_day_event): ditto. svn path=/trunk/; revision=7166
* Clean up translatable strings for translators, fixes bug 993JP Rosevear2000-12-232-6/+10
| | | | | | | | | 2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Clean up translatable strings for translators, fixes bug 993 svn path=/trunk/; revision=7136
* Make sure the current month is shown when the dialog pops up.JP Rosevear2000-12-233-2/+16
| | | | | | | | | | | 2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/goto.c (create_ecal): Make sure the current month is shown when the dialog pops up. * gui/goto-dialog.glade: Remove flicker svn path=/trunk/; revision=7135
* account for the case where there are no alarms, fixes crashJP Rosevear2000-12-232-2/+11
| | | | | | | | | 2000-12-22 JP Rosevear <jpr@helixcode.com> * pcs/cal-backend-file.c (cal_backend_file_get_alarms_for_object): account for the case where there are no alarms, fixes crash svn path=/trunk/; revision=7134
* New function to keep the ecal marked properly (create_ecal): move moreJP Rosevear2000-12-237-451/+40
| | | | | | | | | | | | | | | | | | 2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/goto.c (ecal_date_range_changed): New function to keep the ecal marked properly (create_ecal): move more creation code here, update marks (goto_dialog_init_widgets): listen for date_range_changed signal in the ecal * gui/calendar-commands.c (init_calendar): Remove ancient gnomecal cruft * gui/mark.[hc], gui/prop.c: Remove ancient gnomecal code that is no longer needed, last bit of bug 904 svn path=/trunk/; revision=7133
* translationsJP Rosevear2000-12-238-270/+365
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/goto-dialog.glade.h: translations * gui/goto-dialog.glade: new glade file for goto dialog * gui/gnome-cal.c (setup_widgets): Set date navigator attributes * gui/calendar-commands.h: remove prototype * gui/goto.h: Add prototype * gui/Makefile.am: Add glade file stuff * gui/gnome-cal.c (setup_widgets): Use accessors to configure the calendar item properly 2000-12-22 JP Rosevear <jpr@helixcode.com> * e-calendar-item.h: add prototypes * e-calendar-item.c (e_calendar_item_init): Set max_days_selected to 1 and days_to_start_week_selection to -1 as documented in header (e_calendar_item_set_arg): use new accessor methods (e_calendar_item_get_arg): ditto (e_calendar_item_get_max_days_sel): accessor (e_calendar_item_set_max_days_sel): ditto (e_calendar_item_get_days_start_week_sel): ditto (e_calendar_item_set_days_start_week_sel): ditto (e_calendar_item_class_init): add display_popup argument (e_calendar_item_init): initialize display_popup member (e_calendar_item_get_arg): get display_popup member (e_calendar_item_set_arg): set display_popup member (e_calendar_item_button_press): only show the popup menu if the member is set (e_calendar_item_get_display_popup): acessor (e_calendar_item_set_display_popup): ditto svn path=/trunk/; revision=7132
* Alarm trigger queueing for the GUI part.Federico Mena Quintero2000-12-2317-255/+1378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-21 Federico Mena Quintero <federico@helixcode.com> Alarm trigger queueing for the GUI part. * gui/alarm-notify.[ch]: New files with the high-level alarm notification system; mostly moved over from gnome-cal.c. The low-level timer stuff is still in alarm.[ch]. * gui/alarm-notify.c (alarm_notify_init): New function to initialize the alarm notification system. (alarm_notify_done): New function to shut down the alarm notification system. (alarm_notify_add_client): New function to start monitoring a calendar client for alarm notification. (alarm_notify_remove_client): New function to stop monitoring a client. * gui/alarm.h (AlarmDestroyNotify): Also pass in the alarm ID so the callback may know which ID is being destroyed. * gui/alarm.c (clear_itimer): New function. (pop_alarm): Use clear_itimer(). (alarm_done): New function to shut down the timer system. (alarm_add): Add some preconditions. Do not call the destroy notification function if we could not create the alarm. (alarm_ready): Pass the alarm ID to the destroy notify function. (alarm_remove): Likewise. Also, add some preconditions. * gui/gnome-cal.c: Removed the alarm notification functions from here since they are now in alarm-notify.c. (gnome_calendar_construct): Register the client with alarm_notify_add_client(). (gnome_calendar_destroy): Use alarm_notify_remove_client() to unregister the client. (obj_updated_cb): Do not do any alarm-related stuff. (obj_removed_cb): Likewise. * gui/main.c (main): Shut down the alarm timer system. (main): Initialize and shut down the alarm notification system. * gui/Makefile.am (evolution_calendar_SOURCES): Added alarm-notify.[ch] to the list of sources. * gui/calendar-model.c (calendar_model_set_cal_client): Only connect to the "cal_loaded" signal if the client is not already loaded. * gui/e-day-view.c (e_day_view_set_cal_client): Likewise. * gui/e-week-view.c (e_week_view_set_cal_client): Likewise. * gui/e-itip-control.c (update_calendar): Connect to "cal_loaded" before issuing the load request. svn path=/trunk/; revision=7130
* removed conflict indicatorsIain Holmes2000-12-221-8/+0
| | | | svn path=/trunk/; revision=7124
* Working Calendar summary.Iain Holmes2000-12-229-146/+315
| | | | | | Smile. svn path=/trunk/; revision=7123
* Fix erroneous documentationJP Rosevear2000-12-215-59/+116
| | | | | | | | | | | | | | | | | | | | | | 2000-12-20 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.h: Fix erroneous documentation * conduits/todo/todo-conduit.c (comp_from_remote_record): if !is_empty_time rather than is_empty_time (e_todo_context_new): Return a pointer rather than fill in a parameter (e_todo_context_foreach_change): Free just the key (e_todo_context_destroy): Plug this enormous leakage. I had assumed i had done this earlier, which isn't too bright when anything beyond 2 minutes ago is fuzzy. (comp_from_remote_record): Kill warnings (post_sync): Destroy the map later (conduit_get_gpilot_conduit): Fix e_todo_context_new params * conduits/calendar/calendar-conduit.[hc]: Similar to above svn path=/trunk/; revision=7105
* Remove pointless commentJP Rosevear2000-12-203-6/+18
| | | | | | | | | | | | | | | | 2000-12-19 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c: Remove pointless comment * conduits/todo/todo-conduit.c (is_empty_time): add utility function (comp_from_remote_record): use it 2000-12-19 JP Rosevear <jpr@helixcode.com> *conduit/address-conduit.c (ecard_from_remote_record): Convert pilot strings to utf for the e-cards. svn path=/trunk/; revision=7093
* Convert cal component strings to pilot character setJP Rosevear2000-12-203-27/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-19 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (local_record_from_comp): Convert cal component strings to pilot character set (comp_from_remote_record): vice versa * conduits/todo/todo-conduit.c: Same as above 2000-12-19 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (local_record_from_ecard): Convert ecard strings to pilot encodings 2000-12-19 JP Rosevear <jpr@helixcode.com> * e-pilot-util.c (e_pilot_utf8_to_pchar): Convert utf8 strings to pilot character set (e_pilot_utf8_from_pchar): vice versa * Makefile.am: Conditionally build e-pilot-util.[hc] because they depend on pilot-link stuff svn path=/trunk/; revision=7090
* Fix confusion in the way the range is expanded.Federico Mena Quintero2000-12-2011-369/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-19 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-backend-file.c (compute_alarm_range): Fix confusion in the way the range is expanded. * cal-util/cal-component.c (cal_component_alarms_free): Doh, alarms->alarms is a list, not a generic pointer. Free it properly. (cal_component_free_pilot_id): Removed unused function. (cal_component_free_pilot_status): Likewise. * gui/main.c (init_bonobo): Use VERSION instead of a hardcoded string. Pass argc by value, not by reference. Test the return value of gnome_init_with_popt_table(). * cal-client/cal-client.c (cal_client_free_alarms): Oops, missed implementing this function. * cal-util/timeutil.c (print_time_t): Better printing format. (isodiff_to_secs): Removed unused function. (isodiff_from_secs): Removed unused function. (time_day_end): Removed crufty part. (time_day_begin): Removed crufty part. (time_day_hour): Removed unused function. (format_simple_hour): Removed unused function. (get_time_t_hour): Removed unused function. (time_from_start_duration): Removed unused function. * cal-util/timeutil.h (parse_date): Removed unimplemented, unused function prototype. svn path=/trunk/; revision=7083
* Removed prototype for setup_alarm to fix a warning.Christopher James Lahey2000-12-202-0/+7
| | | | | | | | | 2000-12-19 Christopher James Lahey <clahey@helixcode.com> * gui/gnome-cal.c: Removed prototype for setup_alarm to fix a warning. svn path=/trunk/; revision=7081
* Alarm instance generation support for the Wombat.Federico Mena Quintero2000-12-1913-368/+828
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-18 Federico Mena Quintero <federico@helixcode.com> Alarm instance generation support for the Wombat. * idl/evolution-calendar.idl (Cal::CalAlarmInstance): Changed to have an alarm UID, the trigger time, and the actual occurrence time. (Cal::CalComponentAlarms): New structure to hold a pair of a component and its alarms that trigger in a particular range of time. (Cal::getAlarmsInRange): Changed to return a CalComponentAlarmsSeq. * cal-util/cal-component.h (CalAlarmInstance): New C-side structure to match the one on the IDL. (CalComponentAlarms): Ditto. (CalAlarmAction): Renamed from CalComponentAlarmAction. (CalAlarmTriggerType): Renamed from CalComponentAlarmTriggerType. Encoded the START and END parameters for the RELATED parameter in this enum, too. Added a NONE value for invalid or missing trigger specifications. (CalComponentAlarmTriggerRelated): Removed. (CalAlarmTrigger): Renamed from CalComponentAlarmTrigger. Renamed the duration/time fields to rel_duration/abs_time, respectively. * cal-util/cal-component.c (cal_component_alarm_get_trigger): Changed to use the new trigger structure. (cal_component_alarm_set_trigger): Likewise. (cal_component_alarm_free_trigger): Removed function. (cal_component_has_alarms): Count the elements in the alarm_uid_hash instead of trying to fetch the first alarm subcomponent. (cal_component_alarms_free): New function to free a CalComponentAlarms structure. (CalComponentAlarmPrivate): Added an uid property pointer. (scan_alarm_property): Scan for the our extension UID property. (cal_component_alarm_get_uid): New function. * pcs/cal-backend.h (CalBackendClass): Changed the signatures of the ::get_alarms_in_range() and ::get_alarms_for_object() methods. * pcs/cal-backend.c (cal_backend_get_alarms_in_range): Changed signature; use the new method. (cal_backend_get_alarms_for_object): Likewise. * pcs/cal-backend-file.c (compute_alarm_range): New spiffy function to compute a range of time for alarm occurrences. (add_alarm_occurrences_cb): New function to add alarms for a particular occurrence of the component. (generate_absolute_triggers): New function to add the absolute alarm triggers. (generate_alarms_for_comp): New function to generate all the alarm instances for a component. (cal_backend_file_get_alarms_in_range): Implemented. * pcs/cal.c (Cal_get_alarms_in_range): Use the new CalBackend API. (Cal_get_alarms_for_object): Likewise. (build_alarm_instance_seq): Removed old function. * cal-util/cal-util.c (cal_alarm_instance_list_free): Removed function. * cal-client/cal-client.c (build_component_alarms_list): New function to demarshal the component alarms sequence. (build_alarm_instance_list): New function to demarshal the alarm instances sequence. (cal_client_get_alarms_in_range): Updated for the new API. (cal_client_get_alarms_for_object): Updated for the new API. * gui/gnome-cal.c: Temporary #ifdef-ing out of alarm-related stuff to make it build. svn path=/trunk/; revision=7076
* Removed unused function, a relic from Gnomecal.Federico Mena Quintero2000-12-163-35/+5
| | | | | | | | | 2000-12-15 Federico Mena Quintero <federico@helixcode.com> * cal-util/timeutil.[ch] (time_from_isodate): Removed unused function, a relic from Gnomecal. svn path=/trunk/; revision=7054
* Fix the sign in the HAVE_TM_GMTOFF caseDan Winship2000-12-162-1/+6
| | | | | | | * cal-util/timeutil.c (time_from_isodate): Fix the sign in the HAVE_TM_GMTOFF case svn path=/trunk/; revision=7053
* Removed getdate.y. We no longer use it; it is a relic from Gnomecal.Federico Mena Quintero2000-12-163-1005/+7
| | | | | | | | | | | 2000-12-15 Federico Mena Quintero <federico@helixcode.com> * gui/Makefile.am (evolution_calendar_SOURCES): Removed getdate.y. We no longer use it; it is a relic from Gnomecal. * gui/getdate.y: Removed file. svn path=/trunk/; revision=7051
* Fixes bug #955.Federico Mena Quintero2000-12-1510-118/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-14 Federico Mena Quintero <federico@helixcode.com> Fixes bug #955. * gui/weekday-picker.c (WeekdayPickerPrivate): Added a field for the week_start_day, to be used in the same way as calendar-config.h defines it. Removed the week_starts_on_monday flag. (day_event_cb): Use the week_start_day. (colorize_items): Likewise. (configure_items): Likewise. (weekday_picker_set_week_start_day): New function. (weekday_picker_get_week_start_day): New function. (weekday_picker_set_week_starts_on_monday): Removed function. (weekday_picker_get_week_starts_on_monday): Removed function. * gui/widget-util.[ch]: New files with utilities for creating or configuring widgets. * gui/widget-util.c (date_edit_new): New function to create an EDateEdit configured with the calendar's preferences; moved over from event-editor.c. * gui/event-editor.c (make_recur_weekly_special): Use weekday_picker_set_week_start_day() and the corresponding function from calendar-config.h. (init_widgets): Likewise. (make_date_edit_with_time): Removed function. (make_recur_ending_until_special): Use date_edit_new(). (make_date_edit): Likewise. * gui/dialogs/task-editor.c (task_editor_create_date_edit): Likewise. * gui/event-editor-dialog.glade: Removed references to make_date_edit_with_time(); replace them with make_date_edit(). * gui/Makefile.am (evolution_calendar_SOURCES): Added widget-util.[ch] to the list of sources. svn path=/trunk/; revision=7037
* Reset the widths of the columns with pixbufs to the actual pixbufs' sizes;Federico Mena Quintero2000-12-152-2/+9
| | | | | | | | | | | 2000-12-14 Federico Mena Quintero <federico@helixcode.com> * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): Reset the widths of the columns with pixbufs to the actual pixbufs' sizes; now ETable properly computes its column widths so we do not need to add extra padding here. svn path=/trunk/; revision=7031
* #elsif -> #elifChris Toshok2000-12-151-1/+1
| | | | svn path=/trunk/; revision=7020
* #define this to 500, not nothing. Also, move this bit after the otherDan Winship2000-12-142-6/+12
| | | | | | | | * gui/calendar-model.c (_XOPEN_SOURCE): #define this to 500, not nothing. Also, move this bit after the other #includes to prevent potential messiness. svn path=/trunk/; revision=7008
* Even though icaltime_from_timet() now properly ignores the is_utc argumentFederico Mena Quintero2000-12-1411-44/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-13 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (ensure_mandatory_properties): Even though icaltime_from_timet() now properly ignores the is_utc argument since time_t values *are* in UTC by definition, we were passing FALSE for that argument's value in a bunch of places. So although it is ignored, changed them to TRUE for consistency. Hopefully newer versions of libical will remove that argument entirely since it does not make sense to speak of non-absolute time_t values. * cal-util/cal-recur.c (cal_recur_set_rule_end_date): Likewise. * conduits/calendar/calendar-conduit.c (comp_from_remote_record): Likewise. * conduits/todo/todo-conduit.c (comp_from_remote_record): Likewise. * gui/dialogs/task-editor.c (dialog_to_comp_object): Likewise. * gui/e-day-view.c (e_day_view_on_new_appointment): Likewise. (e_day_view_on_delete_occurrence): Likewise. (e_day_view_on_unrecur_appointment): Likewise. (e_day_view_on_unrecur_appointment): Likewise. (e_day_view_finish_long_event_resize): Likewise. (e_day_view_finish_resize): Likewise. (e_day_view_key_press): Likewise. (e_day_view_on_top_canvas_drag_data_received): Likewise. (e_day_view_on_main_canvas_drag_data_received): Likewise. * gui/e-week-view.c (e_week_view_key_press): Likewise. (e_week_view_on_new_appointment): Likewise. (e_week_view_on_delete_occurrence): Likewise. (e_week_view_on_unrecur_appointment): Likewise. * gui/event-editor.c (simple_recur_to_comp_object): Likewise. (recur_to_comp_object): Likewise. (dialog_to_comp_object): Likewise. * gui/gnome-cal.c (gnome_calendar_new_appointment): Likewise. svn path=/trunk/; revision=6995
* #if 0ed cal_obj_date_only_compare_func. (cal_object_get_rdate_end):Christopher James Lahey2000-12-148-9/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-13 Christopher James Lahey <clahey@helixcode.com> * cal-util/cal-recur.c: #if 0ed cal_obj_date_only_compare_func. (cal_object_get_rdate_end): Changed this function to get rid of a possible uninitialized error on the rdate function. * gui/calendar-model.c: Fixed some warnings involving the #define _XOPEN_SOURCE lines here. * gui/component-factory.c: #ifdef WANT_THE_EXECUTIVE_SUMMARYed out the summary_factory object since it's unused if WANT_THE_EXCUTIVE_SUMMARY is not defined. * gui/e-day-view.c: #if 0ed out e_day_view_remove_event_cb. (obj_updated_cb): #ifndef NO_WARNINGSed out a #warning. * gui/e-week-view-event-item.c (e_week_view_event_item_draw): Made it so that * gui/e-week-view.c (obj_updated_cb): #ifndef NO_WARNINGSed out a #warning. svn path=/trunk/; revision=6982
* Revert federico's change for now because of libtool limitations withJP Rosevear2000-12-133-2/+10
| | | | | | | | | | | | 2000-12-13 JP Rosevear <jpr@helixcode.com> * conduits/todo/Makefile.am: Revert federico's change for now because of libtool limitations with ldadding shared libtool libs * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=6963
* Use set_title_from_comp (save_todo_object): ditto (set_title_from_comp):JP Rosevear2000-12-132-10/+33
| | | | | | | | | | | | 2000-12-12 JP Rosevear <jpr@helixcode.com> * gui/dialogs/task-editor.c (task_editor_set_todo_object): Use set_title_from_comp (save_todo_object): ditto (set_title_from_comp): Make sure the title is encoded properly (as in event-editor) svn path=/trunk/; revision=6962
* Constify for new libical API. (set_text_list): Likewise.Federico Mena Quintero2000-12-136-39/+25
| | | | | | | | | | | | | | | | | | | | | 2000-12-12 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (get_text_list): Constify for new libical API. (set_text_list): Likewise. * cal-util/cal-recur.c (cal_recur_get_rule_end_date): Likewise. (cal_recur_set_rule_end_date): Likewise. * gui/e-itip-control.c (find_attendee): Likewise. (pstream_load): Likewise. * gui/gnome-cal.c (released_event_object_cb): Removed unused function. * gui/dialogs/task-editor.c (status_string_map): Removed unused variable. svn path=/trunk/; revision=6943
* More fixage - FedericoFederico Mena Quintero2000-12-126-15/+27
| | | | svn path=/trunk/; revision=6939
* This is to make things work with libical 0.21helix1 and later. WarningsFederico Mena Quintero2000-12-129-97/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-11 Federico Mena Quintero <federico@helixcode.com> This is to make things work with libical 0.21helix1 and later. Warnings remain because at last libical was constified; will take care of those tomorrow. * cal-util/timeutil.h: #include <ical.h> instead of <icaltypes.h> * gui/e-itip-control.c: Likewise. * gui/e-meeting-edit.c: Likewise. * gui/itip-utils.h: Likewise. * cal-util/cal-component.c (alarm_uid_from_prop): constify. (cal_component_get_status): Updated for new libical API. (cal_component_set_status): Likewise. * gui/calendar-model.c (ensure_task_complete): Removed unused status code. (ensure_task_not_complete): Update for new status API. * gui/dialogs/task-editor.c (status_string_to_value): Removed function. (status_value_to_string): Removed function. (status_string_map): Removed variable. (fill_widgets): Update for new status API. (dialog_to_comp_object): Likewise. svn path=/trunk/; revision=6932
* updated the tests on the start & end time just before calling theDamon Chaplin2000-12-123-35/+67
| | | | | | | | | | | | | | 2000-12-11 Damon Chaplin <damon@helixcode.com> * cal-util/cal-recur.c (generate_instances_for_chunk): updated the tests on the start & end time just before calling the callback. It was skipping occurrences that started before the required interval's start time, which was wrong. We want all occurrences that intersect the interval. (cal_obj_time_weekday): removed the CalRecurrence* argument, since it isn't needed. svn path=/trunk/; revision=6925
* added changed flags and added calls to a new functionDamon Chaplin2000-12-118-103/+534
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-11 Damon Chaplin <damon@helixcode.com> * gui/event-editor.c: added changed flags and added calls to a new function event_editor_set_changed() to set & reset this flag. Added prompt_to_save_changed() which is called when the user selects File/Close or the window's close button. Fixed the 'All day event' toggle button. Made the 'Alarm' page sensitive as appropriate when filling widgets. (Though note that the alarm widgets are not being set yet.) * gui/dialogs/task-editor.c: added changed flag as above. * gui/event-editor-dialog.glade: used good names for all the classification radio buttons so we can access them in the code. * gui/event-editor.c (init_widgets): use the "show week numbers" config option in the recurrence preview calendar. * gui/e-day-view.c (e_day_view_update_event_label): use 9:00 instead of 09:00 in the main view, as we do everywhere else now. It means the times won't line up, but they are easier to read which I think is better. Added support for Page Up/Down, though I think it should move the selection rather than just scroll the canvas. * cal-util/cal-recur.c (generate_instances_for_chunk): removed the end parameter since we should be using the chunk end time now. Added single_rule parameter for when we are generating the occurrences of a single RRULE, in which case the event's start date is not included in the occurrences output (unless it results from the RRULE expansion). Both of these fix problems when using COUNT. * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): fixed bug when checking if the new start day starts on the week start day. If you select a complete week it should now show the Week view. svn path=/trunk/; revision=6896
* Free the strings we get from the editables.Federico Mena Quintero2000-12-093-18/+55
| | | | | | | | | | | | 2000-12-08 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (dialog_to_comp_object): Free the strings we get from the editables. * gui/dialogs/task-editor.c (dialog_to_comp_object): Likewise. This sucks; this code should be shared between the two dialogs. svn path=/trunk/; revision=6868
* Free the dates we get from the component.Federico Mena Quintero2000-12-092-0/+8
| | | | | | | | | 2000-12-08 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (fill_widgets): Free the dates we get from the component. svn path=/trunk/; revision=6867
* Attach signal handlers to the e_scrolled_table's etable rather than to theJP Rosevear2000-12-092-4/+19
| | | | | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * gui/e-calendar-table.c (e_calendar_table_init): Attach signal handlers to the e_scrolled_table's etable rather than to the e_scrolled_table directly (e_calendar_table_on_double_click): This signal provides more params now svn path=/trunk/; revision=6866
* Got rid of code referencing the ETableScrolled proxy functions.Christopher James Lahey2000-12-082-3/+8
| | | | | | | | | 2000-12-07 Christopher James Lahey <clahey@helixcode.com> * gui/e-calendar-table.c: Got rid of code referencing the ETableScrolled proxy functions. svn path=/trunk/; revision=6855
* Ugly hack for syncing until pcs can be altered (longer term)JP Rosevear2000-12-083-3/+26
| | | | | | | | | | | 2000-12-07 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (post_sync): Ugly hack for syncing until pcs can be altered (longer term) * conduits/todo/todo-conduit.c (post_sync): ditto svn path=/trunk/; revision=6849
* add EXTRA_GNOME_LIBS.Chris Toshok2000-12-082-0/+6
| | | | | | | | | 2000-12-07 Chris Toshok <toshok@helixcode.com> * cal-client/Makefile.am (client_test_LDADD): add EXTRA_GNOME_LIBS. svn path=/trunk/; revision=6844
* Create an empty cal component if the object has been deleted.JP Rosevear2000-12-083-3/+16
| | | | | | | | | | | | 2000-12-07 JP Rosevear <jpr@helixcode.com> * pcs/cal-backend.c (cal_backend_compute_changes_foreach_key): Create an empty cal component if the object has been deleted. * idl/evolution-calendar.idl: Bit shift the change type constants properly svn path=/trunk/; revision=6843
* Unref the component from the objects list; it got referenced as many timesFederico Mena Quintero2000-12-082-0/+7
| | | | | | | | | | 2000-12-07 Federico Mena Quintero <federico@helixcode.com> * cal-client/cal-client.c (cal_client_generate_instances): Unref the component from the objects list; it got referenced as many times as appropriate for the instances list. svn path=/trunk/; revision=6836
* Confirm before deleting the event.Federico Mena Quintero2000-12-072-8/+17
| | | | | | | | | 2000-12-06 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (file_delete_cb): Confirm before deleting the event. svn path=/trunk/; revision=6833
* unref the pixbuf when finished with it62000-12-072-1/+6
| | | | | | | | | 2000-12-06 <purify@the-dot-in.helixcode.com> * gui/e-week-view.c (e_week_view_init): unref the pixbuf when finished with it svn path=/trunk/; revision=6832
* Fixes bug #920.Federico Mena Quintero2000-12-0712-63/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-06 Federico Mena Quintero <federico@helixcode.com> Fixes bug #920. * gui/e-calendar-table.c (delete_component): New function. (e_calendar_table_on_delete_task): Use delete_component(). (e_calendar_table_on_key_press): Likewise. Also, mark the event as handled. * gui/calendar-model.c (calendar_model_get_component): Renamed function from calendar_model_get_cal_object(). (calendar_model_delete_task): Removed function. * gui/dialogs/delete-comp.[ch]: New files with the dialog for deleting a calendar component. * gui/e-day-view.c (e_day_view_on_delete_appointment): Confirm before actually deleting the appointment. * gui/e-week-view.c (e_week_view_on_delete_appointment): Likewise. * gui/dialogs/Makefile.am (libcal_dialogs_a_SOURCES): Added delete-comp.[ch] to the list of sources. * cal-util/cal-component.c (cal_component_destroy): Free the alarm UID hash. svn path=/trunk/; revision=6828
* kill (Cal_get_changes): return the corba sequence directlyJP Rosevear2000-12-076-105/+66
| | | | | | | | | | | | | | | | | | | | | 2000-12-06 JP Rosevear <jpr@helixcode.com> * pcs/cal.c (build_change_seq): kill (Cal_get_changes): return the corba sequence directly * pcs/cal-backend.h: update prototype * pcs/cal-backend.c (cal_backend_compute_changes_foreach_key): Build the corba struct rather than the old calobjchange thing (cal_backend_compute_changes): ditto. build and return the actual corba sequence rather than the list of calobjchanges (cal_backend_get_changes): return the corba sequence * cal-util/cal-util.h: Remove CalObjChange cruft * cal-util/cal-util.c (cal_obj_change_list_free): Kill svn path=/trunk/; revision=6826
* Update so as not to conflict with calendar (next_changed_item): update toJP Rosevear2000-12-0715-451/+388
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-06 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (map_name): Update so as not to conflict with calendar (next_changed_item): update to use CalClientChange instead of CalObjChange (compute_status): ditto (pre_sync): ditto (for_each_modified): since we now have the cal component we can call local_record_from_comp directly * conduits/todo/todo-conduit.c: same as above * pcs/cal-backend.c: Remove much logging cruft (cal_backend_compute_changes): Calculate the changes based on the hashed database (cal_backend_get_changes): call cal_backend_compute_changes (cal_backend_compute_changes_foreach_key): hash callback for calculating deletions * pcs/cal-backend.h: update protype, remove logging cruft from object * pcs/cal.c (build_change_seq): dup the calobj rather than the uid now (Cal_get_changes): rename from Cal_get_changed_uids (cal_get_epv): reflect name change in epv * cal-util/cal-util.c (cal_obj_change_list_free): update assertion * cal-util/cal-util.h: CalObjChange now returns the entire ical component, update the change types. This should all go away shortly * idl/evolution-calendar.idl: getChangedUIds -> getChanges. CalObjChange now contains the calobj rather than the uid, update the change types * cal-client/cal-client.c (cal_client_get_changes): rename from cal_client_get_changed_uids to make idl and addressbook * cal-client/cal-client.h: Update prototype * cal-client/cal-client.c (build_change_list): Build a list of CalClientChange instead of CalObjChange * cal-client/cal-client-types.c (cal_client_change_list_free): Free a glist of CalClientChanges * cal-client/cal-client-types.h: New file. Declarations for CalClientChange. * cal-client/Makefile.am: Build new files svn path=/trunk/; revision=6822
* Fix my build stupidty READ THE MACROJP Rosevear2000-12-063-0/+8
| | | | | | | | | | 2000-12-06 JP Rosevear <jpr@helixcode.com> * conduits/todo/Makefile.am: Fix my build stupidty READ THE MACRO * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=6806
* Initialize max_large_digit_width to 0 to prevent crazy sizing issues.JP Rosevear2000-12-052-1/+6
| | | | | | | | | 2000-12-04 JP Rosevear <jpr@helixcode.com> * gui/e-day-view-time-item.c (e_day_view_time_item_get_column_width): Initialize max_large_digit_width to 0 to prevent crazy sizing issues. svn path=/trunk/; revision=6782
* Remove mysterious #include inserted by mmeeks to break the build.Dan Winship2000-12-052-1/+5
| | | | | | | * gui/e-itip-control.c: Remove mysterious #include inserted by mmeeks to break the build. svn path=/trunk/; revision=6779
* return NULL if we can't create a view.Michael Meeks2000-12-0516-327/+56
| | | | | | | | | | | | | | 2000-12-04 Michael Meeks <michael@helixcode.com> * e-shell-view.c (get_control_for_uri): return NULL if we can't create a view. (setup_evolution_shell_view_interface): add precondition. + lots of cleans. svn path=/trunk/; revision=6778
* Fixes bug #918.Federico Mena Quintero2000-12-034-0/+120
| | | | | | | | | | | | | | | | | | | | | | 2000-12-01 Federico Mena Quintero <federico@helixcode.com> Fixes bug #918. * gui/weekday-picker.c (WeekdayPickerPrivate): Added a field for a set of blocked days. (weekday_picker_set_blocked_days): New function to configure a set of days that cannot be modified by the user. (weekday_picker_get_blocked_days): Query function for the above. (day_event_cb): Block the appropriate days from being modified. * gui/event-editor.c (get_start_weekday_mask): New function to compute a day mask for the start day of a calendar component. (set_recur_special_defaults): New function to set sane defaults for the recurrence special widgets. (fill_recurrence_widgets): Use set_recur_special_defaults(). (make_recur_weekly_special): Block the appropriate days. svn path=/trunk/; revision=6767
* Removed debugging message. (control_factory_init): Ditto.Federico Mena Quintero2000-12-024-14/+10
| | | | | | | | | | | | | 2000-12-01 Federico Mena Quintero <federico@helixcode.com> * gui/control-factory.c (set_prop): Removed debugging message. (control_factory_init): Ditto. * gui/calendar-commands.c (calendar_set_uri): Ditto. * gui/main.c (main): Ditto. svn path=/trunk/; revision=6762
* New function to generate a title and convert it from UTF8 before settingFederico Mena Quintero2000-12-022-10/+32
| | | | | | | | | | | | 2000-12-01 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (set_title_from_comp): New function to generate a title and convert it from UTF8 before setting it on the window. (save_event_object): Uset set_title_from_comp(). (event_editor_set_event_object): Likewise. svn path=/trunk/; revision=6761
* Debug message cleanups (comp_from_remote_record): Properly set the icalJP Rosevear2000-12-013-26/+53
| | | | | | | | | | | | | | | | | 2000-11-30 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c: Debug message cleanups (comp_from_remote_record): Properly set the ical description field * conduits/calendar/calendar-conduit.c (is_empty_time): New utility functions that look for all 0's in a struct tm (comp_from_remote_record): use above (local_record_from_comp): Correctly set the repeatForever value so that we repeat forever instead of a really long time (comp_from_remote_record): Only set the cal component recurrence until field when repeatForever is 0 svn path=/trunk/; revision=6748
* fixed a bug that caused the calendar to segfault when the iTip control wasJesse Pavel2000-12-012-0/+8
| | | | | | | * gui/e-itip-control.c: fixed a bug that caused the calendar to segfault when the iTip control was destroyed. svn path=/trunk/; revision=6741
* Empty by_day entries are no longer indicated by ICAL_RECURRENCE_ARRAY_MAXJP Rosevear2000-12-012-4/+61
| | | | | | | | | | | 2000-11-30 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (local_record_from_comp): Empty by_day entries are no longer indicated by ICAL_RECURRENCE_ARRAY_MAX not SHRT_MAX. Calculate weekly and monthly by date recurrences properly (get_pilot_day): Convert ical day to corresponding integer for pilot day svn path=/trunk/; revision=6740
* Debug message cleanups (get_ical_day): Fix off-by-one error which affectedJP Rosevear2000-12-012-36/+43
| | | | | | | | | | | | | | 2000-11-30 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c: Debug message cleanups (get_ical_day): Fix off-by-one error which affected weekly occurences. (comp_from_remote_record): Monthly by day and by date were reversed (nth_weekday): function taken from event-editor.c that encodes BYDAY values - this needs to be in libical really. (comp_from_remote_record): Don't set the description if the pilot note is null. Rejig so that we don't have to free objects. svn path=/trunk/; revision=6738
* removed #ifdef ENABLE_NLS/#endif on Miguel's request.Gediminas Paulauskas2000-11-301-2/+0
| | | | | | | | 2000-11-30 Gediminas Paulauskas <menesis@delfi.lt> removed #ifdef ENABLE_NLS/#endif on Miguel's request. svn path=/trunk/; revision=6727
* Upgrade of the alarm framework. We now access alarms by a uniqueFederico Mena Quintero2000-11-303-37/+240
| | | | | | | | | | | | | | | | | | | | | | | | 2000-11-28 Federico Mena Quintero <federico@helixcode.com> Upgrade of the alarm framework. We now access alarms by a unique identifier. This UID is added as an extension property to alarm subcomponents when their parent components are scanned by CalComponent. * cal-util/cal-component.c (CalComponentPrivate): Added a hash table of alarm UIDs -> alarm properties. (cal_component_init): Initialize priv->alarm_uid_hash. (free_icalcomponent): Free the elements in the priv->alarm_uid_hash. (scan_alarm): New function to add scan an alarm subcomponent and ensure that it has an alarm UID extension property so that we can add it to our mapping table. (cal_component_get_first_alarm): Removed function. (cal_component_get_next_alarm): Removed function. (cal_component_get_alarm_uids): New function. (cal_component_get_alarm): New function. svn path=/trunk/; revision=6713
* Return a struct rather than a pointer to a struct (compare):JP Rosevear2000-11-293-74/+39
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-28 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (local_record_to_pilot_record): Return a struct rather than a pointer to a struct (compare): local_record_to_pilot_record now returns a struct (prepare): ditto (free_prepare): remove as per gnome-pilot changes (conduit_get_gpilot_conduit): don't listen for free_prepare signal * conduits/calendar/calendar-conduit.c: Same as above 2000-11-28 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (local_record_to_pilot_record): Return a struct rather than a pointer to a struct (view_cb): kill warning (compare): local_record_to_pilot_record now returns a struct (prepare): ditto (free_prepare): remove as per gnome-pilot changes (conduit_get_gpilot_conduit): don't listen for free_prepare signal svn path=/trunk/; revision=6708
* Reformatted the table spec to make it easier to read.Federico Mena Quintero2000-11-294-32/+74
| | | | | | | | | | | | 2000-11-28 Federico Mena Quintero <federico@helixcode.com> * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): Reformatted the table spec to make it easier to read. * gui/tag-calendar.c: Oops, Damon wrote this, not me. Fixed the Authors line. svn path=/trunk/; revision=6707
* finished 12-hour support and tried to tidy up & comment the drawing codeDamon Chaplin2000-11-299-358/+719
| | | | | | | | | | | 2000-11-28 Damon Chaplin <damon@helixcode.com> * gui/e-day-view*.[hc]: * gui/e-week-view*.[hc]: finished 12-hour support and tried to tidy up & comment the drawing code in places. Also fixed a couple of bugs I spotted. All the options on the 'Calendar' page should now work. svn path=/trunk/; revision=6706
* Removed debugging shizz.Jesse Pavel2000-11-292-12/+5
| | | | svn path=/trunk/; revision=6701
* *gui/calendar-model.c: added a preliminary change to have AssignedJesse Pavel2000-11-282-3/+18
| | | | | | To-Do items have a corresponding icon. svn path=/trunk/; revision=6686
* Remove "complete" fieldJP Rosevear2000-11-283-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-27 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.h: Remove "complete" field * conduit/address-conduit.c (print_local): Make it print useful debug info (print_remote): ditto (local_record_from_ecard): Make sure phone numbers get out to the pilot (ecard_from_remote_record): Set phone strings to "" if they are null (sequence_complete): unref the book view (view_cb): ref the book view (free_prepare): do nothing * backend/pas/pas-backend-file.c (pas_backend_file_book_view_free): Destroy the card lists with the rest of the view. (pas_backend_file_changes): Don't destroy the card lists here (pas_backend_file_book_view_free): Free the card/id lists in the change context here, the correct place. (pas_backend_file_changes): instead of here... 2000-11-27 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (free_prepare): Ditto * conduits/calendar/calendar-conduit.c (free_prepare): Adjust free_prepare to the correct signal parameters. Don't actually do anything - there is a semantic discrepancy that needs to be resolved. 2000-11-27 JP Rosevear <jpr@helixcode.com> * providers/local/.cvsignore: shush svn path=/trunk/; revision=6681
* == instead of =.Damon Chaplin2000-11-272-1/+5
| | | | | | | | 2000-11-26 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c (e_day_view_set_days_shown): == instead of =. svn path=/trunk/; revision=6676
* added more support for config settings.Damon Chaplin2000-11-2710-199/+892
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-26 Damon Chaplin <damon@helixcode.com> * gui/gnome-cal.c: added more support for config settings. * gui/e-week-view.[hc]: * gui/e-day-view.[hc]: added support for setting - show event end times, week start day and 12-hour format (unfinished). * gui/e-day-view-time-item.c: started 12-hour support. * gui/tag-calendar.c (prepare_tag): use end_day + 1 since we want to include the last day. * gui/event-editor.c (set_all_day): minor change when turning all_day off - set the event end to one hour after the event start if it is on or before the start time. Also added more comments to make it a bit clearer. * cal-util/cal-recur.c (cal_obj_time_add_days): use a gint for day rather than a guint since we now support -ve days. Also fixed bug with weekly recurrences. * gui/dialogs/task-editor.c (task_editor_create_date_edit): use config settings. * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config): updated EDateEdit calls. svn path=/trunk/; revision=6675
* use a gint for day rather than a guint since we now support -ve days. AlsoDamon Chaplin2000-11-272-56/+128
| | | | | | | | * cal-util/cal-recur.c (cal_obj_time_add_days): use a gint for day rather than a guint since we now support -ve days. Also fixed bug with weekly recurrences. svn path=/trunk/; revision=6674
* use config settings.Damon Chaplin2000-11-272-18/+11
| | | | | | | | | | * gui/dialogs/task-editor.c (task_editor_create_date_edit): use config settings. * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config): updated EDateEdit calls. svn path=/trunk/; revision=6673
* Unref the ETable extras.Federico Mena Quintero2000-11-252-0/+7
| | | | | | | | | 2000-11-24 Federico Mena Quintero <federico@helixcode.com> * gui/e-calendar-table.c (e_calendar_table_init): Unref the ETable extras. svn path=/trunk/; revision=6663
* DOH, fixed reversed test for the presence of the icalcomp's parent. ThisFederico Mena Quintero2000-11-253-1/+10
| | | | | | | | | | | | 2000-11-24 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (free_icalcomponent): DOH, fixed reversed test for the presence of the icalcomp's parent. This was causing memory leaks in the Wombat and elsewhere. * pcs/cal-backend.c (cal_backend_set_node_timet): Plug leak. svn path=/trunk/; revision=6661
* Use the new libical external iterators (icalcomponent_begin_component()Federico Mena Quintero2000-11-2511-1377/+45
| | | | | | | | | | | | | | | | | | | | | | | 2000-11-24 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-backend-file.c (scan_vcalendar): Use the new libical external iterators (icalcomponent_begin_component() and friends); the internal iterators are deprecated. * cal-util/test-recur.c (generate_occurrences): Likewise. * gui/e-itip-control.c (pstream_load): Likewise. * gui/e-meeting-edit.c (e_meeting_edit): Likewise. * pcs/cal-backend.c (cal_backend_log_entry): Plug leak. (cal_backend_log_sync): Free the entry->uid. * util/icalendar-save.[ch]: * util/icalendar-test.c: * util/icalendar.[ch]: Removed obsolete files. svn path=/trunk/; revision=6660
* Squeek - FedericoFederico Mena Quintero2000-11-221-1/+2
| | | | svn path=/trunk/; revision=6647
* Remove the check because it makes it look like the task is alreadyFederico Mena Quintero2000-11-226-55/+101
| | | | | | | | | | | | | | | | | | | 2000-11-21 Federico Mena Quintero <federico@helixcode.com> * gui/task.xpm: Remove the check because it makes it look like the task is already completed. This fixes bug #819. * gui/task-recurring.xpm: Make it use a prettier overlaid icon. * gui/task-*.xpm: Made the things look like little spiral-bound notebooks. * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): Make the default column order be icon/completed/summary. 2000-11-21 Federico Mena Quintero <federico@helixcode.com> svn path=/trunk/; revision=6646
* The icon column is not editable!Federico Mena Quintero2000-11-2210-1323/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-21 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-model.c (calendar_model_is_cell_editable): The icon column is not editable! * gui/calendar-commands.c (todo_properties_changed): Removed. (time_format_changed): Removed. (colors_changed): Removed. * gui/calendar-commands.h: * gui/prop.c (prop_apply): * gui/calendar-commands.c (init_calendar): Removed the old to-do list crap. * gui/gncal-todo.[ch]: Removed obsolete files. * gui/Makefile.am (evolution_calendar_SOURCES): Removed gncal-todo.[ch]. * gui/gnome-cal.c (gnome_calendar_todo_properties_changed): Removed. (gnome_calendar_time_format_changed): Removed. (gnome_calendar_colors_changed): Removed. svn path=/trunk/; revision=6635
* Fixed size allocation bug.Jesse Pavel2000-11-223-54/+21
| | | | svn path=/trunk/; revision=6634
* added cancellation code to our program; people can cancel meetings,Jesse Pavel2000-11-173-21/+131
| | | | | | which is the best thing to do for most meetings. svn path=/trunk/; revision=6594
* #!/usr/bin/perl -pi.bakMichael Meeks2000-11-169-14/+14
| | | | | | | | s/GNOME\/GenericFactory/GNOME\/ObjectFactory/g; s/Bonobo\/EmbeddableFactory/GNOME\/ObjectFactory/g; s/Bonobo\/GenericFactory/GNOME\/ObjectFactory/g; svn path=/trunk/; revision=6580
* Fixed REPLY code.Jesse Pavel2000-11-152-0/+5
| | | | svn path=/trunk/; revision=6573
* I created this file to store some commonly used enumeration to stringJesse Pavel2000-11-146-48/+231
| | | | | | | | | | * gui/itip-utils.[ch]: I created this file to store some commonly used enumeration to string mappings and functions. * gui/Makefile.am: this was changed to reflect the addition of the above file. * gui/e-itip-control.c: added code to take action on a REPLY message. * gui/e-meeting-edit.c: bug fixes. svn path=/trunk/; revision=6566
* OK, bugzilla bug #829 is fixed and that does not redeem me from extremeFederico Mena Quintero2000-11-133-2/+10
| | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> OK, bugzilla bug #829 is fixed and that does not redeem me from extreme procrastination. Wheeeeeeeeeeeeeeee! * gui/event-editor-dialog.c: Changed the "Rule view" label to "Preview" svn path=/trunk/; revision=6558
* Misspelled "occurrences". (fill_recurrence_widgets): Sensitize the "CustomFederico Mena Quintero2000-11-133-84/+149
| | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (make_recur_ending_count_special): Misspelled "occurrences". (fill_recurrence_widgets): Sensitize the "Custom recurrence" radio button as appropriate. (sensitize_recur_widgets): Resurrected the recurrence custom warning label. (get_widgets): Load the recurrence custom warning bin. * gui/event-editor-dialog.glade: Add an empty alignment for the recurrence custom warning label. svn path=/trunk/; revision=6556
* New function; re-tag the calendar when its date range changes.Federico Mena Quintero2000-11-132-13/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (recur_preview_date_range_changed_cb): New function; re-tag the calendar when its date range changes. (init_widgets): Connect to "date_range_changed" on the recurrence preview calendar. (make_recur_weekly_special): Connect to "changed" on the weekday picker. (recur_weekday_picker_changed_cb): New function; re-tag the calendar. (month_day_menu_selection_done_cb): Re-tag the calendar. (recur_month_index_value_changed_cb): Likewise. (recur_ending_until_changed_cb): Likewise. (recur_ending_count_value_changed_cb): Likewise. (make_recur_monthly_special): Connect to "value_changed" on the adjustment of the month index. (make_recur_ending_until_special): Connect to "changed" on the ending-until date picker. (make_recur_ending_count_special): Connect to "value_changed" on the ending-count adjustment. (init_widgets): Set to zero the maximum number of selectable days in the recurrence preview calendar. Set the week_start_day from the calendar's configuration. svn path=/trunk/; revision=6552
* Block the signals as appropriate. (fill_ending_date): Ditto.Federico Mena Quintero2000-11-132-3/+77
| | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (clear_widgets): Block the signals as appropriate. (fill_ending_date): Ditto. (fill_recurrence_widgets): Ditto. (recurrence_type_toggled_cb): Only sensitize the widgets and preview the recurrence if the toggle button is active. svn path=/trunk/; revision=6550
* Add the stupid files, yo - FedericoFederico Mena Quintero2000-11-132-0/+188
| | | | svn path=/trunk/; revision=6549
* Clear the rdate and exrule lists from the component if we are setting aFederico Mena Quintero2000-11-1311-249/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (recur_to_comp_object): Clear the rdate and exrule lists from the component if we are setting a simple recurrence. (recur_to_comp_object): Set the exdate list here instead of in dialog_to_comp_object(). (preview_recur): New function to tag the recurrence preview calendar based on the information from the dialog box. (fill_exception_widgets): Fill the exception widgets here; moved over from fill_widgets(). (fill_recurrence_widgets): Call preview_recur(). Also, call fill_exception_widgets() first of all. (recurrence_type_toggled_cb): Call preview_recur(). (recur_interval_selection_done_cb): Likewise. (recur_ending_selection_done_cb): Likewise. (recurrence_exception_add_cb): Likewise. (recurrence_exception_modify_cb): Likewise. (recurrence_exception_delete_cb): Likewise. (date_changed_cb): Likewise. (recur_interval_value_changed_cb): Likewise, new function. * gui/tag-calendar.[ch]: New files with utilities for tagging calendars. mark.[ch] should go away some day. * gui/tag-calendar.c (tag_calendar): Moved over from gnome_calendar_tag_calendar(). Take in a CalClient instead of a GnomeCalendar. Added API docs. (tag_calendar_by_comp): New function to tag a calendar based on a single calendar component instead of a whole client. * gui/gnome-cal.c (initial_load): Use tag_calendar_by_client(). (obj_updated_cb): Likewise. (obj_removed_cb): Likewise. (gnome_calendar_on_date_navigator_date_range_changed): Likewise. (editor_closed_cb): Free the closure. (destroy_editor_cb): Renamed from free_uid(). Do not free the UID; just unref the event editor. Our destroy handler to it will free things properly. This will also cause the corresponding calendar client to be unrefed. (editor_closed_cb): Use a flag on the GnomeCalendar to decide whether to remove the editor from the hash table. This is sort of icky. * gui/calendar-model.c (obj_updated_cb): If the object is new, we have to use e_table_model_row_inserted(), not row_changed(). Thanks to JP Rosevear for reporting this. * gui/Makefile.am (evolution_calendar_SOURCES): Added tag-calendar.[ch] to the list of sources. svn path=/trunk/; revision=6547
* Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*" to sync upMatt Bissiri2000-11-116-10/+16
| | | | | | | | | 2000-11-11 Matt Bissiri <bissiri@eecs.umich.edu> Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*" to sync up with yesterday's IDL re-scoping. svn path=/trunk/; revision=6541
* A very, long, very tedious IDL API rename and re-scoping;Michael Meeks2000-11-1114-545/+539
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this script + some grunt approximates the work: s/Evolution_MessageList/GNOME_Evolution_MessageList/g; s/GNOME_Evolution_MessageList_select_message/GNOME_Evolution_MessageList_selectMessage/g; s/GNOME_Evolution_MessageList_open_message/GNOME_Evolution_MessageList_openMessage/g; s/Evolution_Folder([ \t])/GNOME_Evolution_Folder$1/g; s/Evolution_FolderTypeList/GNOME_Evolution_FolderTypeList/g; s/Evolution_FolderBrowser/GNOME_Evolution_FolderBrowser/g; s/GNOME_Evolution_FolderBrowser_get_message_list/GNOME_Evolution_FolderBrowser_getMessageList/g; s/Evolution_LocalStorage/GNOME_Evolution_LocalStorage/g; s/GNOME_Evolution_LocalStorage_update_folder/GNOME_Evolution_LocalStorage_updateFolder/g; s/Evolution_ShellView/GNOME_Evolution_ShellView/g; s/GNOME_Evolution_ShellView_set_message/GNOME_Evolution_ShellView_setMessage/g; s/GNOME_Evolution_ShellView_unset_message/GNOME_Evolution_ShellView_unsetMessage/g; s/GNOME_Evolution_ShellView_change_current_view/GNOME_Evolution_ShellView_changeCurrentView/g; s/Evolution_StorageSetViewListener/GNOME_Evolution_StorageSetViewListener/g; s/GNOME_Evolution_StorageSetViewListener_folder_selected/GNOME_Evolution_StorageSetViewListener_notifyFolderSelected/g; s/GNOME_Evolution_StorageSetViewListener_storage_selected/GNOME_Evolution_StorageSetViewListener_notifyStorageSelected/g; s/Evolution_StorageSetView/GNOME_Evolution_StorageSetView/g; s/GNOME_Evolution_StorageSetView_add_listener/GNOME_Evolution_StorageSetView_addListener/g; s/GNOME_Evolution_StorageSetView_remove_listener/GNOME_Evolution_StorageSetView_removeListener/g; s/Evolution_Shell/GNOME_Evolution_Shell/g; s/GNOME_Evolution_Shell_get_component_for_type/GNOME_Evolution_Shell_getComponentByType/g; s/GNOME_Evolution_Shell_user_select_folder/GNOME_Evolution_Shell_selectUserFolder/g; s/GNOME_Evolution_Shell_get_local_storage/GNOME_Evolution_Shell_getLocalStorage/g; s/GNOME_Evolution_Shell_create_storage_set_view/GNOME_Evolution_Shell_createStorageSetView/g; s/Evolution_FolderSelectionListener/GNOME_Evolution_FolderSelectionListener/g; s/GNOME_Evolution_FolderSelectionListener_selected/GNOME_Evolution_FolderSelectionListener_notifySelected/g; s/GNOME_Evolution_FolderSelectionListener_cancel/GNOME_Evolution_FolderSelectionListener_notifyCanceled/g; s/Evolution_Storage/GNOME_Evolution_Storage/g; s/GNOME_Evolution_Storage_add_listener/GNOME_Evolution_Storage_addListener/g; s/GNOME_Evolution_Storage_remove_listener/GNOME_Evolution_Storage_removeListener/g; s/GNOME_Evolution_StorageListener_destroyed/GNOME_Evolution_StorageListener_notifyDestroyed/g; s/GNOME_Evolution_StorageListener_new_folder/GNOME_Evolution_StorageListener_notifyFolderCreated/g; s/GNOME_Evolution_StorageListener_update_folder/GNOME_Evolution_StorageListener_notifyFolderUpdated/g; s/GNOME_Evolution_StorageListener_removed_folder/GNOME_Evolution_StorageListener_notifyFolderRemoved/g; s/GNOME_Evolution_StorageRegistry_register_storage/GNOME_Evolution_StorageRegistry_addStorage/g; s/GNOME_Evolution_StorageRegistry_unregister_storage/GNOME_Evolution_StorageRegistry_removeStorageByName/g; s/Evolution_ShellComponent/GNOME_Evolution_ShellComponent/g; s/GNOME_Evolution_ShellComponent_set_owner/GNOME_Evolution_ShellComponent_setOwner/g; s/GNOME_Evolution_ShellComponent_unset_owner/GNOME_Evolution_ShellComponent_unsetOwner/g; s/GNOME_Evolution_ShellComponent_create_view/GNOME_Evolution_ShellComponent_createView/g; s/GNOME_Evolution_ShellComponent_async_create_folder/GNOME_Evolution_ShellComponent_addFolderAsync/g; s/GNOME_Evolution_ShellComponent_async_remove_folder/GNOME_Evolution_ShellComponent_removeFolderAsync/g; s/GNOME_Evolution_ShellComponent_populate_folder_context_menu/GNOME_Evolution_ShellComponent_populateFolderContextMenu/g; s/GNOME_Evolution_ShellComponentListener_report_result/GNOME_Evolution_ShellComponentListener_notifyResult/g; s/Evolution_Session/GNOME_Evolution_Session/g; s/GNOME_Evolution_Session_save_configuration/GNOME_Evolution_Session_saveConfiguration/g; s/GNOME_Evolution_Session_load_configuration/GNOME_Evolution_Session_loadConfiguration/g; s/Evolution_Calendar_Cal/GNOME_Evolution_Calendar_Cal/g; s/GNOME_Evolution_Calendar_Cal_get_n_objects/GNOME_Evolution_Calendar_Cal_countObjects/g; s/GNOME_Evolution_Calendar_Cal_get_object/GNOME_Evolution_Calendar_Cal_getObject/g; s/GNOME_Evolution_Calendar_Cal_get_uids/GNOME_Evolution_Calendar_Cal_getUIds/g; s/GNOME_Evolution_Calendar_Cal_get_changed_uids/GNOME_Evolution_Calendar_Cal_getChangedUIds/g; s/GNOME_Evolution_Calendar_Cal_get_objects_in_range/GNOME_Evolution_Calendar_Cal_getObjectsInRange/g; s/GNOME_Evolution_Calendar_Cal_get_alarms_in_range/GNOME_Evolution_Calendar_Cal_getAlarmsInRange/g; s/GNOME_Evolution_Calendar_Cal_get_alarms_for_object/GNOME_Evolution_Calendar_Cal_getAlarmsForObject/g; s/GNOME_Evolution_Calendar_Cal_update_object/GNOME_Evolution_Calendar_Cal_updateObject/g; s/GNOME_Evolution_Calendar_Cal_remove_object/GNOME_Evolution_Calendar_Cal_removeObject/g; s/Evolution_Calendar_Listener/GNOME_Evolution_Calendar_Listener/g; s/GNOME_Evolution_Calendar_Listener_cal_loaded/GNOME_Evolution_Calendar_Listener_notifyCalLoaded/g; s/GNOME_Evolution_Calendar_Listener_obj_updated/GNOME_Evolution_Calendar_Listener_notifyObjUpdated/g; s/GNOME_Evolution_Calendar_Listener_obj_removed/GNOME_Evolution_Calendar_Listener_notifyObjRemoved/g; s/Evolution_Calendar_CalFactory/GNOME_Evolution_Calendar_CalFactory/g; s/GNOME_Evolution_Calendar_CalFactory_load/GNOME_Evolution_Calendar_CalFactory_load/g; s/GNOME_Evolution_Calendar_CalFactory_create/GNOME_Evolution_Calendar_CalFactory_create/g; s/Evolution_Composer/GNOME_Evolution_Composer/g; s/GNOME_Evolution_Composer_set_headers/GNOME_Evolution_Composer_setHeaders/g; s/GNOME_Evolution_Composer_set_body_text/GNOME_Evolution_Composer_setBodyText/g; s/GNOME_Evolution_Composer_attach_MIME/GNOME_Evolution_Composer_attachMIME/g; s/GNOME_Evolution_Composer_attach_data/GNOME_Evolution_Composer_attachData/g; s/GNOME_Evolution_Composer_show/GNOME_Evolution_Composer_show/g; s/Evolution_Addressbook_SelectNames/GNOME_Evolution_Addressbook_SelectNames/g; s/GNOME_Evolution_Addressbook_SelectNames_add_section/GNOME_Evolution_Addressbook_SelectNames_addSection/g; s/GNOME_Evolution_Addressbook_SelectNames_get_entry_for_section/GNOME_Evolution_Addressbook_SelectNames_getEntryBySection/g; s/GNOME_Evolution_Addressbook_SelectNames_activate_dialog/GNOME_Evolution_Addressbook_SelectNames_activateDialog/g; s/Evolution_CardCursor/GNOME_Evolution_Addressbook_CardCursor/g; s/GNOME_Evolution_Addressbook_CardCursor_get_length/GNOME_Evolution_Addressbook_CardCursor_getLength/g; s/GNOME_Evolution_Addressbook_CardCursor_get_nth/GNOME_Evolution_Addressbook_CardCursor_getNth/g; s/Evolution_BookViewListener/GNOME_Evolution_Addressbook_BookViewListener/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_added/GNOME_Evolution_Addressbook_BookViewListener_notifyCardAdded/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_removed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardRemoved/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_changed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardChanged/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_sequence_complete/GNOME_Evolution_Addressbook_BookViewListener_notifySequenceComplete/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_status_message/GNOME_Evolution_Addressbook_BookViewListener_notifyStatusMessage/g; s/Evolution_BookView/GNOME_Evolution_Addressbook_BookView/g; s/Evolution_Book/GNOME_Evolution_Addressbook_Book/g; s/GNOME_Evolution_Addressbook_Book_get_vcard/GNOME_Evolution_Addressbook_Book_getVCard/g; s/GNOME_Evolution_Addressbook_Book_can_write/GNOME_Evolution_Addressbook_Book_isWriteable/g; s/GNOME_Evolution_Addressbook_Book_can_write_card/GNOME_Evolution_Addressbook_Book_isCardWriteable/g; s/GNOME_Evolution_Addressbook_Book_create_card/GNOME_Evolution_Addressbook_Book_addCard/g; s/GNOME_Evolution_Addressbook_Book_remove_card/GNOME_Evolution_Addressbook_Book_removeCard/g; s/GNOME_Evolution_Addressbook_Book_modify_card/GNOME_Evolution_Addressbook_Book_modifyCard/g; s/GNOME_Evolution_Addressbook_Book_get_cursor/GNOME_Evolution_Addressbook_Book_getCursor/g; s/GNOME_Evolution_Addressbook_Book_get_book_view/GNOME_Evolution_Addressbook_Book_getBookView/g; s/GNOME_Evolution_Addressbook_Book_get_changes/GNOME_Evolution_Addressbook_Book_getChanges/g; s/GNOME_Evolution_Addressbook_Book_check_connection/GNOME_Evolution_Addressbook_Book_checkConnection/g; s/GNOME_Evolution_Addressbook_Book_get_static_capabilities/GNOME_Evolution_Addressbook_Book_getStaticCapabilities/g; s/GNOME_Evolution_Addressbook_Book_get_name/GNOME_Evolution_Addressbook_Book_getName/g; s/Evolution_BookListener/GNOME_Evolution_Addressbook_BookListener/g; s/GNOME_Evolution_Addressbook_BookListener_respond_create_card/GNOME_Evolution_Addressbook_BookListener_notifyCardCreated/g; s/GNOME_Evolution_Addressbook_BookListener_respond_remove_card/GNOME_Evolution_Addressbook_BookListener_notifyCardRemoved/g; s/GNOME_Evolution_Addressbook_BookListener_respond_modify_card/GNOME_Evolution_Addressbook_BookListener_notifyCardModified/g; s/GNOME_Evolution_Addressbook_BookListener_report_open_book_progress/GNOME_Evolution_Addressbook_BookListener_notifyOpenBookProgress/g; s/GNOME_Evolution_Addressbook_BookListener_respond_open_book/GNOME_Evolution_Addressbook_BookListener_notifyBookOpened/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_cursor/GNOME_Evolution_Addressbook_BookListener_notifyCursorRequested/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_view/GNOME_Evolution_Addressbook_BookListener_notifyViewRequested/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_changes/GNOME_Evolution_Addressbook_BookListener_notifyChangesRequested/g; s/GNOME_Evolution_Addressbook_BookListener_report_connection_status/GNOME_Evolution_Addressbook_BookListener_notifyConnectionStatus/g; s/Evolution_BookFactory/GNOME_Evolution_Addressbook_BookFactory/g; s/GNOME_Evolution_Addressbook_BookFactory_open_book/GNOME_Evolution_Addressbook_BookFactory_openBook/g; s/Evolution_SummaryComponent/GNOME_Evolution_Summary_Component/g; s/GNOME_Evolution_Summary_SummaryComponent_set_owner/GNOME_Evolution_Summary_Component_setOwner/g; s/GNOME_Evolution_Summary_SummaryComponent_unset_owner/GNOME_Evolution_Summary_Component_unsetOwner/g; s/GNOME_Evolution_Summary_SummaryComponent_create_view/GNOME_Evolution_Summary_Component_createView/g; s/GNOME_Evolution_Summary_SummaryComponent_destroy_view/GNOME_Evolution_Summary_Component_destroyView/g; s/Evolution_Summary([ \t])/GNOME_Evolution_Summary_ViewFrame$1/g; s/Evolution_Summary_set_title/GNOME_Evolution_Summary_ViewFrame_setTitle/g; s/Evolution_Summary_set_icon/GNOME_Evolution_Summary_ViewFrame_setIcon/g; s/Evolution_Summary_update_component/GNOME_Evolution_Summary_ViewFrame_updateComponent/g; s/GNOME_GNOME/GNOME/g; s/GNOME_GNOME/GNOME/g; s/GNOME_GNOME/GNOME/g; svn path=/trunk/; revision=6535
* Inc the iterator before finding the next changed item.JP Rosevear2000-11-113-2/+11
| | | | | | | | | | | 2000-11-10 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (for_each_modified): Inc the iterator before finding the next changed item. * conduits/todo/todo-conduit.c (for_each_modified): ditto svn path=/trunk/; revision=6533
* I wrote the code so that recipients of meeting requests can replyJesse Pavel2000-11-102-8/+185
| | | | | | | * gui/e-itip-control.c: I wrote the code so that recipients of meeting requests can reply appropriately. svn path=/trunk/; revision=6527
* fixed a bug that would make the calendar segfault if the meeting editorJesse Pavel2000-11-102-6/+14
| | | | | | | | * gui/e-meeting-edit.c: fixed a bug that would make the calendar segfault if the meeting editor were called up twice without first saving the component. svn path=/trunk/; revision=6526
* updated the GUI to allow the user to add PUBLISHed events to his calendar,Jesse Pavel2000-11-093-27/+125
| | | | | | | | * gui/e-itip-control.c, gui/e-itip-control.glade: updated the GUI to allow the user to add PUBLISHed events to his calendar, and created unworking buttons for meeting requests. svn path=/trunk/; revision=6518
* These changes fix bugzilla bugs #874 and #875.Federico Mena Quintero2000-11-099-135/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-08 Federico Mena Quintero <federico@helixcode.com> These changes fix bugzilla bugs #874 and #875. * cal-util/cal-component.c (cal_component_get_exdate_list): Return a list of CalComponentDateTime instead of simple struct icaltimetype objects. Exception date properties *can* contain a timezone parameter, so we need to include those if they are present. (cal_component_set_exdate_list): On the input, handle a list of CalComponentDateTime structures. On the internals, handle a list of struct datetime instead of plain properties. (cal_component_free_exdate_list): Handle a list of CalComponentDateTime structures. (scan_exdate): Create a list of struct datetime structures. (free_icalcomponent): Free the exdate_list properly. * cal-util/cal-recur.c (generate_instances_for_chunk): Use the proper types for exception dates. * gui/comp-util.h: * gui/comp-util.c: New files with utilities for manipulating calendar component objects. (cal_comp_util_add_exdate): New function. * gui/Makefile.am (evolution_calendar_SOURCES): Added comp-util.[ch] to the list of sources. * gui/e-day-view.c (add_exdate): New convenience function to add an exception date to a calendar component. (e_day_view_on_unrecur_appointment): Use cal_comp_util_add_exdate(). (e_day_view_on_delete_occurrence): Likewise. * gui/e-week-view.c (e_week_view_on_delete_occurrence): Likewise. (e_week_view_on_unrecur_appointment): Likewise. * gui/event-editor.c (nth_weekday): Be paranoid about valid position values. (fill_widgets): Use the proper types for exdates. (dialog_to_comp_object): Likewise. svn path=/trunk/; revision=6517
* Adjust the valid range of the month index spin button depending on theFederico Mena Quintero2000-11-092-0/+76
| | | | | | | | | | 2000-11-08 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (adjust_day_index_spin): Adjust the valid range of the month index spin button depending on the selection of the day/weekday menu. svn path=/trunk/; revision=6514
* *gui/e-itip-control.c, gui/e-itip-control.glade: changed the GUI,Jesse Pavel2000-11-083-108/+143
| | | | | | and added some extra feedback for the user. svn path=/trunk/; revision=6495
* Added a "changed" signal to notify of changes to the set of selected days.Federico Mena Quintero2000-11-083-1/+33
| | | | | | | | | | | | | 2000-11-07 Federico Mena Quintero <federico@helixcode.com> * gui/weekday-picker.h (WeekdayPickerClass): Added a "changed" signal to notify of changes to the set of selected days. * gui/weekday-picker.c (weekday_picker_class_init): Create the "changed" signal. (weekday_picker_set_days): Emit the "changed" signal. svn path=/trunk/; revision=6487
* *gui/e-itip-control.c, gui/e-itip-control.glade: changed to GUI toJesse Pavel2000-11-075-57/+256
| | | | | | | | | | accomodate dynamically generated buttons, which will be tailored to the type of iTip message that is incoming. *gui/e-meeting-dialog.glade gui/e-meeting-edit.c: added a new button to publish events, in addition to requesting meetings. svn path=/trunk/; revision=6463
* Removed the old recurrence page. Wheeeeeeeeee!Federico Mena Quintero2000-11-076-473/+342
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-05 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor-dialog.glade: Removed the old recurrence page. Wheeeeeeeeee! * gui/event-editor.c (make_recurrence_special): Clear the monthly widgets. (make_recur_monthly_special): Create the monthly widgets. (clear_widgets): Clear the monthly values. (simple_recur_to_comp_object): Fill in the monthly values. (fill_recurrence_widgets): Fill in the monthly and yearly source values. (dialog_to_comp_object): Take in a CalComponent instead of using the event editor's directly. (recur_to_comp_object): Likewise. (simple_recur_to_comp_object): Likewise. (EventEditorPrivate): Removed the widgets from the old recurrence page. (get_widgets): Likewise. (clear_widgets): Likewise. (dialog_to_comp_object): If the description or summary are empty, just clear the description list or summary property, respectively, instead of saving empty ones. (simple_recur_to_comp_object): Set the week_start field. * gui/main.c: Fix includes, and add calendar-config.h. * gui/Makefile.am (evolution_calendar_SOURCES): The glade messages file should not be in SOURCES. svn path=/trunk/; revision=6417
* added some checks for the type of an incoming iCal component beforeJesse Pavel2000-11-073-6/+38
| | | | | | passing it off to the CalComponent routines svn path=/trunk/; revision=6415
* Removed unnecessary .cvsignore files.Christopher James Lahey2000-11-063-4/+5
| | | | | | | | | 2000-11-05 Christopher James Lahey <clahey@helixcode.com> * doc/.cvsignore, doc/C/.cvsignore: Removed unnecessary .cvsignore files. svn path=/trunk/; revision=6411
* Block signals from the toggle button. (date_changed_cb): MergedFederico Mena Quintero2000-11-052-86/+55
| | | | | | | | | | | | | | | | | | | | | 2000-11-03 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (check_all_day): Block signals from the toggle button. (date_changed_cb): Merged check_dates() and check_times() into this function; provide better behavior as well. (check_dates): Removed function. (check_times): Removed function. (init_widgets): Connect to the "changed" signal on the start_time and end_time widgets. (check_all_day): Use a better test. 2000-11-03 Federico Mena Quintero <federico@helixcode.com> * gui/component/select-names/Makefile.am: Clean the idl-generated files properly. svn path=/trunk/; revision=6396
* Clean the idl-generated sources properly. Likewise.Federico Mena Quintero2000-11-045-33/+37
| | | | | | | | | | | | | | | | 2000-11-03 Federico Mena Quintero <federico@helixcode.com> * gui/Makefile.am: Clean the idl-generated sources properly. * cal-client/Makefile.am: Likewise. 2000-11-02 Federico Mena Quintero <federico@helixcode.com> * gui/dialogs/task-editor.c (init_widgets): The date editor's signal is now "changed". (completed_changed): Renamed callback to reflect the name of the signal. svn path=/trunk/; revision=6366
* The big api rename ...Michael Meeks2000-11-024-9/+378
| | | | | | | | 2000-11-02 Michael Meeks <michael@helixcode.com> * The big api rename ... svn path=/trunk/; revision=6346
* Makefile.am: renamed GNOMELOCALEDIR to EVOLUTION_LOCALEDIRGediminas Paulauskas2000-11-021-1/+1
| | | | svn path=/trunk/; revision=6323
* *** empty log message ***Gediminas Paulauskas2000-11-011-0/+2
| | | | svn path=/trunk/; revision=6311
* modified or added a bunch of .cvsignore to ignore generated files, whichGediminas Paulauskas2000-11-013-1/+6
| | | | | | | | | * modified or added a bunch of .cvsignore to ignore generated files, which are not in repository. * call *textdomain() in various files only when ENABLE_NLS is defined svn path=/trunk/; revision=6310
* calendar: made all gui show localizedGediminas Paulauskas2000-11-012-0/+8
| | | | | | | camel: updated charset info from newest libunicode po: updated Lithuanian translation svn path=/trunk/; revision=6308
* Hmmm. SHRT_MAX changed to ICAL_RECURRENCE_ARRAY_MAX in libical. Deal withFederico Mena Quintero2000-11-012-6/+21
| | | | | | | | | | | | | | | | | 2000-10-31 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (count_by_xxx): Hmmm. SHRT_MAX changed to ICAL_RECURRENCE_ARRAY_MAX in libical. Deal with it. (fill_recurrence_widgets): Likewise. (simple_recur_to_comp_object): Fixed incorrect assertion. The weekday picker is not the immediate child of the recurrence special container. (fill_recurrence_widgets): Call make_recurrence_special() after setting the recurrence period type. (fill_ending_date): Call make_recurrence_ending_special(). This would be so much nicer if GTK+ were model/view all over. svn path=/trunk/; revision=6305
* this is a generated file. remove itDan Winship2000-11-011-369/+0
| | | | svn path=/trunk/; revision=6301
* Let the warning make sense (compute_pid): removeJP Rosevear2000-11-015-159/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-31 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (cursor_cb): Let the warning make sense (compute_pid): remove (local_record_from_ecard): Create local record from ecard - not finished (local_record_from_uid): Obtain local_record from uid with the proper e-book way (set_status_cleared): Add empty callback (add_archive_record): kill (delete_archive_record): kill (archive_record): Add empty callback (conduit_get_gpilot_conduit): Update signal connects * backend/pas/pas-backend-file.c (vcard_change_type): Function to determine the type of change - not finished (pas_backend_file_search_changes): Create a view and callback based on how the cards have changed (pas_backend_file_process_get_changes): Implement the get changes operation for files (pas_backend_file_process_client_requests): Add GetChanges method for processing * backend/pas/pas-book.c (pas_book_queue_get_changes): Add changes to the list (impl_Evolution_Book_get_changes): implement object method (pas_book_get_epv): Add get changes to epv (pas_book_respond_get_changes): Respond to the get changes operation * backend/pas/pas-book.h: Add GetChanges PASOperation * backend/idl/addressbook.idl: add get_changes and respond_get_changes methods * backend/ebook/e-book.c (e_book_get_changes): Client function to a view of the changed objects * backend/ebook/e-book.h: New prototype 2000-10-31 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.h: Remove add/del/mod hashes and add changed_hash. * conduits/calendar/calendar-conduit.h: ditto * conduits/todo/todo-conduit.c (next_changed_item): Utility function to get the next "really" changed item (changed status can be cleared now) (compute_status): Compute status based on changed_hash (pre_sync): Fill changed_hash and counts adds/mods/dels (set_status_cleared): New callback handler - avoid double syncing (for_each_modified): Use next_changed_item to iterate (add_archive_record): kill (delete_archive_record): kill (archive_record): New callback handler - mark/unmark archive status (conduit_get_gpilot_conduit): Adjust signal connects * conduits/calendar/calendar-conduit.c: ditto svn path=/trunk/; revision=6297
* New function. We split it from the radio callback so that we can call itFederico Mena Quintero2000-11-012-7/+28
| | | | | | | | | | | | 2000-10-30 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (sensitize_recur_widgets): New function. We split it from the radio callback so that we can call it explicitly from fill_recurrence_widgets(). (fill_recurrence_widgets): Call sensitize_recur_widgets() as appropriate. svn path=/trunk/; revision=6293
* Removed the geometry and hidden arguments. This code is ancient.Federico Mena Quintero2000-10-314-54/+20
| | | | | | | | | | | | | | 2000-10-30 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-commands.c (new_calendar): Removed the geometry and hidden arguments. This code is ancient. (all_calendars): Made static. This sucks; configuration should be notification-based instead of "let's iterate through all open calendars". (active_calendars): Removed. Functions can check the length of the all_calendars list if they are interested. svn path=/trunk/; revision=6274
* Do not take in an extra data pointer. (summary_changed_cb): Use a singleFederico Mena Quintero2000-10-312-25/+45
| | | | | | | | | | | | | 2000-10-30 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (sync_entries): Do not take in an extra data pointer. (summary_changed_cb): Use a single call back to sync both entries. (sync_date_edits): New function to sync two EDateEdit widgets. (init_widgets): Connect the general and recurrence starting date widgets. svn path=/trunk/; revision=6268
* New function. (general_summary_changed_cb): Sync the general summary toFederico Mena Quintero2000-10-284-1331/+522
| | | | | | | | | | | | | | | | | | | | | 2000-10-27 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (sync_entries): New function. (general_summary_changed_cb): Sync the general summary to the recurrence summary widget. (recurrence_summary_changed_cb): Vice-versa. (init_widgets): Hook to the summaries. * event-editor-dialog.glade: Do not expand/fill the start and end date so that the "all day event" button is not pushed all the way to the right. Decrease the spacing between the recurrence sentence widgets. Remove a spurious empty label that was lurking around the recurrence widgets. Make the alarm widgets expand the right way. Delete old recurrence widgets. svn path=/trunk/; revision=6246
* Connect to the recurrence ending menu. (recur_ending_selection_done_cb):Federico Mena Quintero2000-10-284-330/+256
| | | | | | | | | | | | | | | | | | | | | 2000-10-27 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (init_widgets): Connect to the recurrence ending menu. (recur_ending_selection_done_cb): Implemented. (make_recurrence_ending_special): Implemented. (make_recur_ending_until_special): Implemented. (fill_ending_date): Implemented. (make_recur_ending_count_special): Implemented. (simple_recur_to_comp_object): Fill in the ending date. (clear_widgets): Clear the recurrence ending widgets. * gui/event-editor-dialog.glade: Moved the recurrence type radio buttons to a single hbox to save space. Fixed the lower value of the recurrence interval spin button. Removed the stale widgets from the recurrence ending date part. svn path=/trunk/; revision=6245
* fixed problems in which I allocated CORBAJesse Pavel2000-10-282-0/+7
| | | | | | strings of 0 length, but then didn't NULL terminate them. svn path=/trunk/; revision=6243
* Check boundary case of fast sync72000-10-283-2/+9
| | | | | | | | | | | 2000-10-27 <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (check_for_slow_setting): Check boundary case of fast sync * conduits/todo/todo-conduit.c (check_for_slow_setting): ditto svn path=/trunk/; revision=6233
* Remove invalid test. (local_record_from_comp): If the event is all day,72000-10-273-6/+20
| | | | | | | | | | | | | 2000-10-27 <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (add_archive_record): Remove invalid test. (local_record_from_comp): If the event is all day, mark it as timeless (comp_from_remote_record): Timeless events take up all day * conduits/todo/todo-conduit.c (add_archive_record): ditto svn path=/trunk/; revision=6230
* Get archive field while parsing (map_write_foreach): Write out archiveJP Rosevear2000-10-273-3/+8
| | | | | | | | | | | | | | | | 2000-10-27 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c (map_sax_start_element): Get archive field while parsing (map_write_foreach): Write out archive field (e_pilot_map_pid_is_archived): implement (e_pilot_map_uid_is_archived): ditto (e_pilot_map_insert): Insert new node structures (e_pilot_map_lookup_pid): Take into account the list is now a list of structures (e_pilot_map_lookup_uid): ditto svn path=/trunk/; revision=6224
* SHUT THE FUCK UP, DONNIE. DUDE, THEY PEED YOUR FUCKING RUG.Federico Mena Quintero2000-10-275-18/+4
| | | | svn path=/trunk/; revision=6220
* This is the new recurrence page, partially finished. I just want it on CVSFederico Mena Quintero2000-10-278-255/+1478
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the new recurrence page, partially finished. I just want it on CVS for if my laptop explodes. This is highly disgusting code. It has to discriminate between the recurrence types we support and the ones we do not. I hate iCalendar. I hate it more than Hi-Fi\'s pizza. 2000-10-26 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (EventEditorPrivate): Integrate Anna's new recurrence page. Replace the old widget pointers with the new ones. Modified the relevant functions accordingly and added plenty of new ones. (event_editor_get_cal_client): New function. (fill_recurrence_widgets): This is *THE* tricky function for you. It has to discriminate whether we get a recurrence we support for editing or not. And this is not trivial. Sigh. (event_editor_update_widgets): Added preconditions and API docs. * event-editor-dialog.glade: Fixed all the spacings/ paddings/packing options so that the widgets will look right if the dialog box is resized. Also fixes some misaligned widgets. * cal-util/cal-component.c (cal_component_set_rdate_list): Removed incorrect assertion. svn path=/trunk/; revision=6219
* unsigned chars to isalphaMichael Meeks2000-10-274-4/+9
| | | | | | | | | | 2000-10-26 Michael Meeks <michael@helixcode.com> * pcs/cal-factory.c (str_tolower): unsigned chars to isalpha * cal-util/calobj.c (weekdaylist, weekdaynum): ditto. svn path=/trunk/; revision=6217
* Small fixes.Jesse Pavel2000-10-273-25/+60
| | | | svn path=/trunk/; revision=6211
* updating some pt_BR <ricardo@conectiva.com.br>Jorge Godoy2000-10-271-0/+2
| | | | | | any problem, just tell me, and i reverse the commit. svn path=/trunk/; revision=6209
* User bonobo_control_get_remote_uid_container, not the old version52000-10-261-0/+1
| | | | | | | | | 2000-10-25 <jpr@helixcode.com> * component/e-summary-factory.c (control_activate): User bonobo_control_get_remote_uid_container, not the old version svn path=/trunk/; revision=6196
* Fix ChangeLog bustage - FedericoFederico Mena Quintero2000-10-261-143/+145
| | | | svn path=/trunk/; revision=6188
* removed the Evolution-Composer generated files, due to a tip on how we doJesse Pavel2000-10-264-98/+10
| | | | | | | | | | | | | * removed the Evolution-Composer generated files, due to a tip on how we do things. * gui/e-meeting-edit.c: I fixed a bunch of memory-deallocation bugs, and finished the initial integration with the mailer. * gui/Makefile.am: made the build us the Evolution-Composer.idl from the composer directory. svn path=/trunk/; revision=6176
* Removed generated files.Jesse Pavel2000-10-265-1868/+9
| | | | svn path=/trunk/; revision=6175
* added this from the composer IDL sourcesJesse Pavel2000-10-268-6/+2440
| | | | | | | | | | | | | | | | | * gui/Evolution-Composer.idl: added this from the composer IDL sources * gui/Makefile.am: changed to reflect the above IDL and the associated orbit-idl generated files. * gui/Evolution-Composer.h, gui/Evolution-Composer-common.c, gui/Evolution-Composer-stubs.c, gui/Evolution-Composer-skels.c: the generated files, as per the above description. * gui/e-meeting-edit.c: more work towards mailer integration. svn path=/trunk/; revision=6174
* I've added code to interact with the mailer's CORBA interfaces, thoughJesse Pavel2000-10-252-15/+121
| | | | | | it's not yet working. svn path=/trunk/; revision=6155
* Lookup a pid by uid. (e_pilot_map_lookup_uid): Lookup a uid by pid. NowJP Rosevear2000-10-253-36/+21
| | | | | | | | | | | | | | | | | | | | | | 2000-10-23 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c (e_pilot_map_lookup_pid): Lookup a pid by uid. (e_pilot_map_lookup_uid): Lookup a uid by pid. Now this is wrapped, we can store archive info internally * e-pilot-map.h: New accessor prototype 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (local_record_from_comp): Use new e-pilot-map lookup function (match): ditto * conduits/calendar/calendar-conduit.c (local_record_from_comp): Use new e-pilot-map lookup function (match): ditto svn path=/trunk/; revision=6146
* AM_GNOME_GETTEXT doesn't use $(datadir)/locale as the locale dir. (ItDan Winship2000-10-246-5/+13
| | | | | | | uses either $(prefix)/share/locale or $(prefix)/lib/locale.) Cope with this. svn path=/trunk/; revision=6141
* Use new libeconduit calls and abstractionJP Rosevear2000-10-245-57/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.h: Use new libeconduit calls and abstraction * conduit/address-conduit.c: ditto 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.h: Use new libeconduit calls and abstraction * conduits/calendar/calendar-conduit.c: ditto * conduits/calendar/calendar-conduit.h: ditto * conduits/todo/todo-conduit.c: ditto * conduits/calendar/Makefile.am: Add libeconduit-static.la * conduits/calendar/calendar-conduit.c (post_sync): Use e_pilot_map_write (pre_sync): Use e_pilot_map_read 2000-10-23 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c: Operate with EPilotMap structure so things are abstract to the caller (e_pilot_map_pid_is_archived): Infrastructure for marking records as archived (e_pilot_map_uid_is_archived): ditto * e-pilot-map.h: Add more to public interface, including EPilotMap structure svn path=/trunk/; revision=6134
* Add libeconduit-static.laJP Rosevear2000-10-243-123/+22
| | | | | | | | | | | 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduits/calendar/Makefile.am: Add libeconduit-static.la * conduits/calendar/calendar-conduit.c (post_sync): Use e_pilot_map_write (pre_sync): Use e_pilot_map_read svn path=/trunk/; revision=6119
* Pilot map functions grabbed from existing conduitsJP Rosevear2000-10-243-124/+22
| | | | | | | | | | | | | | | | | 2000-10-23 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c: Pilot map functions grabbed from existing conduits * e-pilot-map.h (e_pilot_map_write): Header 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduits/todo/Makefile.am: Add libeconduit-static.la * conduits/todo/todo-conduit.c (post_sync): Use e_pilot_map_write (pre_sync): Use e_pilot_map_read svn path=/trunk/; revision=6116
* removed conflict indicatorDamon Chaplin2000-10-211-1/+0
| | | | svn path=/trunk/; revision=6098
* removed debug message.Damon Chaplin2000-10-217-12/+113
| | | | | | | | | | | | | | | | | | | | | | | 2000-10-21 Damon Chaplin <damon@helixcode.com> * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_use_24_hour_toggled): removed debug message. * gui/e-calendar-table.c (e_calendar_table_save_state): new function to save the state of the table to a given file. * gui/e-calendar-table.h (struct _ECalendarTable): added etable field so we can access it to save the state. * gui/gnome-cal.c (gnome_calendar_destroy): call e_calendar_table_save_state() to save the state of the TaskPad. (setup_widgets): load the state of the TaskPad. * gui/calendar-config.c: added support for the default view. * gui/gnome-cal.c (gnome_calendar_construct): (gnome_calendar_set_view_internal): use/set the default view setting. svn path=/trunk/; revision=6097
* added more (working) integration with theJesse Pavel2000-10-213-37/+29
| | | | | | meeting schedular. svn path=/trunk/; revision=6096
* added more (unworking) integration with theJesse Pavel2000-10-213-3/+67
| | | | | | meeting schedular. svn path=/trunk/; revision=6088
* Pulling up stuff from the 0.6 branchJP Rosevear2000-10-219-40/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-20 JP Rosevear <jpr@helixcode.com> * pcs/cal-backend.c (cal_backend_destroy): New destroy handler to properly stop the timer, sync the log and unref the URI. (cal_backend_last_client_gone): Just emit the signal, clean up work is done in cal_backend_destroy now. * pcs/cal-backend-file.c (cal_backend_file_load): Unref the uri we are replacing NOT the new uri. 2000-10-20 JP Rosevear <jpr@helixcode.com> * conduits/todo/Makefile.am: Fix build * conduits/calendar/Makefile.am: Fix build 2000-10-20 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (delete_archive_record): Don't throw an error * conduits/todo/todo-conduit.c (delete_archive_record): ditto 2000-10-20 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit-control-applet.c: Add defines * conduits/todo/todo-conduit-config.h: put #ifdefs around functions can't make this a public interface in the usual way as then the symbols would be exported * conduits/todo/todo-conduit.c: Kill warnings. clahey will be happy! Add some defines to include only the necessary config functions. (conduit_get_gpilot_conduit): Hook up archive signals * conduits/calendar/calendar-conduit.c: Same as above * conduits/calendar/calendar-conduit-control-applet.c: ditto * conduits/calendar/calendar-conduit-config.h: ditto svn path=/trunk/; revision=6086
* s/BonoboUIHandler/BonoboUIComponent/Michael Meeks2000-10-213-17/+23
| | | | | | | | | | 2000-10-20 Michael Meeks <michael@helixcode.com> * gui/calendar-commands.h: s/BonoboUIHandler/BonoboUIComponent/ * gui/calendar-commands.c (properties_cmd): ditto. svn path=/trunk/; revision=6084
* use cal_component_has_alarms().Damon Chaplin2000-10-202-15/+6
| | | | | | | | | 2000-10-20 Damon Chaplin <damon@helixcode.com> * gui/calendar-model.c (calendar_model_value_at): use cal_component_has_alarms(). svn path=/trunk/; revision=6075
* added _click-to-add-message, though I'm not sure if i18n will work.Damon Chaplin2000-10-2014-44/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-20 Damon Chaplin <damon@helixcode.com> * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): added _click-to-add-message, though I'm not sure if i18n will work. * cal-util/cal-recur.c (cal_obj_time_add_hours): (cal_obj_time_add_minutes): (cal_obj_time_add_seconds): updated to handle -ve args. * cal-util/timeutil.c (time_add_day): set tm_isdst to -1 before calling mktime(). * cal-util/cal-recur.c (generate_instances_for_chunk): don't call the callback if the event ends exactly on the interval start time. * gui/e-week-view.c (e_week_view_reshape_event_span): * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): * gui/e-day-view.c (e_day_view_reshape_long_event): (e_day_view_reshape_day_event): use cal_component_has_alarms(). * cal-util/cal-component.[hc]: added cal_component_has_alarms(). 2000-10-16 Damon Chaplin <damon@helixcode.com> * gui/calendar-config.c (config_read): set default MonthVPanePosition to 1 rather than 0, so if you move the hpane you'll see the date navigator. svn path=/trunk/; revision=6063
* *** empty log message ***Jesse Pavel2000-10-204-5/+100
| | | | svn path=/trunk/; revision=6062
* *** empty log message ***Jesse Pavel2000-10-204-1/+27
| | | | svn path=/trunk/; revision=6050
* Build fixes from Jacob, same as the other branch.Ettore Perazzoli2000-10-202-0/+7
| | | | svn path=/trunk/; revision=6035
* remove; redundant.Michael Meeks2000-10-193-268/+60
| | | | | | | | | | | | | 2000-10-19 Michael Meeks <michael@helixcode.com> * gui/calendar-commands.c (tb_print_cb): remove; redundant. * gui/event-editor.c (create_menu, create_toolbar): kill. (event_editor_destroy): upd. (event_editor_construct): update to new UI handler, cast priv->general_summary to a widget not an object. svn path=/trunk/; revision=6009
* Updated Spanish translationHector Garcia2000-10-183-0/+6
| | | | svn path=/trunk/; revision=5990
* die. (debug_xml_cb): add debugging hook.Michael Meeks2000-10-183-295/+43
| | | | | | | | | | | | | 2000-10-18 Michael Meeks <michael@helixcode.com> * gui/dialogs/task-editor.c (create_menu, create_toolbar): die. (debug_xml_cb): add debugging hook. * gui/dialogs/Makefile.am: add EVOLUTION_DATADIR * gui/dialogs/task-editor.c (task_editor_construct): upd for new UI. svn path=/trunk/; revision=5973
* Add definesJP Rosevear2000-10-187-57/+82
| | | | | | | | | | | | | | | | | | | | | | 2000-10-17 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit-control-applet.c: Add defines * conduits/todo/todo-conduit-config.h: put #ifdefs around functions can't make this a public interface in the usual way as then the symbols would be exported * conduits/todo/todo-conduit.c: Kill warnings. clahey will be happy! Add some defines to include only the necessary config functions. (conduit_get_gpilot_conduit): Hook up archive signals * conduits/calendar/calendar-conduit.c: Same as above * conduits/calendar/calendar-conduit-control-applet.c: ditto * conduits/calendar/calendar-conduit-config.h: ditto svn path=/trunk/; revision=5967
* Added focus to the general_summary text entry.Anna Marie Dirks2000-10-171-0/+8
| | | | | | | 2000-10-17 Anna Marie Dirks <anna@helixcode.com> * gui/event-editor.c: Added focus to the general_summary text entry. svn path=/trunk/; revision=5964
* Minor update to the icon /tigertTuomas Kuosmanen2000-10-171-25/+25
| | | | svn path=/trunk/; revision=5963
* *** empty log message ***Jesse Pavel2000-10-173-7/+194
| | | | svn path=/trunk/; revision=5950
* Remove pilot cruft. All pilot stuff is in the conduits now and uses theJP Rosevear2000-10-1611-435/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-16 JP Rosevear <jpr@helixcode.com> * cal-client/cal-client.h: Remove pilot cruft. All pilot stuff is in the conduits now and uses the logging facility. * pcs/cal-backend-file.c: ditto * pcs/cal-backend.h: ditto * pcs/cal-backend.c: ditto * pcs/cal.c: ditto * pcs/cal.h: ditto * idl/evolution-calendar.idl: ditto * cal-util/cal-component.h: ditto * cal-util/cal-component.c: ditto * cal-client/cal-client.c: ditto * conduits/calendar/calendar-conduit.c (local_record_from_comp): Take a stab at storing recurrence stuff on the pilot properly * pcs/cal-backend.c (cal_backend_update_object): Don't log the event until after the update in case its a new item svn path=/trunk/; revision=5940
* new versions of the calendar view icons - comments welcome.Tuomas Kuosmanen2000-10-166-187/+157
| | | | | | /tigert svn path=/trunk/; revision=5939
* Move a bunch of CPPFLAGS defs into INCLUDES so they doesn't overrideDan Winship2000-10-162-3/+5
| | | | | | any CPPFLAGS set at configure time svn path=/trunk/; revision=5935
* Icon property for the calendar component.Ettore Perazzoli2000-10-156-1/+16
| | | | svn path=/trunk/; revision=5915
* *** empty log message ***Jesse Pavel2000-10-141-2/+2
| | | | svn path=/trunk/; revision=5906
* *** empty log message ***Jesse Pavel2000-10-143-13/+440
| | | | svn path=/trunk/; revision=5905
* set the 2 icon columns to a min width of 18 and resizable to FALSE.Damon Chaplin2000-10-132-2/+7
| | | | | | | | | 2000-10-12 Damon Chaplin <damon@helixcode.com> * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): set the 2 icon columns to a min width of 18 and resizable to FALSE. svn path=/trunk/; revision=5892
* set the pixmaps of the toolbar buttons for the views, and removed a lot ofDamon Chaplin2000-10-123-59/+66
| | | | | | | | | | | | | | | | 2000-10-12 Damon Chaplin <damon@helixcode.com> * gui/calendar-commands.c (calendar_control_activate): (update_pixmaps): (set_pixmap): set the pixmaps of the toolbar buttons for the views, and removed a lot of old unused stuff. We'll use plain buttons for the view buttons for now, until Bonobo toolbars support radio buttons. * gui/gnome-cal.c (gnome_calendar_dayjump): check day_button is not NULL before using it. (gnome_calendar_update_view_buttons): check button is not NULL. svn path=/trunk/; revision=5889
* got 12/24 hour format the wrong way round.Damon Chaplin2000-10-122-2/+7
| | | | | | | | | 2000-10-11 Damon Chaplin <damon@helixcode.com> * gui/e-day-view-time-item.c (e_day_view_time_item_draw): got 12/24 hour format the wrong way round. svn path=/trunk/; revision=5880
* Store recurrence stuff on the desktop properly (get_ical_day): UtilityJP Rosevear2000-10-122-0/+97
| | | | | | | | | | 2000-10-12 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (comp_from_remote_record): Store recurrence stuff on the desktop properly (get_ical_day): Utility function svn path=/trunk/; revision=5878
* Disable stuffIain Holmes2000-10-122-2/+4
| | | | svn path=/trunk/; revision=5875
* Disable executive-summaryIain Holmes2000-10-125-8/+25
| | | | svn path=/trunk/; revision=5874
* Take CalObjType as a param because its impossible to determine after aJP Rosevear2000-10-124-139/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-11 JP Rosevear <jpr@helixcode.com> * pcs/cal-backend.c (cal_backend_log_entry): Take CalObjType as a param because its impossible to determine after a delete. (cal_backend_remove_object): Calculate CalObjType and pass it to cal_backend_log_entry (cal_backend_update_object): ditto * conduits/todo/todo-conduit.c (local_record_from_comp): Kill unused variables. (add_archive_record): Don't kill the sync if this happens (update_record): Kill old function (replace_record): New function to handle replace_record signal (conduit_get_gpilot_conduit): Listen for replace record signal (add_record): Always add a new record, never replace (replace_record): Always replace an existing record * conduits/calendar/calendar-conduit.c: Same as above 2000-10-11 JP Rosevear <jpr@helixcode.com> * configure.in: Fix bonobo error message svn path=/trunk/; revision=5866
* *** empty log message ***Jesse Pavel2000-10-122-9/+46
| | | | svn path=/trunk/; revision=5865
* New versions of the task icons /tigertTuomas Kuosmanen2000-10-126-473/+112
| | | | svn path=/trunk/; revision=5860
* don't free evolution_dir as we need it to save the config settings.Damon Chaplin2000-10-123-2/+5
| | | | | | | | | 2000-10-11 Damon Chaplin <damon@helixcode.com> * gui/component-factory.c (owner_unset_cb): don't free evolution_dir as we need it to save the config settings. svn path=/trunk/; revision=5858
* call calendar_config_write_on_exit() to write out some special configDamon Chaplin2000-10-1225-139/+2846
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-11 Damon Chaplin <damon@helixcode.com> * gui/main.c (main): call calendar_config_write_on_exit() to write out some special config settings (as the mail component does). * gui/calendar-commands.c (properties_cmd): changed to use the new preferences dialog. (update_all_config_settings): new function to iterate over all the calendars and update the config settings. * gui/dialogs/cal-prefs-dialog.glade: preferences dialog. * gui/dialogs/cal-prefs-dialog.[hc]: new files for the preferences dialog. * gui/calendar-config.[hc]: new files to handle loading/saving config settings. * cal-util/cal-recur.c: fixed bug in YEARLY when no filters were set, plus minor changes. * cal-util/test-recur.c: updated. * gui/e-day-view-time-item.c: * gui/popup-menu.c: update to #include <gal/widgets/e-gui-utils.h> * gui/component-factory.c (owner_set_cb): called calendar_config_init. (owner_set_cb): (owner_unset_cb): updated the prototypes. * gui/main.c (main): added call to calendar_config_write_on_exit(). * gui/component-factory.h: * gui/component-factory.c (owner_set_cb): added global evolution_dir just like the mail component, so we know we to store config stuff. svn path=/trunk/; revision=5856
* Fixed the column elements here.Christopher James Lahey2000-10-112-3/+7
| | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * gui/e-calendar-table.c: Fixed the column elements here. svn path=/trunk/; revision=5850
* Updated to use the new ETable specification stuff.Christopher James Lahey2000-10-112-51/+35
| | | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * gui/e-calendar-table.c: Updated to use the new ETable specification stuff. svn path=/trunk/; revision=5846
* The element is "pilot_id" not "pilotid". Update both maps (compute_pid):JP Rosevear2000-10-116-83/+124
| | | | | | | | | | | | | | | | | | | 2000-10-11 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (map_sax_start_element): The element is "pilot_id" not "pilotid". Update both maps (compute_pid): Utility function to set a local records pid (local_record_from_comp): Compute the pid and status here, no longer use the old cal_component pilot interfaces (free_match): Its a *local not a **local * conduits/calendar/calendar-conduit.c: same as above * conduits/todo/todo-conduit.h: Have both a uid and pid map * conduits/todo/calendar-conduit.h: same as above svn path=/trunk/; revision=5836
* *** empty log message ***Jesse Pavel2000-10-1111-54/+480
| | | | svn path=/trunk/; revision=5825
* Adjust to using gnome-pilot-sync-abs conduit which is based on the latestJP Rosevear2000-10-1012-1937/+1305
| | | | | | | | | 2000-10-09 JP Rosevear <jpr@helixcode.com> * conduits/*: Adjust to using gnome-pilot-sync-abs conduit which is based on the latest pilot link changes. svn path=/trunk/; revision=5812
* new round-and-around-and-around-and-arou..duh. New icon. For repeatingTuomas Kuosmanen2000-10-101-78/+16
| | | | | | appointments. /tigert svn path=/trunk/; revision=5811
* Added the executive-summary library and cflagsIain Holmes2000-10-1011-3/+354
| | | | | | | | | | | | | | | | | 2000-10-09 Iain Holmes <iain@helixcode.com> * Makefile.am: Added the executive-summary library and cflags * evolution-calendar.oafinfo: Added oaf servers for the executive summary and executive summary factory. * calendar-summary.[ch]: New files to create the summary. * component-factory.c (summary_fn): Create the executive summary component. (component_factory_init): Start the summary factory as well. svn path=/trunk/; revision=5807
* New widget to pick weekdays.Federico Mena Quintero2000-10-073-0/+608
| | | | | | | | 2000-10-06 Federico Mena Quintero <federico@helixcode.com> * gui/weekday-picker.[ch]: New widget to pick weekdays. svn path=/trunk/; revision=5774
* Updated French translation.Christophe Merlet2000-10-072-0/+4
| | | | svn path=/trunk/; revision=5764
* Disable summary stuff, it appears to be badly broken.Michael Meeks2000-10-052-38/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-05 Michael Meeks <michael@helixcode.com> * component-factory.c (summary_fn, component_factory_init): Disable summary stuff, it appears to be badly broken. * Makefile.am (evolution_mail_SOURCES): add mail-summary.[ch] * subscribe-dialog.c (update_pixmaps): upd. (set_pixmap): upd. (subscribe_dialog_gui_init): upd. remove redundant and annoying forward definitions. * folder-browser-factory.c (control_deactivate): upd. (control_activate_cb): upd. (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (register_ondemand): upd. (create_ondemand_hooks): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (shortcut_bar_mode_changed_cb): upd. (folder_bar_mode_changed_cb): upd. (command_xml_dump): clobber. (e_shell_view_menu_setup): upd. * e-shell-view.c (shell_view_interface_set_message_cb): upd. (shell_view_interface_unset_message_cb): upd. (e_shell_view_construct): upd. (get_control_for_uri): upd. (e_shell_view_get_bonobo_ui_component): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * contact-editor/e-contact-editor.c (create_ui): upd. (e_contact_editor_init): upd. * gui/component/addressbook.c (control_activate_cb): upd. (control_deactivate): kill. (control_activate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * gui/calendar-commands.c: upd. (calendar_control_activate): upd. (calendar_control_deactivate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * component/e-summary-factory.c (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (control_activate_cb): upd. (control_deactivate): upd. svn path=/trunk/; revision=5742
* when the user types in a new event, don't create it until the user hitsDamon Chaplin2000-10-059-494/+341
| | | | | | | | | | | | | | | | | | | 2000-10-05 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c: * gui/e-week-view.c: when the user types in a new event, don't create it until the user hits Return or switches focus. Removed the editing_new_event flags. * cal-util/test-recur.c: rewritten to work on ics files. Now I can start testing the recurrence code. * cal-util/cal-recur.c: a few fixes. * gui/e-day-view.c (e_day_view_check_if_new_event_fits): fixed to return TRUE for long events, not FALSE. svn path=/trunk/; revision=5729
* As a temporary solution to the to-do printing, just print the summaries.Federico Mena Quintero2000-10-052-34/+44
| | | | | | | | | | 2000-10-04 Federico Mena Quintero <federico@helixcode.com> * gui/print.c (print_todo_details): As a temporary solution to the to-do printing, just print the summaries. We'll use the ETable printing stuff later. svn path=/trunk/; revision=5721
* Use g_list_append() correctly. (print_todo_details_cb): Likewise.Federico Mena Quintero2000-10-052-20/+33
| | | | | | | | | | | | | 2000-10-04 Federico Mena Quintero <federico@helixcode.com> * gui/print.c (print_day_summary_cb): Use g_list_append() correctly. (print_todo_details_cb): Likewise. (print_day_summary): Initialize psi.events. This code was obviously never tested. (print_todo_details): Likewise. (print_day_details): Initialize pdi.slots. svn path=/trunk/; revision=5711
* Fix strftime() %a versus %b confusion. Fixes bugzilla #644.Federico Mena Quintero2000-10-052-38/+22
| | | | | | | | | | | | 2000-10-04 Federico Mena Quintero <federico@helixcode.com> * gui/print.c (range_selector_new): Fix strftime() %a versus %b confusion. Fixes bugzilla #644. (range_selector_new): Fix the whole localization mess by making better use of strftime(). Now we generate whole date strings at a time and compose them later. Fixes bugzilla #643. svn path=/trunk/; revision=5709
* *** empty log message ***Jesse Pavel2000-10-043-137/+508
| | | | svn path=/trunk/; revision=5695
* kill.Michael Meeks2000-10-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-03 Michael Meeks <michael@helixcode.com> * e-shell-view.c (setup_bonobo_ui_handler): kill. * e-shell-view-menu.c (e_shell_view_menu_setup): strip out the XML UI merge; move it to * e-shell-view.c (e_shell_view_construct): here, + freeze / thaw pair. * e-shell-view.c (setup_progress_bar): impl. (setup_widgets): hook in. (progress_bar_timeout_cb): fix. (start_progress_bar): fix. (stop_progress_bar): fix. (e_shell_view_construct): setup ui handler first. 2000-09-22 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (e_shell_view_menu_setup): upd. + upd ChangeLogs svn path=/trunk/; revision=5678
* *** empty log message ***Jesse Pavel2000-10-035-140/+411
| | | | svn path=/trunk/; revision=5658
* updated to support RDATE end times or durations. Note that if you have twoDamon Chaplin2000-09-3010-226/+621
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-29 Damon Chaplin <damon@helixcode.com> * cal-util/cal-recur.c: updated to support RDATE end times or durations. Note that if you have two RDATEs with the same start times, but with different end dates/durations set, the results are unpredictable. So the event editor dialog should check for this. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): make strftime() strings translatable, and changed the formats a bit. * NOTE: someone needs to check print.c to make sure strftime strings are OK for i18n. * gui/e-day-view.h: Changed EDayViewDateFormat enum. We now try to include the weekday if possible. Also changed EDayView struct so we store the month & weekdays with the longest names rather than the actual widths. This helps i18n. * gui/e-day-view.c (e_day_view_recalc_cell_sizes): used _() for strftime strings, tried to see if weekday fits, and rearranged a bit to make i18n easier. * gui/e-day-view-top-item.c (e_day_view_top_item_draw): used _() for strftime strings, and updated to use new formats. * gui/calendar-model.c: added use_24_hour_format boolean to CalendarModelPrivate so we can display dates in 12-hour format if requested. This meant adding a CalendarModel argument to a few functions. Also added get/set functions to set use_24_hour_format. I suppose ideally we should have an ECellDate renderer and this option should go there. svn path=/trunk/; revision=5646
* *** empty log message ***Jesse Pavel2000-09-286-7/+627
| | | | svn path=/trunk/; revision=5603
* set the height of the scrolled window for the description field, since theDamon Chaplin2000-09-259-169/+488
| | | | | | | | | | | | | | | | | | | | | 2000-09-24 Damon Chaplin <damon@helixcode.com> * gui/dialogs/task-editor-dialog.glade: set the height of the scrolled window for the description field, since the default window height doesn't seem to be working. * cal-util/cal-component.h: added functions to get the actual icalproperty lists for RRULE and EXRULE properties. * cal-util/cal-recur.[hc]: added support for COUNT, though I need to test it a bit. Also fixed the call to generate_instances_for_year() so it uses the chunk dates. 2000-09-20 Damon Chaplin <damon@helixcode.com> * gui/event-editor.c: got rid of 1 '_' in '__Formatting'. svn path=/trunk/; revision=5562
* Updates for the Bonobo changes from Michael who is having someEttore Perazzoli2000-09-232-14/+10
| | | | | | troubles with CVS at home (so I commit this on his behalf). svn path=/trunk/; revision=5560
* Removed the "about calendar" command, since we don't want to have bothFederico Mena Quintero2000-09-222-23/+6
| | | | | | | | | | 2000-09-21 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-commands.c (verbs): Removed the "about calendar" command, since we don't want to have both "About Evolution" and "About Calendar". svn path=/trunk/; revision=5545
* Dear native speakers,Federico Mena Quintero2000-09-221-1/+1
| | | | | | | | | | | | | Dear native speakers, It is spelled "calendar". This has been a public service announcement courtesy of a non-native speaker. Thank you for your attention. svn path=/trunk/; revision=5543
* s/Bonobo_UIHandler/Bonobo_UIContainer/Michael Meeks2000-09-212-1/+6
| | | | | | s/include "bonobo-ui-handler.h"/include "bonobo-ui-compat.h"/ svn path=/trunk/; revision=5539
* Don't fail if there is no map file.JP Rosevear2000-09-212-7/+20
| | | | | | | | | 2000-09-20 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (pre_sync): Don't fail if there is no map file. svn path=/trunk/; revision=5532
* Add since field to contextJP Rosevear2000-09-214-5/+43
| | | | | | | | | | | | | | | | | 2000-09-20 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.h: Add since field to context * conduits/todo/todo-conduit.c (map_set_node_timet): New utility function (map_sax_start_element): Look for the map timestamp as well (map_write): Write the map timestamp (pre_sync): Use the map time stamp when looking for changed entries * pcs/cal-backend.c (cal_backend_log_sax_start_element): Make sure we are in a valid timestamp svn path=/trunk/; revision=5527
* Make the log file name relevant to the actual calendar file, rather thanJP Rosevear2000-09-212-4/+10
| | | | | | | | | | 2000-09-20 JP Rosevear <jpr@helixcode.com> * pcs/cal-backend.c (cal_backend_log_name): Make the log file name relevant to the actual calendar file, rather than just the directory. svn path=/trunk/; revision=5526
* OopsJP Rosevear2000-09-212-1/+5
| | | | | | | | 2000-09-20 JP Rosevear <jpr@helixcode.com> * pcs/cal-backend.c (cal_backend_get_log_entries): Oops svn path=/trunk/; revision=5525
* Use a local sax handler.JP Rosevear2000-09-213-61/+15
| | | | | | | | | | | | 2000-09-20 JP Rosevear <jpr@helixcode.com> * pcs/cal-backend.c (cal_backend_get_log_entries): Use a local sax handler. * conduits/todo/todo-conduit.c (pre_sync): Use xmlSAXParseFile (map_sax_parse): Delete svn path=/trunk/; revision=5524
* Properly assign the CalObjChange type. (cal_backend_log_sax_parse): DeleteJP Rosevear2000-09-212-57/+54
| | | | | | | | | | | 2000-09-20 JP Rosevear <jpr@helixcode.com> * pcs/cal-backend.c (cal_backend_log_sax_start_element): Properly assign the CalObjChange type. (cal_backend_log_sax_parse): Delete (cal_backend_get_log_entries): Use xmlSAXUserParseFile svn path=/trunk/; revision=5523
* Updated the Swedish translation.Christian Rose2000-09-201-2/+2
| | | | svn path=/trunk/; revision=5520
* New utility function (cal_backend_load): use above (cal_backend_create):JP Rosevear2000-09-203-52/+89
| | | | | | | | | | | | | | | | | | | | | | | 2000-09-19 JP Rosevear <jpr@helixcode.com> * pcs/cal-backend.c (cal_backend_set_uri): New utility function (cal_backend_load): use above (cal_backend_create): use above (cal_backend_log_name): Take a uri instead of a backend param * pcs/cal-backend-file.c: Get rid of useless hash functions (cal_backend_file_load): Check to make sure path exists and is local (cal_backend_file_load): Unref the current uri if there is one (cal_backend_file_create): ditto * pcs/cal-backend.c (cal_backend_last_client_gone): Sync before shooting ourselves in the foot * pcs/cal-backend-file.c (save): Fully implement backing up the calendar before writing out the new entry. svn path=/trunk/; revision=5516
* Add some other cases where a slow sync is in order (pre_sync): Pre loadJP Rosevear2000-09-2017-1996/+1170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-19 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (check_for_slow_setting): Add some other cases where a slow sync is in order (pre_sync): Pre load the uids, the map and the add/mod/del lists (match_record): Use the map hash to match records (iterate): Iterate using the pre-loaded uid list (iterate_specific): Iterate using the add/mod/del lists (purge): Delete all entries in the del list (set_status): Set status by adding to an appropriate list (set_pilot_id): Set pilot_id by updating map hash * conduits/todo/todo-conduit.h: Add lists for added, modified and deleted objects * conduits/todo/todo-conduit.c (map_name): Get the pilot_id->uid map file name (map_sax_start_element): SAX handler to extract a pilot_id->uid mapping (map_sax_parse): Parse the given file and build a pilot_id->uid hash (map_write_foreach): Write out individual mapping elements (map_write): Write out the pilot_id->uid mapping (start_calendar_server_cb): Rename from gnome_calendar_load_cb * conduits/todo/todo-conduit-config.h: Rename pilotID to pilot_id * conduits/todo/e-todo.conduit.in: A little renaming * conduits/todo/Makefile.am: Fix build slightly * pcs/cal.c (build_change_seq): Build a corba sequence out of a list of CalObjChanges (Cal_get_objects_in_range): Implement new corba function * pcs/cal-backend.c (cal_backend_init): Intiliaze to NULL (cal_backend_load): Track the uri so we can write the log file to the same place (cal_backend_log_name): Figure out the log filename/path based on the calendar uri (cal_backend_set_node_timet): Set an xml node property value from a time_t (cal_backend_log_entry): Adds a log entry to list waiting to be written out (cal_backend_log_sync): Syncs the log entries to disk (cal_backend_log_sax_start_element): SAX callback for reading in log entries (cal_backend_log_sax_end_element): ditto (cal_backend_log_sax_parse): Main SAX parser call to parse the log file looking for particular log entries and creating a CalObjChange hash with the last change for each object (cal_backend_get_log_entries): Returns a hash of objects of a given type changed since the given time (cal_backend_update_object): Add appropriate log entries (cal_backend_remove_object): ditto (cal_backend_get_changed_uids): Implement new idl interface call (cal_backend_foreach_changed): Convert CalObjChange hash into a list * pcs/cal-backend-imc.[hc]: Remove crufty files * pcs/cal-backend-file.c (cal_backend_file_get_type_by_uid): New function that returns the CalObjType for a uid. * cal-client/cal-client.h: Update prototypes. * cal-client/cal-client.c (build_change_list): Build a list of CalObjChange items from a corba sequence. (cal_client_get_changed_uids): New accessor method for the similarly named addition to the idl file. * cal-util/cal-util.h: Update prototypes and add CalObjChangeType enum. * cal-util/cal-util.c (cal_obj_change_list_free): New utility method to free a list of CalObjChange objects. * idl/evolution-calendar.idl: Add get_changed_uids method and associated types. svn path=/trunk/; revision=5512
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-1814-24/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* Everywhere add a -DEVOLUTION_DATADIR=${datadir} in the Makefile.amMichael Meeks2000-09-173-1/+9
| | | | | | | | And use this in grabbing the ui from the xml file. Requires HEAD bonobo. svn path=/trunk/; revision=5474
* ShushJP Rosevear2000-09-152-2/+6
| | | | | | | | 2000-09-14 JP Rosevear <jpr@helixcode.com> * conduits/todo/.cvsignore: Shush svn path=/trunk/; revision=5436
* Oops, get the right files added/removedJP Rosevear2000-09-152-5/+5
| | | | svn path=/trunk/; revision=5434
* Add headers with GPL notice and credit copyright to those appropriateJP Rosevear2000-09-156-69/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-14 JP Rosevear <jpr@helixcode.com> * Add headers with GPL notice and credit copyright to those appropriate * conduits/todo/todo-conduit-control-applet.c (doHelp): Update name, authors, copyright for about dialog. (activate_sync_type): Tidy * conduits/todo/Makefile.am: Rename binaries and libs to e-todo* to avoid conflicts. * conduits/todo/e-todo.conduit.in: Reflect binary/lib name changes * conduits/todo/e-todo-conduit-control-applet.desktop: ditto * conduits/todo/todo.conduit.in: Removed * conduits/todo/todo-conduit-control-applet.desktop: Removed * conduits/todo/todo-conduit-config.h (todoconduit_load_configuration): The config file will now be called e-todo-conduit (todoconduit_save_configuration): ditto * conduits/todo/todo-conduit.c: Some renaming to keep consistent. (pre_sync): Remove commented out function that does not exist. * conduits/todo/todo-conduit-control-applet.c: ditto * conduits/todo/todo-conduit-config.h: ditto * conduits/todo/todo-conduit.h: ditto svn path=/trunk/; revision=5433
* The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-144-123/+100
| | | | | | Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
* Removed an unused variable.Federico Mena Quintero2000-09-142-3/+3
| | | | | | | | | 2000-09-13 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-model.c (obj_updated_cb): Removed an unused variable. svn path=/trunk/; revision=5411
* See if the new object matches the type of objects we were told to dealFederico Mena Quintero2000-09-142-0/+37
| | | | | | | | | | 2000-09-13 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-model.c (obj_updated_cb): See if the new object matches the type of objects we were told to deal with. (load_objects): Likewise. svn path=/trunk/; revision=5410
* Only remove the pilot item from the hash if it exists in the first place.JP Rosevear2000-09-132-6/+14
| | | | | | | | | 2000-09-13 JP Rosevear <jpr@helixcode.com> * pcs/cal-backend-file.c (remove_component): Only remove the pilot item from the hash if it exists in the first place. svn path=/trunk/; revision=5399
* Hack to compile for distcheck.JP Rosevear2000-09-133-20/+25
| | | | | | | | | | | 2000-09-12 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c: Hack to compile for distcheck. * conduits/calendar/calendar-conduit.h: Remove calobj.h dependency svn path=/trunk/; revision=5390
* Use g_int_* for now (cal_backend_file_create): dittoJP Rosevear2000-09-133-67/+135
| | | | | | | | | | 2000-09-12 JP Rosevear <jpr@helixcode.com> * pcs/cal-backend-file.c (cal_backend_file_load): Use g_int_* for now (cal_backend_file_create): ditto svn path=/trunk/; revision=5385
* Get rid of the `ui.xml' stuff that Michael committed, as it's breakingEttore Perazzoli2000-09-132-5/+2
| | | | | | distcheck. svn path=/trunk/; revision=5381
* Remove bogus #include.Ettore Perazzoli2000-09-132-1/+5
| | | | svn path=/trunk/; revision=5379
* Tidy some xml.Michael Meeks2000-09-131-87/+0
| | | | svn path=/trunk/; revision=5376
* Added Swedish translation.Christian Rose2000-09-132-0/+4
| | | | svn path=/trunk/; revision=5367
* Connect to the "cal_loaded" signal of the client here. (connect_load):Federico Mena Quintero2000-09-122-75/+49
| | | | | | | | | | | | | | | 2000-09-12 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (gnome_calendar_construct): Connect to the "cal_loaded" signal of the client here. (connect_load): Removed function. (disconnect_load): Removed function. (cal_loaded_cb): Store the URI we are loading in the GnomeCal structure instead of in a weird closure. This gets rid of the connect/disconnect mess as well. (gnome_calendar_open): Store the URI in the GnomeCal. svn path=/trunk/; revision=5357
* Fixed a warning (removed unused variable gfloat width fromChristopher James Lahey2000-09-112-1/+5
| | | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * gui/e-day-view.c: Fixed a warning (removed unused variable gfloat width from e_day_view_get_event_position.) svn path=/trunk/; revision=5318
* Handle renaming, header cleanupJP Rosevear2000-09-113-32/+35
| | | | | | | | | | | 2000-09-11 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c: Handle renaming, header cleanup * conduits/todo/todo-conduit.h: Rename GCalLocalRecord to EToDoLocalRecord, header cleanup svn path=/trunk/; revision=5312
* Use description list instead of comment list for pilot todo noteJP Rosevear2000-09-112-58/+69
| | | | | | | | | | | | 2000-09-11 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (comp_from_remote_record): Use description list instead of comment list for pilot todo note (transmit): Check for null cal component properties, set priority correctly, use description list instead of comment list. Make pilot record private when appropriate. svn path=/trunk/; revision=5311
* Only set the due date only if it existsJP Rosevear2000-09-112-4/+15
| | | | | | | | | 2000-09-10 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (comp_from_remote_record): Only set the due date only if it exists svn path=/trunk/; revision=5310
* Relying on the status field is somewhat faulty since it is related toJP Rosevear2000-09-112-8/+6
| | | | | | | | | 2000-09-10 JP Rosevear <jpr@helixcode.com> * gui/calendar-model.c (get_is_complete): Relying on the status field is somewhat faulty since it is related to group scheduling svn path=/trunk/; revision=5308
* Make log output a little more sensible (comp_from_remote_record): MinorJP Rosevear2000-09-112-39/+26
| | | | | | | | | | | | | | | 2000-09-10 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (update_calendar_entry_in_repository): Make log output a little more sensible (comp_from_remote_record): Minor correction when making a CalComponent from scratch. (update_record): Use comp_from_remote_record for new items, rather than repeating the code here. svn path=/trunk/; revision=5307
* Remove catch_ret_val function since its no longer useful. Fix naming ofJP Rosevear2000-09-113-281/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-10 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c: Remove catch_ret_val function since its no longer useful. Fix naming of various fields from the header changes. Use GnomePilotRecord* stuff instead of ICAL_PILOT_SYNC_* (e_todo_context_new): Rename from gcalconduit_new_context. Now takes a pilot id and loads the configuration here (e_todo_context_destroy): Rename from gcalconduit_destroy_context. Unref the client and destroy the configuration if they exist here (start_calendar_server): Change the default calendar name (local_record_from_comp_uid): Rename from local_record_from_ical_uid (local_record_from_compobject): Rename from local_record_from_icalobject. Properly do the pilot id and status. (comp_from_remote_record): Rename from ical_from_remote_record. Handle due, complete, classification and pilot stuff properly (pre_sync): Remove some old stuff. We need to figure out how to set some of the field values. (set_status): Reflect pilot status changes from above (conduit_destroy_gpilot_conduit): Remove cleanup stuff that is now done by e_todo_context_destroy (conduit_get_gpilot_conduit): Only set the context as object data of the conduit. * conduits/todo/todo-conduit.h: Rename GCalConduitContext to EToDoConduitContext. Remove some unused struct fields. For GCalLocalRecord, rename ical to comp. svn path=/trunk/; revision=5306
* changed to use EDateEdit.Damon Chaplin2000-09-1110-352/+563
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-11 Damon Chaplin <damon@helixcode.com> * gui/dialogs/task-editor.c: changed to use EDateEdit. * gui/dialogs/task-editor-dialog.glade: added "None" option to Classification option menu, and used custom widgets for the date entries so we can use EDateEdit widgets. * gui/event-editor.c: changed to use EDateEdit. Note that this needs to be fixed at some point to handle invalid dates, i.e. when e_date_edit_get_time returns -1. * gui/calendar-model.c (ensure_task_complete): (ensure_task_not_complete): new functions to set the related properties to make sure a task is marked as complete on not, i.e. "Date Completed" "Status" and "Percent" properties. 2000-09-08 Damon Chaplin <damon@helixcode.com> * gui/calendar-model.c (get_is_complete): use the status field rather than the completed date, as it is more reliable. (get_is_overdue): use get_is_complete(). (calendar_model_mark_task_complete): check if it is already complete, and if so don't update it. * cal-util/cal-component.c (cal_component_get_status): (cal_component_set_status): added functions to support the STATUS property. Also added the property to CalComponentPrivate and set it to NULL in free_icalcomponent(). Someone should check my code as I've mainly done a Cut & Paste job. svn path=/trunk/; revision=5305
* Convert "//" style comments (local_record_from_ical_uid): RemoveJP Rosevear2000-09-102-22/+26
| | | | | | | | | | 2000-09-10 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c: Convert "//" style comments (local_record_from_ical_uid): Remove iCalObject cruft (ical_from_remote_record): ditto (free_match): Properly unref the CalComponent svn path=/trunk/; revision=5299
* Use cal component pilot stuff properly (find_record_in_repository): RemoveJP Rosevear2000-09-109-294/+419
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-10 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (local_record_from_icalobject): Use cal component pilot stuff properly (find_record_in_repository): Remove cruft (ical_from_remote_record): Remove cruft (update_record): Set the vtype immediately after creation. Remove cruft * conduits/todo/todo-conduit.h: Remove iCalObject stuff * conduits/todo/todo-conduit-config.h: Move all the config stuff here, I need to kill the warnings at some point * conduits/todo/todo-conduit-control-applet.c (doRevertSettings): Set all the state variables correctly on a revert (doSaveSettings): Update original state (doHelp): Rename from about_cb (main): Destroy configurations when done * conduits/todo/Makefile.am: Tidy * pcs/cal-backend-file.c (cbf_pilot_hash): Function for hashing pilot ids (cbf_pilot_equal): For hash table of pilot ids (cal_backend_file_destroy): Destroy pilot id hash (add_component): Insert the uid into the pilot hash (remove_component): Remove the uid from the pilot hash (cal_backend_file_load): Create the pilot hash (cal_backend_file_create): ditto (cal_backend_file_get_uid_by_pilot_id): Implement using the pilot hash (cal_backend_file_update_pilot_id): ditto * cal-util/cal-component.h: Update prototypes * cal-util/cal-component.c (cal_component_get_pilot_id): Implement using ical X properties (cal_component_set_pilot_id): ditto (cal_component_get_pilot_status): ditto (cal_component_set_pilot_status): ditto (cal_component_free_pilot_id): Free a pilot id (cal_component_free_pilot_status): Free a pilot status svn path=/trunk/; revision=5298
* Fix the calendar Makefiles so that they #include the `icalversion.h'Ettore Perazzoli2000-09-093-0/+10
| | | | | | | | from the build directory (instead of using the installed version) when compiling with `builddir != srcdir'. This way the calendar doesn't get rebuilt from scratch all the time after a `make install'. svn path=/trunk/; revision=5283
* New function with the loading/creation state machine. It is carefullyFederico Mena Quintero2000-09-094-96/+212
| | | | | | | | | | | | | | | | | | | | | 2000-09-08 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (cal_loaded_cb): New function with the loading/creation state machine. It is carefully modelled after the state machine that started the Universe, so bow before it. (gnome_calendar_construct): Do not connect to cal_loaded here. (connect_load): The closure for the cal_loaded callback is a bit tricky, so provide a function to create it and connect to the signal. (disconnect_load): Disconnect from the signal and free the closure. (gnome_calendar_load_cb): Removed obsolete buggy function. (gnome_calendar_open): Use the new mechanism. * gui/control-factory.c (set_prop): The default filename is now calendar.ics. svn path=/trunk/; revision=5280
* Use icaltime_as_timetJP Rosevear2000-09-093-4/+7
| | | | | | | | | 2000-09-08 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (transmit): Use icaltime_as_timet svn path=/trunk/; revision=5269
* Fixed some warnings.Christopher James Lahey2000-09-099-4/+35
| | | | | | | | | | 2000-09-08 Christopher James Lahey <clahey@helixcode.com> * cal-util/cal-recur.c, gui/e-day-view.c, gui/e-week-view.c, gui/event-editor.c, gui/getdate.y, gui/gncal-todo.c, gui/gnome-cal.c, gui/dialogs/task-editor.c: Fixed some warnings. svn path=/trunk/; revision=5264
* TidyJP Rosevear2000-09-094-36/+30
| | | | | | | | | | 2000-09-08 JP Rosevear <jpr@helixcode.com> * conduits/calendar/Makefile.am: Tidy * conduits/todo/Makefile.am: Tidy svn path=/trunk/; revision=5263
* Fall equinox cleanup!Federico Mena Quintero2000-09-0813-484/+749
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-08 Federico Mena Quintero <federico@helixcode.com> Fall equinox cleanup! OK, I know the equinox is not here yet, but weather has changed enough to warrant it. Sigh. This place is definitely not the tropics. * gui/gnome-cal.c (obj_updated_cb): Renamed from gnome_calendar_object_updated_cb(); fixed prototype. (obj_removed_cb): Renamed from gnome_calendar_object_removed_cb(); fixed prototype. (GnomeCalendarPrivate): Moved all the GnomeCalendar fields to a private structure so I don't have to rebuild the whole calendar GUI directory every time something changes in the object. (GnomeCalendarPrivate): Removed the property bag and the control fields; they are local to the control-factory now. (gnome_calendar_update_view_buttons): Remove the ignore_view_button_clicks mess and just block the signal. (gnome_calendar_set_view): Added a "focus" argument to indicate whether we want the main widget in the specified view to grab the focus. (gnome_calendar_set_view_internal): Handle the focus argument here. (gnome_calendar_set_view_buttons): Temporary hack to notify the calendar about its buttons. (gnome_calendar_get_selected_time_range): New function. (gnome_calendar_get_cal_client): New function. * gui/control-factory.c (calendar_properties_init): Keep the property bag local to here; it does not need to be in the calendar object yet. (control_factory_fn): Renamed from control_factory(). Just use control_factory_new_control(). (control_factory_new_control): Moved the stuff over from create_control(), and keep the control local to here. Check the return value of bonobo_control_new(). * gui/calendar-commands.c (show_day_view_clicked): Remove the ignore_view_button_clicks mess. (new_calendar): Removed the useless "page" argument. (calendar_control_activate): Use gnome_calendar_set_view_buttons() for now. svn path=/trunk/; revision=5255
* Preliminaries for new UI handler.Michael Meeks2000-09-082-0/+92
| | | | svn path=/trunk/; revision=5245
* Bunch of unicode related changesLauris Kaplinski2000-09-083-0/+25
| | | | svn path=/trunk/; revision=5235