Klaas Freitag
c2757cd7be
Make _tmkdir define argument aware to simplify the usage even more.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-07 12:59:38 +01:00
Klaas Freitag
56afb2dc04
Fixed mem leaks in c_dir functions.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-07 12:59:36 +01:00
Klaas Freitag
41021d58d5
tests: Ported more tests to be cross platform capable.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-07 12:59:33 +01:00
Klaas Freitag
c7e60b5231
Renamed filename encoding functions.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-07 12:59:31 +01:00
Andreas Schneider
87aee96b98
update: Fix a memleak in the file tree walker.
...
Reviewed-by: Klaas Freitag <freitag@owncloud.com>
2013-02-07 12:56:03 +01:00
LukeOwncloud
a617a04295
Update doc/usage.rst
2013-02-07 08:50:49 +01:00
Jenkins for ownCloud
dc16f277ce
[tx-robot] updated from transifex
2013-02-07 00:12:34 +01:00
Olivier Goffart
2615205adc
Fix renaming folder when a file was modified by another client
2013-02-06 18:40:03 +01:00
Olivier Goffart
170e5389b3
Do not issue a rename when the file was modified localy
2013-02-06 18:40:03 +01:00
Olivier Goffart
71caa3356c
Automatically creates the destination folder if it does not exist
2013-02-06 18:40:02 +01:00
Olivier Goffart
0cf770017d
Do not abort when move fail
2013-02-06 18:40:02 +01:00
Olivier Goffart
77a25eafbb
remove wrong comments
2013-02-06 18:40:02 +01:00
Olivier Goffart
fe756799d2
Make it work when renaming a directory and a subdirectory at the same
...
time
2013-02-06 18:40:02 +01:00
Olivier Goffart
0c874f0c3c
fix some issues while moving. Now it works in simple cases
2013-02-06 18:40:02 +01:00
Olivier Goffart
3793d725a7
avoid double free
2013-02-06 18:40:02 +01:00
Olivier Goffart
77d77ff056
Compile the header with a C++ compiler
...
template is a keyword in C++
2013-02-06 18:40:02 +01:00
Olivier Goffart
d88c58deae
WIP: rename folders
2013-02-06 18:40:02 +01:00
Olivier Goffart
bdd331ee08
Allow to configure the timeout in the config
2013-02-06 18:38:46 +01:00
Andreas Schneider
7cb8763e13
cmake: Don't copy and install deprecated csync_log.conf.
2013-02-06 18:20:39 +01:00
Andreas Schneider
5baf362af0
Revert "WIP"
...
This reverts commit acd7080329
.
Oops :)
2013-02-06 18:18:04 +01:00
Andreas Schneider
acd7080329
WIP
2013-02-06 17:48:19 +01:00
Klaas Freitag
1e61a03f32
Fix const warnings after revert of wrong SAFE_FREE patch.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 15:11:41 +01:00
Klaas Freitag
877bf0c90f
Remove definition of _tcslen to avoid confusion.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 15:11:41 +01:00
Klaas Freitag
5b6d971055
No more platform specific code in csync_vio_local.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 15:11:41 +01:00
Klaas Freitag
5d9306c841
Deprecate blksize and blkcount of the stat struct. Not needed in csync.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 15:11:41 +01:00
Klaas Freitag
0bc0181f91
Added c_rename function to do platform specific renaming.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 15:11:41 +01:00
Klaas Freitag
390a307840
tests: Cleaned up some encoding tests.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 15:11:41 +01:00
Klaas Freitag
c45ca25c28
Avoid crash in iconv destroy.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 15:11:41 +01:00
Klaas Freitag
874a820426
Use correct variable type to make test build on win32.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 15:11:41 +01:00
Klaas Freitag
4d3a30c21f
Fixed typo in variable name.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 15:11:41 +01:00
Daniel Molkentin
9c0c693081
Add iconv support to convert charsets to different platforms.
2013-02-06 15:11:40 +01:00
Klaas Freitag
07258deaaf
Fix build for mirall target.
2013-02-06 15:05:34 +01:00
Klaas Freitag
7b53e0f953
Fix return from non void function.
2013-02-06 14:58:31 +01:00
Olivier Goffart
13bb5ca2c3
Fix memory leaks and some more multibyte conversoins.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:44:40 +01:00
Klaas Freitag
6b3ac8c685
Use _tclosedir rather than closedir.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:44:14 +01:00
Klaas Freitag
f2b9bc6d0d
Use wide char variable to remove directory.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:43:49 +01:00
Klaas Freitag
7d0acf9ba3
Encoding test and make all tests work cross platform.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:42:17 +01:00
Klaas Freitag
d2e5fc66fa
ownCloud: Added missing brackets.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:39:58 +01:00
Klaas Freitag
e40a810187
Make client compile with picky compiler.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:39:21 +01:00
Klaas Freitag
1d703ee6c4
Rename _TCHAR type to mbchar_t.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:38:58 +01:00
Klaas Freitag
ce080d5ee1
Fix definition of tmp file name.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:38:25 +01:00
Klaas Freitag
0e804ca685
Added wide character to utf8 and vice versa conversion functions.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:37:51 +01:00
Klaas Freitag
201d0ec97c
Define abstractions for cross platform file operations with wide char.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:37:11 +01:00
Klaas Freitag
b152b39e67
ownCloud: Use wide char aware file system functions.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:36:29 +01:00
Klaas Freitag
9120098811
Use wide character abstraction functions for file operations.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:27:53 +01:00
Klaas Freitag
922254ba94
Defined abstractions for basic file operations to use with wide char.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:23:55 +01:00
Klaas Freitag
bd4c9b3a7f
Added wide character to utf8 and vice versa conversion functions.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:23:14 +01:00
Olivier Goffart
50dac60bc9
owncloud: fix session cookie again.
...
Some load balancers may add more cookies, and we would pick the wrong
one. So keep all the cookies.
If we already read a session cookie, don't parse more cookie as they are
not session cookie.
2013-02-06 12:32:48 +01:00
Klaas Freitag
2ac764bd1a
Fix compile without OWNCLOUD_CLIENT define, thx Jenkins
2013-02-06 11:58:14 +02:00
Klaas Freitag
82d2851a6b
Set username in connection dialog if there.
2013-02-06 11:42:36 +02:00