Commit graph

16148 commits

Author SHA1 Message Date
Andreas Schneider
1d61cb9a51 Add error if callback ist set after init. 2008-05-13 16:04:29 +02:00
Andreas Schneider
ac8243c445 Fix status check. 2008-05-13 16:04:00 +02:00
Andreas Schneider
711f8ff78d Fix abort, don't free dirent. 2008-05-13 16:02:59 +02:00
Andreas Schneider
7284461931 Don't segfault if the callback is NULL. 2008-05-13 16:02:24 +02:00
Andreas Schneider
349d924126 Remove unnessesary newlines. 2008-05-13 16:00:57 +02:00
Andreas Schneider
2c8f1fb667 Merge branch 'master' of git://git.csync.org/csync 2008-05-13 13:40:42 +02:00
Andreas Schneider
b13fba29da Add a text based callback function to the client. 2008-05-13 13:40:06 +02:00
Andreas Schneider
4e6a65ab9d Use the auth callback in the modules. 2008-05-13 13:39:34 +02:00
Andreas Schneider
e76495a5cc Add a module auth callback function.
This allows the client to create an authentication callback function and
let the module call it. This makes it independent from gui or commandline.
2008-05-13 13:38:03 +02:00
Andreas Schneider
988591491a Install needed header files. 2008-05-13 13:36:50 +02:00
Andreas Schneider
c5c01998c5 Cleanup comments. 2008-05-09 13:34:46 +02:00
Andreas Schneider
3401972613 Fix build script. 2008-05-09 11:31:03 +02:00
Andreas Schneider
87a2805a91 Fix a build warning. 2008-05-09 11:30:53 +02:00
Andreas Schneider
7f3cba1517 Add missing tests for journal functions. 2008-05-09 11:25:21 +02:00
Andreas Schneider
738bd55231 Add test for c_rbtree_dup(). 2008-05-09 11:10:00 +02:00
Andreas Schneider
1b223a355c Fix build warnings. 2008-05-09 10:57:40 +02:00
Andreas Schneider
917f369e67 Use the dummy module to test csync_init() with module loading. 2008-05-09 10:57:08 +02:00
Andreas Schneider
e6f4a4cf4b Add a module dummy for testing. 2008-05-09 10:56:38 +02:00
Andreas Schneider
029a6679da Add journal load and query tests. 2008-05-09 10:00:10 +02:00
Andreas Schneider
364b8038e6 Split up journal tests in test which needs init and just create. 2008-05-09 09:59:26 +02:00
Andreas Schneider
9c245073c0 Split csync tests into two tests. 2008-05-09 09:54:08 +02:00
Andreas Schneider
16ae13d095 Remove standard csync test. 2008-05-09 09:53:48 +02:00
Andreas Schneider
9f887635b2 Add tests for the csync_util functions. 2008-05-09 09:26:12 +02:00
Andreas Schneider
be57b79d6c Add test for csync_difftime(). 2008-05-09 09:25:50 +02:00
Andreas Schneider
9a440d4501 Respect return values in tests. 2008-05-08 17:28:12 +02:00
Andreas Schneider
804e5adee6 Add more warnings. 2008-05-08 16:17:17 +02:00
Andreas Schneider
8fc9e93ee0 Respect return value of fscanf. 2008-05-08 16:16:55 +02:00
Andreas Schneider
393c3ce9db Initialize variables. 2008-05-08 16:07:15 +02:00
Andreas Schneider
46bedd6285 Remove obsolete definition. 2008-05-08 15:07:32 +02:00
Andreas Schneider
e76c2db9f6 Fix directories for exclude tests. 2008-05-08 10:56:08 +02:00
Andreas Schneider
9dbd938791 Set the default buildtype to RelWithDebInfo. 2008-05-07 15:38:04 +02:00
Andreas Schneider
d0a6e9221b Fix tests and remove developer mode.
This allows to run all tests without the need for a special developer
mode.
2008-05-07 15:33:55 +02:00
Andreas Schneider
c7b77fab5b Add stackprotector flag and check for fourtify source. 2008-05-07 11:42:45 +02:00
Andreas Schneider
b1f8ab38c9 Fix null termination. 2008-05-07 11:29:48 +02:00
Andreas Schneider
e41e8e1610 Add commandline parsing to all tests. 2008-05-07 11:09:56 +02:00
Andreas Schneider
7b6be113ea Add commandline options support for testcases.
This adds a simple possibility to run the test not in the fork mode.
2008-05-07 10:56:36 +02:00
Andreas Schneider
97c951e531 Use c99 syntax for structs. 2008-05-07 10:55:08 +02:00
Andreas Schneider
c9745ab851 Add csync.time logging category. 2008-05-06 17:48:26 +02:00
Andreas Schneider
014346f2bb Fix typo. 2008-05-06 15:41:52 +02:00
Andreas Schneider
6af37010cd Fix a stack smash. 2008-05-06 14:31:36 +02:00
Andreas Schneider
de0a689b12 Fix build script.
/bin/bash must be the first line.
2008-05-06 11:18:56 +02:00
Andreas Schneider
1f48d22f24 Add cmake 2.6 compatible FindCheck module. 2008-05-06 11:18:20 +02:00
Andreas Schneider
93df0adc08 Fix bug in generate_findpackage_file script. 2008-05-06 11:17:53 +02:00
Andreas Schneider
a1116b0e00 Add a module to find libdl.so. 2008-05-06 10:54:15 +02:00
Andreas Schneider
fc6a5ce222 Add CMake 2.6 compatible FindSqlite3 module. 2008-05-06 10:53:42 +02:00
Andreas Schneider
7e9cf16825 Fix CMake 2.6 warnings. 2008-05-06 10:51:12 +02:00
Andreas Schneider
c9b34b8aae Add cmake 2.6 support for generate_findpackage_file. 2008-05-06 10:50:25 +02:00
Andreas Schneider
a472014d8b Install the client binary. 2008-05-05 17:52:19 +02:00
Andreas Schneider
c08ec25f5b Add a new version for the sqlite3 find module. 2008-05-05 17:32:11 +02:00
Andreas Schneider
dce6278a1d Change set right version. 2008-05-05 13:53:07 +02:00