Commit graph

745 commits

Author SHA1 Message Date
Patrick Ohly 47bcfccee0 avoid lengthy objdump -l -C output in error handler, exit to prevent repeated segfault invocation
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@459 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-28 18:03:58 +00:00
Patrick Ohly 1da4976ce7 added better error message when 'syncevolution' is started with non-existant sources as parameter
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@458 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-22 21:06:21 +00:00
Patrick Ohly 802f69d5b5 Added stack dumping in case of SIGABRT, SIGSEGV, SIGILL.
Both valgrind and glibc backtrace() are used: the former automatically
looks up source code, the later can handle stack back traces out of a signal
handler. objdump is called so that the addresses printed by backtrace()
can be associated with source code.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@457 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-21 22:09:06 +00:00
Patrick Ohly 423995e05d last minute fix for iPhone 0.7 pre2: removed debug output
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@455 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-10 16:10:23 +00:00
Patrick Ohly fb105807d2 clarified post-sync comparison by adding 'Changes applied to client during synchronization'
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@454 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-10 13:26:11 +00:00
Patrick Ohly a0c8176a1c # bumped version
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@453 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-10 12:59:12 +00:00
Patrick Ohly 12ffc466d6 # bumped version
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@452 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-10 12:58:03 +00:00
Patrick Ohly 7b0b8b69c9 # updated
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@451 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-08 22:20:15 +00:00
Patrick Ohly 3e975a0695 Evolution 2.12 generates contacts with e.g. TYPE=VOICE,WORK. This needs to be split into TYPE=VOICE;TYPE=WORK when converting to 2.1, otherwise myFUNAMBOL drops the phone numbers with the (in 2.1) incorrect TYPE
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@450 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-08 22:18:59 +00:00
Patrick Ohly 0d5993eed5 - revised an updated usage instructions (myFUNAMBOL instead of Funambol)
- added dumping of local changes before sync (works best with logdir)
- added command line options:

  --sync|-s <mode>
    Temporarily synchronize the active sources in that mode. Useful
    for a 'refresh-from-server' or 'refresh-from-client' sync which
    clears all data at one end and copies all items from the other.

  --status|-t
    The changes made to local data since the last synchronization are
    shown without starting a new one. This can be used to see in advance
    whether the local data needs to be synchronized with the server.

  --quiet|-q
    Suppresses most of the normal output during a synchronization. The
    log file still contains all the information.

  --help|-h
    Prints usage information.

  --version
    Prints the SyncEvolution version.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@449 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-08 21:22:52 +00:00
Patrick Ohly 2ec73e7381 separated compile and release instructions
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@448 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-08 21:19:59 +00:00
Patrick Ohly 7df1f313bd let the default source configs access the default Evolution databases: less work for users to configure it
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@447 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-08 20:54:28 +00:00
Patrick Ohly 762a13af15 fixed iPhone photo import/export: that API wasn't as expected and therefore was
called incorrectly. Importing photos crashed, exporting them may have failed
randomly and/or picked the wrong size of the photo.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@446 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-05 22:02:10 +00:00
Patrick Ohly 8ed1710889 when configured to use ScheduleWorld card3 URI, then switch to sending vCard 3.0 (easier to parse by SW); always dump contacts as vCard 3.0 (avoids quoted-printable in synccompare output)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@445 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-04 21:10:51 +00:00
Patrick Ohly 16be53a279 bug fix: TYPE with multiple comma-separated values (vCard 3.0, e.g. TYPE=WORK,VOICE) was not decoded as intended => downloading into iPhone from SW card3 URI did not set type correctly
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@444 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-04 21:07:48 +00:00
Patrick Ohly e207027ae1 dump user name, date and SyncEvolution at beginning of debug log
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@443 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-04 17:33:27 +00:00
Patrick Ohly ada87c2cb7 Replaced guest/guest credentials with "your SyncML server account name"
and "your SyncML server password" to make it clear that something must
be entered there. Some servers also really have "guest/guest" demo
accounts.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@442 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-04 16:57:11 +00:00
Patrick Ohly d1d2290037 Detect unexpected crashes of the Evolution Data Server. A workaround for
the fact that the synchronous EDS API calls block infinitely in that case.
- drive default glib event look in background thread
- listen for "backend-died" signals
- if triggered, print a message ("Evolution Data Server has died unexpectedly,
  database no longer available.") and abort the process (other error handling is
  impossible)
- for contacts instead of "database" "contacts" is printed


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@441 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-03 17:07:42 +00:00
Patrick Ohly effa4b307a adapted calendar event insert/update to Evolution 2.12: the UID needs to be restored, otherwise the Evolution backend crashes (GNOME issue #488881)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@440 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-03 13:30:37 +00:00
Patrick Ohly 25dcae5dc4 fixed compile errors on Mac OS X
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@439 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-01 13:03:03 +00:00
Patrick Ohly 5a5ff37001 added package release number and dependency calculation for local Evolution libs without installed .debs
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@437 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-25 21:10:48 +00:00
Patrick Ohly 0c6e2626a3 ClientTest.cpp and synccompare.pl are back in C++ library
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@436 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-25 17:15:26 +00:00
Patrick Ohly 796fda3d7a synccompare.pl wasn't found in client library because search rule had the wrong directory
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@435 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-24 16:20:08 +00:00
Patrick Ohly 03d90e7431 workaround for dependency on size_t in client library Log.h: include stddef.h first
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@434 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-24 16:19:15 +00:00
Patrick Ohly 95392bf835 adapted to ArrayList::remove() -> removeElementAt() renaming
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@433 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-24 16:18:28 +00:00
Patrick Ohly 6497775798 same patch as in client library: chop trailing white spaces
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@432 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-23 21:21:09 +00:00
Patrick Ohly a121171404 # pushed sources back into SyncML client library
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@431 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-23 21:20:18 +00:00
Patrick Ohly b3b451da35 # added remark about updated upstream
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@430 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-21 21:23:49 +00:00
Patrick Ohly 7e7201c9fc # updated packaging: added provides/conflicts
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@429 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-21 21:23:15 +00:00
Patrick Ohly 2ecde008ba # extended description of logging
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@428 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-18 08:04:22 +00:00
Patrick Ohly c315a9216b # fixed distcheck problem
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@427 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-18 08:03:45 +00:00
Patrick Ohly f23accd6d1 # updated
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@426 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-17 21:22:16 +00:00
Patrick Ohly 401b0caee3 added packaging via checkinstall as deb (working) and rpm (somehow not working)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@425 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-17 21:08:24 +00:00
Patrick Ohly 48f6b01a2c # version bump
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@424 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-17 21:07:23 +00:00
Patrick Ohly 533bb61ec0 #updated
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@423 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-14 20:31:59 +00:00
Patrick Ohly 7b05156632 - consistently ignore all empty strings when reading vcard
- interpret date time stamps relative to current system time zone (like GUI does)


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@422 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-14 18:40:54 +00:00
Patrick Ohly f89ddf337e improved error handling: catch errors during post-processing and continue
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@421 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-14 18:19:44 +00:00
Patrick Ohly a658452b99 SF #1764123: SyncCap is not generated unless syncModes are configured: added a comment to example config
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@420 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-14 16:30:30 +00:00
Patrick Ohly 8f07dae54b added a table which summarizes the changes made on client and server
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@419 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-14 16:25:39 +00:00
Patrick Ohly f7cd1459cc replaced ambiguous 'Modifications:' with 'Changes applied during synchronization:'
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@418 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-14 14:49:07 +00:00
Patrick Ohly 6cd9ace693 use myFUNAMBOL instead of localhost for funambol demo config
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@417 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-14 14:45:19 +00:00
Patrick Ohly f63e3c4f1a avoid setting empty strings: the iPhone GUI adds redundant space around the empty property (e.g. middle name)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@416 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-14 14:44:44 +00:00
Patrick Ohly f665c5abb7 perl is not installed as /usr/bin/perl on iPhone: let /usr/bin/env find it
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@415 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-14 14:02:46 +00:00
Patrick Ohly 1cc66f59be use vCard 2.1 instead of 3.0 for iPhone: avoids parsing problems in myFUNAMBOL
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@414 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-14 14:02:15 +00:00
Patrick Ohly 517f76f221 reset version to alpha (less than pre)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@413 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-14 13:57:02 +00:00
Patrick Ohly 8b3bc3d6e4 updated package commands for Debian 4.0
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@412 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-13 20:24:17 +00:00
Patrick Ohly 1a0568ead2 ScheduleWorld no longer drops department/office
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@411 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-13 20:23:44 +00:00
Patrick Ohly 429160af1c fixed segfault due to unintentional infinite recursion in new throwError() call
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@410 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-13 16:04:57 +00:00
Patrick Ohly eb48aee7f0 SF #1796086: also added all the other predefined TYPE values from vCard 2.1/3.0
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@409 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-12 20:21:39 +00:00
Patrick Ohly f4d33fd972 temporary fork of 1.25: handle testComplexUpdate where some (but not all) sources have a complex update item
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@408 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-12 18:02:42 +00:00