Klaas Freitag
815f652f08
Move tmpname generation to utility function c_tmpname for cleander code.
2013-04-04 12:57:44 +02:00
Klaas Freitag
08d439129c
Fix some documentation in the code
2013-04-03 16:39:04 +02:00
Klaas Freitag
0bea2ea8f9
Push len computing to the right place.
2013-04-03 16:38:35 +02:00
Klaas Freitag
c745bf4291
Use correct printf qualifiers.
2013-04-03 16:37:55 +02:00
Klaas Freitag
34668e42b3
Merge branch 'dav_0.70.5' into dav - WIP
...
Conflicts:
CMakeLists.txt
CPackConfig.cmake
src/csync.h
src/csync_update.c
tests/ownCloud/t1.pl
2013-04-02 14:44:01 +02:00
Klaas Freitag
867595e1ef
Fix release date.
2013-04-02 10:01:28 +02:00
Klaas Freitag
4b98ee0644
Pushed version to 0.70.6
2013-03-28 09:57:49 +01:00
Klaas Freitag
6de7ddf294
Use httpbf for all transfers.
2013-03-27 18:06:54 +01:00
Klaas Freitag
6f3168e88a
Added function to retrieve http error code and fix return value check.
2013-03-27 18:05:50 +01:00
Klaas Freitag
d1efcb7dd4
Changelog for 0.70.5
2013-03-27 15:29:27 +01:00
Klaas Freitag
2010c4ad21
Fix a typo.
2013-03-26 15:07:41 +01:00
Klaas Freitag
b826d59925
Make VIO_METHOD_HAS_FUNC macro more robust.
2013-03-26 12:39:52 +01:00
Klaas Freitag
5e0e42baaf
Make VIO_METHOD_HAS_FUNC macro more robust.
2013-03-26 12:35:35 +01:00
Klaas Freitag
5951039894
Improved C style and added more tests.
2013-03-26 12:01:48 +01:00
Klaas Freitag
a84332c910
Improved C style and added more tests.
2013-03-26 12:00:57 +01:00
Klaas Freitag
79c51540da
Check for file equalness after having created a conflict file.
...
If the files are equal and the conflict was created because the
timestamps were screwed the conflict is removed again. This only
works on the local repository so far.
Conflicts:
src/csync_propagate.c
2013-03-26 11:57:32 +01:00
Klaas Freitag
0baa80c235
Test added for c_compare_file.
2013-03-26 11:53:14 +01:00
Klaas Freitag
a71aef1731
Added c_compare_file function and test - WIP.
2013-03-26 11:52:46 +01:00
Klaas Freitag
466faba761
Fix test script.
2013-03-26 10:06:00 +01:00
Klaas Freitag
6aec7f4211
Push context to module to make logging of the module work.
2013-03-26 10:05:15 +01:00
Klaas Freitag
ef7c5c261d
Fix memory allocation for path.
2013-03-22 21:48:01 +01:00
Klaas Freitag
43fa6e4418
Check for file equalness after having created a conflict file.
...
If the files are equal and the conflict was created because the
timestamps were screwed the conflict is removed again. This only
works on the local repository so far.
2013-03-22 21:04:09 +01:00
Klaas Freitag
5657ff3d34
Fix: set path correctly.
2013-03-22 16:29:04 +01:00
Klaas Freitag
a3f29967f7
Test added for c_compare_file.
2013-03-22 13:54:46 +01:00
Klaas Freitag
d43779671f
Added missing changelog 0.70.4.
2013-03-22 11:09:24 +01:00
Klaas Freitag
7b7ce3a43c
Remove versions table before new creation.
2013-03-22 11:04:04 +01:00
Klaas Freitag
3ce614039a
Added c_compare_file function and test - WIP.
2013-03-22 10:23:17 +01:00
Klaas Freitag
8b229f6413
Minor fixups.
2013-03-22 10:22:50 +01:00
Klaas Freitag
19f07f9aea
Handle non statable files correctly, read missing info from db.
2013-03-20 21:56:09 +01:00
Klaas Freitag
945be9438c
Avoid variable name new to not confuse syntax highlighter.
2013-03-20 21:55:34 +01:00
Daniel Molkentin
abe53a8669
Do not define NDEBUG manually
2013-03-19 17:50:43 +01:00
Klaas Freitag
b82c156c7e
Bump version to 0.70.5
2013-03-19 16:23:10 +01:00
Klaas Freitag
d117593fd1
Fix a const char warning.
2013-03-19 16:23:05 +01:00
Klaas Freitag
5a8d90cc25
Fix path handling in update routine.
2013-03-19 16:22:11 +01:00
Klaas Freitag
20816f346d
Fix a apple only warning.
2013-03-19 16:21:36 +01:00
Klaas Freitag
db70a3b2ae
Skip files which are not statable and ignore links and such.
2013-03-19 14:20:38 +01:00
Klaas Freitag
e3a4ec453c
Handle non statable files gracefully.
2013-03-19 14:20:03 +01:00
Klaas Freitag
f88e9baf15
Handle renames in read only shares correctly.
2013-03-19 14:18:34 +01:00
Andreas Schneider
df2a04b4ab
misc: Include stdio.h for snprintf.
2013-03-19 14:18:12 +01:00
Andreas Schneider
061fa6cc1b
misc: Correctly handle getenv().
...
The returned string of getenv() has an unknown size. You need to store
the result always in a char array with a certain size to make sure we
don't feed tainted data to the next function call.
2013-03-19 14:17:44 +01:00
Klaas Freitag
13c44ad25c
Skip files which are not statable and ignore links and such.
2013-03-19 14:02:12 +01:00
Klaas Freitag
d943b2880a
Handle non statable files gracefully.
2013-03-19 11:48:46 +01:00
Klaas Freitag
089d919be2
Fix mkdir tests, as they use relative pathes the cwd should be defined.
2013-03-14 14:29:31 +01:00
Klaas Freitag
d865905743
Use proper HBF result code.
2013-03-14 13:42:02 +01:00
Klaas Freitag
7630ab5807
Moved variable declaration.
2013-03-14 13:41:27 +01:00
Klaas Freitag
c263532ba3
Merge remote-tracking branch 'ogoffart/davbf' into dav
2013-03-14 13:36:55 +01:00
Klaas Freitag
38946ed025
More detailed error handling if one chunk fails.
2013-03-14 13:15:45 +01:00
Klaas Freitag
0ab1a4aeeb
Make chunk default size 10 MB
2013-03-14 13:15:21 +01:00
Klaas Freitag
dd74b12b48
Merge remote-tracking branch 'ogoffart/davbf' into dav
2013-03-13 17:13:42 +01:00
Olivier Goffart
2205c9a339
Resume chunked upload if conneciton is lost
2013-03-12 11:42:17 +01:00