2010-10-16 Graham Cobb * CMakeLists.txt: Disable capabilities for now * gpe-sync-basic.xml: Add copyright notice. * gpe-sync-old.xml: Add copyright notice. * src/utils.c: Fix compiler warnings * src/todo.c: Fix compiler warnings * src/contacts.c: Fix compiler warnings * src/calendar.c: Fix compiler warnings * src/gpe_sync.c: Fix compiler warnings (get_sync_info): Add error argument to osync_plugin_env_register_plugin 2009-05-14 Graham Cobb * src/utils.c: Add hashtable assertions * src/contacts.c (gpe_contacts_setup): Fix hashtable changes: request hashtable, add assertions * src/gpe_sync.h: Bug #1082: Hashtable changes: remove hashtable pointer from sink_environment * src/gpe_sync.c (sync_done): Bug #1082: Hashtable changes: do not save anchors * src/utils.c, src/todo.c, src/calendar.c, src/contacts.c: Bug #1082: Hashtable changes * src/calendar.c (gpe_calendar_setup): Bug #1086: Drop OSyncObjTypeSinkFunctions and use new osync_objtype_sink_set_*_func() calls * src/contacts.c (gpe_contacts_setup): Bug #1086: Drop OSyncObjTypeSinkFunctions and use new osync_objtype_sink_set_*_func() calls * src/todo.c (gpe_todo_setup): Bug #1086: Drop OSyncObjTypeSinkFunctions and use new osync_objtype_sink_set_*_func() calls * src/gpe_sync.c (initialize): Bug #1086: Drop OSyncObjTypeSinkFunctions and use new osync_objtype_sink_set_*_func() calls 2009-02-25 Graham Cobb * src/todo.c (gpe_todo_commit_change): Add assert to check we have been passed the correct userdata (gpe_todo_get_changes): Add assert to check we have been passed the correct userdata * src/contacts.c (gpe_contacts_commit_change): Add assert to check we have been passed the correct userdata (gpe_contacts_get_changes): Add assert to check we have been passed the correct userdata * src/calendar.c (gpe_calendar_commit_change): Add assert to check we have been passed the correct userdata (gpe_calendar_get_changes): Add assert to check we have been passed the correct userdata 2009-02-08 Graham Cobb * gpe-sync-basic.xml: Create file * gpe-sync-old.xml: Create file * gpe-sync-base-description.xml: Create file * gpe-sync-1.0.0-description.xml: Create file * gpe-sync-1.1.1-description.xml: Create file * gpe-sync-1.2.2-description.xml: Create file * CMakeLists.txt: Add description files: gpe-sync-base-description.xml, gpe-sync-1.0.0-description.xml, gpe-sync-1.1.1-description.xml, gpe-sync-1.2.2-description.xml Add capabilities files: gpe-sync-basic.xml, gpe-sync-old.xml 2009-02-04 Graham Cobb * src/utils.c (report_change): Include NUL terminator in change data (report_change): Fix osync_trace format 2009-01-17 Graham Cobb * src/utils.c (report_deleted): Fix end condition for uids loop 2009-01-16 Graham Cobb * src/calendar.c: Update to new sink functions API: gpe_calendar_commit_change, gpe_calendar_get_changes * src/contacts.c: Update to new sink functions API: gpe_contacts_commit_change, gpe_contacts_get_changes * src/todo.c: Update to new sink functions API: gpe_todo_commit_change, gpe_todo_get_changes * src/gpe_sync.c: Update to new sink functions API: gpe_connect, gpe_disconnect, gpe_sync_done 2009-01-14 Graham Cobb * src/gpe_sync.h: Remove already commented out "member" from environment * src/utils.c (report_change): Fix setting objtype of data in change. Fix setting change type. 2009-01-13 Graham Cobb * src/contacts.c (gpe_contacts_commit_change, gpe_contacts_get_changes): Assert plugin is configured and discovered. * src/todo.c (gpe_todo_commit_change, gpe_todo_get_changes): Assert plugin is configured and discovered. * src/calendar.c (gpe_calendar_commit_change, gpe_calendar_get_changes): Assert plugin is configured and discovered. * src/gpe_sync.c (discover): Split discovery into "internal" and full. Change order of discovery parameters to match API change. * src/gpe_sync.h: Add "configured" and "discovered" flags to environment. Add version numbers to environment. Add const qualifier to calendar path string. Create gpe_assert and gpe_assert_error. 2009-01-12 Graham Cobb * README: Rewrite to bring up to date 2009-01-03 Graham Cobb * src/gpe_sync.c (discover): Only parse config during discover phase. (save_environment): Save/restore environment using anchor DB. (initialize): Restore environment (discover): Save environment 2009-01-02 Graham Cobb * CMakeLists.txt: Add CMAKE_MINIMUM_REQUIRED. * src/gpe-sync: Add to config. * src/gpe_sync.c (gpe_connect, and others): Get userdata using osync_plugin_info_get_sink. 2008-08-02 Graham Cobb * src/gpe-sync: Change for new config format. * src/gpe_xml.h, src/gpe_xml.c: Remove modules - config parsing now handled by OpenSync and validation moved to gpe_sync.c. * src/gpe_sync.h: Remove format from sink_environment. Remove references to gpe_xml.h. Add temporary macros for mis-spelt OSyncResource items * src/contacts.c (gpe_contacts_setup): Implement new config and objtype API. Find contacts sink. * src/calendar.c (gpe_calendar_setup): Implement new config and objtype API. Find events sink. * src/todo.c (gpe_todo_setup): Implement new config and objtype API. Find todo sink. * src/gpe_sync.c (initialize): Implement new config and objtype API. (gpe_parse_settings): Create local function to fetch and validate config settings * src/utils.c (report_change): Implement hashtable API changes: remove osync_hashtable_report, osync_hashtable_update_change (report_deleted): Implement hashtable API changes: osync_hashtable_update_change * src/todo.c (gpe_todo_setup): Implement hashtable API changes: osync_hashtable_load (gpe_todo_get_changes): Implement hashtable API changes: remove osync_hashtable_reset_reports (gpe_todo_commit_change): Implement hashtable API changes: osync_hashtable_update_change * src/contacts.c (gpe_contacts_setup): Implement hashtable API changes: osync_hashtable_load (gpe_contacts_get_changes): Implement hashtable API changes: remove osync_hashtable_reset_reports (gpe_contacts_commit_change): Implement hashtable API changes: osync_hashtable_update_change * src/calendar.c (gpe_calendar_setup): Implement hashtable API changes: osync_hashtable_load (gpe_calendar_get_changes): Implement hashtable API changes: remove osync_hashtable_reset_reports (gpe_calendar_commit_change): Implement hashtable API changes: osync_hashtable_update_change * src/gpe_sync.c (free_sink): Implement hashtable API changes: osync_hashtable_unref (sync_done): Implement hashtable API changes: osync_hashtable_save 2008-06-04 Graham Cobb * src/utils.c (report_deleted): new result from osync_hashtable_get_deleted (report_change): new parameter list for osync_hashtable_get_changetype 2008-03-11 Graham Cobb * src/gpe-sync: Remove -- which break XML comments. Ticket 704, debian bug 468285. * src/gpe_xml.c (gpe_parse_settings): fix bug which caused use of to blank value from . Ticket 703, debian bug 468284. 2008-02-04 Graham Cobb * src/gpe_sync.c (free_sink): make free_sink tolerate being called twice * src/gpesync_client.c (gpesync_client_exec): improve error handling for subprocesses 2007-12-30 Graham Cobb * src/todo.c (gpe_todo_setup), src/todo.h: remove functions parameter from gpe_todo_setup * src/contacts.c (gpe_contacts_setup), src/contacts.h: remove functions parameter from gpe_contacts_setup * src/calendar.c (gpe_calendar_setup), src/calendar.h: remove functions parameter from gpe_calendar_setup * src/gpe_sync.c (initialize): create main sink for connect/disconnect * src/gpe_sync.h: add main_sink to environment 2007-10-28 Graham Cobb * CMakeLists.txt: Add cmake support * SConstruct, src/SConscript: remove scons support * cmake: link to http://svn.opensync.org/branches/3rd-party-cmake-modules/ using svn propset svn:externals 2007-10-11 Graham Cobb * src/gpe_sync.c, src/gpe_sync.h: Add multiple calendar support * src/gpe_xml.c, src/gpe-sync: Add configuration support 2007-10-09 Graham Cobb * src/gpe_sync.h, src/gpe_sync.c (discover): Add protocol version checking 2007-09-11 Graham Cobb * src/gpesync_client.c (gpesync_client_open_ssh, gpesync_client_open_local): Fix off-by-one error in argument list creation. * ChangeLog: add ChangeLog entry (below) for last night's changes (it was late!) 2007-09-10 Graham Cobb * src/gpe-sync: new config file format * src/gpe_xml.c (gpe_parse_settings): parse new config file format * src/gpe_sync.h: add command and use_remote to environment * src/gpe_sync.c (gpe_connect): specify command for conection * src/gpesync_client.c (gpesync_client_open_ssh, gpesync_client_open_local), src/gpesync_client.h : Allow command to be specified by caller 2007-09-03 Graham Cobb * All files: port to Opensync 0.3x 2007-02-18 Graham Cobb * utils.c: In report_change call osync_change_set_member on the new change. 2006-05-19 Martin Felis * ChangeLog: Changed the emailadress, hoping receiving less span in the future. * testclient/test_client.c, testclient/Makefile, testclient/README: Added a small client to test the connections to the gpesyncd. * contacts.c, calendar.c, todo.c: - Remeoved a bug that prevents from errors being displayed. Instead of (null) will now the actual message displayed. - Made the traces look a bit more consistent. All data will be now reported on level 3, means debug. * gpe_sync.c: Set is_threadsafe to FALSE * gpesync_client.c: Fixed some memory leaks. * gpesync_client.h: Using now the variable types of glib. 2006-01-07 Martin Felis * gpesync_client.c, gpesync_client.h, gpe_sync.c, gpe_sync.h, gpe_xml.c: Added syncing over tcp/ip. * README: Improved the documentation. 2005-11-29 Martin Felis Moved the repository from gpe cvs to opensync svn. 2005-09-22 Martin Felis * gpesync_client.c: Removed some errors when compiling with "-Werror" - (thanks koen). 2005-09-18 Martin Felis * gpesync_client.c, gpesync_client.h: Using now a GString instead of a buffer with fixed length for receiving answers from gpesyncd. * contacts.c, todo.c, calendar.c: Small change in reading answers from gpesyncd. 2005-09-16 Martin Felis * contacts.c, todo.c, calendar.c, utils.c, utils.h: Changed the reporting of the uids. They will be now reported as gpe--, so that file-sync can sort them out. 2005-09-16 Martin Felis * contacts.c, todo.c, calendar.c: Fixed a bug that wouldn't let us duplicate an item. 2005-08-31 Martin Felis * contacts.c, contacts.h: Changed the way items are committed. * utils.c, utils.h: Removed functions, that are no more needed. * gpe_sync.c, gpe_sync.h: Removed older code which was from the time before the gpesyncd. * calendar.c, calendar.h, todo.c, todo.h: New way items are committed. * Makefile.am: Added calendar.* and todo.* to be compiled too. 2005-08-31 Martin Felis * gpesync_client.c, gpesync_client.h: Added. It's the communication backend for this plugin. It is the client for the gpesyncd. * utils.c, utils.h: Added. They contain general function that can be used by calendar, contact, todo items. * calendar.c, calendar.h, todo.c, todo.h: Added but no functionality, yet. * contacts.c: Ported to use the gpesyncd. * gpe_db.h gpe_db.c: No more needed. All conversion is made by the gpesyncd on the pda. 2005-08-13 Martin Felis * gpe_db.h gpe_db.c: Implemented the tags_replace_category function, which replaces the numbers of the cateogories to their names. * gpe_sync.h gpe_sync.c: Added categories list, for tags_replace_category. * contacts.c: Reading and writing now implemented. 2005-08-02 Martin Felis * gpe_db.h gpe_db.c: Files added for easier querying/handling of the results from nsqlc_exec(). * contacts.h contacts.c: Moved from gpe_adresses.c/h. I thought this name fits better. Added support for reading the entries. Contacts get converted to a vcard and sent to opensync (works!) * gpe_sync.h gpe_sync.c: Some clean-up. Added support for contact.c. * configure.in : Added support for libgpevtype. * README : Put in a few words. 2005-07-27 Martin Felis * Changelog: started to use it!