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
Klaas Freitag
7a3be71452
The user name is not really to be protected.
2013-02-06 11:41:47 +02:00
Klaas Freitag
977a513ee5
Always set the connect result to en/disable the Finish button.
2013-02-06 11:21:50 +02:00
Klaas Freitag
22cbebb7a7
Fix build on debian with ancient Qt, thanks Mr. Jenkins for notifying.
2013-02-06 10:41:25 +02:00
Klaas Freitag
72b2e6778a
Use new ownCloudInfo / CredentialStore interface.
2013-02-06 10:09:02 +02:00
Klaas Freitag
08babbf38d
Set credentials in ownCloudInfo after these have been fetched.
2013-02-06 10:09:02 +02:00
Klaas Freitag
2ae5ae6962
Change interface to not support customHandles.
2013-02-06 10:09:02 +02:00
Klaas Freitag
fa6331a40a
Removed use of CredentialStore from class and added setter for
...
credentials.
This makes handling of temporar credentials for the setup dialog easier
and streamlines the code.
2013-02-06 10:09:02 +02:00
Klaas Freitag
cece465947
Link libdl explicitely.
2013-02-06 10:09:02 +02:00