Commit graph

913 commits

Author SHA1 Message Date
Klaas Freitag
9ec8d70822 Do proper handling of Win32 special characters.
Introduced a tchar based handling of wide character encoding that
is happening on Windows platforms.
2012-05-09 16:55:56 +02:00
Klaas Freitag
694a34db9a tests: Added treewalk test. 2012-05-07 17:19:06 +02:00
Klaas Freitag
2e3a92df4c tests: Treewalk function unit tests added. 2012-05-07 15:48:34 +02:00
Klaas Freitag
81a6b49c07 Fixed local treewalk function filter comment. 2012-05-07 15:47:57 +02:00
Klaas Freitag
37c538ed9b Fixed tests script that broke because of HTTP::DAV module 2012-05-04 16:27:15 +02:00
Klaas Freitag
d9ae749dcf Merge branch 'dav' of ssh://milliways.cryptomilk.org/users/freitag/csync into dav
Conflicts:
	modules/csync_owncloud.c
	src/csync.h
2012-05-04 14:25:01 +02:00
Klaas Freitag
9871989806 ownCloud: Fixed var initialization to avoid crash after thread
terminated.
2012-05-04 12:07:20 +02:00
Klaas Freitag
cbf259b482 ownCloud: Add neon include dir variable to the compile include dirs. 2012-05-04 12:07:20 +02:00
Klaas Freitag
522a6e27a2 Set module load error code after csync_vio_init failed. 2012-05-04 12:07:20 +02:00
Klaas Freitag
b6696f00df Changelog entries added. 2012-05-04 12:07:20 +02:00
Klaas Freitag
2fa265007a Added GNUInstallDirs.cmake to lower the required cmake version. 2012-05-04 12:07:20 +02:00
Klaas Freitag
2b5d31b29e Moved error_code to context for thread savety. 2012-05-04 12:07:20 +02:00
Klaas Freitag
73bcdb73a7 Added errnos to the timediff function to allow specific error reports. 2012-05-04 12:05:45 +02:00
Dominik Schmidt
c4667c893b Fix loading plugins inside MacOSX bundles. 2012-05-04 12:05:22 +02:00
Dominik Schmidt
0160be06f5 ownCloud: Fix warning condition in reader code. 2012-05-04 12:04:58 +02:00
Dominik Schmidt
4c98f6bcd8 Load plugins on apple. 2012-05-04 12:04:36 +02:00
Dominik Schmidt
a8c10780f2 Compile cstdlib with -fPIC. 2012-05-04 12:04:30 +02:00
Dominik Schmidt
ac6e5ff4b9 CMake: Fix owncloud linkage against neon. 2012-05-04 12:04:13 +02:00
Dominik Schmidt
5ac2f676d7 Define O_NOATIME to 0 if it's not there. 2012-05-04 12:03:53 +02:00
Dominik Schmidt
628151e997 CMake Modules: Simplify FindNeon.cmake. 2012-05-04 12:03:36 +02:00
Dominik Schmidt
668d7be259 CMake: Fix building without Log4C. 2012-05-04 12:02:35 +02:00
Dominik Schmidt
79c4b58c63 CMake modules: Search libiniparser in correct lib dirs. 2012-05-04 12:01:51 +02:00
Klaas Freitag
e4fae59bcf Added a csync_errno function to provide more info for clients. 2012-05-04 12:00:46 +02:00
Klaas Freitag
0d71347508 Removed a stat call that is just for a file size check. 2012-05-04 12:00:46 +02:00
Klaas Freitag
b6c86bcacd ownCloud: Fixed var initialization to avoid crash after thread
terminated.
2012-04-27 16:33:31 +02:00
Klaas Freitag
90a9f162d4 ownCloud: Add neon include dir variable to the compile include dirs. 2012-04-27 16:27:44 +02:00
Klaas Freitag
cc5d2866b1 Set module load error code after csync_vio_init failed. 2012-04-19 16:12:05 +02:00
Klaas Freitag
e5c0503797 Changelog entries added. 2012-04-18 21:33:07 +02:00
Klaas Freitag
5ceebe1d3c Added GNUInstallDirs.cmake to lower the required cmake version. 2012-04-18 21:32:18 +02:00
Klaas Freitag
6f51876b45 Moved error_code to context for thread savety. 2012-04-17 12:31:27 +02:00
Andreas Schneider
8212553cbe owncloud: Fix some build warnings. 2012-04-17 11:23:20 +02:00
Dominik Schmidt
13f05db934 cmake: Make Log4C optional.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:21:03 +02:00
Klaas Freitag
4693f313cd cmake: Removed obsolete FindArgp module.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:19:44 +02:00
Dominik Schmidt
9eb9116df3 Simplify FindLibIniparser.cmake
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:16:32 +02:00
Klaas Freitag
010305eab2 ownCloud: catch some compiler warnings when very pedantic.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:16:09 +02:00
Klaas Freitag
f40ab9c6e1 ownCloud: Debug output only if NDEBUG is undefined.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:15:46 +02:00
Klaas Freitag
d8bac80f51 tests: Added another test to the ownCloud module test.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:15:34 +02:00
Klaas Freitag
b8100868a3 ownCloud: added memory buffered put requests with fallback on file.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:13:18 +02:00
Klaas Freitag
4acb4eef63 ownCloud: Added a flag for the existance of the current directory.
That saves a lot of stat calls because the for each PUT a stat has
to be done if the parent dir exists.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:50:10 +02:00
Klaas Freitag
44a078b991 Win32: Add win32 rename function that overwrites existing targets.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:49:51 +02:00
Klaas Freitag
0bedd5d9a3 Win32: Disabled Query per inode, always returning NULL.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:49:29 +02:00
Klaas Freitag
99c0405a26 ownCloud: Disabled useless debugging output.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:48:59 +02:00
Klaas Freitag
45ad55d894 ownCloud: Added http compression support for GET requests.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:48:28 +02:00
Klaas Freitag
dec1e6a3cf tests: Use correct value from perl stat call to get the file mtime.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:48:12 +02:00
Klaas Freitag
ec921a1e51 Win32: Added some specific headers to c_private.h to fix build.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:47:56 +02:00
Andreas Schneider
fdc1a71050 csync: Use uint32_t for uid and gid. 2012-04-17 10:46:58 +02:00
Klaas Freitag
d2ae109cc3 Win32: substitute uid_t and gui_t and removed a not needed include.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:46:04 +02:00
Klaas Freitag
2ac172f4fe update: Add new exported file tree traverse functions.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:45:04 +02:00
Klaas Freitag
f0d2943e5f Do not bail out if the config can't be read, use default values.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:42:36 +02:00
Klaas Freitag
5e7d5c983a win32: Copy the default conf file from the application dir.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:42:01 +02:00