Daniel Molkentin
4ef89abac7
Compile on Mac
2012-12-06 18:48:36 +01:00
Klaas Freitag
8af257a4cd
Start fs watching with a delay of 2 seconds to don't catch the journal changes.
2012-12-06 18:38:45 +01:00
Klaas Freitag
a124dcd4e8
More cleanups that were possible by the new notify api.
2012-12-06 18:38:06 +01:00
Klaas Freitag
fbae2d7330
Further cleanups that were possible by new change notification.
2012-12-06 18:35:02 +01:00
Klaas Freitag
f296fad4bb
Set csync context as module parameter
2012-12-06 17:57:00 +01:00
Daniel Molkentin
e2d8105f0d
Remove debug
2012-12-06 17:54:44 +01:00
Daniel Molkentin
287c073f00
Remove code for local sync runs
...
Rely entirely on folderwatcher. Local
sync runs can be implemented in terms
of a dummy folderwatcher if we want
to support systems without fs monitoring
again..
2012-12-06 17:53:04 +01:00
Daniel Molkentin
ff1706c729
Add libqtkeychain dll to NSIS
2012-12-06 17:53:04 +01:00
Daniel Molkentin
138a060df2
Fix Windows folder watcher
2012-12-06 17:53:04 +01:00
Daniel Molkentin
6678beadab
Hack: Sleep 2 secs after sync run
...
This avoids that we get notified by the system
about writing of the csync db (IO has latency).
2012-12-06 17:53:04 +01:00
Daniel Molkentin
09793fcd59
Bump version to 1.2.0pre
2012-12-06 17:53:04 +01:00
Daniel Molkentin
cab503bb2b
CredentialStore: Fix off-by-one
2012-12-06 17:53:04 +01:00
Daniel Molkentin
f20db6bbc1
Implement folder watching for OS X using FSEvents
2012-12-06 17:53:04 +01:00
Daniel Molkentin
d50d4d1a6f
Add windows backend, require Inotify on Linux
...
Dummy-backend yanked for now, no support for other Unixes...
2012-12-06 17:53:04 +01:00
Olivier Goffart
30548b26e3
Remove some superfluous call to the progress callback
2012-12-06 16:49:08 +01:00
Olivier Goffart
5bdaf83c67
Don't remove trailing slash
...
There is no trailing slashes in the path
2012-12-06 16:42:22 +01:00
Olivier Goffart
0eb1855345
Revert "Only refresh the folder id for remote replica"
...
This reverts commit ce94beb068
.
This broke because the tree are not merged yet.
If a file was added on the remote, it is not yet in the remote tree, and
still we need to query the ETag
2012-12-06 16:36:13 +01:00
Olivier Goffart
b989518af3
Only request file id for remote replica
2012-12-06 16:28:37 +01:00
Olivier Goffart
5ff6baaf85
Owncloud: cache the ETAG: while doing a GET
...
Makes downloading of lots of big files twice as fast
2012-12-06 14:59:26 +01:00
Olivier Goffart
7b4e4f349e
No need to query the id again after syncing the dir
...
If there was a change, then a file would be changed, and we would do that anyway,
If there was no change, it is a waste to do it
2012-12-06 14:59:26 +01:00
Klaas Freitag
0b951ab6b1
Fixed more compile warnings.
2012-12-06 13:18:54 +01:00
Klaas Freitag
e6ad2140eb
Fixing more errno handling.
2012-12-06 13:15:25 +01:00
Daniel Molkentin
f461903a1a
Reduce compiler warnings
2012-12-06 11:49:25 +01:00
Klaas Freitag
6d9bd79ccb
Cleanup and fix == error.
2012-12-06 11:39:53 +01:00
Klaas Freitag
e997af227c
Merge remote-tracking branch 'ogoffart/dav' into dav
2012-12-06 11:35:10 +01:00
Klaas Freitag
588df3124c
Shorten log line a bit by removing the year part of the date.
2012-12-06 11:34:26 +01:00
Klaas Freitag
40206e0eab
Fix case statement for error code generation.
2012-12-06 11:34:03 +01:00
Jenkins for ownCloud
59b722f663
[tx-robot] updated from transifex
2012-12-06 00:13:28 +01:00
Olivier Goffart
ce94beb068
Only refresh the folder id for remote replica
...
Also don't remove trailing slash, there is no trailing slashes in the
path
2012-12-05 18:18:45 +01:00
Markus Goetz
69a979c16b
ownCloud: Allow HTTP timeout to be settable
2012-12-05 18:15:56 +01:00
Daniel Molkentin
b65fd11a36
Remove superfluous include
2012-12-05 16:46:27 +01:00
Daniel Molkentin
36c9a29a7b
Move Logger into its own file, move it to libsync.
...
This fixes a linker error.
2012-12-05 16:45:28 +01:00
Klaas Freitag
5c44eb563f
Removed wrong csync_vio_file_stat_destroy calls.
2012-12-05 15:58:14 +01:00
Olivier Goffart
f946dd4287
Owncloud: cache the last PROPFIND call.
...
So we do not need to have two calls (stat+opendir)
2012-12-05 14:49:50 +01:00
Olivier Goffart
c4dc285ff0
Move the errno codes to another header
...
We can't include csync_private.h from the modules
2012-12-05 14:43:37 +01:00
Olivier Goffart
0169b034f3
Use the full URL in the callback instead of just the path
2012-12-05 14:43:36 +01:00
Klaas Freitag
41c4e05b93
Fix error reporting from sendfile method.
2012-12-05 14:19:22 +01:00
Klaas Freitag
fb3662127c
Better error checking on get_file_id.
2012-12-05 12:55:05 +01:00
Klaas Freitag
d3378a7991
Some cleanups to avoid compile warnings.
2012-12-05 12:54:50 +01:00
Klaas Freitag
79d5e19a65
Remove left over WIP code.
2012-12-05 12:38:57 +01:00
Klaas Freitag
823706caac
Use cross platform stat type and free mem of lastDir.
2012-12-05 12:38:29 +01:00
Klaas Freitag
6ba098d26d
Make use of the new csync_set_module_properties and remove stuff from
...
before.
2012-12-05 12:30:28 +01:00
Jenkins for ownCloud
fbf25c1529
[tx-robot] updated from transifex
2012-12-05 00:06:11 +01:00
Klaas Freitag
aaa8fe6e34
Commented loggings as currently logging is broken.
2012-12-04 18:41:20 +01:00
Daniel Molkentin
214261e764
pimpl folderwatcher
2012-12-04 18:24:25 +01:00
Klaas Freitag
b428b46ff8
Fix return code from sendfile.
2012-12-04 18:13:28 +01:00
Klaas Freitag
3e8c5e92cc
Removed leftover variables.
2012-12-04 18:12:42 +01:00
Klaas Freitag
b74cfcfec5
Add missing ifdef QTKEYCHAIN.
2012-12-04 18:11:24 +01:00
Daniel Molkentin
bc67756ff6
Fix typo
2012-12-04 17:48:14 +01:00
Daniel Molkentin
eccd12923b
factor inotify out of folderwatcher
2012-12-04 17:48:14 +01:00