(another) request for testing (Re: [commit] branch 'maxmessages' deleted)

2013-12-09 Thread Oswald Buddenhagen
hi users! On Mon, Dec 09, 2013 at 09:01:50AM +, Oswald Buddenhagen wrote: > The branch 'maxmessages', previously at d0167dd, has been deleted. > with this branch being merged now, i feel like making the next attempt at ... wait for it ... making a release. :D so please give it some hammering.

[commit] branch 'maxmessages' deleted

2013-12-09 Thread Oswald Buddenhagen
The branch 'maxmessages', previously at d0167dd, has been deleted. -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.

[commit] master: don't fsync after logging every TUID

2013-12-09 Thread Oswald Buddenhagen
commit 29a56e2dc4d5d149982917452b1c9fd419664cbf Author: Oswald Buddenhagen Date: Sat Nov 2 21:41:48 2013 +0100 don't fsync after logging every TUID as we now don't actually start propagating new messages until all TUIDs have been generated, it's sufficient to sync just once. th

[commit] master: less spaghetti

2013-12-09 Thread Oswald Buddenhagen
commit 6c6ad9710c6b04220ed6a50c2875be290d2ffc99 Author: Oswald Buddenhagen Date: Sun Dec 8 09:51:31 2013 +0100 less spaghetti src/main.c | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/main.c b/src/main.c index 292ec5f..780f648 100644 --- a/src/main.

[commit] master: fix listing of nested maildir mailboxes

2013-12-09 Thread Oswald Buddenhagen
commit c293acaf240f4d8b85e8309b8eed084058b56631 Author: Oswald Buddenhagen Date: Sun Dec 8 10:44:50 2013 +0100 fix listing of nested maildir mailboxes src/drv_maildir.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/drv_maildir.c b/src/drv_maildir.c index

[commit] master: reduce FSync option to a boolean

2013-12-09 Thread Oswald Buddenhagen
commit 71524cb6b0c2a1b0c5a811cb5bf00eac91d561a8 Author: Oswald Buddenhagen Date: Sat Nov 2 21:42:34 2013 +0100 reduce FSync option to a boolean there is no use for Thorough mode any more, so simplify the configuration. src/config.c | 10 ++ src/drv_maildir.c |

[commit] master: make use of IMAP MOVE extension

2013-12-09 Thread Oswald Buddenhagen
commit 2cb483fb2e4424b47ab1ddfb58a492a9aaff0469 Author: Oswald Buddenhagen Date: Sun Dec 8 15:11:00 2013 +0100 make use of IMAP MOVE extension the Maildir driver is always exposing behavior equivalent to this - it's more efficient. src/drv_imap.c |4 +++- 1 files changed,

[commit] master: move handling of new messages after that of old ones

2013-12-09 Thread Oswald Buddenhagen
commit 49a32910a7ff482ff2d58b40366fc6e366cf15f1 Author: Oswald Buddenhagen Date: Sun Nov 24 18:26:11 2013 +0100 move handling of new messages after that of old ones i.e., move it back. whatever the original reason was, it's now gone. this order is way more natural, which a

[commit] master: avoid useless delay after creating maildir box

2013-12-09 Thread Oswald Buddenhagen
commit b6949c64d2fb68349ea7e3a6165c603bfed1512e Author: Oswald Buddenhagen Date: Sun Dec 1 17:45:34 2013 +0100 avoid useless delay after creating maildir box we would see the recent timestamp of the creation and conclude that something is going on, so we'd wait. this is obvious

[commit] master: do not unnecessarily use bitfields

2013-12-09 Thread Oswald Buddenhagen
commit 1e427f5cd5caa1bd13fe9c6f564946ea2331a225 Author: Oswald Buddenhagen Date: Sun Nov 24 19:55:41 2013 +0100 do not unnecessarily use bitfields they don't save much (if any) space in our usage, while they make the machine code more bloated and slow. src/drv_imap.c | 15 +

[commit] master: don't check for INBOX more than necessary

2013-12-09 Thread Oswald Buddenhagen
commit 0ad8ef80b28a40c11fb10c37aace0f02e5ec50f6 Author: Oswald Buddenhagen Date: Sun Dec 8 10:48:14 2013 +0100 don't check for INBOX more than necessary src/drv_maildir.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/drv_maildir.c b/src/drv_maildir.

[commit] master: refuse box list overrides if Channel has no Patterns

2013-12-09 Thread Oswald Buddenhagen
commit f485d69332d90128f8c2d5769fd88aff2df50566 Author: Oswald Buddenhagen Date: Sat Dec 7 16:41:05 2013 +0100 refuse box list overrides if Channel has no Patterns as the named boxes are the same on both sides, they logically make sense only when the channel is in that mode any

[commit] master: replace global_* with a channel_conf_t instance

2013-12-09 Thread Oswald Buddenhagen
commit c0ba0c7ecffcc002b2d23e3bf484cc02bda7e78b Author: Oswald Buddenhagen Date: Sun Nov 24 19:32:42 2013 +0100 replace global_* with a channel_conf_t instance this makes the (growing) list of getopt_helper()'s parameters manageable. the few wasted bytes are worth it. src/con

[commit] master: allow prefixes to Patterns

2013-12-09 Thread Oswald Buddenhagen
commit cf0f32f80030e1476bff4fe5ab3c060ef415dafb Author: Oswald Buddenhagen Date: Sun Dec 8 09:49:39 2013 +0100 allow prefixes to Patterns this makes it possible to "rename" a "namespace" while syncing. src/main.c | 57 -- src/mbs

[commit] master: reshuffle sources a bit

2013-12-09 Thread Oswald Buddenhagen
commit 03b3b566f1b108066294cc73dff8bf1a06b3ae91 Author: Oswald Buddenhagen Date: Sun Dec 8 20:46:40 2013 +0100 reshuffle sources a bit split header and move some code to more logical places. .gitignore |4 +- configure.ac |2 +- s

[commit] master: treat manually specified box list the same as one coming from Patterns

2013-12-09 Thread Oswald Buddenhagen
commit c6f08b8f17e72732151f3433d2c2d218a0b523a3 Author: Oswald Buddenhagen Date: Sat Dec 7 16:11:24 2013 +0100 treat manually specified box list the same as one coming from Patterns src/isync.h |1 + src/main.c | 48 +++- src/util.c |

[commit] master: tag verbose output when channel links two verbose stores

2013-12-09 Thread Oswald Buddenhagen
commit 92b892d24757b117c8ee73741f263b46f4472a85 Author: Oswald Buddenhagen Date: Sun Dec 8 16:37:20 2013 +0100 tag verbose output when channel links two verbose stores otherwise it's pure guesswork to assign the output to particular stores. src/drv_imap.c| 22 +-

[commit] master: move verbose socket logging out of socket driver

2013-12-09 Thread Oswald Buddenhagen
commit 27fa63a577cc23b87e78070a09ac22d28c8ea10d Author: Oswald Buddenhagen Date: Sun Dec 8 16:32:30 2013 +0100 move verbose socket logging out of socket driver the way it's used, it's more of a high-level function. src/drv_imap.c |8 src/socket.c |4 2 fil

[commit] master: factor out sync_listed_boxes()

2013-12-09 Thread Oswald Buddenhagen
commit decc33c2cf2c51179a4b287160e70dc853c52f99 Author: Oswald Buddenhagen Date: Sat Dec 7 17:24:08 2013 +0100 factor out sync_listed_boxes() src/main.c | 28 +--- 1 files changed, 17 insertions(+), 11 deletions(-) diff --git a/src/main.c b/src/main.c index cc44

[commit] master: make message propagation recording less magic

2013-12-09 Thread Oswald Buddenhagen
commit 391ec01f285f41f54c3719b1e4a11d2b7c0c66b3 Author: Oswald Buddenhagen Date: Sat Nov 2 19:33:50 2013 +0100 make message propagation recording less magic assign the sync record to the source message asap, and later on rely on a more explicit condition than not doing so. sr

[commit] master: don't delay loading master even if messages were expired

2013-12-09 Thread Oswald Buddenhagen
commit 273ac899f3f1b26e9861aa9de08b9733e04b8a93 Author: Oswald Buddenhagen Date: Sun Nov 17 11:23:44 2013 +0100 don't delay loading master even if messages were expired the delay optimized the corner case of previously important but now expired messages on the slave disappearin

[commit] master: make it possible to specify CopyArrivalDate and MaxMessages globally

2013-12-09 Thread Oswald Buddenhagen
commit f586c0bee5aac9218fb33f44c59d031ae0e0162b Author: Oswald Buddenhagen Date: Sun Nov 24 19:39:33 2013 +0100 make it possible to specify CopyArrivalDate and MaxMessages globally sneaky change on the side: the wording of the man page is changed from "outside any section" to "

[commit] master: remove own_store() function from driver model

2013-12-09 Thread Oswald Buddenhagen
commit 0b32734693d87596c2733ba24d4a782074108ae7 Author: Oswald Buddenhagen Date: Sun Dec 8 15:49:03 2013 +0100 remove own_store() function from driver model the drivers which support it can abstract it inside open_store() just fine. src/drv_imap.c| 22 +++---

[commit] master: propagate deletions with other flag changes

2013-12-09 Thread Oswald Buddenhagen
commit ecb4c7ab07bb9678391833bb4786ff3a0df743fa Author: Oswald Buddenhagen Date: Sun Nov 24 15:58:32 2013 +0100 propagate deletions with other flag changes less code duplication, more logical order of issued driver commands (especially after the next commit), and the "side effe

[commit] master: add ExpireUnread option

2013-12-09 Thread Oswald Buddenhagen
commit 8d5bd62537ee8c5f68b311fe8c3d8058c522776c Author: Oswald Buddenhagen Date: Sun Nov 24 20:26:33 2013 +0100 add ExpireUnread option src/config.c |4 src/isync.h |1 + src/mbsync.1 | 14 -- src/run-tests.pl | 12 src/sync.c |

[commit] master: make host resolution error messages more useful in non-ipv6 builds

2013-12-09 Thread Oswald Buddenhagen
commit 540adbb8fd8cf250628dfbb772cb714ba2626332 Author: Oswald Buddenhagen Date: Sun Dec 1 17:57:33 2013 +0100 make host resolution error messages more useful in non-ipv6 builds src/socket.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/socket.c b/src/socke

[commit] master: count unread messages like flagged messages when expiring

2013-12-09 Thread Oswald Buddenhagen
commit 83b834cdfdc68334a365894bd9250147e4ca4862 Author: Oswald Buddenhagen Date: Sun Nov 10 19:57:08 2013 +0100 count unread messages like flagged messages when expiring that is, don't count them towards the total only below the cut-off point. making them extend the working set

[commit] master: log maxuid bumping less aggressively

2013-12-09 Thread Oswald Buddenhagen
commit 7f784fd23597e146c035a51e4256be8a1d923824 Author: Oswald Buddenhagen Date: Sat Nov 2 20:47:20 2013 +0100 log maxuid bumping less aggressively we can bump the internal variable whereever convenient, but we cannot log it until we know that all messages were copied, as other

[commit] master: take configs out of target state defs

2013-12-09 Thread Oswald Buddenhagen
commit f044adbfa423f4b88c50d4f990c7d8d6d0a3241b Author: Oswald Buddenhagen Date: Sat Nov 9 13:06:39 2013 +0100 take configs out of target state defs cleaner and less duplication src/run-tests.pl | 159 ++ 1 files changed, 77 insertions

[commit] master: use post-sync "seen" flag to determine expirability

2013-12-09 Thread Oswald Buddenhagen
commit 9e186ae88ba72f249ac3f5916f2ba90be936da35 Author: Oswald Buddenhagen Date: Sat Nov 9 11:25:40 2013 +0100 use post-sync "seen" flag to determine expirability otherwise it wouldn't be idempotent. src/sync.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --g

[commit] master: don't protect recent messages from MaxMessages

2013-12-09 Thread Oswald Buddenhagen
commit 15216947fbc1a385d9dcca9e61bccd77ed86b58a Author: Oswald Buddenhagen Date: Fri Nov 8 12:05:08 2013 +0100 don't protect recent messages from MaxMessages while maildir has a clearly defined meaning of "recent" and for example mutt handles it graciously, IMAP's definition is

[commit] master: verify idempotence of all sync operations

2013-12-09 Thread Oswald Buddenhagen
commit fe3d19b7ebcaff5629ec236d01da1bf8262ad472 Author: Oswald Buddenhagen Date: Mon Nov 4 09:54:39 2013 +0100 verify idempotence of all sync operations src/run-tests.pl | 43 +-- 1 files changed, 33 insertions(+), 10 deletions(-) diff --git a/sr

[commit] master: micro-optimization/-clarification: swap condition order

2013-12-09 Thread Oswald Buddenhagen
commit 9a62521cff661b40c3d05bd60b3630d469c93736 Author: Oswald Buddenhagen Date: Sun Nov 24 19:50:46 2013 +0100 micro-optimization/-clarification: swap condition order src/sync.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/sync.c b/src/sync.c index 0cf6d8

[commit] master: document message expiration transactions

2013-12-09 Thread Oswald Buddenhagen
commit 8b76412b0d16bac8ba9696ddd4563968cc9eab0f Author: Oswald Buddenhagen Date: Sun Nov 17 17:36:08 2013 +0100 document message expiration transactions src/sync.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/sync.c b/src/sync.c index 574a47c..d

[commit] master: make MaxMessages work for new mails as well

2013-12-09 Thread Oswald Buddenhagen
commit b1842617f7700c56d3eede8ce6c5afdacf433fca Author: Oswald Buddenhagen Date: Sat Nov 30 13:03:12 2013 +0100 make MaxMessages work for new mails as well this helps enormously on the first sync of a 100k message box with a limit of 1k messages. it also happens to make the syn

[commit] master: delay propagation of new messages

2013-12-09 Thread Oswald Buddenhagen
commit d3f6347021c39e753cad226c47cc5f0556bcc479 Author: Oswald Buddenhagen Date: Sat Nov 23 15:55:02 2013 +0100 delay propagation of new messages previous sequence: examine & propagate new => examine old => propagate old new sequence: examine new => examine old => p

[commit] master: remove cleanup of expired entries during setup of master load

2013-12-09 Thread Oswald Buddenhagen
commit 12676f28da2c708f8adc140b1d114e29dcccf65a Author: Oswald Buddenhagen Date: Sun Nov 17 09:06:20 2013 +0100 remove cleanup of expired entries during setup of master load the removed code would only ever trigger if a) we were after a journal replay or b) something external e

[commit] master: make sync state header format less obscure

2013-12-09 Thread Oswald Buddenhagen
commit 48754ecc74123d4405999e3e5e720779d7a10bd2 Author: Oswald Buddenhagen Date: Sat Nov 16 13:25:31 2013 +0100 make sync state header format less obscure the header is not space-critical, so use proper name-value pairs. this has the additional advantage that subsequent format

[commit] master: make state loading in showstate() similar to ckstate()

2013-12-09 Thread Oswald Buddenhagen
commit 83bb1cf716d5f44b773b952aa789aadac04171b2 Author: Oswald Buddenhagen Date: Sat Nov 16 13:21:45 2013 +0100 make state loading in showstate() similar to ckstate() src/run-tests.pl | 14 ++ 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/run-tests.pl b/

[commit] master: always get slave flags when we are expiring

2013-12-09 Thread Oswald Buddenhagen
commit 6b7b2b11063ef32a3d40624d212c30d5f9ac995f Author: Oswald Buddenhagen Date: Sat Nov 23 12:22:31 2013 +0100 always get slave flags when we are expiring even if we are not propagating new messages, the appearance of new messages on the slave can lead to expiring older messag

[commit] master: make message counting in expiration code less confusing

2013-12-09 Thread Oswald Buddenhagen
commit 014d9b90818010830aaea1e99470493fa82c85f7 Author: Oswald Buddenhagen Date: Sat Nov 23 12:01:23 2013 +0100 make message counting in expiration code less confusing src/sync.c | 18 +++--- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/sync.c b/src/sy

[commit] master: make it possible to run only selected tests

2013-12-09 Thread Oswald Buddenhagen
commit 3d81ccbf21dc5f81987365e6ff8c6e0ddc1f26e4 Author: Oswald Buddenhagen Date: Sun Nov 3 20:17:54 2013 +0100 make it possible to run only selected tests src/run-tests.pl |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/run-tests.pl b/src/run-tests.pl index 57

[commit] master: more precise failure reporting

2013-12-09 Thread Oswald Buddenhagen
commit 5297425918b4f380de9114aed36229ac9576a106 Author: Oswald Buddenhagen Date: Sat Nov 16 13:41:27 2013 +0100 more precise failure reporting src/run-tests.pl | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/run-tests.pl b/src/run-tests.pl index 772b4

[commit] master: do not trash expired messages

2013-12-09 Thread Oswald Buddenhagen
commit f1eea7d9a50da1a4e52ca22edabb5d31291e03be Author: Oswald Buddenhagen Date: Sat Nov 16 17:59:45 2013 +0100 do not trash expired messages we are not actually deleting them, so there is no point in saving them in the trash. src/sync.c |2 +- 1 files changed, 1 insertio