Commit Graph

8 Commits

Author SHA1 Message Date
Patrick Ohly 5e8fa6eb94 major restructuring of the file layout and autotools build
This change makes it possible to add a new backend without
changing any of the core files. It also gets rid of some
hacks (like -export-dynamic for the binary) by putting all
core SyncEvolution code into a library.

The transition is not quite complete: there are still
some lists of existing backends, which will be removed
soon. EvolutionSmartPtr.h and EvolutionSyncSource depend
on Evolution/GNOME libs, which forces all backends to
use the right -I flags.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@684 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-29 21:06:11 +00:00
Patrick Ohly 4ffdf7a97e added synchronization of Evolution memo summary
Most devices only synchronize plain text and do
not have a separate summary field. Such an extra
summary field was added to Evolution after memo
support was initially implemented in SyncEvolution,
therefore SyncEvolution did not transmit that field.

Added transmitting the summary by inserting it
as first line of the plain text blob *if* it is
not already identical with the first line. When
receiving a memo, the summary is set from the first
line *without* removing the first line because
the first line might have been used as a normal
part of the memo.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@631 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-06-25 19:54:55 +00:00
Patrick Ohly 5520f9deb3 make sure that the icomp UID is set before calling the update method (EDS crashes otherwise)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@581 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-04-10 18:49:45 +00:00
Patrick Ohly fb69c3642e make results from insertItem explicit by putting them all in one struct
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@576 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-04-07 18:38:25 +00:00
Patrick Ohly af7d2783c2 EvolutionCalendarSyncSource now uses change tracking based on modification time stamp.
- const SyncItem cleanup
- distinguish between added/merged in TrackingSyncSource::insertItem():
  required for calendar events
- getData() util function not needed.
- TrackingSyncSource key/value strings can be arbitrary strings now.
- Clarified insertItem() semantic and errors.
- Added new required SyncSource::removeAllItems() call.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@574 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-04-07 17:59:17 +00:00
Patrick Ohly 64756c9860 removed SyncState parameter out of all createItem() implementations into the caller; requires smartptr release()
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@484 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-01-13 01:41:21 +00:00
Patrick Ohly ec84eda17c text/plain requires \r\n line breaks:
- send in that format now
- accept both \r\n and \n line breaks for incoming memos


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@473 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-09 16:16:48 +00:00
Patrick Ohly 36f2140ce2 added synchronization of Memos as plain text
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@360 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-04-15 13:42:42 +00:00