aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits
Commit message (Collapse)AuthorAgeFilesLines
* Bump the version to 0.1.5 to help track down bug #59726.Jeffrey Stedfast2004-06-241-1/+4
| | | | | | | | | 2004-06-23 Jeffrey Stedfast <fejj@novell.com> * conduits/todo/todo-conduit.c: Bump the version to 0.1.5 to help track down bug #59726. svn path=/trunk/; revision=26481
* Fixes bug #57592Jeffrey Stedfast2004-06-192-4/+4
| | | | | | | | | | | | | 2004-06-18 Jeffrey Stedfast <fejj@novell.com> Fixes bug #57592 * conduits/calendar/calendar-conduit.c (pre_sync): Same as below. * conduits/todo/todo-conduit.c (pre_sync): s/wombat/evolution-data-server/g svn path=/trunk/; revision=26428
* If the last_uri string value is the Evolution 1.4 URI, change it to theJeffrey Stedfast2004-06-041-2/+19
| | | | | | | | | | 2004-06-03 Jeffrey Stedfast <fejj@novell.com> * conduits/calendar/calendar-conduit.c (calconduit_load_configuration): If the last_uri string value is the Evolution 1.4 URI, change it to the new URI. Fixes bug #54134. svn path=/trunk/; revision=26203
* Use e_cal_open_default() instead of e_cal_open(). (map_name): Changed theJeffrey Stedfast2004-04-231-21/+7
| | | | | | | | | | | | 2004-04-22 Jeffrey Stedfast <fejj@ximian.com> * conduits/calendar/calendar-conduit.c (start_calendar_server): Use e_cal_open_default() instead of e_cal_open(). (map_name): Changed the path for the pilot map filename. (pre_sync): Changed the query to "#t" instead of "(#t)" and removed a duplicate block of code (seems to have been a paste-o?). svn path=/trunk/; revision=25586
* Use e_cal_open_default() instead of e_cal_open(). (map_name): Changed theJeffrey Stedfast2004-04-231-30/+14
| | | | | | | | | | | | 2004-04-22 Jeffrey Stedfast <fejj@ximian.com> * conduits/todo/todo-conduit.c (start_calendar_server): Use e_cal_open_default() instead of e_cal_open(). (map_name): Changed the path for the pilot map filename. (pre_sync): Changed the query to "#t" instead of "(#t)" and removed a duplicate block of code (seems to have been a paste-o?). svn path=/trunk/; revision=25585
* shushJP Rosevear2004-01-282-2/+2
| | | | svn path=/trunk/; revision=24476
* rewrite for new ecal api, cache all ecal's by type and minimize loading.JP Rosevear2003-12-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-21 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.[hc]: rewrite for new ecal api, cache all ecal's by type and minimize loading. Switch to using the source option menu * conduits/todo/todo-conduit.c (start_calendar_server): ditto * conduits/calendar/calendar-conduit.c (start_calendar_server): use ECalSourceType * importers/icalendar-importer.c (load_file_fn): ditto (vcal_load_file_fn): ditto (gnome_calendar_import_data_fn): ditto * gui/dialogs/task-page.c (source_changed_cb): ditto * gui/dialogs/event-page.c (source_changed_cb): ditto * gui/dialogs/copy-source-dialog.h: update proto * gui/dialogs/copy-source-dialog.c (copy_source_dialog): ditto * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): ditto * gui/tasks-component.c (copy_task_list_cb): ditto (setup_create_ecal): ditto * gui/gnome-cal.c (gnome_calendar_construct): ditto (gnome_calendar_add_event_uri): ditto * gui/e-tasks.c (e_tasks_add_todo_uri): ditto * gui/comp-editor-factory.c (open_client): ditto * gui/calendar-offline-handler.c (backend_go_offline): ditto (backend_go_online): ditto (calendar_offline_handler_init): ditto * gui/calendar-component.c (copy_calendar_cb): ditto (setup_create_ecal): ditto * gui/print.c (print_month_small): don't pass type to e_cal_generate_instances (print_day_details): ditto (print_week_summary): ditto * gui/tag-calendar.c (tag_calendar_by_client): ditto svn path=/trunk/; revision=23994
* define privconduitdirJP Rosevear2003-12-024-6/+6
| | | | | | | | 2003-12-01 JP Rosevear <jpr@ximian.com> * configure.in: define privconduitdir svn path=/trunk/; revision=23536
* install to privlibdirJP Rosevear2003-12-024-8/+6
| | | | | | | | | | | | | | 2003-12-01 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: install to privlibdir * conduits/calendar/Makefile.am: ditto * conduits/todo/e-todo.conduit.in: subst in correct thing * conduits/calendar/e-calendar.conduit.in: subst in correct thing svn path=/trunk/; revision=23534
* Remove a bunch of gal includes that are no longer neededJP Rosevear2003-11-204-16/+22
| | | | | | | | 2003-11-20 JP Rosevear <jpr@ximian.com> * Remove a bunch of gal includes that are no longer needed svn path=/trunk/; revision=23457
* load the calendar synchronouslyJP Rosevear2003-11-122-61/+2
| | | | | | | | | | | | 2003-11-11 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (start_calendar_server): load the calendar synchronously * conduits/calendar/calendar-conduit.c (start_calendar_server): ditto svn path=/trunk/; revision=23285
* use proper change list free function name (post_sync): dittoJP Rosevear2003-11-112-4/+4
| | | | | | | | | | | 2003-11-10 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (e_calendar_context_destroy): use proper change list free function name (post_sync): ditto svn path=/trunk/; revision=23275
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-074-286/+270
| | | | svn path=/trunk/; revision=23206
* Remove type argDan Winship2003-10-242-4/+4
| | | | | | | | | | | | | | | | | | | | | | * cal-client/cal-client.c (cal_client_get_changes): Remove type arg * conduits/calendar/calendar-conduit.c (pre_sync, post_sync): Update for that * conduits/todo/todo-conduit.c (pre_sync, post_sync): Likewise * idl/evolution-calendar.idl (getChanges): Remove type arg. * pcs/cal.c (impl_Cal_getChanges): Likewise * pcs/cal-backend.c (cal_backend_get_changes): Likewise * pcs/cal-backend-sync.c (cal_backend_sync_get_changes): Likewise * pcs/cal-backend-file.c (cal_backend_file_get_changes): Update for that svn path=/trunk/; revision=23059
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-222-100/+126
| | | | svn path=/trunk/; revision=22965
* Fixed for libical changes.Jeffrey Stedfast2003-10-181-2/+1
| | | | | | | | | | 2003-10-17 Jeffrey Stedfast <fejj@ximian.com> * conduits/calendar/Makefile.am: Fixed for libical changes. * conduits/todo/Makefile.am: Same. svn path=/trunk/; revision=22930
* Fixed for libical changes.Jeffrey Stedfast2003-10-171-2/+1
| | | | | | | | 2003-10-17 Jeffrey Stedfast <fejj@ximian.com> * conduits/calendar/Makefile.am: Fixed for libical changes. svn path=/trunk/; revision=22924
* link to libical-evolutionJP Rosevear2003-09-302-2/+2
| | | | | | | | | | 2003-09-29 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: link to libical-evolution * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=22752
* removed libwombat reference.Rodrigo Moya2003-09-171-1/+0
| | | | | | | | 2003-09-16 Rodrigo Moya <rodrigo@ximian.com> * conduits/todo/Makefile.am: removed libwombat reference. svn path=/trunk/; revision=22587
* Remove libcal-util-static.laDan Winship2003-09-012-7/+7
| | | | | | | | | | | | | | | | | | | * cal-util/Makefile.am (privlib_LTLIBRARIES): Remove libcal-util-static.la * cal-client/Makefile.am (noinst_LTLIBRARIES): Remove libcal-client-static.la * conduits/calendar/Makefile.am (libecalendar_conduit_la_LIBADD): use non-static libraries. The static ones were only needed for libtool 1.3. * conduits/todo/Makefile.am (libetodo_conduit_la_LIBADD): Likewise * gui/Makefile.am (IDL_GENERATED): Don't compile the calendar idl here. It's already in libcal-client. svn path=/trunk/; revision=22430
* Statically link with wombat. Fix ETodo conduit. (Mdk bug #5348)Frédéric Crozat2003-09-011-0/+1
| | | | | | | | * conduits/todo/Makefile.am: Statically link with wombat. Fix ETodo conduit. (Mdk bug #5348) svn path=/trunk/; revision=22429
* Merge new-calendar-branch into HEADRodrigo Moya2003-08-082-4/+36
| | | | svn path=/trunk/; revision=22129
* Fixes #45767Antonio Xu2003-07-031-1/+0
| | | | | | | | | | 2003-07-03 Antonio Xu <antonio.xu@sun.com> Fixes #45767 * conduits/todo/Makefile.am: removed libwombat from the build. svn path=/trunk/; revision=21732
* removed usage of WombatClient. (client_get_password_cb,Rodrigo Moya2003-06-301-1/+0
| | | | | | | | | | | | | | | | | | | | 2003-06-30 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c: removed usage of WombatClient. (client_get_password_cb, client_forget_password_cb): removed. (real_open_calendar): don't create the WombatClient object. (cal_client_init, cal_client_finalize): removed WombatClient related code. (cal_client_finalize): re-enabled call to destroy_factories. * pcs/cal.c: removed usage of WombatClient interface. (cal_construct): don't get a reference to the WombatClient. (cal_get_password, cal_forget_password): removed unused functions. * conduits/calendar/Makefile.am: * cal-client/Makefile.am: removed references to libwombat. svn path=/trunk/; revision=21693
* switch the "view_only" arg to be an int. (init): ditto.Jack Jia2003-06-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | 2003-06-12 Jack Jia <jack.jia@sun.com> * gui/e-itip-control.c (struct _EItipControlPrivate): switch the "view_only" arg to be an int. (init): ditto. (e_itip_control_set_view_only): ditto. (e_itip_control_get_view_only): ditto. * gui/itip-bonobo-control.c (get_prop): switch BONOBO_ARG_SET_BOOLEAN to BONOBO_ARG_SET_INT. (set_prop): switch BONOBO_ARG_GET_BOOLEAN to BONOBO_ARG_GET_INT. (itip_bonobo_control_new): switch BONOBO_ARG_BOOLEAN to BONOBO_ARG_INT. Function "bonobo_property_bag_client_set_value_gboolean" can not work on solaris. svn path=/trunk/; revision=21478
* Remove change that shouldn't have been committed.JP Rosevear2003-04-252-2/+2
| | | | svn path=/trunk/; revision=20962
* Fixes #37552JP Rosevear2003-04-252-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-24 JP Rosevear <jpr@ximian.com> Fixes #37552 * gui/dialogs/Makefile.am: build delete-error.[hc] * gui/e-tasks.c: wrap calls to cal_client_remove_object with delete_error_dialog * gui/e-itip-control.c: ditto * gui/e-calendar-table.c: ditto * gui/e-week-view.c: ditto * gui/e-day-view.c: ditto * gui/dialogs/delete-error.[hc]: gemerate an error message based on result svn path=/trunk/; revision=20961
* Fixes #40252Not Zed2003-04-082-92/+88
| | | | | | | | | | | | | | | 2003-04-07 Not Zed <NotZed@Ximian.com> Fixes #40252 * conduits/todo/todo-conduit.c: Same as below. * conduits/calendar/calendar-conduit.c: Change the LOG macro to a single arg macro which copies its arg. Fix all callers. Change WARN and INFO to simply g_warning/g_message. Init G_LOG_DOMAIN before including anything. svn path=/trunk/; revision=20714
* Fix for #17231 (Evo portion)JP Rosevear2003-04-022-2/+2
| | | | | | | | | | | | | | | | 2003-04-01 JP Rosevear <jpr@ximian.com> Fix for #17231 (Evo portion) * conduits/todo/todo-conduit.c (comp_from_remote_record): test for secret flag properly * conduits/calendar/calendar-conduit.c (comp_from_remote_record): ditto svn path=/trunk/; revision=20612
* Fixes #32248JP Rosevear2003-03-221-1/+1
| | | | | | | | | | | 2003-03-21 JP Rosevear <jpr@ximian.com> Fixes #32248 * conduits/todo/todo-conduit.c (comp_from_remote_record): make sure the due date is actually a date svn path=/trunk/; revision=20459
* Fixes #31660JP Rosevear2003-03-221-11/+79
| | | | | | | | | | | | | | | 2003-03-21 JP Rosevear <jpr@ximian.com> Fixes #31660 * conduits/calendar/calendar-conduit.c (rrules_mostly_equal): check if the rrules are equal other than until/count (find_last_cb): update the data with the start timet (local_record_from_comp): handle the case where the recurrence rule ends after a certain number occurrences (comp_from_remote_record): same svn path=/trunk/; revision=20458
* calcomponents are gobjects now (calconduit_load_configuration): ref andJP Rosevear2003-03-212-2/+10
| | | | | | | | | | | | | | 2003-03-20 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (e_calendar_context_destroy): calcomponents are gobjects now (calconduit_load_configuration): ref and sink to avoid warnings * conduits/todo/todo-conduit.c (todoconduit_load_configuration): ref and sink to avoid warnings (e_todo_context_destroy): calcomponents are gobjects now svn path=/trunk/; revision=20437
* If only the pipe wouldn't break.JP Rosevear2003-03-052-80/+110
| | | | svn path=/trunk/; revision=20143
* link to versist libtool objectJP Rosevear2003-02-282-2/+2
| | | | | | | | | | 2003-02-27 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: link to versist libtool object * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=20094
* gconf settings upgradesMichael Zucci2003-02-241-1/+1
| | | | svn path=/trunk/; revision=20018
* dont unref accounts anymore. (change_status): itipAddress -> EAccount.Not Zed2003-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-20 Not Zed <NotZed@Ximian.com> * gui/e-itip-control.c (destroy): dont unref accounts anymore. (change_status): itipAddress -> EAccount. * gui/calendar-model.c (calendar_model_destroy): dont unref accounts anymore. (calendar_model_value_at): simplify logic using account_list_find. * gui/dialogs/task-editor.c (task_editor_edit_comp): use new itip_addresses interfaces. * gui/dialogs/meeting-page.c (meeting_page_construct): use new itip_addresses_* interfaces. Should probably be using e_account directly. (meeting_page_finalize): dont unref the accounts list. * gui/dialogs/event-editor.c (event_editor_edit_comp): dont unref accounts anymore. * gui/itip-utils.c (itip_addresses_get_default): Just use e_account_list_get_default. (itip_addresses_get): dont ref the account object, just keep 1 ref to it. (find_account): remove. (itip_organizer_is_user): use e_account_list_find now. (itip_sentby_is_user): " (comp_limit_attendees): " 2003-02-19 Not Zed <NotZed@Ximian.com> * gui/dialogs/meeting-page.c: addresses->accounts (meeting_page_finalize): unref accounts. * gui/dialogs/event-editor.c: Use EAccountList api's * pcs/cal-backend-util.c (cal_backend_mail_account_get): Removed, use a global EAccountList instead. (cal_backend_mail_account_get_default): Use the global EAccountList directly. (cal_backend_mail_account_is_valid): And here too. * gui/itip-utils.h: Removed ItipAddress structure. * gui/itip-utils.c (itip_addresses_get): Change it to return a global account object, so we dont need to duplicate all account info in the calendar. (itip_addresses_free, itip_address_free): Removed, use g_object_unref. (itip_addresses_get_default): Return an EAccount. (find_account): helper to lookup accounts based on name/address. (itip_organizer_is_user): Use helper to find account. (itip_sentby_is_user): " (comp_limit_attendees): " (comp_sentby): Update to use an EAccount direclty. (get_address): Removed, now redundant. * gui/e-itip-control.c: Changed priv->addresses to be accounts EAccountList. (destroy): unref accounts. (find_my_address): Change to use accounts list directly, also fix a small potential memleak. * gui/calendar-model.c: Change priv->addresses to be a direct reference to an EAccountList, renamed priv->accounts. (calendar_model_destroy): unref accounts. (calendar_model_value_at): Use EAccountList directly to lookup members. * gui/calendar-config.c (calendar_config_get_timezone) (calendar_config_set_timezone): Fix timezone key. (calendar_config_get_24_hour_format): Same for 24 hour format key. (calendar_config_set_24_hour_format): And here. (calendar_config_get_week_start_day): " (calendar_config_set_week_start_day): " (calendar_config_get_day_start_hour): " (calendar_config_set_day_start_hour): " (calendar_config_get_day_start_minute): " (calendar_config_set_day_start_minute): " (calendar_config_get_day_end_hour): " (calendar_config_set_day_end_hour): " (calendar_config_get_day_end_minute) (calendar_config_set_day_end_minute) (calendar_config_get_time_divisions) (calendar_config_set_time_divisions) (calendar_config_get_dnav_show_week_no) (calendar_config_set_dnav_show_week_no) (calendar_config_get_default_view) (calendar_config_set_default_view) (calendar_config_get_hpane_pos, calendar_config_set_hpane_pos) (calendar_config_get_vpane_pos, calendar_config_set_vpane_pos) (calendar_config_get_month_hpane_pos) (calendar_config_set_month_hpane_pos) (calendar_config_get_month_vpane_pos) (calendar_config_set_month_vpane_pos) (calendar_config_get_compress_weekend) (calendar_config_set_compress_weekend) (calendar_config_get_show_event_end) (calendar_config_set_show_event_end) (calendar_config_get_working_days) (calendar_config_set_working_days) (calendar_config_get_hide_completed_tasks) (calendar_config_set_hide_completed_tasks) (calendar_config_get_hide_completed_tasks_units) (calendar_config_set_hide_completed_tasks_units) (calendar_config_get_hide_completed_tasks_value) (calendar_config_set_hide_completed_tasks_value) (calendar_config_get_confirm_delete) (calendar_config_set_confirm_delete) (calendar_config_get_confirm_expunge) (calendar_config_set_confirm_expunge) (calendar_config_get_tasks_due_today_color) (calendar_config_set_tasks_due_today_color) (calendar_config_get_tasks_overdue_color) (calendar_config_set_tasks_overdue_color) (calendar_config_get_use_default_reminder) (calendar_config_set_use_default_reminder) (calendar_config_get_default_reminder_interval) (calendar_config_set_default_reminder_interval) (calendar_config_get_default_reminder_units) (calendar_config_set_default_reminder_units) (calendar_config_default_calendar_folder) (calendar_config_default_tasks_folder): Update config paths for new config convention, etc. * gui/alarm-notify/save.c (KEY_LAST_NOTIFICATION_TIME, etc): Updated keys to lowercase/proper path. (save_calendars_to_load): Store the calendars list as a gconf list. (get_calendars_to_load): Load the calendars list as a gconf list. (save_blessed_program): Similar, for the blessed program list. (is_blessed_program): Same here. * gui/alarm-notify/config-data.c (config_data_get_timezone): Update the path to the timezone key. (config_data_get_24_hour_format): Fix path to config option. * conduits/todo/todo-conduit.c (get_default_timezone): lower-case the timezone key. * conduits/calendar/calendar-conduit.c (get_default_timezone): lower-case the timezone key. * cal-client/cal-client.c (get_default_uri): Use the proper path to get the default folder uri's. svn path=/trunk/; revision=20017
* CalClient and CalComponent are GObjects.Chris Toshok2003-01-272-19/+19
| | | | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * conduits/todo/todo-conduit.c: CalClient and CalComponent are GObjects. * conduits/calendar/calendar-conduit.c: same. svn path=/trunk/; revision=19645
* fix warning. (get_default_timezone): BonoboConfigDatabase ->Chris Toshok2003-01-272-87/+14
| | | | | | | | | | | | | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * conduits/calendar/calendar-conduit.c (start_calendar_server): fix warning. (get_default_timezone): BonoboConfigDatabase -> e_config_listener. (accept_all_cookies): remove. (conduit_get_gpilot_conduit): remove the oaf initialization stuff. * conduits/todo/todo-conduit.c (start_calendar_server): fix warning. (get_default_timezone): BonoboConfigDatabase -> e_config_listener. (accept_all_cookies): remove. (conduit_get_gpilot_conduit): remove the oaf initialization stuff. * Makefile.am (CONDUIT_DIR): uncomment the conduit stuff. svn path=/trunk/; revision=19642
* load multi_day_split (calconduit_save_configuration): save itJP Rosevear2002-10-011-4/+75
| | | | | | | | | | | | | | | | | | | | | | 2002-09-30 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (calconduit_load_configuration): load multi_day_split (calconduit_save_configuration): save it (calconduit_dupe_configuration): copy it (e_cal_gui_new): create gui for it (e_cal_gui_fill_widgets): fill gui with value (e_cal_gui_fill_config): get value from gui and store in config (e_calendar_context_destroy): destroy new_cfg and gui properly (process_multi_day): skip item if its multi-day and we don't want to split (fill_widgets): fill local config widgets (create_settings_window): create local config widgets (save_settings): fill config from local widgets Fixes #23763 svn path=/trunk/; revision=18269
* make sure the start/end for no time palm events are DATE values, tidy codeJP Rosevear2002-09-241-13/+18
| | | | | | | | | | 2002-09-24 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (comp_from_remote_record): make sure the start/end for no time palm events are DATE values, tidy code slightly svn path=/trunk/; revision=18199
* convert to date values if the original start and end were both datesJP Rosevear2002-09-241-2/+6
| | | | | | | | | | 2002-09-24 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (process_multi_day): convert to date values if the original start and end were both dates svn path=/trunk/; revision=18198
* add libeutil to the linkJP Rosevear2002-09-242-0/+2
| | | | | | | | | | 2002-09-23 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: add libeutil to the link * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=18172
* added PermissionDenied exception and make it be raised in open,Rodrigo Moya2002-05-172-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-16 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: added PermissionDenied exception and make it be raised in open, updateObjects and removeObject. * pcs/cal-backend.h: added CAL_BACKEND_OPEN_PERMISSION_DENIED to CalBackendOpenStatus enumeration, added CalBackendResult enumeration. * pcs/cal.c: * pcs/cal-backend.c: * pcs/cal-backend-file.c: adapted to changes in update_objects and remove_object methods. * cal-client/cal-client.[ch]: added CalClientResult enumeration. (cal_client_update_object, cal_client_update_objects, cal_client_remove_object): changed to return a CalClientResult. * conduits/calendar/calendar-conduit.c: * calendar/conduits/todo/todo-conduit.c: * importers/icalendar-importer.c: * gui/dialogs/comp-editor.c: * gui/calendar-model.c: * gui/e-calendar-table.c: * gui/e-day-view.c: * gui/e-itip-control.c: * gui/e-week-view.c: * gui/comp-util.c: * gui/e-tasks.c: * gui/tasks-migrate.c: adapted to changes in cal_client_update_object(s) and cal_client_remove_object. svn path=/trunk/; revision=16932
* s/libversit.la/libversit.a/JP Rosevear2002-03-302-2/+2
| | | | | | | | | | 2002-03-29 JP Rosevear <jpr@ximian.com> * conduits/calendar/Makefile.am: s/libversit.la/libversit.a/ * conduits/todo/Makefile.am: ditto svn path=/trunk/; revision=16288
* new gui routines for conduit settings (e_todo_gui_fill_config): dittoJP Rosevear2002-02-051-6/+75
| | | | | | | | | | | | | | | | | 2002-02-04 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (e_todo_gui_new): new gui routines for conduit settings (e_todo_gui_fill_config): ditto (e_todo_gui_fill_widgets): ditto (e_todo_gui_destroy): ditto (e_todo_context_destroy): destroy new_cfg and gui properly (local_record_from_comp): set the priority to the default setting if none is set on the icalendar object (fill_widgets): fill gui widgets (create_settings_window): create gui svn path=/trunk/; revision=15569
* Clean up some of the Makefiles so we dont' link every library multipleEttore Perazzoli2002-01-252-18/+4
| | | | | | times, causing big libtool 1.4 pain. svn path=/trunk/; revision=15461
* Buffers Files Tools Edit Search Mule HelpJP Rosevear2002-01-222-11/+21
| | | | | | | | | | | | | | 2002-01-21 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (todoconduit_load_configuration): return a new configuration struct, load default priority setting (todoconduit_save_configuration): save default priority setting (e_todo_context_new): dupe configuration * conduits/calendar/calendar-conduit.c (e_calendar_context_new): set ps to NULL svn path=/trunk/; revision=15419
* move all functions here, get rid of header files, use e-pilot-settings toJP Rosevear2002-01-1510-568/+502
| | | | | | | | | | | 2002-01-14 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c: move all functions here, get rid of header files, use e-pilot-settings to display gui * conduits/todo/todo-conduit.c: as above svn path=/trunk/; revision=15322
* go slow and clear the map if the last uri and the current uri do not matchJP Rosevear2001-12-194-23/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-19 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (check_for_slow_setting): go slow and clear the map if the last uri and the current uri do not match (post_sync): save the last uri * conduits/calendar/calendar-conduit-config.h: handle a last uri config option * conduits/todo/todo-conduit-config.h: ditto * conduits/calendar/calendar-conduit.c (start_calendar_server): use the open_default_calendar method * conduits/todo/todo-conduit.c (start_calendar_server): same as above * cal-client/Makefile.am: link with bonobo conf * cal-client/cal-client.h: new protos * idl/evolution-calendar.idl: make sure open method raises appropriate exceptions * gui/e-itip-control.c (start_calendar_server): use cal_client_open_default_* calls * cal-client/cal-client.c (real_open_calendar): do the real work of loading (cal_client_open_calendar): use above (get_fall_back_uri): get the basic local uri (get_default_uri): get the default uri from the config db (cal_client_open_default_calendar): open the default uri or the fallback if the method is unsupported (cal_client_open_default_tasks): same for tasks svn path=/trunk/; revision=15179
* if we have an alarm that can be represented on the pilot, set theJP Rosevear2001-12-091-0/+97
| | | | | | | | | | | | | | | | | | | | 2001-12-08 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (local_record_from_comp): if we have an alarm that can be represented on the pilot, set the appointment fields appropriately, if the duration has values for minutes and/or hours and/or days, use the lowest common denominator (comp_from_remote_record): if the appointment on the pilot has an alarm, find the first alarm an item currently had that is relative to the start and with a negative duration and update it (or create a new one if no valid ones exist) * cal-util/cal-component.c (cal_component_get_alarm_uids): build list in the order they appear in the component so we get consisting order for the gui and for the pilot svn path=/trunk/; revision=14943
* remove silly debug warningJP Rosevear2001-11-151-2/+0
| | | | | | | | | 2001-11-14 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (pre_sync): remove silly debug warning svn path=/trunk/; revision=14697
* make the timezone default to UTC. Fixes bug #14362.Damon Chaplin2001-11-142-8/+12
| | | | | | | | | | | | 2001-11-13 Damon Chaplin <damon@ximian.com> * gui/alarm-notify/config-data.c (ensure_inited): * gui/calendar-config.c (config_read): * conduits/todo/todo-conduit.c (get_default_timezone): * conduits/calendar/calendar-conduit.c (get_default_timezone): make the timezone default to UTC. Fixes bug #14362. svn path=/trunk/; revision=14691
* move in whole day increments if we are in all day modeJP Rosevear2001-10-311-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2001-10-30 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_button_press): move in whole day increments if we are in all day mode * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_start_time_changed): get rid of localtime call (e_meeting_time_selector_on_end_time_changed): ditto (e_meeting_time_selector_update_start_date_edit): set the date editor using the meeting time fields directly (e_meeting_time_selector_update_end_date_edit): ditto * gui/dialogs/schedule-page.c (update_time): do the set_show_time stuff first * conduits/calendar/calendar-conduit.c (process_multi_day): don't adjust the time, set the default timezone for date values svn path=/trunk/; revision=14475
* process an individual section here (select_names_ok_cb): call aboveJP Rosevear2001-10-301-26/+50
| | | | | | | | | | | 2001-10-30 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (process_section): process an individual section here (select_names_ok_cb): call above (get_select_name_dialog): listen for ok:dialog signal svn path=/trunk/; revision=14438
* handle date valuesJP Rosevear2001-10-301-1/+4
| | | | | | | | | 2001-10-29 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (is_all_day): handle date values svn path=/trunk/; revision=14357
* get the management object by idJP Rosevear2001-10-302-2/+2
| | | | | | | | | | | | 2001-10-29 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit-config.h (todoconduit_load_configuration): get the management object by id * conduits/calendar/calendar-conduit-config.h (calconduit_load_configuration): ditto svn path=/trunk/; revision=14353
* unref the comp when finishedJP Rosevear2001-10-294-19/+7
| | | | | | | | | | | 2001-10-28 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (add_record): unref the comp when finished * conduits/todo/todo-conduit.c (add_record): ditto svn path=/trunk/; revision=14316
* Fixing the license text.Ettore Perazzoli2001-10-286-24/+18
| | | | svn path=/trunk/; revision=14214
* touch on lookup (check_for_slow_setting): write touched only if slow syncJP Rosevear2001-10-272-9/+13
| | | | | | | | | | | | | | | | | 2001-10-27 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (local_record_from_comp): touch on lookup (check_for_slow_setting): write touched only if slow sync (match): touch on lookup * conduits/calendar/calendar-conduit.c (local_record_from_comp): touch the record on lookup (check_for_slow_setting): write touched only if slow sync (pre_sync): don't touch on lookup (match): touch on lookup svn path=/trunk/; revision=14210
* remove the merges as valid sync typesJP Rosevear2001-10-276-18/+36
| | | | | | | | | | | | | | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * conduits/calendar/e-calendar.conduit.in: remove the merges as valid sync types * conduits/todo/e-todo.conduit.in: as above * conduits/calendar/calendar-conduit.c (pre_sync): write out only the touched records if we are doing copies * conduits/todo/todo-conduit.c: as above * conduits/calendar/calendar-conduit-config.h (calconduit_load_configuration): get the sync type * conduits/todo/todo-conduit-config.h: as above svn path=/trunk/; revision=14198
* make debug output more accurateJP Rosevear2001-10-272-20/+16
| | | | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (check_for_slow_setting): make debug output more accurate * conduits/todo/todo-conduit.c (check_for_slow_setting): ditto svn path=/trunk/; revision=14156
* remove the uid from the map if was archived and is now deletedJP Rosevear2001-10-272-2/+6
| | | | | | | | | | | 001-10-26 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (pre_sync): remove the uid from the map if was archived and is now deleted * conduits/calendar/calendar-conduit.c: ditto svn path=/trunk/; revision=14151
* modify fieldsJP Rosevear2001-10-264-87/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.h: modify fields * conduits/todo/todo-conduit.h: as above * conduits/calendar/calendar-conduit.c (print_remote): free the struct after use (e_calendar_context_new): explicitly init context fields (e_calendar_context_destroy): free local records and properly free changed hash elements (start_calendar_server_cb): tidy (start_calendar_server): ditto (free_local): free a local record (local_record_to_pilot_record): use a static buffer to avoid leaks (local_record_from_comp): only copy over alarm stuff from the original record, we sync everything else (local_record_from_uid): unref the comp when we are done (pre_sync): free change_id (post_sync): ditto (for_each): track locals (for_each_modified): ditto (free_match): use free_local * conduits/todo/todo-conduit.c: as above svn path=/trunk/; revision=14139
* track the spacer vbox (e_meeting_time_selector_style_set): make sure theJP Rosevear2001-10-251-6/+23
| | | | | | | | | | | | | | | | | | | | | | | 2001-10-24 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): track the spacer vbox (e_meeting_time_selector_style_set): make sure the rows are the correct size for the style * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_paint_day_top): slight adjustments to where the text is drawn * gui/e-meeting-time-sel.h: new member * gui/e-meeting-model.c (build_etable): ensure uniform row height * conduits/todo/todo-conduit.c (comp_from_remote_record): mark status as completed in appropriate places and don't overwrite legitimate percentages and such svn path=/trunk/; revision=13989
* convert an icaltimetype to a tm (tm_to_icaltimetype): vice versaJP Rosevear2001-10-242-42/+38
| | | | | | | | | | | | | | | | | | 2001-10-23 JP Rosevear <jpr@ximian.com> * cal-util/timeutil.c (icaltimetype_to_tm): convert an icaltimetype to a tm (tm_to_icaltimetype): vice versa * cal-util/timeutil.h: new protos * conduits/calendar/calendar-conduit.c: replace all mktime and localtime calls (except for debugging calls) * conduits/todo/todo-conduit.c: ditto (comp_from_remote_record): make sure the completed time is in UTC svn path=/trunk/; revision=13946
* added setDefaultTimezone() method.Damon Chaplin2001-10-232-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-22 Damon Chaplin <damon@ximian.com> * idl/evolution-calendar.idl: added setDefaultTimezone() method. * pcs/cal-backend.c (cal_backend_get_default_timezone): (cal_backend_set_default_timezone): new functions to call class methods. * pcs/cal-backend-file.c: lots of changes to handle the default timezone and use it. * pcs/query.c: use the default timezone. * gui/dialogs/task-details-page.c (date_changed_cb): initialized completed_tt. * gui/dialogs/event-page.c: changed it to handle DATE values. The 'All Day Event' checkbox is only set now when the DTSTART and DTEND are DATE values. * gui/dialogs/comp-editor-util.c (comp_editor_free_dates): free the CalComponentDateTime structs as well. * gui/e-tasks.c: set the default timezone on the server. * gui/tag-calendar.c: * gui/gnome-cal.c: * gui/e-week-view.c: * gui/e-day-view.c: updates to handle DATE values. * gui/e-calendar-table.c (date_compare_cb): updated to use the new ECellDateEditValue values, so it now works. (percent_compare_cb): updated to use GPOINTER_TO_INT values. (e_calendar_table_init): use an ECellPercent for the percent field and an ECellDateEditText for the date fields. * gui/comp-util.c (cal_comp_util_compare_event_timezones): return TRUE if the DTSTART or DTEND is a DATE value. We don't want to show the timezone icons for DATE values. * gui/comp-editor-factory.c (resolve_pending_requests): set the default timezone on the server. * gui/calendar-model.c: major changes to support sorting properly. For date and percent fields we now use subclasses of ECellText, so we don't use a char* as the model value. For the percent field we now use a GINT_TO_POINTER. For the date fields we now use a ECellDateEditValue* as the value. * gui/calendar-config.c (calendar_config_configure_e_cell_date_edit): set the timezone and use_24_hour flags of the new ECellDateEditText. * conduits/todo/todo-conduit.c (pre_sync): * conduits/calendar/calendar-conduit.c (pre_sync): set the default timezone on the server. * cal-util/timeutil.c (time_days_in_month): removed debug message. * cal-util/test-recur.c: try to handle timezones in the iCalendar file properly, and updated to pass default timezone. * cal-util/cal-util.c (cal_util_generate_alarms_for_comp): (cal_util_generate_alarms_for_list): added default timezone argument. * cal-util/cal-recur.c: changed many of the functions to take a default timezone, to use to resolve DATE and floating DATE-TIME values. * cal-client/cal-client.c (cal_client_set_default_timezone): new function to set the default timezone. (cal_client_ensure_timezone_on_server): new function to ensure that a given timezone is on the server. * gui/e-cell-date-edit-text.c: new subclass of ECellText to display and edit a date value. * cal-util/cal-recur.c (cal_obj_byday_expand_monthly): changed week_num to -week_num when calculating the weeks to go back from the end of the month for things like BYDAY=-2WE. Fixes bug #11525. (cal_recur_generate_instances_of_rule): only go up to MAX_YEAR (2037). We can't really handle anything past that anyway. (cal_recur_ensure_rule_end_date): initialize cb_date.end_date to 0, so if the RULE doesn't generate COUNT instances we save 0 as the time_t. svn path=/trunk/; revision=13920
* write out the correct time in the controlJP Rosevear2001-10-232-3/+3
| | | | | | | | | | | | | | | | | 2001-10-22 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (set_date_label): write out the correct time in the control * pcs/cal.c (build_fb_seq): utility function to build sequences of f/b data (impl_Cal_get_free_busy): use above so we never return a NULL * conduits/calendar/calendar-conduit-config.h (calconduit_save_configuration): fix c/p error (calconduit_load_configuration): ditto svn path=/trunk/; revision=13876
* translate 1-5 priorites to 1-9 priorities betterJP Rosevear2001-10-181-4/+34
| | | | | | | | | | 2001-10-17 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (local_record_from_comp): translate 1-5 priorites to 1-9 priorities better (comp_from_remote_record): ditto svn path=/trunk/; revision=13736
* function to break up multi day events into single events for both evo andJP Rosevear2001-10-161-4/+100
| | | | | | | | | | | | 2001-10-15 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (process_multi_day): function to break up multi day events into single events for both evo and the pilot and create new CalClientChange structures (pre_sync): call above function, and adjust changed list if necessary svn path=/trunk/; revision=13678
* util function to determine if event is all day (local_record_from_comp):JP Rosevear2001-10-151-16/+38
| | | | | | | | | | | 2001-10-15 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (is_all_day): util function to determine if event is all day (local_record_from_comp): use new util function (comp_from_remote_record): kill use of deprecated time functions svn path=/trunk/; revision=13673
* handle -1 as well (comp_from_remote_record): fix monthly by dayJP Rosevear2001-10-021-3/+7
| | | | | | | | | | | 2001-10-02 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (nth_weekday): handle -1 as well (comp_from_remote_record): fix monthly by day recurrences and handle "last" day type svn path=/trunk/; revision=13300
* Convert the comp exceptions to the pilot record (comp_from_remote_record):JP Rosevear2001-10-021-6/+48
| | | | | | | | | | | 2001-10-01 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (local_record_from_comp): Convert the comp exceptions to the pilot record (comp_from_remote_record): record exceptions in the comp and use time zone stuff on recurrence end date svn path=/trunk/; revision=13269
* Handle the fields and category we don't sync by making sure we don'tJP Rosevear2001-09-294-13/+47
| | | | | | | | | | | | | | | | 2001-09-28 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (local_record_from_comp): Handle the fields and category we don't sync by making sure we don't overwrite them (local_record_to_pilot_record): use local record category (pre_sync): track db info * conduits/calendar/calendar-conduit.h: db info field * conduits/todo/todo-conduit.[hc]: same as above svn path=/trunk/; revision=13235
* remove translation marker for nowJP Rosevear2001-09-151-1/+1
| | | | | | | | | 2001-09-14 JP Rosevear <jpr@ximian.com> * conduits/calendar/e-calendar.conduit.in: remove translation marker for now svn path=/trunk/; revision=12831
* fix pre-processor macrosJP Rosevear2001-08-094-4/+4
| | | | | | | | | | | | | | | 2001-08-08 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit-config.h: fix pre-processor macros * conduits/calendar/calendar-conduit.h: ditto * conduits/todo/todo-conduit-config.h: fix pre-processor macros * conduits/todo/todo-conduit.h: ditto svn path=/trunk/; revision=11793
* started some code to show the currently displayed dates in the folderDamon Chaplin2001-07-312-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-30 Damon Chaplin <damon@ximian.com> * gui/gnome-cal.c: * gui/calendar-commands.c (clear_folder_bar_label): started some code to show the currently displayed dates in the folder title bar. Unfinished. * gui/e-itip-control.c (set_date_label): * conduits/todo/todo-conduit.c (local_record_from_comp): * conduits/calendar/calendar-conduit.c (local_record_from_comp): free the CalComponentDateTimes. (Note the iTIP control needs updating for timezone support.) * cal-util/cal-component.c: Changed CalComponentDateTime so that the TZID is malloc'ed and freed rather than being a pointer to a static string. This was causing problems as sometimes we were freeing the string that was being pointed to, so we got corrupted TZIDs. * gui/comp-util.c (cal_comp_util_add_exdate): set TZID to NULL. DATE values do not have timezones. * gui/e-week-view.c: * gui/e-day-view.c: Moved 'Paste' after the New Appointment commands, since I think they are more commonly-used. Also added underlined accelerator keys. * gui/e-calendar-table.c: changed 'Edit this task' to 'Open' in the popup menu to be consistent with other folders, and separated from the clipboard commands. Also changed to use EPopupMenu so the accelerators work, and the masks may be useful at some point. * gui/dialogs/recurrence-page.c: use DATE values for UNTIL, since that makes it simpler. Fixes bug #5034. * gui/calendar-config.c (calendar_config_set_timezone): strdup the location string. Fixes bug #4990. * gui/tag-calendar.c (tag_calendar_cb): take 1 off iend as the times don't include the end time. * gui/e-week-view-layout.c (e_week_view_layout_event): fixed days_shown. Fixes bug #5709. * cal-client/cal-client.c (cal_client_get_timezone): took out some debugging messages. svn path=/trunk/; revision=11494
* recur is always in UTCJP Rosevear2001-07-281-1/+1
| | | | | | | | | 2001-07-27 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (local_record_from_comp): recur is always in UTC svn path=/trunk/; revision=11463
* handle timezones everywhere (get_timezone): new function to get a timezoneJP Rosevear2001-07-286-22/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-27 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c: handle timezones everywhere (get_timezone): new function to get a timezone based on a tzid (get_default_timezone): get default timezone * conduits/calendar/calendar-conduit.h: time zone field for the context * conduits/calendar/Makefile.am: link to bonobo conf * conduits/todo/todo-conduit.c: handle timezones everywhere (get_timezone): new function to get a timezone based on a tzid (get_default_timezone): get default timezone * conduits/todo/todo-conduit.h: time zone field for the context * conduits/todo/Makefile.am: link to bonobo conf svn path=/trunk/; revision=11461
* Bump required gal version for new accessors in ETree.Peter Williams2001-06-282-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-27 Peter Williams <peterw@ximian.com> * configure.in (gal): Bump required gal version for new accessors in ETree. mail: 2001-06-27 Peter Williams <peterw@ximian.com> * folder-browser-ui.c: Uncomment EditSelectThread. Yaay! * mail-callbacks.c (select_thread): New function. Self-explanatory name. Implementation is a little hairy. * mail-callbacks.h: Prototype it here. * mail-callbacks.c (invert_selection): Here too. (select_all): Here too. * subscribe-dialog.c (subscribe_select_all): Update to use new ETree accessors. (subscribe_invert_selection): Here too. calendar: 2001-06-27 Peter Williams <peterw@ximian.com> * conduits/*/Makefile.am (INCLUDES): More srcdir != builddir fixes. svn path=/trunk/; revision=10544
* Rest of previous commit (got messed up somehow).Peter Williams2001-06-271-0/+2
| | | | svn path=/trunk/; revision=10512
* libwombat:Peter Williams2001-06-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2001-06-25 Peter Williams <peterw@ximian.com> * Makefile.am (libwombat_static_la_SOURCES): Create a static libwombat for the conduits. calendar: 2001-06-25 Peter Williams <peterw@ximian.com> * conduits/calendar/Makefile.am (INCLUDES): Fixes for srcdir != builddir. Link to the static libwombat. * conduits/todo/Makefile.am (INCLUDES): Here too. addressbook: 2001-06-25 Peter Williams <peterw@ximian.com> * conduit/Makefile.am (INCLUDES): Fix for srcdir != builddir. svn path=/trunk/; revision=10511
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-236-12/+12
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* tweaked for some gnome-pilot api changesEskil Heyn Olsen2001-06-192-9/+2
| | | | svn path=/trunk/; revision=10284
* Remove UNICODE_LIBSDan Winship2001-04-271-1/+0
| | | | | | | | | * conduits/todo/Makefile.am (libetodo_conduit_la_LIBADD): Remove UNICODE_LIBS * cal-client/Makefile.am (client_test_LDADD): Remove -lunicode svn path=/trunk/; revision=9588
* create doc/devel/executive-summary/MakefileGediminas Paulauskas2001-03-152-0/+15
| | | | | | | | | | | | | 2001-03-14 Gediminas Paulauskas <menesis@delfi.lt> * configure.in: create doc/devel/executive-summary/Makefile * doc/C/Makefile.am: there's no apx-fdl.sgml and evolution-guide.sgml anymore * filter/filter-system-flag.c: translate status flag title. svn path=/trunk/; revision=8714
* PISOCK_INCLUDEDIR has become PISOCK_CFLAGS in gnome-pilot.m4 and removeJP Rosevear2001-03-137-758/+5
| | | | | | | | | | | 2001-03-09 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: PISOCK_INCLUDEDIR has become PISOCK_CFLAGS in gnome-pilot.m4 and remove capplet foo * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=8651
* install conduit iconsJP Rosevear2001-03-034-14/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2001-03-02 JP Rosevear <jpr@ximian.com> * art/Makefile.am: install conduit icons 2001-03-02 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: update sed script * conduit/e-address.conduit.in: update for new pilot foo 2001-03-02 JP Rosevear <jpr@ximian.com> * conduits/todo/e-todo.conduit.in: update for new pilot foo * conduits/calendar/e-calendar.conduit.in: ditto * conduits/todo/Makefile.am: update sed script * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=8529
* Oops, forgotten bits from last commitJP Rosevear2001-02-202-2/+2
| | | | svn path=/trunk/; revision=8294
* Remove PISOCK_LIBDIRJP Rosevear2001-02-202-2/+2
| | | | | | | | | | | | | | 001-02-19 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: Remove PISOCK_LIBDIR * conduits/calendar/Makefile.am: ditto 2001-02-19 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: Remove PISOCK_LIBDIR svn path=/trunk/; revision=8287
* Getting almost full and proper use of xml-i18n-tools.Gediminas Paulauskas2001-02-119-81/+23
| | | | | | | | | | | | | | | | | Removed all files where glade writes strings. Changed Makefile.am to not distribute them. Changed all glade files to not write strings to those files. Removed *.desktop and evolution.keys files, because they are generated. Added them to .cvsignore Added *.desktop.in evolution.keys.in files without transalted strings. Added all existing entries from desktop files to po files. Changed Makefile.am to distribute only .in files, and merge translations into desktop files. Removed obsolete files from po/ dir svn path=/trunk/; revision=8164
* Added Slovak messagesStano Visnovsky2001-01-303-0/+6
| | | | svn path=/trunk/; revision=7893
* libical import cleanupJP Rosevear2001-01-242-7/+7
| | | | | | | | 2001-01-23 JP Rosevear <jpr@ximian.com> * libical import cleanup svn path=/trunk/; revision=7753
* properly ref the cal component when we use it, prevents double freeJP Rosevear2001-01-232-1/+3
| | | | | | | | | | | 2001-01-23 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (local_record_from_comp): properly ref the cal component when we use it, prevents double free * conduits/calendar/calendar-conduit.c (local_record_from_comp): ditto svn path=/trunk/; revision=7741
* remove duplicate messageJP Rosevear2001-01-234-26/+22
| | | | | | | | | | | | | | | | 2001-01-22 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (for_each_modified): remove duplicate message * conduits/calendar/Makefile.am: Remove vfs lib dependency * conduits/todo/Makefile.am: ditto * conduits/calendar/calendar-conduit.c: Remove alarm foo for now (for_each_modified): remove duplicate message svn path=/trunk/; revision=7725
* Remove alarm foo for nowJP Rosevear2001-01-232-27/+3
| | | | | | | | | | | | | | | 2001-01-22 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c: Remove alarm foo for now 2001-01-21 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (delete_record): Remove deleted records from the pilot map so we don't have dupes in the future * conduits/todo/todo-conduit.c (delete_record): ditto svn path=/trunk/; revision=7719
* Updated sl translationsAndraz Tori2001-01-221-0/+2
| | | | svn path=/trunk/; revision=7701
* create a new cal component alarm (cal_component_add_alarm): add alarm toJP Rosevear2001-01-191-0/+27
| | | | | | | | | | | | | | | | | | | | | | 2001-01-19 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.c (cal_component_alarm_new): create a new cal component alarm (cal_component_add_alarm): add alarm to the cal component (cal_component_remove_alarm): remove alarm from the cal component (remove_alarm): remove alarm from hash * cal-util/cal-component.h: new protos * conduits/calendar/calendar-conduit.c (comp_from_remote_record): add alarm information, still needs to be hacked to replace an already existing alarm. questions abound about the heuristic for doing this. 2001-01-17 JP Rosevear <jpr@ximian.com> * README: Update package requirements svn path=/trunk/; revision=7647
* Check for open error and handledJP Rosevear2001-01-172-2/+4
| | | | | | | | | | | 1-01-17 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (start_calendar_server): Check for open error and handled * conduits/todo/todo-conduit.c (start_calendar_server): ditto svn path=/trunk/; revision=7579
* Ximianified email addresses and copyrights.Federico Mena Quintero2001-01-174-48/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-17 Federico Mena Quintero <federico@ximian.com> * */*: Ximianified email addresses and copyrights. * idl/evolution-calendar.idl (CalFactory::open): Renamed from ::load(), and added an only_if_exists argument. (CalFactory::create): Removed method. (Listener::OpenStatus): Removed the IN_USE error and replaced it with a NOT_FOUND one; renamed the enum from LoadStatus. (Listener::notifyCalOpened): Renamed from notifyCalLoaded(). * pcs/cal-backend.h (CalBackend): Removed the uri field. (CalBackendOpenStatus): Renamed from CalBackendLoadStatus and added a NOT_FOUND value. (CalBackendClass::open): Put in a slot for the open method. * pcs/cal-backend.c (cal_backend_create): Removed function. * pcs/cal-backend-file.c (cal_backend_file_open): Return the appropriate value when only_if_exists is TRUE. (create_cal): We are Ximian now, so set the PRODID property to the appropriate foo. * pcs/cal-factory.c (CalFactory_open): implemented, replacing CalFactory_load() and CalFactory_create(). (CalFactory_open): Moved the queue_load_create_job() stuff to here, since we now only need to contemplate the open case instead of load/create ones. (open_backend): Do everything here; replaces load_backend() and create_backend(). * cal-client/cal-listener.h (CalListenerClass::cal_opened): Renamed from cal_loaded. (CalListenerClass): Replaced the silly signals, which are gratuitous abstraction, by a set of function pointers in the instance structure. * cal-client/cal-listener.c (cal_listener_get_calendar): Removed unused function. (cal_listener_construct): Added the listener notification functions. (cal_listener_new): Ditto. (Listener_notifyCalOpened): Renamed to our new naming convention for servant implementations. (Listener_notifyObjUpdated): Ditto. (Listener_notifyObjRemoved): Ditto. * cal-client/cal-client.h (CalClientOpenStatus): Renamed from CalClientLoadStatus. (CalClientClass::cal_opened): Renamed from ::cal_loaded(). (CalClientLoadState): New enum; basically make LoadState public so that users of this code do not have to maintain their own states. * cal-client/cal-client.c (cal_client_create_calendar): Removed function. (cal_client_open_calendar): Moved the functionality over from load_or_create(); now we do everything here. (*): Use the CalClientLoadState enum values instead of the old LoadState values. (cal_client_get_load_state): Renamed from cal_client_is_loaded(), and return the appropriate value. (CalClientPrivate): Added an uri field. (cal_client_init): Initialize priv->uri. (cal_client_destroy): Free the priv->uri. (cal_opened_cb): Maintain the priv->uri. (cal_client_open_calendar): Fill in the priv->uri. (cal_client_get_uri): New function. * gui/calendar-model.c (calendar_model_set_new_comp_vtype): New function to configure the type of calendar components to create when doing click-to-add. This makes the model usable for something other than task lists. (calendar_model_get_new_comp_vtype): New function. * gui/e-calendar-table.c (e_calendar_table_get_model): New function. (e_calendar_table_destroy): Unref the subset_model. * gui/gnome-cal.h (GnomeCalendarOpenMode): Removed enum. * gui/gnome-cal.c (LoadState): Removed enum; we now use the CalClientLoadState from the client objects. (GnomeCalendarPrivate): Removed the loading_uri and task_pad_loading_uri fields as well as the load_state and task_pad_load_state fields, as we can now query them directly from the CalClient. (open_error): Renamed from load_error(). (create_error): Removed function. (gnome_calendar_open): Do not take in the mode parameter. (cal_opened_cb): Get rid of our beautifully-crafted state machine and replace it with simple code; all the loading smarts are in the Wombat now. (setup_widgets): Set the new component vtype of the table model to CAL_COMPONENT_TODO. * gui/Makefile.am (evolution_calendar_SOURCES): Removed gnome-month-item.[ch] from the list of sources. * gui/calendar-summary.c (CalSummary): Removed unused cal_loaded field. (create_summary_view): Do not check if the file exists; this is the job of the Wombat. (generate_html_summary): Fixed prototype. (alarm_fn): Fixed prototype. (property_dialog): Fixed prototype. Wonder if/how this ever worked. (create_summary_view): Cast the component and view as appropriate. Removed unused html variable. [Iain dude, are you compiling with -Wall?] * gui/e-itip-control.c (cal_opened_cb): Sigh, this function signature was *very* wrong. It was using CalClientGetStatus instead of CalClientOpenStatus. * gui/e-tasks.h (ETasksOpenMode): Removed enum. * gui/e-tasks.c (setup_widgets): Set the new component vtype of the table model to CAL_COMPONENT_TODO. (LoadState): Removed the state machine foo. (e_tasks_open): Removed the mode parameter. (initial_load): Removed function. (create_error): Removed function. (ETasksPrivate): Removed folder_uri field. (cal_opened_cb): Remove the state machine. * gui/component-factory.c: #include "tasks-control.h" * conduits/calendar/calendar-conduit.h (ECalConduitContext): Removed calendar_load_tried field. * conduits/calendar/calendar-conduit.c (start_calendar_server_cb): Sigh, fixed function prototype. * conduits/todo/todo-conduit.h (EToDoConduitContext): Removed calendar_load_tried field. * conduits/todo/todo-conduit.c (start_calendar_server_cb): Fixed function prototype. svn path=/trunk/; revision=7571
* fix debug output (print_remote): dittoJP Rosevear2001-01-171-13/+7
| | | | | | | | | 2001-01-16 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (print_local): fix debug output (print_remote): ditto svn path=/trunk/; revision=7548
* accomadate tasks in their new dirJP Rosevear2001-01-161-2/+2
| | | | | | | | | | | 2001-01-15 JP Rosevear <jpr@ximian.com> * pcs/cal-backend.c (cal_backend_compute_changes): accomadate tasks in their new dir * conduits/todo/todo-conduit.c (start_calendar_server): ditto svn path=/trunk/; revision=7512
* '2001-01-15 JP Rosevear <jpr@ximian.com>JP Rosevear2001-01-162-24/+38
| | | | | | | | | | | | | | | | * conduit/address-conduit.c (print_local): prevent segfaults and buffer overflows (print_remote): ditto 2001-01-15 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (print_local): prevent segfaults and buffer overflows. (print_remote): ditto * conduits/calendar/calendar-conduit.c: as above svn path=/trunk/; revision=7504
* pass -module and -avoid-version to conduit linkerJP Rosevear2001-01-142-0/+2
| | | | | | | | | | | 2001-01-14 JP Rosevear <jpr@ximian.com> * conduits/calendar/Makefile.am: pass -module and -avoid-version to conduit linker * conduits/todo/Makefile.am: ditto svn path=/trunk/; revision=7490
* Fix erroneous documentationJP Rosevear2000-12-214-59/+98
| | | | | | | | | | | | | | | | | | | | | | 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-202-6/+11
| | | | | | | | | | | | | | | | 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-202-27/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Even though icaltime_from_timet() now properly ignores the is_utc argumentFederico Mena Quintero2000-12-142-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Revert federico's change for now because of libtool limitations withJP Rosevear2000-12-132-2/+2
| | | | | | | | | | | | 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
* More fixage - FedericoFederico Mena Quintero2000-12-122-2/+2
| | | | svn path=/trunk/; revision=6939
* Ugly hack for syncing until pcs can be altered (longer term)JP Rosevear2000-12-082-3/+19
| | | | | | | | | | | 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
* Update so as not to conflict with calendar (next_changed_item): update toJP Rosevear2000-12-072-84/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-062-0/+2
| | | | | | | | | | 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
* Debug message cleanups (comp_from_remote_record): Properly set the icalJP Rosevear2000-12-012-26/+40
| | | | | | | | | | | | | | | | | 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
* Empty by_day entries are no longer indicated by ICAL_RECURRENCE_ARRAY_MAXJP Rosevear2000-12-011-4/+54
| | | | | | | | | | | 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-011-36/+33
| | | | | | | | | | | | | | 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
* Return a struct rather than a pointer to a struct (compare):JP Rosevear2000-11-292-74/+28
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove "complete" fieldJP Rosevear2000-11-282-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Inc the iterator before finding the next changed item.JP Rosevear2000-11-112-2/+4
| | | | | | | | | | | 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
* Let the warning make sense (compute_pid): removeJP Rosevear2000-11-014-159/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Check boundary case of fast sync72000-10-282-2/+2
| | | | | | | | | | | 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-272-6/+11
| | | | | | | | | | | | | 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-272-3/+1
| | | | | | | | | | | | | | | | 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
* 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
* Lookup a pid by uid. (e_pilot_map_lookup_uid): Lookup a uid by pid. NowJP Rosevear2000-10-252-36/+11
| | | | | | | | | | | | | | | | | | | | | | 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
* Use new libeconduit calls and abstractionJP Rosevear2000-10-244-57/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-242-123/+15
| | | | | | | | | | | 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-242-124/+15
| | | | | | | | | | | | | | | | | 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
* Pulling up stuff from the 0.6 branchJP Rosevear2000-10-216-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Updated Spanish translationHector Garcia2000-10-183-0/+6
| | | | svn path=/trunk/; revision=5990
* Add definesJP Rosevear2000-10-186-57/+63
| | | | | | | | | | | | | | | | | | | | | | 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
* Remove pilot cruft. All pilot stuff is in the conduits now and uses theJP Rosevear2000-10-161-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Store recurrence stuff on the desktop properly (get_ical_day): UtilityJP Rosevear2000-10-121-0/+91
| | | | | | | | | | 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
* Take CalObjType as a param because its impossible to determine after aJP Rosevear2000-10-122-133/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* The element is "pilot_id" not "pilotid". Update both maps (compute_pid):JP Rosevear2000-10-114-82/+103
| | | | | | | | | | | | | | | | | | | 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
* Adjust to using gnome-pilot-sync-abs conduit which is based on the latestJP Rosevear2000-10-1011-1937/+1300
| | | | | | | | | 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
* Updated French translation.Christophe Merlet2000-10-072-0/+4
| | | | svn path=/trunk/; revision=5764
* Don't fail if there is no map file.JP Rosevear2000-09-211-7/+15
| | | | | | | | | 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-212-4/+29
| | | | | | | | | | | | | | | | | 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
* Use a local sax handler.JP Rosevear2000-09-211-33/+2
| | | | | | | | | | | | 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
* Updated the Swedish translation.Christian Rose2000-09-201-2/+2
| | | | svn path=/trunk/; revision=5520
* Add some other cases where a slow sync is in order (pre_sync): Pre loadJP Rosevear2000-09-205-509/+495
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ShushJP Rosevear2000-09-151-2/+2
| | | | | | | | 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-155-69/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Hack to compile for distcheck.JP Rosevear2000-09-132-20/+19
| | | | | | | | | | | 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-131-59/+106
| | | | | | | | | | 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
* Added Swedish translation.Christian Rose2000-09-132-0/+4
| | | | svn path=/trunk/; revision=5367
* Handle renaming, header cleanupJP Rosevear2000-09-112-32/+28
| | | | | | | | | | | 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-111-58/+61
| | | | | | | | | | | | 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-111-4/+10
| | | | | | | | | 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
* Make log output a little more sensible (comp_from_remote_record): MinorJP Rosevear2000-09-111-39/+17
| | | | | | | | | | | | | | | 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-112-281/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Convert "//" style comments (local_record_from_ical_uid): RemoveJP Rosevear2000-09-101-22/+20
| | | | | | | | | | 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-105-268/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use icaltime_as_timetJP Rosevear2000-09-092-4/+2
| | | | | | | | | 2000-09-08 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (transmit): Use icaltime_as_timet svn path=/trunk/; revision=5269
* TidyJP Rosevear2000-09-093-36/+24
| | | | | | | | | | 2000-09-08 JP Rosevear <jpr@helixcode.com> * conduits/calendar/Makefile.am: Tidy * conduits/todo/Makefile.am: Tidy svn path=/trunk/; revision=5263
* Get the calendar conduits to compile.Ettore Perazzoli2000-09-032-4/+12
| | | | svn path=/trunk/; revision=5183
* Added calendar/conduits/Makefile, calendar/conduits/calendar/Makefile andChristopher James Lahey2000-09-022-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-02 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added calendar/conduits/Makefile, calendar/conduits/calendar/Makefile and calendar/conduits/todo/Makefile to the list of makefiles to output. From calendar/ChangeLog: 2000-09-02 Christopher James Lahey <clahey@helixcode.com> * conduits/calendar/calendar-conduit.c, conduits/todo/todo-conduit.c, gui/e-week-view.c, gui/gnome-cal.c: Fixed some warnings. From mail/ChangeLog: 2000-09-01 Christopher James Lahey <clahey@helixcode.com> * folder-browser.c: Removed a warning. svn path=/trunk/; revision=5179
* Update for new libical. Conduits should atleast compile again.JP Rosevear2000-09-022-10/+8
| | | | | | | | | | | | | | 2000-09-01 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c: Update for new libical. Conduits should atleast compile again. * conduits/calendar/calendar-conduit.c: ditto * Makefile.am: Build the conduits only when they've been enabled. svn path=/trunk/; revision=5165
* Remove USING_OAF checksDan Winship2000-08-302-13/+0
| | | | svn path=/trunk/; revision=5099
* stubs for pilot id accessors (cal_component_get_pilot_status):Seth Alves2000-08-124-350/+742
| | | | | | | | | | | | | | * cal-util/cal-component.c (cal_component_get_pilot_id): (cal_component_set_pilot_id): stubs for pilot id accessors (cal_component_get_pilot_status): (cal_component_set_pilot_status): stubs for pilot status accessors * conduits/calendar/calendar-conduit.c (transmit): start to convert to cal-component interface * conduits/todo/todo-conduit.c (transmit): same svn path=/trunk/; revision=4767
* if oaf isn't initialized by the time the conduit starts, start it up. weSeth Alves2000-08-053-5/+32
| | | | | | | | | * conduits/todo/todo-conduit.c (conduit_get_gpilot_conduit): if oaf isn't initialized by the time the conduit starts, start it up. we do this because we need to start wombat with oaf, and gpilotd doesn't currently start oaf. svn path=/trunk/; revision=4539
* fixed a bunch of bugs, added a lot of debug spew.Seth Alves2000-08-032-87/+253
| | | | svn path=/trunk/; revision=4501
* New function. (scan_property): Handle the RDATE property. (scan_period):Federico Mena Quintero2000-07-261-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-25 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_free_period_list): New function. (scan_property): Handle the RDATE property. (scan_period): Likewise. (free_icalcomponent): Likewise. (get_period_list): Likewise. (set_period_list): Likewise. (cal_component_get_rdate_list): Likewise. (cal_component_set_rdate_list): Likewise. (scan_text): Simplify a bit since we only handle the ALTREP parameter; there is no need to iterate over all parameters. (scan_datetime): Simplify; just handle the TZID parameter. (scan_summary): Simplify; just handle the ALTREP parameter. (cal_component_get_as_string): New function. * idl/evolution-calendar.idl (CalObjType): Removed the TYPE_OTHER; now we only expose the types of objects we know about. * cal-util/cal-util.h (CalObjType): Likewise. * cal-client/cal-client.c (cal_client_get_n_objects): Likewise. (cal_client_get_uids): Likewise. * conduits/calendar/calendar-conduit.c (get_calendar_objects): Likewise. (check_for_slow_setting): Likewise. * pcs/cal-backend-imc.c (count_objects): Likewise. (build_uids_list): Likewise. * pcs/cal.c (Cal_get_uids): Likewise. (Cal_get_n_objects): Likewise. svn path=/trunk/; revision=4336
* Added the Turkish desktop entriesFatih Demir2000-07-202-0/+4
| | | | svn path=/trunk/; revision=4227
* conduit based on the calendar conduit. this conduit syncs a pilot's ToDoDBSeth Alves2000-07-146-308/+1170
| | | | | | | | | | | * conduits/todo/todo-conduit.c: conduit based on the calendar conduit. this conduit syncs a pilot's ToDoDB database to wombat's list of "todo" events. * gui/gncal-todo.c (simple_todo_editor): set todo's priority control based on value from ical object during edit. svn path=/trunk/; revision=4156
* small cleanups, quiet compilerSeth Alves2000-07-133-109/+93
| | | | svn path=/trunk/; revision=4145
* todo conduit builds and plays nice but does nothingSeth Alves2000-07-138-210/+401
| | | | svn path=/trunk/; revision=4130
* fixed various problemsSeth Alves2000-07-133-117/+57
| | | | | | | | | | | * conduits/calendar/calendar-conduit.c: fixed various problems * cal-client/Makefile.am: build a static version of the library to link with the conduits * cal-util/Makefile.am: same svn path=/trunk/; revision=4116
* ignore binariesSeth Alves2000-07-111-0/+2
| | | | svn path=/trunk/; revision=4073
* remove gnomecal.conduitDan Winship2000-07-111-1/+1
| | | | | | | | | * gui/Makefile.am (EXTRA_DIST): remove gnomecal.conduit * conduits/calendar/Makefile.am (EXTRA_DIST): We want calendar.conduit.in, not calendar.conduit. svn path=/trunk/; revision=4070
* *** empty log message ***Seth Alves2000-07-111-4/+5
| | | | svn path=/trunk/; revision=4067
* *** empty log message ***Seth Alves2000-07-111-5/+4
| | | | svn path=/trunk/; revision=4065
* updated calendar conduit to use oaf and wombatSeth Alves2000-07-116-339/+417
| | | | svn path=/trunk/; revision=4061
* added makefiles for calendar conduitsSeth Alves2000-07-114-0/+91
| | | | | | | | | | | | * configure.in: added makefiles for calendar conduits * gui/Makefile.am (SUBDIRS): * conduits/calendar/Makefile.am: moved calendar-conduit stuff from the gui directory to here. * Makefile.am (SUBDIRS): added conduits to SIBDIRS svn path=/trunk/; revision=4058
* Removed from the public header; made static. Now everyone should useFederico Mena Quintero2000-06-071-4/+4
| | | | | | | | | | | | | 2000-06-06 Federico Mena Quintero <federico@helixcode.com> * cal-util/calobj.c (ical_object_destroy): Removed from the public header; made static. Now everyone should use refcounting. * pcs/cal-backend-imc.c (free_ical_object): Use ical_object_unref(). (remove_object): Likewise. svn path=/trunk/; revision=3439
* Added Norwegian translationKjartan Maraas2000-05-222-0/+4
| | | | svn path=/trunk/; revision=3147
* updated Danish stringsPablo Saratxaga2000-04-301-1/+1
| | | | svn path=/trunk/; revision=2682
* Added Danish strings to desktop/menu filePablo Saratxaga2000-04-192-0/+4
| | | | svn path=/trunk/; revision=2489
* Random #ifdefs to make it build, although this file is going away.Federico Mena Quintero2000-03-102-23/+10
| | | | | | | | | | | | | | | 2000-03-09 Federico Mena Quintero <federico@helixcode.com> * gui/calendar.c: Random #ifdefs to make it build, although this file is going away. * gui/Makefile.am: Removed referenes to calobj.[ch] and timeutil.[ch]. * gui/calendar-conduit.c: Fixup includes. * gui/calendar-conduit.h: Fixup includes. svn path=/trunk/; revision=2092
* replaced "Calendar *cal" with "CalClient *calc" in the GnomeCalendarSeth Alves2000-03-091-1/+1
| | | | | | | | | | | | | | | * gui/gnome-cal.h: replaced "Calendar *cal" with "CalClient *calc" in the GnomeCalendar struct. * gui/*.c: tracked change from Calendar * to CalClient * gui/main.c: moved alarm_defaults from here to cal-util/calobj.c (calendar_get_events_in_range): pulled this out of calendar.c and fixed it up to use cal-client stuff. i'm not sure where to put it yet. * gui/main.c (calendar_iterate): pulled this one out of calendar.c also svn path=/trunk/; revision=2090
* Update to use gpilotd_get_pilot_basedir and ↵Vadim Strizhevsky2000-01-081-3/+1
| | | | | | gnome_pilot_conduit_standard_abs_set_db_open_mode. Added pilotID argument to gpilotd_conduit_mgmt_new. svn path=/trunk/; revision=1544
* Added an argument to the corba get_number_of_objects, so you can decideEskil Heyn Olsen2000-01-051-52/+30
| | | | | | | which status the objects you count should have, eg. any or modified etc. Will add record type someday. svn path=/trunk/; revision=1535
* Minor unmiportant changes, but my laptop is acting up, so IEskil Heyn Olsen1999-12-301-3/+8
| | | | | | need them somewhere safe, eg. cvs :) svn path=/trunk/; revision=1522
* Capplets now sets first_sync on enable, this should make the conduit copyEskil Heyn Olsen1999-12-081-1/+4
| | | | | | | | * calendar-conduit-control-applet.c (setSettings): Capplets now sets first_sync on enable, this should make the conduit copy old entries from the pilot to gnomecal. svn path=/trunk/; revision=1476
* Check if local store is empty. If, force slow sync.Eskil Heyn Olsen1999-12-073-28/+50
| | | | | | | | | | | | | | | * calendar-conduit.c (pre_sync): Check if local store is empty. If, force slow sync. * GnomeCal.idl (GNOME): Added get_number_of_objects. * corba-cal.c (cal_repo_get_number_of_objects): implemented the get_number_of_objects. * calendar-conduit-control-applet.c (setStateCfg): Fixed bug that caused the capplet to always set the sync action to Disable upon start. svn path=/trunk/; revision=1475
* undef DEBUG_CALCONDUT, suppresses debug output.Eskil Heyn Olsen1999-12-031-2/+2
| | | | | | * calendar-conduit.c: undef DEBUG_CALCONDUT, suppresses debug output. svn path=/trunk/; revision=1455
* Fixed compare bug. Also neated up some of the if's in set_status.Eskil Heyn Olsen1999-11-301-11/+13
| | | | | | | * calendar-conduit.c (compare): Fixed compare bug. Also neated up some of the if's in set_status. svn path=/trunk/; revision=1444
* Writes some warning messages when pre_sync fails.Eskil Heyn Olsen1999-11-221-0/+2
| | | | | | | * calendar-conduit.c (pre_sync): Writes some warning messages when pre_sync fails. svn path=/trunk/; revision=1427
* Enabled debug output. Sets a g_log_domain, now version 0.8.5. ConsistentEskil Heyn Olsen1999-11-101-96/+316
| | | | | | | | | | | | | | | 1999-11-09 Eskil Heyn Olsen <deity@eskil.dk> * calendar-conduit.c: Enabled debug output. Sets a g_log_domain, now version 0.8.5. Consistent use of GSList/GList. Implemented compare, default uses one that compares the contents of a struct Appointment, but also has #ifdeffed code that does a field level comparison, not complete, but perhaps educational. * Makefile.am (#todo_conduit_control_applet_SOURCES): Fixed an unwanted conditional on libcalendar_conduit_la_LDFLAGS svn path=/trunk/; revision=1376
* Commented the code out, thus the capplet works again.Eskil Heyn Olsen1999-11-051-0/+2
| | | | | | | * calendar-conduit-control-applet.c (readStateCfg): Commented the code out, thus the capplet works again. svn path=/trunk/; revision=1368
* Uses the PISOCK_LIBDIR, for people with odd install dirs for theirEskil Olsen1999-11-044-79/+182
| | | | | | | | | | | | | | | | | | | | | | | | 1999-11-04 Eskil Olsen <deity@eskil.dk> * Makefile.am: Uses the PISOCK_LIBDIR, for people with odd install dirs for their pilot-link. Also install a pretty icon for the calendar-conduit. * calendar-conduit-control-applet.c: Modfied the try/revert/ok/cancel scheme to be more intuitive, also uses a GtkOptionMenu for the possible sync methods. * calendar-conduit-control-applet.desktop: use the nice icon... * calendar-conduit.c: Ack, had to define debug_alarms and alarm_default, otherwise they are undefined. Is gncal code messy or is this considered a way of configuring the cal engine ? Implemented delete_all syncabs methods. * calendar-pilot-sync.c: also had to declare debug_alarms and alarm_defaults, just as ugly. svn path=/trunk/; revision=1367
* now it doesn't build todo conduit anymore. Since the conduit is just aEskil Heyn Olsen1999-10-225-283/+358
| | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: now it doesn't build todo conduit anymore. Since the conduit is just a skeleton, no need to build and install it. * calendar-conduit-control-applet.c: revamped for all the changes in calendar-conduit.h. Also fixed the pilotId bug that all conduit capplets had. * calendar-conduit-control-applet.desktop: renamed to GnomeCalendar. * calendar-conduit.h: Fixed namespace pollution, appended GCal to structures, gcalconduit to methods. Introduced the GCalConduitContext. * calendar-conduit.c: No more global variables, all is contained in a GCalConduitContext variable, that all the signals are passed as user data. svn path=/trunk/; revision=1338
* moved the pilot_status = MOD up, so even a CHANGE_SUMMARY will set theEskil Heyn Olsen1999-10-081-70/+97
| | | | | | | | | * calendar.c (calendar_object_changed): moved the pilot_status = MOD up, so even a CHANGE_SUMMARY will set the modified flag. * calendar-conduit.c: more _free calls, vamped the noise on output. svn path=/trunk/; revision=1320
* checks return values from gpilotd_init/connect.Eskil Heyn Olsen1999-10-063-24/+42
| | | | | | | | | | * *conduit*[ch]: checks return values from gpilotd_init/connect. * calender.c (vcalendar_create_from_calendar): removed a set of cleanVObject cleanStrTbl, since the freed memory that the function returned. svn path=/trunk/; revision=1319
* Now has correct return values wrt the conduit api ref.Eskil Heyn Olsen1999-09-291-55/+87
| | | | svn path=/trunk/; revision=1318
* Small fix -miguelArturo Espinosa1999-09-281-2/+2
| | | | svn path=/trunk/; revision=1265
* the g_free that was commented out since glib said was a duplicate free,Eskil Heyn Olsen1999-09-252-36/+135
| | | | | | | | | | | | | | | | | | | * corba-cal.c: the g_free that was commented out since glib said was a duplicate free, was supposed to be a free. * GnomeCal.idl/corba-cal.c: added a get_object_id_list and a get_objects_by_id_list. Latter is not done. * calendar-conduit.c: rewrote the way the conduit iterates over records. It no longers fetches all entries (since that didn't work with more then 285 entries. It now fetches the id list, and gets each record. (will be using get_objects_by_id_list to get records in amounts of 10 or so later, to reduce amount of corba calls). * calendar-conduit.c: now sets alarm parameters when transferring from gnomecal to pilot. svn path=/trunk/; revision=1257
* better merge of summary/description when doing ical_from_remoteEskil Heyn Olsen1999-09-234-5/+13
| | | | | | | | | * calendar-conduit.c: better merge of summary/description when doing ical_from_remote (update_record), also handles import from gnomecal to pilot better, and on both ways, repeat events are much better now. svn path=/trunk/; revision=1253
* better merge of summary/description when doing ical_from_remoteEskil Heyn Olsen1999-09-231-100/+149
| | | | | | | | | | | * calendar-conduit.c: better merge of summary/description when doing ical_from_remote (update_record), also handles import from gnomecal to pilot better, and on both ways, repeat events are much better now. The conduit is actually beginning to be usefull now... svn path=/trunk/; revision=1252
* commented out a g_free that glib reported as being a duplicate free. gotEskil Heyn Olsen1999-09-231-7/+19
| | | | | | | | * corba-cal.c: commented out a g_free that glib reported as being a duplicate free. * calendar_conduit.c: got gnomecal->pilot up and runnning. svn path=/trunk/; revision=1251
* lot of rework, implemented various set_* functions, transmit andEskil Heyn Olsen1999-09-212-168/+402
| | | | | | | | * gncal/calendar-conduit: lot of rework, implemented various set_* functions, transmit and free_transmit, now appears stable, still only syncs oneway (pilot -> gnomecal) svn path=/trunk/; revision=1243
* About to rehash conduit.Eskil Heyn Olsen1999-09-191-4/+38
| | | | | | Changed pilotid in calobj to guint32. svn path=/trunk/; revision=1240
* changed to be a .la file instead of .a, this allows lib*_conduit to useEskil Heyn Olsen1999-09-192-43/+180
| | | | | | | | | | | | * libversit: changed to be a .la file instead of .a, this allows lib*_conduit to use the library. * gncal/calendar-conduit: implemented iterate and iterate_specific. * gncal/corba-cal: fixed warnings. svn path=/trunk/; revision=1239
* added sources to calendar-conduitEskil Heyn Olsen1999-09-151-29/+238
| | | | | | | | | | | | * gncal/Makefile.am: added sources to calendar-conduit * gncal/calendar-conduit.c: imported Miguels update_record function * gncal/corba-cal.c: fixed a grave bug in exception throwing, which cause ORBit to sigsegv. svn path=/trunk/; revision=1229
* forgot the .desktop files...`Eskil Heyn Olsen1999-09-082-0/+12
| | | | svn path=/trunk/; revision=1217
* uses GNOME_PILOT_CHECKEskil Heyn Olsen1999-09-086-5/+1045
| | | | | | | | | | | | | | | | | | | * configure.in: uses GNOME_PILOT_CHECK * gncal/GnomeCal.idl: added a get_objects() call, which returns all the objects in the calendar. * gncal/Makefile.am: added two conduits with control-applets. Compiled only if configure sets HAVE_GNOME_PILOT * gncal/calender-conduit.[ch]: began implementing conduit. * gncal/todo-conduit.[ch]: begin implementing conduit. * gncal/corba-cal.c: implemented the get_objects() call. svn path=/trunk/; revision=1216
* fix this.Jonathan Blandford1999-08-031-0/+3
| | | | svn path=/trunk/; revision=1067
* add thisJonathan Blandford1999-07-311-0/+205
svn path=/trunk/; revision=1048