Commit Graph

31 Commits

Author SHA1 Message Date
Patrick Ohly 6f729542e6 license: changed to LGPL v2.1
This relicensing is possible despite the Funambol Contributor
Agreement (included as 'doc/Sync4jContribution.pdf') under which the
0.7 release was contributed to Funambol because among the broad range
of rights granted back by that agreement is the right to sublicense.

Furthermore, Patrick Ohly is still the copyright holder because
that moral right is not transferable in Germany.
2009-03-25 14:42:43 +01:00
Patrick Ohly 8960e763fa fixed compile errors/warnings on Maemo/Mac OS X
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@760 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-11 09:44:44 +00:00
Patrick Ohly 3d5749df17 hard dependencies on specific Evolution libs can be avoided with --enable-evolution-compatibility
This works by mapping all EDS symbols to pointers initialized via dlopen/dlsym.
Avoids version checks as intented, but might lead to runtime crashes if the ABI
of the required symbols really changes...

Currently the binaries refuses to start when any of the EDS libs is not found.
Need to make it work again so that libecal and libebook are optional (Maemo!).


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@747 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-08 21:30:06 +00:00
Patrick Ohly 5fa63c04a6 license and copyright clarification
The source was always meant to be GPL v2 or later, but wasn't marked
consistently as such. Copyright belongs to Patrick Ohly, with all
code up to 0.7 also owned by Funambol due to a copyright transfer
at that time.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@739 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-26 17:45:28 +00:00
Patrick Ohly 6626c02d67 adapted to the extended printLine() method
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@573 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-04-07 17:51:17 +00:00
Patrick Ohly acff8845e1 first part of the new command line handling
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@522 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-18 21:45:34 +00:00
Patrick Ohly f88d117d64 - introduced new SyncEvolution config handling
- cleaned up passing of SyncSource creation parameters
- reads old configs and should also work with new layout (not tested yet)


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@507 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-06 22:23:13 +00:00
Patrick Ohly e82a0b179a SF #1893582: compiler error due to missing include <memory>
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@503 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-14 19:48:03 +00:00
Patrick Ohly acc239c090 Use the new singleton implementation for logging, if available.
LOG_HAVE_SET_LOGGER and LOG_HAVE_DEVELOPER preprocessor symbols in
the new Log.h header file are checked to detect that.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@481 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-01-12 22:53:50 +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 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 691090fbcc disable buffering to stdout/stderr: ensures that printf output appears immediately without explicit fflush()
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@398 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-04 20:46:42 +00:00
Patrick Ohly 5aee503cae finished change tracking, update and delete - still needs improved import/export with own functions because Address Book vcard parser merges X- properties into NOTE and cannot update contact
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@385 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-08-21 20:15:32 +00:00
Patrick Ohly 03aaa74e45 added a sync source which stores contacts in a SQLite database
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@381 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-08-13 20:46:49 +00:00
Patrick Ohly e959f943f1 added configurable hacks for Maemo (--enable-maemo):
- set the (non-standard!) DBUS_DEFAULT_TIMEOUT; see dbus-timeout.patch
- wrap e_book_from_string() to fix invalid parameter
- don't use UTF-8 encoding in Perl script


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@327 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-03-24 15:47:22 +00:00
Patrick Ohly 4ebb979fe9 --enable-ecal/ebook are only enabled by default if the libs are present
--enable-shared will build backends as modules which are loaded dynamically if possible (off by default)


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@315 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-03-11 22:13:13 +00:00
Patrick Ohly 8d3031396b added support for synchronizing Evolution memos in iCalendar 2.0 VJOURNAL format
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@305 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-01-04 20:54:11 +00:00
Patrick Ohly e7cd458d37 copyright transfer to Funambol
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@297 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-12-10 17:35:20 +00:00
Patrick Ohly 0a533feef3 adapted to additional SyncSourceConfig parameter in SyncSource constructor, added testing of LargeObject support
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@260 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-09-28 23:02:43 +00:00
Patrick Ohly 1668c30008 - rename qptr to eptr to avoid name clash with sstring
- moved unref() into global name space so that more unref() functions
  can be added (otherwise local methods shadow the global functions)
- use eptr for SourceList (wasn't destructed in case of error otherwise and
  logging in 0.4 pre continued to go to file)
- check for server configuration and abort in prepare if none given with
  a suitable error message


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@215 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-08-14 20:52:34 +00:00
Patrick Ohly 132c015573 now compiles on Maemo
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@201 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-08-06 15:48:58 +00:00
Patrick Ohly 8199a7b38c - adapted to new SyncClient API: configuration tree handling is now part
of the library
- do not reset anchors after failure: allows to proceed with two-way sync


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@196 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-08-06 07:56:41 +00:00
Patrick Ohly 9c886fd2b5 added --disable-ecal/ebook for installations without the required libs
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@192 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-07-23 10:27:21 +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 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 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 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 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 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 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
Renamed from src/sync4jevolution.cpp (Browse further)