Commit graph

677 commits

Author SHA1 Message Date
Klaas Freitag
8b9c10246e Fix use of strerror_r on non GNU platforms. 2012-03-19 12:40:43 +01:00
Klaas Freitag
f0a84bb5da Fix use of strerror_r on non GNU platforms. 2012-03-19 12:40:43 +01:00
Klaas Freitag
a0e0caa5b8 Fix use of strerror_r on non GNU platforms. 2012-03-19 12:40:43 +01:00
Klaas Freitag
ffd2e0e767 Fixed file copy for Win32 platform by using API function FileCopy. 2012-03-19 12:40:30 +01:00
Klaas Freitag
ea89ac46ac Use getopt functions instead of GNU libc specific argp functions.
For command line option parsing, better use the getopt functions
instead of the GNU libc specific argp functions if we want to be
portable. argp usage does not compile on MacOS, thus it was now
removed from csync.
2012-03-15 15:15:35 +01:00
Klaas Freitag
e264ac347d owncloud: use decoded file name to search in stat result list. 2012-03-15 14:11:14 +01:00
Klaas Freitag
5ad5d176f9 ownCloud: Use win32 API to get the standard user temp path.
Conflicts:

	modules/csync_owncloud.c
2012-03-15 14:11:14 +01:00
Klaas Freitag
14791534ca owncloud: cleaned some comment signs from C++ to C type. 2012-03-15 14:11:14 +01:00
Klaas Freitag
bc138efa4e owncloud: set _fmode variable to set file ops to binary mode. 2012-03-07 16:18:08 +01:00
Klaas Freitag
87d3a56221 owncloud: More robust programming, some additional logs. 2012-03-07 16:18:08 +01:00
Klaas Freitag
bb1ccadebc ownCloud: Fix translation of mkcol 405 errcode to ernno. 2012-03-07 16:18:08 +01:00
Klaas Freitag
9b8e75e4fc ownCloud: append a trailing slash in mkdir as neon requests. 2012-03-07 16:18:08 +01:00
Klaas Freitag
a454156dc2 ownCloud: remove wired function to generate errno from neon error.
The errno is now either generated from the session values of neon
or individually in each function.
2012-03-07 16:18:08 +01:00
Klaas Freitag
edb073a290 ownCloud: removed the test on webdav.php. It is not needed.
The server handles it correctly itself to return the correct
type for the toplevel dir webdav.php
2012-03-07 16:18:08 +01:00
Klaas Freitag
9f67accf14 owncloud: Fix stat function for WebDAV root.
If a propcall happens to webdav.php the webdav server returns the
result list for all entries. In stat only the webdav.php entry is
interesting and must be searched within the result list.
2012-03-07 16:18:08 +01:00
Andreas Schneider
e409d0fae9 time: Use correct abs() function for long long. 2012-03-07 16:17:43 +01:00
Andreas Schneider
f0cf678c0e Fix config checks. 2012-03-02 17:04:02 +01:00
Dominik Schmidt
3ed887f152 windows: don't use malloc directly in csync_get_[user_home_dir||local_username] 2012-03-02 17:04:02 +01:00
Dominik Schmidt
4c22c84bd1 windows: fix loading plugins 2012-03-02 17:04:02 +01:00
Dominik Schmidt
00c47f62c4 windows: install libcsync.dll to bin/ 2012-03-02 17:04:02 +01:00
Dominik Schmidt
94006d0171 windows: don't refer to SYSCONFDIR 2012-03-02 17:04:02 +01:00
Dominik Schmidt
4df3aee5c2 Replace csync_auth with ssh_gets implementation from libssh 2012-03-02 17:04:02 +01:00
Dominik Schmidt
f08d145c39 Link against libargp on non-linux platforms 2012-03-02 17:04:02 +01:00
Dominik Schmidt
593cd4514a windows: disable locks 2012-03-02 17:04:02 +01:00
Dominik Schmidt
1fbba4f158 mingw: resolve name clashes in dummy module and link it against libcsync 2012-03-02 17:04:02 +01:00
Dominik Schmidt
6e4ce19a85 Add csync_fnmatch 2012-03-02 17:04:02 +01:00
Dominik Schmidt
d1ea29f4aa Don't check for links on non-unix platforms 2012-03-02 17:04:02 +01:00
Dominik Schmidt
6272a2b485 Use stat if lstat is not available 2012-03-02 17:04:02 +01:00
Dominik Schmidt
da286857e0 windows: add utimes implementation 2012-03-02 17:04:02 +01:00
Dominik Schmidt
dd9b73f383 mingw: enable asprintf 2012-03-02 17:04:02 +01:00
Dominik Schmidt
674aa7cd64 windows: add strerror_r implementation 2012-03-02 17:04:02 +01:00
Dominik Schmidt
31389975e7 Add missing break statement 2012-03-02 17:04:02 +01:00
Dominik Schmidt
ee6c631f28 windows: add missing status codes, types and return-values 2012-03-02 17:04:02 +01:00
Dominik Schmidt
29f45a4ee5 windows: minor adjustments 2012-03-02 17:04:02 +01:00
Dominik Schmidt
11c515f869 mingw: resolve name clashes in sftp module 2012-03-02 17:04:02 +01:00
Dominik Schmidt
f064dbcde4 Make libsmbclient optional 2012-03-02 17:02:59 +01:00
Andreas Schneider
1d9b4f0640 std: Make it possible to use the macros alone. 2012-03-02 17:02:59 +01:00
Andreas Schneider
9d6001d39d std: Add missing include. 2012-03-02 17:02:59 +01:00
Andreas Schneider
29839d42a8 misc: Add missing header file guard and update copyright. 2012-03-02 13:47:45 +01:00
Andreas Schneider
9c86b3adcd csync: Use csync_get_user_home_dir(). 2012-03-02 13:40:10 +01:00
Andreas Schneider
3952c4be62 misc: Add csync_get_user_home_dir() and csync_get_local_username(). 2012-03-02 13:40:05 +01:00
Andreas Schneider
7cff62945f Update ChangeLog. 2012-02-22 18:28:38 +01:00
Andreas Schneider
ebdc44cae5 Update AUTHORS. 2012-02-22 18:27:16 +01:00
Andreas Schneider
cd2c75e602 Increase version numbers for beta release. 2012-02-22 18:27:09 +01:00
Klaas Freitag
ded226911e owncloud: Removed unused file attribute contenttype from PROPFIND. 2012-02-22 18:23:18 +01:00
Klaas Freitag
56c583615d owncloud: Remove more unused logging. 2012-02-22 18:23:18 +01:00
Klaas Freitag
3025ada5dc owncloud: Use c_parse_uri instead of neon equivalent, minor cleanups. 2012-02-22 18:23:18 +01:00
Klaas Freitag
5c97b6f81d owncloud: Call the neon ssl functions only if SSL is active.
Especially ne_ssl_trust_default_ca seems to crash in case no SSL is
used actually. Added a flag to determine between SSL and no SSL.
Moved a debug message to the right place.
2012-02-22 18:23:18 +01:00
Klaas Freitag
bc1174cb8a owncloud: Add ne_ssl_trust_default_ca to trust default certificates. 2012-02-22 18:23:18 +01:00
Klaas Freitag
784fc60ec1 Fix off-by-one error in url rewrite for SSL. 2012-02-22 18:23:18 +01:00