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
973c2c1786
remove the push atomar method call for csync.
2012-07-10 16:21:51 +02:00
Klaas Freitag
324a9d2480
Isolate a library to add a dbus interface around.
2012-07-10 15:59:06 +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
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