Klaas Freitag
85993d2650
Don't override error code set by timedif in vio init
2012-07-19 21:21:33 +02:00
Klaas Freitag
1104619a52
No atime on apple platform.
2012-07-19 21:11:35 +02:00
Klaas Freitag
b57f33353d
fixed copy and paste errors in error output.
2012-07-19 21:06:18 +02:00
Klaas Freitag
459f25b0ef
owncloud test: Save the downloaded file in /tmp.
2012-07-19 21:04:15 +02:00
Klaas Freitag
cad3da10db
Merge branch 'timedelta' into dav
2012-07-19 15:53:12 +02:00
Klaas Freitag
8402b5b6fa
ownCloud: removed config file access again, correct handling of
...
timediff.
2012-07-19 15:39:53 +02:00
Klaas Freitag
b47ac922ad
ownCloud: handle time delta and access the config file.
2012-07-19 10:50:18 +02:00
Klaas Freitag
2b4261f15a
Added functions to generate MD5-Sums based on openssl with tests.
2012-07-18 17:00:46 +02:00
Klaas Freitag
5f93c490a5
Make ownCloud cmocka test build on the win32 platform.
2012-07-11 18:01:08 +02:00
Klaas Freitag
b74fc47e3f
More unit testing of the ownCloud module with mocka.
2012-07-11 16:50:25 +02:00
Klaas Freitag
1866956984
use lstat instead of stat to stat files. Avoids problems with links.
2012-07-11 16:48:38 +02:00
Klaas Freitag
e90b4a13b3
Added logging of the time values.
2012-07-11 16:05:40 +02:00
Klaas Freitag
59202fffe4
fixed spaces and logging if timesync is needed for the module.
2012-07-11 16:03:31 +02:00
Klaas Freitag
81e77afaec
cleaner logging of time delta.
2012-07-11 16:02:43 +02:00
Klaas Freitag
0ed8c57cad
make proper logging of the module capabilities.
2012-07-09 16:46:14 +02:00
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