Commit graph

1029 commits

Author SHA1 Message Date
Klaas Freitag
bcb31b6998 Merge branch 'dav' of ssh://milliways.cryptomilk.org/users/freitag/csync into dav
Conflicts:
	src/csync.c
	src/csync_propagate.c
	src/std/c_private.h
	src/vio/csync_vio.c
2012-07-09 16:39:11 +02:00
Klaas Freitag
7fb929a82d use lstat instead of stat for local files, fix oCB #713. 2012-07-09 16:15:27 +02:00
Klaas Freitag
7b261077a2 Avoid compile warning and use an unsigned variable. 2012-07-09 14:45:25 +02:00
Klaas Freitag
43685f69a3 do the capabilities after the module was initialized. 2012-07-09 14:45:05 +02:00
Klaas Freitag
9e81fd38e1 Added CMocka find module for cmake. 2012-07-09 14:29:17 +02:00
Klaas Freitag
5b79f1feca Added mocka tests for the ownCloud module. 2012-07-09 14:16:20 +02:00
Klaas Freitag
9eae6d88fd Add ownCloud directory in tests. 2012-07-09 14:10:04 +02:00
Klaas Freitag
b9329f2991 undef malloc only if not doing UNIT_TESTING. 2012-07-09 14:09:34 +02:00
Klaas Freitag
c0f1f36f59 Fix condition on when atomar push is allowed, never for local files. 2012-07-09 13:26:20 +02:00
Dominik Schmidt
77d71eb080 Load plugins on MacOSX. 2012-07-09 13:26:20 +02:00
Klaas Freitag
64f8e5031b owncloud: remove the win32 c_tmpname use. 2012-07-09 13:26:20 +02:00
Klaas Freitag
d50f39c8b8 owncloud: Win32 use c_tmpname and set _fmode to O_BINARY. 2012-07-09 13:26:20 +02:00
Klaas Freitag
26221653ee Updated Changelog 2012-07-09 13:26:20 +02:00
Klaas Freitag
065529642e Ability to push to remote without using a tempfile to copy to.
Modules such as ownCloud make sure anyway that the upload to a
remote resource happens atomar. This patch allows to switch off
the default behaviour of first copying to a temp file in the
same directory. Use csync_set_remote_push_atomar function to
switch off.
2012-07-09 13:26:20 +02:00
Klaas Freitag
c32e50462e Remove wrong cast 2012-07-09 13:26:20 +02:00
Klaas Freitag
3cbc0e5d7e ownCloud: Fix mem leaks to bring valgrind down to zero loss. 2012-07-09 13:26:20 +02:00
Klaas Freitag
36b1e21c45 ownCloud: Use wide char aware file system functions. 2012-07-09 13:26:20 +02:00
Klaas Freitag
c084fa05af Added test for std function c_tmpname. 2012-07-09 13:26:20 +02:00
Klaas Freitag
037532d73b win32: Fix random file name generation, init random generator once. 2012-07-09 13:26:20 +02:00
Klaas Freitag
d532031e3c Fixed release date of 1.0.2 2012-07-09 13:26:20 +02:00
Klaas Freitag
08621aa74d Updated changelog for 0.50.6. 2012-07-09 13:26:00 +02:00
Klaas Freitag
09b82ea7cd do not log on stderr on MacOSX because that spams system log 2012-07-09 13:26:00 +02:00
Klaas Freitag
f802b54f6f set version to 0.50.7 2012-07-09 13:26:00 +02:00
Klaas Freitag
62acdc3b8c win32: use wide char variant of CopyFile for file copy. 2012-07-09 13:26:00 +02:00
Klaas Freitag
d7deaf3448 win32: Use wide character variant of GetSpecialFolderPath to get home. 2012-07-09 13:26:00 +02:00
Klaas Freitag
52dbc10315 ownCloud: commented extensive log line. 2012-07-09 13:25:59 +02:00
Klaas Freitag
188584e832 logging in SSL callback, important to debug. 2012-07-09 13:25:59 +02:00
Klaas Freitag
9f900266f4 Added a newline in case the logging callback is zero. 2012-07-09 13:25:59 +02:00
Klaas Freitag
f2439d83f0 Fix wide character support for the mkdir definition. 2012-07-09 13:25:59 +02:00
Klaas Freitag
5734a31b60 Add ability to log to a callback for the csync library. 2012-07-09 13:25:59 +02:00
Klaas Freitag
dfacc611d5 ownCloud: Adopt logging to csync standard log instead of printf. 2012-07-09 13:25:59 +02:00
Klaas Freitag
dc3055e429 Add a switch LOG_TO_CALLBACK for cmake to enable callback logging. 2012-07-09 13:25:59 +02:00
Klaas Freitag
5ac721920c ownCloud: Proper initializations with NULL avoid a crash. 2012-07-09 13:25:59 +02:00
Klaas Freitag
03476b3a11 Set the correct define to the new released version 0.50.6. 2012-07-09 13:25:59 +02:00
Klaas Freitag
a47ddb59ae Win32: Chdir to app path before searching module relative. 2012-07-09 13:25:59 +02:00
Klaas Freitag
1d55691e75 Do not log on Apple by default as that goes to ASL 2012-07-09 13:25:59 +02:00
Klaas Freitag
5672638a5b Update Changelog 2012-07-09 13:25:59 +02:00
Klaas Freitag
02c2fe1aeb ownCloud: Added redirect ability. 2012-07-09 13:25:59 +02:00
Klaas Freitag
0db820fc98 Added changes for 0.50.6. 2012-07-09 13:25:59 +02:00
Klaas Freitag
86fc6d2262 Set version to 0.50.6 for next oC version. 2012-07-09 13:25:59 +02:00
Klaas Freitag
43263d8e9d ownCloud: Fix bug #613: Encode strange url correctly.
see http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-613
2012-07-09 13:25:59 +02:00
Klaas Freitag
b261ecb705 Do proper handling of Win32 special characters.
Introduced a tchar based handling of wide character encoding that
is happening on Windows platforms.
2012-07-09 13:25:59 +02:00
Klaas Freitag
82074cfc53 tests: Added treewalk test. 2012-07-09 13:25:59 +02:00
Klaas Freitag
124d996154 tests: Treewalk function unit tests added. 2012-07-09 13:25:59 +02:00
Klaas Freitag
1fe093b6b6 Fixed local treewalk function filter comment. 2012-07-09 13:25:59 +02:00
Klaas Freitag
26847b9fac Fixed tests script that broke because of HTTP::DAV module 2012-07-09 13:25:59 +02:00
Klaas Freitag
3d2a43f512 ownCloud: Fixed var initialization to avoid crash after thread
terminated.
2012-07-09 13:25:59 +02:00
Klaas Freitag
1059c008e5 ownCloud: Add neon include dir variable to the compile include dirs. 2012-07-09 13:25:59 +02:00
Klaas Freitag
5703bb61ac ownCloud: better debug output for file GET. 2012-07-09 13:25:59 +02:00
Klaas Freitag
992f0d6b87 ownCloud: set correct module load error code. 2012-07-09 13:25:59 +02:00