138 Commits (31ba8375b0afbd0902a596bff7fb55249908ce9a)

Author SHA1 Message Date
Oswald Buddenhagen 6d2fd370a6 fix _POSIX_SYNCHRONIZED_IO usage 11 years ago
Oswald Buddenhagen 359091625d MaxMessages: ignore entries with no master while calculating bulk fetch 11 years ago
Oswald Buddenhagen 2bbd07ec87 adjust comments to new reality 11 years ago
Oswald Buddenhagen 5a21042e98 ensure sequencing of message propagation and store closing 11 years ago
Oswald Buddenhagen c47ee1c8c4 fix error paths wrt sync drivers, take 3 11 years ago
Oswald Buddenhagen 03b3b566f1 reshuffle sources a bit 11 years ago
Oswald Buddenhagen 71524cb6b0 reduce FSync option to a boolean 11 years ago
Oswald Buddenhagen 29a56e2dc4 don't fsync after logging every TUID 11 years ago
Oswald Buddenhagen 8d5bd62537 add ExpireUnread option 11 years ago
Oswald Buddenhagen c0ba0c7ecf replace global_* with a channel_conf_t instance 11 years ago
Oswald Buddenhagen 49a32910a7 move handling of new messages after that of old ones 11 years ago
Oswald Buddenhagen b1842617f7 make MaxMessages work for new mails as well 11 years ago
Oswald Buddenhagen d3f6347021 delay propagation of new messages 11 years ago
Oswald Buddenhagen 391ec01f28 make message propagation recording less magic 11 years ago
Oswald Buddenhagen 7f784fd235 log maxuid bumping less aggressively 11 years ago
Oswald Buddenhagen 8b76412b0d document message expiration transactions 11 years ago
Oswald Buddenhagen ecb4c7ab07 propagate deletions with other flag changes 11 years ago
Oswald Buddenhagen 273ac899f3 don't delay loading master even if messages were expired 11 years ago
Oswald Buddenhagen 12676f28da remove cleanup of expired entries during setup of master load 11 years ago
Oswald Buddenhagen 9a62521cff micro-optimization/-clarification: swap condition order 11 years ago
Oswald Buddenhagen 014d9b9081 make message counting in expiration code less confusing 11 years ago
Oswald Buddenhagen 83b834cdfd count unread messages like flagged messages when expiring 11 years ago
Oswald Buddenhagen 9e186ae88b use post-sync "seen" flag to determine expirability 11 years ago
Oswald Buddenhagen 15216947fb don't protect recent messages from MaxMessages 11 years ago
Oswald Buddenhagen 6b7b2b1106 always get slave flags when we are expiring 11 years ago
Oswald Buddenhagen f1eea7d9a5 do not trash expired messages 11 years ago
Oswald Buddenhagen 48754ecc74 make sync state header format less obscure 11 years ago
Oswald Buddenhagen 3dcb393de2 set srec->msg[] when finding messages by tuid 11 years ago
Oswald Buddenhagen 3814f19661 remove pointless assignment 11 years ago
Oswald Buddenhagen e63e16ab45 assert no stray TUIDs 11 years ago
Oswald Buddenhagen 32def5dc0a add/fix comments and improve debug messages 11 years ago
Oswald Buddenhagen a9a331c98a simplify condition 11 years ago
Oswald Buddenhagen 03f8bfdfb2 micro-optimization/-clarification 11 years ago
Oswald Buddenhagen 00076a6971 move initializations for clarity 11 years ago
Oswald Buddenhagen 61ef099cd5 MaxMessages: make condition exactly symmetrical to condition below 11 years ago
Oswald Buddenhagen 080740f867 rewrite condition for readability and consistency 11 years ago
Oswald Buddenhagen b10fd0c21c remove assumption about value of M constant 11 years ago
Oswald Buddenhagen a893cba483 fix enum abuse 11 years ago
Oswald Buddenhagen 0b59ee0df3 support multi-character path separators 12 years ago
Oswald Buddenhagen eb1f10762f added sync support for the arrival date of messages 12 years ago
Oswald Buddenhagen 6577bf3e61 warn if we cannot find some messages by TUID 12 years ago
Oswald Buddenhagen 1847a4e12d make better use of ATTR_UNUSED 12 years ago
Oswald Buddenhagen 5ad83b4e6a don't unnecessarily use continue 12 years ago
Oswald Buddenhagen e4243debb6 use INT_MAX instead of zero for "no size limit" 12 years ago
Oswald Buddenhagen ca3a319e60 update copyrights 12 years ago
Oswald Buddenhagen 9261897629 don't record newuid in the sync state 12 years ago
Oswald Buddenhagen 96be183acb rename sync_vars_t::uidnext => newuid & fix comment 12 years ago
Oswald Buddenhagen d7eae525bd fix TrashRemoteNew copy direction 12 years ago
Oswald Buddenhagen 35851f133b add option to control amount of fsync()ing 12 years ago
Oswald Buddenhagen 49223b2df2 avoid that a system crash can cause messages to be propagated twice 12 years ago