- 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.