Remove SyncFileItem::log
authorJocelyn Turcotte <jturcotte@woboq.com>
Thu, 24 Aug 2017 15:07:22 +0000 (17:07 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 5 Oct 2017 20:01:33 +0000 (22:01 +0200)
commit85a93efe510fdc22403eb17f07ecf352c19f1690
tree7a223d0aa5a5909555a707cf03a6808c703e7342
parent82dd1775eb9ccf02d5499a6fb2f084391b1a1c21
Remove SyncFileItem::log

This remove the remaining "other" fields of the sync log to save a
bit of memory.

other_etag and other_fileId don't give much information to the users
and other_instruction will always be INST_NONE anyway.

other_modtime and other_size are kept since they are sometimes used.
They were renamed to have a bit more meaningful name.

SyncEngine::checkPermissions will now fetch its information from the
csync trees since they are now preserved until right after this point.

Fixes #3213
src/gui/syncrunfilelog.cpp
src/libsync/propagatedownload.cpp
src/libsync/syncengine.cpp
src/libsync/syncfileitem.h
test/testsyncengine.cpp