summaryrefslogtreecommitdiff
path: root/HACKING
Commit message (Collapse)AuthorAge
* Buteo: removed from source codePatrick Ohly2012-05-22
| | | | | Pseudo-backend (really more like a plugin for Buteo) and testing framework changes were removed because Buteo is obsolete.
* autotools: depend on D-BusPatrick Ohly2012-01-20
| | | | | Local sync needs D-Bus and glib. Either libdbus or gio-dbus (in gio >= 2.26) are good enough.
* testing: allow regex in CLIENT_TEST_SKIP/FAILURESPatrick Ohly2011-11-28
| | | | | | | | | Both comma separated lists may now contain regular expressions, which is very useful to ignore or skip one test for all data categories, for example. Because tests names did not have special characters in them, previous values still work as before for a literal match against just one test.
* HACKING: updated recommended configurePatrick Ohly2011-11-28
| | | | | Use --enable-warnings=fatal to catch errors (easier than setting flags) and compile in one step with --with-synthesis-src (avoids mismatch).
* autotools: use pcre for regular expressionsPatrick Ohly2011-11-28
| | | | | | | | | | | | | | | | Added the necessary autotools rules to use pcre in the src binaries and libsyncevolution. It's unconditionally required now, which makes it possible to add code depending on it without having to worry about the case without pcre. The alternative to pcre with its C++ binding would have been boost::Xpressive. pcre was chosen because it has UTF-8 support and is more common. boost::regex introduces an undesirable library dependency. The C POSIX regex code has no C++ binding and does not support easy replacement. README was updated accordingly.
* HACKING: describe database creation with EDS 2.32Amarnath Valluri2011-06-24
| | | | | Automatic database creation is not supported for EDS 2.32, must be done manually.
* nightly testing: renamed ical20/itodo20/vcard30/text, removed vcard21 from ↵Patrick Ohly2011-05-05
| | | | | | | | | | | | | | | | | | | | | | | | Evolution backend (BMC #14972) The distinction between vcard21 and vcard30 became mute in the Evolution backend a while ago. Both tests ended up using the vCard 3.0 Evolution tests data and the default uri for each server. This patch removes the vCard 2.1 special case. It also renames the tests and test data to reflect that they always were Evolution specific. The new naming convention, also applied to file, QtContacts, KCalExtended, XMLRPC, Maemo and Akonadi backends, is now <backend>_contact/event/task/memo, with eds/file/qt/kcal/maemo/kde as backend names. The reasoning is: - results in unique string (in particular no overlap with backend type names), easier to search for - underscore already used before (in contrast to hyphen) - no plural-s to keep the name shorter The Akonadi backend should be using its own test data instead of the Evolution ones.
* HACKING: add one section to describe testing ButeoZhu, Yongsheng2010-12-08
| | | | | | Add one section in HACKING to describe how to test Buteo in SyncEvolution. Maily show how to setup the environment step-by-step.
* HACKING: added commit guidelinesPatrick Ohly2010-09-25
| | | | | This summarizes and documents established practices in SyncEvolution, no new guidelines are added.
* README: replaced with README.rst, added man page (MBC #690)Patrick Ohly2010-05-04
| | | | | | | | | | | | This patch adds the necessary autotools rules a) to use README.rst as README in distribution archives and b) to build a syncevolution.1 man page out of it. The later depends rst2man. --with-rst2man can be used to force man page creation on or off. Without an explicit choice, it is only built when the tool is found. Version and compile date are inserted automatically.
* syncevo-dbus-server/syncevolution-http-server.py: SyncML HTTP serverPatrick Ohly2009-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | This uses the new combined client/server Synthesis engine. When building shared modules, the engine is opened dynamically only while needed, thus reducing overall memory consumption. The HTTP server is implemented in Python, using the the 'twisted' server framework because it can use the same glib event loop as the D-Bus binding. This allows us to keep the same event loop running forever and react to both kinds of events. The server takes a base url (including host name and port) and a default configuration as name. The host name is currently ignored. It could be used to bind to a specific interface. The path is what a client has to use as part of his sync URL to synchronize against the default configuration. In addition the client can add another path to select that as his server configuration. For example, if the script is called with http://localhost:9000/syncevolution default then syncURL = http://localhost:9000/syncevolution will synchronize against the configuration called "default". With syncURL = http://localhost:9000/syncevolution/my_server, it will synchronize against "my_server".
* Dynamic loadable backends: repackage libsyncevolution to enable dynamic ↵Chen Congwu2009-09-23
| | | | | | | | | | | | loadable backends Install head files to a standard path, the remaining dependencies are synthesis and boost client-test is portable when ENABLE_MODULES is defined, no longer link to backends libraries. Add --enable-developer-mode, in which mode the backend scan path will be under current build directory for development purposes.
* HACKING: added remark about LINGUAS and Synthesis .so versionsPatrick Ohly2009-08-26
|
* testing: skip certain tests by listing them in CLIENT_TEST_SKIPPatrick Ohly2009-07-13
| | | | | | | | | | | | | | | | | | The only way that I found not to execute a test was not to register it in CPPUnit. FilterTest() does this by replacing a valid test or test group with a dummy one, SkipTest, which just prints the test name and that it is skipped. Registering tests has to be intercepted at multiple levels: - CPPUNIT_TEST in test suites - ADD_TEST in ClientTest - addTest in ClientTest Not currently intercepted are complete test suites (CPPUNIT_TEST_SUITE). The main purpose of this patch is to avoid running the time consuming suspend and interrupt tests, but this feature might also be useful for other tests, which is why it was implemented in a more general way.
* logging: set SYNCEVOLUTION_DEBUG to disable redirectionPatrick Ohly2009-07-10
| | | | | | | | The environment variable SYNCEVOLUTION_DEBUG is checked by LogRedirect itself (instead of in its caller) so that all users of the class behave identically. The value of the variable currently doesn't matter. Later it might also be used to enable or disable specific debugging aspects.
* docs + version: updated for 0.9 beta 1Patrick Ohly2009-04-06
|
* configure: fixed some checks (glib, boost, EDS)Patrick Ohly2009-03-27
| | | | | | | | | | | | | | | Configure didn't check correctly for "glib": it invoked glib-config but didn't notice when that command was missing. Removed that check as it has been superseeded by "glib-2.0" anyway. Boost wasn't checked for at all, although the Boost header files are no longer bundled. libecal and libebook are now obligatory unless explicitly disabled. This catches a common mistake made by users: previously syncevolution would compile, but without Evolution support. The drawback is that on platforms without Evolution, support for it now must be disabled explicitly.
* configuration: removed obsolete config options and added WBXMLPatrick Ohly2009-03-25
| | | | | | | | | | | | | | | Removed the "encoding" source option. It was of dubious usefulness with Funambol and has meaning with Synthesis at all. Removed dead code in EvolutionSyncConfig. Added "enableWBXML" sync option. WBXML is used by default, but for debugging disabling it might be useful: dumping WBXML doesn't seem to work reliably. Most Client::Sync tests use the default encoding, usually WBXML unless changed via CLIENT_TEST_XML=1. Client::Sync::*::testItemsXML always uses XML and Client::Sync::*::testItems always WBXML.
* dist: fixed distcheck, bundle SynthesisPatrick Ohly2009-03-25
| | | | | | | When --with-synthesis-src is used, then the Synthesis source code is compiled automatically and included in a .tar.gz. Added some missing EXTRA_DIST files.
* removed all references to Funambol header files and definitionsPatrick Ohly2009-03-25
|
* transport agent: replaced Funambol TransportAgent with own libsoup/libcurl ↵Patrick Ohly2009-03-25
| | | | | | | | | | | | | | | | classes The new TransportAgent base class supports sending a message and waiting for a reply. Implementations which block in either the send() (CurlTransportAgent) or the wait() (SoupTransportAgent) call are possible. The default implementation is compiled into libsyncevolution. configure picks libsoup if available, otherwise libcurl. The default can be changed via --enable-libcurl/libsoup, including not compiling any transport. Normally that triggers a configure error because it leads to an unusable syncevolution binary. Derived EvolutionSyncClients can change the default via createTransportAgent().
* HACKING: improved Synthesis instructions to work with --enable-sharedPatrick Ohly2009-03-25
|
* use Synthesis SDK to run a sync sessionPatrick Ohly2009-03-25
| | | | | | | | | | | | | Copying SyncEvolution settings into the corresponding Synthesis properties is implemented. A "syncevolution.xml" with the client configuration must be in the current directory. Currently it contains no configuration for SyncEvolution data backends, only for SDK_textdb addressbook. As there is no synthesis.pc yet, use SYNTHESIS_CFLAGS=-Ifoo/include and SYNTHESIS_LIBS=-Lfoo/lib -lsynthesissdk where foo is the installation prefix of the Synthesis SDK.
* improved handling of Funambol client library sourcePatrick Ohly2008-09-14
| | | | | | | | | configure checks out the right source automatically. Subversion and git are supported. When given an existing directory with sources, out-of-tree compilation is used instead of making a copy first. git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@744 15ad00c4-1369-45f4-8270-35d70d36bdcd
* use libcurl on all platformsPatrick Ohly2008-08-29
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@742 15ad00c4-1369-45f4-8270-35d70d36bdcd
* version number must go into configure-pre.inPatrick Ohly2008-08-29
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@741 15ad00c4-1369-45f4-8270-35d70d36bdcd
* version 0.8Patrick Ohly2008-08-29
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@740 15ad00c4-1369-45f4-8270-35d70d36bdcd
* removed obsolete LIBDBUS hackPatrick Ohly2008-08-17
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@729 15ad00c4-1369-45f4-8270-35d70d36bdcd
* corrected outdated config pathPatrick Ohly2008-08-03
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@703 15ad00c4-1369-45f4-8270-35d70d36bdcd
* added BINSUFFIX for Mac OS XPatrick Ohly2008-07-14
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@676 15ad00c4-1369-45f4-8270-35d70d36bdcd
* simplified compiling for ppc/386 on Mac OS XPatrick Ohly2008-07-12
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@668 15ad00c4-1369-45f4-8270-35d70d36bdcd
* Maemo no longer uses patched libdbusPatrick Ohly2008-04-20
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@605 15ad00c4-1369-45f4-8270-35d70d36bdcd
* generate ChangeLog from Subversion logPatrick Ohly2008-04-19
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@597 15ad00c4-1369-45f4-8270-35d70d36bdcd
* added comment about pre-releasesPatrick Ohly2008-04-17
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@589 15ad00c4-1369-45f4-8270-35d70d36bdcd
* added SYNCEVOLUTION_CXXFLAGS: use it to set flags for SyncEvolution source filesPatrick Ohly2008-03-24
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@536 15ad00c4-1369-45f4-8270-35d70d36bdcd
* beware of the need to update 'stable' and 'chinook' repositories when ↵Patrick Ohly2008-02-02
| | | | | | releasing for Maemo git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@493 15ad00c4-1369-45f4-8270-35d70d36bdcd
* Replaced "is a" SQLiteSyncSource with "has a" SQLiteUtil instance in ↵Patrick Ohly2008-01-12
| | | | | | | | | | SQLiteContactSource. This is a first step towards deriving SQLiteContactSource from a sync source base class which does change tracking. git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@483 15ad00c4-1369-45f4-8270-35d70d36bdcd
* added list of debug packagesPatrick Ohly2007-12-06
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@467 15ad00c4-1369-45f4-8270-35d70d36bdcd
* separated compile and release instructionsPatrick Ohly2007-11-08
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@448 15ad00c4-1369-45f4-8270-35d70d36bdcd
* added compile/packaging informationPatrick Ohly2007-10-07
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@404 15ad00c4-1369-45f4-8270-35d70d36bdcd
* port to iPhone: lots of hacks and debug output, none of the multiprops ↵Patrick Ohly2007-10-04
| | | | | | supported yet (use unknown format in API) git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@399 15ad00c4-1369-45f4-8270-35d70d36bdcd
* # release 0.6Patrick Ohly2007-07-09
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@375 15ad00c4-1369-45f4-8270-35d70d36bdcd
* updated testing instructionsPatrick Ohly2007-06-19
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@369 15ad00c4-1369-45f4-8270-35d70d36bdcd
* - improved logging: log file and backup can be avoided with logdir=none,Patrick Ohly2007-04-21
| | | | | | | | | | | | | loglevel is configurable - fixed off-by-one counting of months in backup directory names - only one example configuration per server, users typically do not need the _1/2 suffices and the testing system no longer has to be configured manually either - documented the switch from the original SyncEvolution testing to its successor, the generic Funambol C++ client testing framework git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@362 15ad00c4-1369-45f4-8270-35d70d36bdcd
* added note about building Maemo package with fakerootPatrick Ohly2007-04-15
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@359 15ad00c4-1369-45f4-8270-35d70d36bdcd
* various release preparationsPatrick Ohly2007-03-26
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@341 15ad00c4-1369-45f4-8270-35d70d36bdcd
* - fixed building synccompare for MaemoPatrick Ohly2007-03-25
| | | | | | | | - added/fixed rules to build for Maemo - add new Algorithm::Diff files to source distribution git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@336 15ad00c4-1369-45f4-8270-35d70d36bdcd
* allow running multiple tests by specifying them on the command linePatrick Ohly2006-11-03
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@279 15ad00c4-1369-45f4-8270-35d70d36bdcd
* added note about .patchesPatrick Ohly2006-08-06
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@200 15ad00c4-1369-45f4-8270-35d70d36bdcd
* cleaned up error reporting and exception handlingPatrick Ohly2006-05-26
| | | | git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@105 15ad00c4-1369-45f4-8270-35d70d36bdcd