Klaas Freitag
9eda137c77
Commented too verbose logging.
2012-11-22 15:25:27 +01:00
Klaas Freitag
a180b1c400
Changelog for 0.60.2
2012-11-21 16:12:37 +01:00
Klaas Freitag
24e137ca19
Detect loop in mkdir function to prevent looping in readonly Shared.
2012-11-21 14:53:54 +01:00
Klaas Freitag
7bce6696d4
Discover DST time error and correct.
2012-11-20 17:33:25 +01:00
Klaas Freitag
6e29ec7a7c
:x
2012-11-20 17:26:05 +01:00
Klaas Freitag
eae3b863d0
Log the http result code of the propfind
2012-11-19 13:11:26 +02:00
Klaas Freitag
917eeea48c
ownCloud: Added a stricter check on HTTP PROPFINDs.
...
Now check on both the result code and the content type of the
reply. If the content-type is not applicaton/xml do not accept the
answer even if the status code is good.
This fixes https://github.com/owncloud/mirall/issues/92
2012-11-17 21:15:59 +01:00
Klaas Freitag
3265e2c6a2
Handle PUT fail correctly.
2012-11-16 12:31:09 +01:00
Klaas Freitag
ca7fceaa2c
Remove left over declaration.
2012-11-16 12:30:29 +01:00
Daniel Molkentin
d9b14670ab
owncloud: remove unused member from transfer context
2012-11-15 12:48:02 +01:00
Klaas Freitag
a577bf8faa
Add a version table to csyncs database with the current version no.
2012-11-14 17:24:13 +01:00
Klaas Freitag
094554366b
Fix casting to signed data types.
2012-11-14 15:10:44 +01:00
Klaas Freitag
385b48da5c
Commented database copy. Rather let it recreate.
2012-11-14 15:09:16 +01:00
Klaas Freitag
146ba66b50
Initialize struct to zero to avoid free on uninitialized value.
2012-11-14 14:08:47 +01:00
Klaas Freitag
905e97f2ab
Use _tclosedir rather than closedir.
2012-11-13 11:45:12 +01:00
Klaas Freitag
a0fcd35183
win32: Ported two other occurences of win32 api to wide char support.
2012-11-12 10:44:24 +01:00
Klaas Freitag
d5a32543ef
Fix update test.
2012-11-09 17:24:17 +01:00
Klaas Freitag
7aeeeae037
Fix test, avoid double free.
2012-11-09 17:16:27 +01:00
Klaas Freitag
161d7c18ff
Push version to next release 0.60.2
2012-11-09 17:15:46 +01:00
Klaas Freitag
940ff6eeaa
Proper cross platform initialization.
2012-11-09 17:14:52 +01:00
Klaas Freitag
b748fab6e9
Set version to next release 0.60.2
2012-11-09 17:14:24 +01:00
Klaas Freitag
eb640aae00
Fix parsing of GMT times and handle time difference more tolerant.
2012-11-08 14:52:14 +01:00
Klaas Freitag
6d126f3956
Check for timegm and set a config variable accordingly.
2012-11-08 14:50:08 +01:00
Klaas Freitag
bede1acbce
Win32: Fix CreateFile call for directories.
2012-11-08 14:49:15 +01:00
Klaas Freitag
d19a0c9c46
ownCloud: log the mtime in stat.
2012-11-08 11:22:49 +01:00
Klaas Freitag
295de77a7d
Added .directory to ignore.
2012-11-08 11:21:53 +01:00
Olivier Goffart
6e6e18c030
Exclude lists: Works with \r\n line terminator
2012-11-07 17:46:13 +01:00
Olivier Goffart
62897e6d37
Win: Load the exclude lists in the config
2012-11-07 17:46:13 +01:00
Olivier Goffart
f55f687a63
Win: Don't rely on the name of the program to be owncloud.exe
...
Loosely based on the logic in csync_vio_init
2012-11-07 17:46:13 +01:00
Olivier Goffart
a4db29c277
c_copy: return error code on windows if there is an error
...
This fixes a compiler warning about not returning a value
2012-11-07 17:46:13 +01:00
Olivier Goffart
e2a8e9dce2
win: Link against all the required libraries
2012-11-07 17:46:13 +01:00
Markus Goetz
80d53ff4bd
Enable compilation with static iniparser and sqlite
2012-11-07 17:46:13 +01:00
Olivier Goffart
be13ef120d
Fix another crash if the md5 are not computed
2012-11-07 16:50:20 +01:00
Klaas Freitag
67373dcb0d
commented work in progress treewalk stuff.
2012-11-07 12:33:39 +01:00
Klaas Freitag
f65be04415
Added Windows tmp file pattern to exclude list.
2012-11-06 14:05:52 +01:00
Olivier Goffart
1a093b0ae3
Fix crash if md5 is null
...
Also make sure to copy destpath, to avoid double free.
2012-11-06 14:05:52 +01:00
Olivier Goffart
7071a455c5
Use signed hash in SQL request
...
sqlite only handle signed integer, in case of overflow, we numbers are
transformed to floating point, resulting in wierd errors.
2012-11-06 14:05:52 +01:00
Klaas Freitag
898d51f92d
WIP: Try to catch a cleared remote path
2012-10-31 21:38:57 +01:00
Klaas Freitag
e183854b58
Added experimental function to check if a file is known locally.
2012-10-31 21:33:17 +01:00
Klaas Freitag
2206c4a4d1
Fix printf operators for time delta values.
2012-10-31 21:33:17 +01:00
Klaas Freitag
af11613fba
Some cleanup of platform specific code.
2012-10-31 21:09:33 +01:00
Klaas Freitag
2fa07b1dd9
set pointer void to avoid warning on linux compile.
2012-10-31 21:08:40 +01:00
Klaas Freitag
803b3fb542
Fix compile with mingw32 for win32, removed int decl in for loop.
2012-10-31 21:08:08 +01:00
Klaas Freitag
abb3829197
Use win32 function GetFileTime to fix DTS problems on windows.
2012-10-31 20:56:24 +01:00
Klaas Freitag
4104737533
Hide the journal database under windows using win32 API.
2012-10-31 20:56:06 +01:00
Klaas Freitag
8afe182e0c
Fix merge: Initialise data before accessing them.
2012-10-28 11:31:25 +01:00
Klaas Freitag
2bb52ef6f9
Merge branch 'master' into dav - get cmocka tests and database move.
...
Conflicts:
CMakeLists.txt
cmake/Modules/FindCMocka.cmake
src/csync.c
src/csync_exclude.c
src/csync_reconcile.c
src/csync_statedb.c
src/csync_update.c
src/csync_util.c
src/vio/csync_vio.c
tests/CMakeLists.txt
tests/csync_tests/check_csync_exclude.c
tests/csync_tests/check_csync_statedb_load.c
tests/csync_tests/check_csync_statedb_query.c
tests/csync_tests/check_csync_update.c
tests/std_tests/check_std_c_path.c
2012-10-27 19:27:14 +02:00
Klaas Freitag
557b4bbe25
Use LIKE instead of GLOB to find files in dirs in database.
...
This fixes Github issue mirall#25
2012-10-27 12:03:39 +02:00
Klaas Freitag
9e4c873b16
Fixed csync testcases.
2012-10-26 21:33:13 +02:00
Klaas Freitag
0db9427377
Add name of rename target to treewalk data structure.
2012-10-26 20:01:25 +02:00