Commit graph

2123 commits

Author SHA1 Message Date
Patrick Ohly
6f6c575290 must add CHARSET=UTF-8 if non-ASCII character is found because default charset is not well-defined
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@181 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-07-14 21:19:41 +00:00
Patrick Ohly
46cd60c556 added folding and XML entities test cases
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@180 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-07-14 20:58:57 +00:00
Patrick Ohly
635e2e3082 special characters in test cases were not escaped properly
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@177 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-07-02 16:05:20 +00:00
Patrick Ohly
94d26becf1 testMerge() dumps the result of conflict resolution, but no longer makes any assumptions about it
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@176 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-07-02 15:46:53 +00:00
Patrick Ohly
73ee2e0018 listing Evolution databases showed calendars twice instead of task lists
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@172 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-27 16:26:28 +00:00
Patrick Ohly
8462ca3111 clarified unknown name text
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@168 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-26 20:28:09 +00:00
Patrick Ohly
b95a96b8b6 added special handling of TEL;TYPE=PREF,VOICE
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@167 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-26 20:24:23 +00:00
Patrick Ohly
02352bb799 added *Stress::testManyItems
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@166 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-22 19:19:02 +00:00
Patrick Ohly
70074a9199 always use two digits in file name
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@165 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-19 16:23:07 +00:00
Patrick Ohly
671fa4c689 never executed delete since adding workaround (wrong brackets)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@164 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-17 20:07:38 +00:00
Patrick Ohly
10ee306c09 remove redundant VALUE=DATE-TIME
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@163 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-17 16:20:52 +00:00
Patrick Ohly
3915202c62 added test case with BYSETPOS=-1
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@162 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-17 16:17:11 +00:00
Patrick Ohly
0bdf6b5eca added more special characters - double quotation marks currently not tested because of Evolution's invalid encoding of them
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@161 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-17 14:34:25 +00:00
Patrick Ohly
e8278af447 relax comparison of RRULE BYDAY, modified task test case to always use its own VTIMEZONE
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@159 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-15 16:15:37 +00:00
Patrick Ohly
0d0de8072d added test case with empty EMAIL: property
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@158 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-15 16:14:48 +00:00
Patrick Ohly
41bb624b97 added safety check to avoid segfaults if server sends no data for item
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@157 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-15 15:12:11 +00:00
Patrick Ohly
b0c38883c7 added Test.h to distribution
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@155 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-15 13:48:41 +00:00
Patrick Ohly
f503ae7696 added testTask.ics
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@153 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-15 10:28:41 +00:00
Patrick Ohly
b111436d02 made output a bit nicer
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@145 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-12 20:59:27 +00:00
Patrick Ohly
aaa1b67294 also imported the vcardconverter program from the Funambol CVS
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@144 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-12 17:51:34 +00:00
Patrick Ohly
2384393e85 readded the removal of CHARSET
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@143 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-12 17:50:25 +00:00
Patrick Ohly
eb07075103 importing new timezones before their events works better (e.g. with Evolution 2.4)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@142 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-11 21:54:01 +00:00
Patrick Ohly
3d47cd2a68 use a TZID that no-one else knows
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@140 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-11 21:52:46 +00:00
Patrick Ohly
ce34d41a6e testImport should leave the items imported - moved import/delete into its own test
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@139 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-11 21:35:16 +00:00
Patrick Ohly
0fb2f5d474 fixed several compiler warnings
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@138 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-11 20:07:26 +00:00
Patrick Ohly
395aed3ffa allow sync.scheduleworld.com to replace TZIDs
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@137 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-11 19:35:24 +00:00
Patrick Ohly
06cd5de1aa explicitly reference class member (required by g++ 4.1, but not g++ 3.3.5)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@136 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-11 19:12:04 +00:00
Patrick Ohly
b5c35429b7 added a copy of the relevant VOCL classes to be independent of incompatible changes upstream
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@135 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-11 13:09:29 +00:00
Patrick Ohly
53fbba2799 added sanity checks for using the results of Evolution's change tracking: invalid UIDs have been observed
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@133 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-11 08:56:24 +00:00
Patrick Ohly
3dc100dd3f fixed memory leaks
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@132 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-10 12:26:44 +00:00
Patrick Ohly
7bb7460694 avoid trailing space at end of NOTE, might not be preserved
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@130 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-08 18:12:54 +00:00
Patrick Ohly
9a6bee9670 STATUS expected by libical
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@128 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-06 19:34:54 +00:00
Patrick Ohly
0d2a86ceaf split testDeleteAll into two tests, one for each method
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@127 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-06 18:28:34 +00:00
Patrick Ohly
8d9bf8dcb1 added support for custom timezones
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@126 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-06 17:48:27 +00:00
Patrick Ohly
256003059e removed libical error message
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@125 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-06 17:45:38 +00:00
Patrick Ohly
51d72cb75d fixed invalid CREATED/LAST-MODIFIED, must be in UTC - broken by importing/exporting again, though
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@124 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-06 17:45:04 +00:00
Patrick Ohly
1b773c5726 avoid copying incomplete type in catch
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@123 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-05 22:27:21 +00:00
Patrick Ohly
cc1aac2389 ignore known problems with contact properties in scheduleworld
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@122 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-05 21:21:24 +00:00
Patrick Ohly
ad0133dd21 got rid of the remaining files with :: in the name
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@121 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-01 20:06:19 +00:00
Patrick Ohly
04f837e53a added test for add-update-download sequence
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@119 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-01 19:29:17 +00:00
Patrick Ohly
47720017c8 adapted to syncing with sync.scheduleworld.com
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@118 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-01 18:06:11 +00:00
Patrick Ohly
2863d6151b added mapping for ADR;TYPE=OTHER for scheduleworld
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@117 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-01 18:05:34 +00:00
Patrick Ohly
42d6cf11e3 better error logging
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@114 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-29 19:32:58 +00:00
Patrick Ohly
1bb64e5e46 fixed typo
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@113 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-29 19:32:10 +00:00
Patrick Ohly
66dff36905 adapted to scheduleworld.com
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@112 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-29 19:31:56 +00:00
Patrick Ohly
84a55beb86 use simpler diff output and transform into side-by-side oneself (simpler code, less fragile, handles UTF-8)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@111 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-29 19:30:56 +00:00
Patrick Ohly
3fb21013d4 avoid filenames with colons in the name
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@110 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-28 16:24:37 +00:00
Patrick Ohly
2facc65f0f adapt automatically to console size if tput is available
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@109 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-27 16:33:34 +00:00
Patrick Ohly
d0fc457548 made the diff output nicer: full items shown, separated by lines
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@108 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-27 15:57:00 +00:00
Patrick Ohly
8af8e8a91a massage the full diff output so that it is easier to read and contains exactly the full vcard/vcalendar for each change
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@107 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-26 21:38:59 +00:00
Patrick Ohly
16dd015109 added indention for nested BEGIN/END blocks in iCalendar
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@106 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-26 19:34:33 +00:00
Patrick Ohly
5cd36ad7f3 cleaned up error reporting and exception handling
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@105 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-26 12:49:19 +00:00
Patrick Ohly
044e03b984 cleaned up error handling and logging, in particular when using multiple sources at once
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@104 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-25 17:32:07 +00:00
Patrick Ohly
117fc29519 added buffer overflow test case
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@102 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-25 14:42:57 +00:00
Patrick Ohly
106452b6ff added test for slow-sync and added handling of the STC_ALREADY_EXISTS encountered then; twinning is currently broken in Funambol 3.0 beta 3, see #305357
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@101 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-25 10:35:36 +00:00
Patrick Ohly
97b7d313f7 added test case with explicit CHARSET="UTF-8" to test how the updated client library deals with it
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@99 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-25 09:14:02 +00:00
Patrick Ohly
944663c892 utility was renamed
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@98 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-24 19:38:45 +00:00
Patrick Ohly
a7e51a3c75 fixed new[]/free() mismatch
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@93 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-05 20:38:02 +00:00
Patrick Ohly
0f11ea3d7f generate iCalendar items with VTIMEZONE definitions
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@92 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-05-01 14:01:28 +00:00
Patrick Ohly
29875ea243 added possibility to choose between sending vCard 2.1 and 3.0
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@90 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-26 20:44:41 +00:00
Patrick Ohly
e2a5815111 avoid the problematic timezones in the basic tests
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@88 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-24 20:39:56 +00:00
Patrick Ohly
99d8e05a06 write the required PRODID and VERSION for iCalendar entries
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@87 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-24 20:38:47 +00:00
Patrick Ohly
a7036a1b0d avoid eating the trailing newline after PHOTO
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@86 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-24 20:00:18 +00:00
Patrick Ohly
65026bd0f7 added support for testing against www.scheduleworld.com
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@85 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-24 18:49:03 +00:00
Patrick Ohly
040d115d1c fixed the fix of EMAIL normalization...
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@84 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-24 17:32:46 +00:00
Patrick Ohly
9e8a58fb66 hide differences due to different PHOTO parameters, fixed EMAIL;INTERNET;OTHER
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@83 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-24 16:37:01 +00:00
Patrick Ohly
54ab882dab also treat INTERNET as TYPE
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@80 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-23 19:44:41 +00:00
Patrick Ohly
7497b22711 added testing of tasks
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@77 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-17 17:54:00 +00:00
Patrick Ohly
1e2cd0cc19 temporarily removed some problematic characters (forge tracker #304786)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@73 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-17 17:12:59 +00:00
Patrick Ohly
7ead372d9d - renamed normalize script to synccompare because it now applies to both calendar, tasks and contacts
- temporary files in test suite now start with the name of the test they belong to


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@72 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-17 15:59:33 +00:00
Patrick Ohly
a5775d4026 - renamed "test" program to "TestEvolution"
- copy original test cases to fit the name expected by TestEvolution and to have
  them in the build directory
- handle merge with existing item in addItem(): return special status


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@71 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-17 09:41:37 +00:00
Patrick Ohly
0b4b041b02 now also handles calendar comparison
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@70 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-17 09:37:43 +00:00
Patrick Ohly
25a8b956c4 added some support for inserting already existing item
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@69 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-14 11:36:22 +00:00
Patrick Ohly
8ec0b8301d instantiate test for calendar
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@68 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-14 11:30:34 +00:00
Patrick Ohly
4587315a07 added some support for inserting already existing item
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@67 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-14 11:30:08 +00:00
Patrick Ohly
8327d850aa refactored code so that test suites can be built from the base template TestEvolution class:
currently defined are ContactSource (local tests) and ContactSync (synchronization with server), tests work exactly as before


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@65 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-12 21:03:37 +00:00
Patrick Ohly
8848551ead text/x-vcard is more suitable for vcard 2.1
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@64 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-12 21:01:40 +00:00
Patrick Ohly
a1bc304bc5 made sleep configurable (off by default), synchronize only one source
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@63 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-09 21:56:03 +00:00
Patrick Ohly
6acd0891b1 - added support for calendars and tasks: not yet tested automatically
but manual tests show that it works in principle, albeit with some
  loss of attributes in the server for calendars (time zone)
- removed "disabled" configuration option, use "sync = none" instead
- added selection of databases to synchronize via additional command
  line parameters

Source:
- Refactored code so that EvolutionSyncSource contains the client-library
  facing code and commong logging/error handling. EvolutionContactSource
  and EvolutionCalendarSource (for both calendars and tasks) can now
  indicate errors via exceptions in all functions.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@62 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-09 11:48:11 +00:00
Patrick Ohly
07f43e8444 adapted to head revision of Sync4j C++ client library
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@61 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-06 17:02:43 +00:00
Patrick Ohly
345c9670eb testVCard.vcf was missing in source distribution
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@60 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-06 17:01:46 +00:00
Patrick Ohly
e184458e60 fix for #304805: testing return code of SyncClient::beginSync()
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@59 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-26 17:17:06 +00:00
Patrick Ohly
12b98e85c4 - implemented automatic backups, logging and database comparison
- prepared 0.2 release


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@57 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-19 21:37:30 +00:00
Patrick Ohly
11e4fff4a7 set TYPE=OTHER also for EMAIL if no other type found
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@56 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-19 09:55:40 +00:00
Patrick Ohly
0fa42ff503 ignore some more irrelevant vcard differences (TYPE=PREF, extra separators)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@55 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-19 09:54:53 +00:00
Patrick Ohly
da40703654 when using quoted-printable, also encode non-ASCII for consistency
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@54 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-19 09:53:30 +00:00
Patrick Ohly
067e8fc973 make full copy of client lib C++ sources,
added src/client-api-diff target to compare against original sources


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@53 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 18:07:48 +00:00
Patrick Ohly
d273c5f5bd changes for SyncEvolution not in Funambol CVS since sdkcpp_3_0_6a
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@52 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 18:06:40 +00:00
Patrick Ohly
866ed69e73 reset stdout/stderr before printing final result
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@51 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 17:44:22 +00:00
Patrick Ohly
4c145a616c ensure that unique properties occur not more than once
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@47 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 14:18:14 +00:00
Patrick Ohly
5761cda454 test adding multiple business phone numbers
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@46 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 14:17:51 +00:00
Patrick Ohly
191dd40b23 test for copying via server now transmits testVCard.vcf and also compares against it
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@45 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 13:35:23 +00:00
Patrick Ohly
fb41aebdd4 format normalized vcards with 60 columns for easier side-by-side diff
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@44 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 13:29:15 +00:00
Patrick Ohly
d81eb58d44 normalize_vcard can now also compare two files automatically; it's also installed without .pl suffix
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@43 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-15 22:09:04 +00:00
Patrick Ohly
4b6549c077 added workarounds for FBURL/CALURI and ADR without TYPE
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@39 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-12 22:30:35 +00:00
Patrick Ohly
1217824251 replaced verification with vcard comparion via normalize_vcard.pl
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@38 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-12 20:36:18 +00:00
Patrick Ohly
329453859b fixed maintainer-cleanup
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@36 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-12 10:29:40 +00:00
Patrick Ohly
0e977a2b2e removed pregenerated autotools files from CVS - use autogen.sh
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@34 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-12 10:10:44 +00:00
Patrick Ohly
7af6713cd7 integrated compilation of Sync4j C++ client library + distribution of its source
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@33 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-12 09:48:59 +00:00
Patrick Ohly
1301d3edac preparations for a release as 'SyncEvolution'
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@32 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-11 19:23:43 +00:00
Patrick Ohly
ee25c482cd restrict the usage of the problematic CALURI/FBURL to a few specific test cases
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@30 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-11 16:30:00 +00:00
Patrick Ohly
e2e9fef922 check some more vcard fields (however, different order of entries still breaks comparison)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@29 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-02-26 18:12:05 +00:00
Patrick Ohly
d6fe29ef0e added support for the new refresh-client/server sync modes
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@26 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-02-04 20:22:55 +00:00
Patrick Ohly
884e6d60f3 removed redundant code
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@23 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-23 22:25:57 +00:00
Patrick Ohly
608a5b261f added conflict handling
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@22 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-23 21:51:43 +00:00
Patrick Ohly
09c19a61df allow running just one test
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@21 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-21 17:13:42 +00:00
Patrick Ohly
5c247ab443 list the major features explicitly and improved tests to actually check copying/updating
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@20 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-21 17:06:59 +00:00
Patrick Ohly
62322c3e19 minor changes to make it easier to debug
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@17 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-21 15:37:07 +00:00
Patrick Ohly
5883a5fa39 added test cases for vcard conversion
use VOCL classes to fix vcard encoding


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@16 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-08 21:49:03 +00:00
Patrick Ohly
a9e9e46d60 a deleted item without data returns getDataSize() -1
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@15 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-12 19:15:13 +00:00
Patrick Ohly
274f505aaf added unit testing for syncing, needs some support in core classes (overriding sync mode, full lists)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@14 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-11 17:13:36 +00:00
Patrick Ohly
584c29873a implemented distinction between different sync modes: 'refresh' requires deleting items, scanning is different for full and partial sync
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@13 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-10 21:10:43 +00:00
Patrick Ohly
a42a23b9c6 added testing of syncing
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@12 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-10 19:16:02 +00:00
Patrick Ohly
2931400051 added some more debug logging
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@11 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-10 17:48:07 +00:00
Patrick Ohly
4e394b7d3c more convervative logging
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@10 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-04 19:49:31 +00:00
Patrick Ohly
21427c1593 fixed/extended error detection at the end of the sync
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@9 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-03 16:06:47 +00:00
Patrick Ohly
8ef6f693cd added logging of contact vcards
added hack to make Evolution's vcard V3.0 compatible with Sync4j 2.3b3 (needs to be remove or made configurable)


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@8 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-03 14:35:11 +00:00
Patrick Ohly
20701cad26 strip special characters, Evolution gets confused by them
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@7 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-03 14:33:41 +00:00
Patrick Ohly
6b09f2f6c3 implemented front-end based on new SyncML C++ config API
implemented the new begin/endSync() callbacks
explain the change tracking and error handling
-> copying from server works, the other way around fails, probably because of vcard 3.0 parsing problems on the server


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@6 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-11-26 21:16:03 +00:00
Patrick Ohly
3a81621f3e adapted to Sync4j C++ client API 3.x
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@5 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-11-25 20:53:04 +00:00
Patrick Ohly
29ae19e174 base class with functionality common to all Evolution sync sources
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@4 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-11-25 20:50:21 +00:00
Patrick Ohly
3bc37288c2 first working version of SyncSource for Evolution contacts (requires Sync4j C++ API 2.0, not currently available)
added unit testing


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@3 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-11-05 22:04:33 +00:00
Patrick Ohly
4c29072c5f setup framework
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@2 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-10-08 12:03:24 +00:00