- opensync plugin:
- fixed bug in vcard.cc that was using the FN field
for the broken-down name instead of N
- added dbId and dbName to DatabaseSyncState
- added Reconnect() functionality to BarryEnvironment class
and moved connect logic out of barry_sync.cc
- changed the batch commit functionality in barry_sync.cc
to single-change-commit. Why? Because opensync
0.22 groups all batch changes into one group
and calls one batch commit function, even if you
registered two. Moving to single change commit
mode removes a chunk of unneccessary code
from the plugin as well, and can in theory
ease memory pressure in the library.
- added FinishSync() to perform actions needed on successful
syncing completion
- disconnect on successful sync completion, and reconnect,
since the device's dirty flags don't seem to
be updated until a disconnect occurs.