Commit graph

18659 commits

Author SHA1 Message Date
Andreas Schneider
22513d07f2 Add test for loading the module. 2008-04-21 09:45:55 +02:00
Andreas Schneider
96efd606b0 Add missing parameter to the vio functions. 2008-04-21 09:43:20 +02:00
Andreas Schneider
d2b7c2f0c6 Add vio module loading test. 2008-04-18 19:16:54 +02:00
Andreas Schneider
aa9d97c953 Call the right shutdown function in the module. 2008-04-18 19:15:40 +02:00
Andreas Schneider
4644c39f5a Implement module init and shutdown functions. 2008-04-17 18:02:41 +02:00
Andreas Schneider
cb14a9aaa5 Fix build warning for shadowed variable. 2008-04-17 15:02:52 +02:00
Andreas Schneider
9c90b113e8 Add config.h to csync_private.h and add plugin_handle. 2008-04-17 14:54:21 +02:00
Andreas Schneider
dca5625249 Fix typos. 2008-04-17 14:45:13 +02:00
Andreas Schneider
396e3b50fa Change the name of the BLOCK_SIZE field. 2008-04-16 15:02:32 +02:00
Andreas Schneider
0b7dde4934 Complete the smb plugin. 2008-04-16 14:05:13 +02:00
Andreas Schneider
beccc5f1bd Add missing include file. 2008-04-16 10:57:50 +02:00
Andreas Schneider
c1bd966c5c Make csync_vio_file_stat functions public. 2008-04-16 10:54:53 +02:00
Andreas Schneider
7bd9c7753d Add test for csync_vio_file_stat. 2008-04-16 10:32:33 +02:00
Andreas Schneider
ec5d3afea0 Fix warning about shadowed variables. 2008-04-16 10:32:01 +02:00
Andreas Schneider
269f5f5403 Add readdir function and add some debug messages. 2008-04-10 15:46:17 +02:00
Andreas Schneider
c7a3afecfa Fix a compile warning. 2008-04-10 15:46:01 +02:00
Andreas Schneider
241a38c8f2 Add csync_vio_file_stat functions to (de)allocate memory. 2008-04-10 15:45:23 +02:00
Andreas Schneider
59eff42dc4 Fix includes. 2008-04-10 15:44:41 +02:00
Andreas Schneider
ee657149b1 Change variables to new name. 2008-04-10 14:18:25 +02:00
Andreas Schneider
fd1045f913 Add a strndup function to c_stdlib. 2008-04-10 14:17:36 +02:00
Andreas Schneider
a465f28037 Fix the build. 2008-04-07 18:13:46 +02:00
Andreas Schneider
ab39159607 Add virtual IO plugin system.
This is the initial commit of the vio plugin system. The idea is based on
gnomevfs.
2008-04-07 17:16:41 +02:00
Andreas Schneider
3e33f5d52c Run tests in fork mode. 2008-04-07 17:16:00 +02:00
Andreas Schneider
5ba9432548 Free memory of the exclude list in the csync destroy function. 2008-03-26 11:11:20 +01:00
Andreas Schneider
2e85f56393 Add support for global and user exclude lists. 2008-03-25 16:22:51 +01:00
Andreas Schneider
335d07e0b8 Add a exclude list. 2008-03-25 16:13:44 +01:00
Andreas Schneider
5257f277a4 Config test should run in fork mode. 2008-03-25 16:08:39 +01:00
Andreas Schneider
10ec516dce The string we add should be const for strlist. 2008-03-25 16:07:58 +01:00
Andreas Schneider
d2c3e0734f Add exclude config 2008-03-25 16:07:06 +01:00
Andreas Schneider
4e8844f1bb Use POSIX functions for journal check. 2008-03-20 10:45:05 +01:00
Andreas Schneider
b4811c36bc Add a stringlist expand function. 2008-03-20 10:34:58 +01:00
Andreas Schneider
1dc975ad9d Don't leak memory.
Found by nightly build on http://testing.csync.org/.
2008-03-07 11:07:12 +01:00
Andreas Schneider
2e34b51373 Load the config file. 2008-03-06 17:43:58 +01:00
Andreas Schneider
57b74f8ce3 Copy config to the build directory. 2008-03-06 17:42:39 +01:00
Andreas Schneider
17ffc9d1e4 Add developer option to the build script. 2008-03-06 17:41:49 +01:00
Andreas Schneider
2f73648239 Add DEVELOPER options.
With this option you can work with the files in the build directory.
2008-03-06 17:41:27 +01:00
Andreas Schneider
2982193ee9 Add a false testcase for csync_journal_check. 2008-03-06 16:59:19 +01:00
Andreas Schneider
7c47d9cb59 Add more test cases for csync_journal functions. 2008-03-04 11:29:58 +01:00
Andreas Schneider
8ee1252276 Fix a deadlock if we pass an empty string to the journal insert. 2008-03-04 11:29:43 +01:00
Andreas Schneider
7415bb1ea3 Add more testcases for csync_journal. 2008-03-04 10:42:02 +01:00
Andreas Schneider
c8b641ac98 Fix build warnings. 2008-03-04 09:01:58 +01:00
Andreas Schneider
a98377dbd4 Fix gcc warnings. 2008-03-03 14:11:14 +01:00
Andreas Schneider
5b858683f5 Add a custom ctest config to ignore the jhash check. 2008-03-03 13:43:12 +01:00
Andreas Schneider
a262be870a Add a macro to copy a file if it is different. 2008-03-03 13:42:26 +01:00
Andreas Schneider
c394ea1c90 Fix memleaks in rbtree test. 2008-03-03 13:22:36 +01:00
Andreas Schneider
c29132d612 Fix indentation. 2008-03-03 13:20:45 +01:00
Andreas Schneider
0f6516931f Update CTestConfig for CDash.
http://testing.csync.org/
2008-03-03 12:28:58 +01:00
Andreas Schneider
c51ab886e8 Enable unit testing by default in the build script. 2008-03-03 12:28:32 +01:00
Andreas Schneider
5b3f0aad3d Add option to enable unit testing.
Unit testing is disabled by default.
2008-03-03 12:27:52 +01:00
Andreas Schneider
1692ef49ae Change version to 0.42. 2008-03-03 10:20:31 +01:00