Re: mbsync crashes on mbsync -a

2015-03-30 Thread Niels Kobschaetzki
On 30/03 14:32, Oswald Buddenhagen wrote: >On Mon, Mar 30, 2015 at 02:12:12PM +0200, Niels Kobschaetzki wrote: >> On 30/03 13:54, Oswald Buddenhagen wrote: >> >On Mon, Mar 30, 2015 at 01:34:21PM +0200, Niels Kobschaetzki wrote: >> >> I just upgraded my isync-installation from the AUR (isync-git) an

[commit] master: don't insert unnecessary linebreaks upon PassCmd invocation

2015-03-30 Thread Oswald Buddenhagen
commit 95276cd9672e7416265357303fd9db496ac01608 Author: Oswald Buddenhagen Date: Mon Mar 30 14:52:02 2015 +0200 don't insert unnecessary linebreaks upon PassCmd invocation the PassCmd will be typically non-interactive (or it will use a gui password agent), so starting a new lin

Re: mbsync crashes on mbsync -a

2015-03-30 Thread Oswald Buddenhagen
On Mon, Mar 30, 2015 at 02:12:12PM +0200, Niels Kobschaetzki wrote: > On 30/03 13:54, Oswald Buddenhagen wrote: > >On Mon, Mar 30, 2015 at 01:34:21PM +0200, Niels Kobschaetzki wrote: > >> I just upgraded my isync-installation from the AUR (isync-git) and when > >> I am doing an "mbsync -a" it crash

[commit] master: fix crash when no mailboxes match Patterns

2015-03-30 Thread Oswald Buddenhagen
commit ba2b42ec9b3d1031423e94f8ad476164c9f1cc7f Author: Oswald Buddenhagen Date: Mon Mar 30 14:27:23 2015 +0200 fix crash when no mailboxes match Patterns filter_boxes() just returns a null pointer in this case. REFMAIL: [email protected] src/main.c

Re: mbsync crashes on mbsync -a

2015-03-30 Thread Niels Kobschaetzki
On 30/03 13:54, Oswald Buddenhagen wrote: On Mon, Mar 30, 2015 at 01:34:21PM +0200, Niels Kobschaetzki wrote: I just upgraded my isync-installation from the AUR (isync-git) and when I am doing an "mbsync -a" it crashes. I did a trace with valgrind with the following options: valgrind --leak-ch

Re: mbsync crashes on mbsync -a

2015-03-30 Thread Oswald Buddenhagen
On Mon, Mar 30, 2015 at 01:34:21PM +0200, Niels Kobschaetzki wrote: > I just upgraded my isync-installation from the AUR (isync-git) and when > I am doing an "mbsync -a" it crashes. > > I did a trace with valgrind with the following options: > > valgrind --leak-check=full --track-origins=yes --l

mbsync crashes on mbsync -a

2015-03-30 Thread Niels Kobschaetzki
Hi, I just upgraded my isync-installation from the AUR (isync-git) and when I am doing an "mbsync -a" it crashes. I did a trace with valgrind with the following options: valgrind --leak-check=full --track-origins=yes --log-file=valgrind_mbsync.txt mbsync -a and the output is attached. Nie

[commit] master: fix SASL PLAIN for User != $USER

2015-03-30 Thread Oswald Buddenhagen
commit 138983c91edbb8d2176f5658607d80758dfbcf56 Author: Oswald Buddenhagen Date: Mon Mar 30 12:59:40 2015 +0200 fix SASL PLAIN for User != $USER REFMAIL: [email protected] src/drv_imap.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/s

Re: "unexpected command continuation request" while syncing with gmail

2015-03-30 Thread Gleb Natapov
On Mon, Mar 30, 2015 at 12:08:06PM +0200, Oswald Buddenhagen wrote: > On Fri, Dec 05, 2014 at 06:55:36PM +0200, Gleb Natapov wrote: > > M: >>> 6 UID FETCH 88931 (BODY.PEEK[]) > > > (1 in progress) M: >>> 7 APPEND "" {20487} > > > i missed that line last time. with it, the server behavior of co

Re: "unexpected command continuation request" while syncing with gmail

2015-03-30 Thread Oswald Buddenhagen
On Fri, Dec 05, 2014 at 06:55:36PM +0200, Gleb Natapov wrote: > M: >>> 6 UID FETCH 88931 (BODY.PEEK[]) > (1 in progress) M: >>> 7 APPEND "" {20487} > i missed that line last time. with it, the server behavior of course makes perfect sense. the bug is fixed in git now. > M: + go ahead > IMAP e

Re: [commit] master: make progress counters global

2015-03-30 Thread Eric Abrahamsen
Oswald Buddenhagen writes: > commit 8aa22a62e790c4ced512e0f74c407725162a3b0d > Author: Oswald Buddenhagen > Date: Sat Mar 28 17:26:08 2015 +0100 > > make progress counters global > > which means they are now cumulative, and include channels and boxes. Interesting! As a slightly O

[commit] master: pre-calculate channel and box lists (as far as possible)

2015-03-30 Thread Oswald Buddenhagen
commit 1de3ecd8830e98754721fd3f0267f9890aed2d2a Author: Oswald Buddenhagen Date: Sat Mar 28 17:51:27 2015 +0100 pre-calculate channel and box lists (as far as possible) ... instead of determining them on the fly, because - it enables early display of totals (to be used soon)

[commit] master: add debugging for main()

2015-03-30 Thread Oswald Buddenhagen
commit 03a124051f86e6a7de70ed357764dfc22b185322 Author: Oswald Buddenhagen Date: Thu Mar 26 18:09:25 2015 +0100 add debugging for main() so far, that's mostly mailbox listing src/common.h |1 + src/main.c | 28 ++-- src/mbsync.1 |6 -- 3 fi

[commit] master: don't claim that INBOX is absent even if it was not listed

2015-03-30 Thread Oswald Buddenhagen
commit f361738ad20720a56e6d4e2932f5c0f8070f8779 Author: Oswald Buddenhagen Date: Thu Mar 26 17:28:49 2015 +0100 don't claim that INBOX is absent even if it was not listed IMAP defines that INBOX is always present. src/main.c |4 ++-- 1 files changed, 2 insertions(+), 2 deleti

[commit] master: revamp console output options

2015-03-30 Thread Oswald Buddenhagen
commit 0e1f8f9a3f8aa1d84894ed0addac398cd709bb81 Author: Oswald Buddenhagen Date: Mon Mar 23 08:42:51 2015 +0100 revamp console output options - the old meaning of -V[V] was moved to -D{n|N}, as these are really debugging options. - don't print the info messages by default

[commit] master: static my_strndup() => extern nfstrndup()

2015-03-30 Thread Oswald Buddenhagen
commit e00d0f1ac3c70571d650bc8ad5c24c3107ef0659 Author: Oswald Buddenhagen Date: Thu Mar 26 17:16:37 2015 +0100 static my_strndup() => extern nfstrndup() src/common.h |1 + src/util.c | 26 +++--- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a

[commit] master: rework Pattern application

2015-03-30 Thread Oswald Buddenhagen
commit 05deb008db081379ccbf4b953dcf84e6de55b02d Author: Oswald Buddenhagen Date: Thu Mar 26 17:27:41 2015 +0100 rework Pattern application instead of creating three lists of mailboxes (common, master, slave) and deriving the mailbox presence from the list being processed, creat

[commit] master: make progress counters global

2015-03-30 Thread Oswald Buddenhagen
commit 8aa22a62e790c4ced512e0f74c407725162a3b0d Author: Oswald Buddenhagen Date: Sat Mar 28 17:26:08 2015 +0100 make progress counters global which means they are now cumulative, and include channels and boxes. src/common.h |6 src/drv_imap.c |2 + src/main.c |

[commit] master: mask AUTHENTICATE PLAIN commands in debug output

2015-03-30 Thread Oswald Buddenhagen
commit bd0f3af578076db4d11b6c3b4174314917411c67 Author: Oswald Buddenhagen Date: Mon Mar 23 18:05:57 2015 +0100 mask AUTHENTICATE PLAIN commands in debug output they are almost as bad as LOGIN. src/drv_imap.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff

[commit] master: make sure that INBOX always exists

2015-03-30 Thread Oswald Buddenhagen
commit 4d638c3cf274a64f011e7b703d37215447551cfd Author: Oswald Buddenhagen Date: Thu Mar 26 14:28:06 2015 +0100 make sure that INBOX always exists makes the Maildir driver consistent with IMAP. src/drv_maildir.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) dif

[commit] master: remove double "Logging in ..." when using legacy LOGIN

2015-03-30 Thread Oswald Buddenhagen
commit 06c1a43aa22cb7db5f1bee08b43898d532ed181d Author: Oswald Buddenhagen Date: Sun Mar 22 13:30:39 2015 +0100 remove double "Logging in ..." when using legacy LOGIN src/drv_imap.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/drv_imap.c b/src/drv_imap.c in

[commit] master: don't refuse to strip Path just because it's INBOX/

2015-03-30 Thread Oswald Buddenhagen
commit d8225390fcd3d31577d3d74ab3d18b8762c5008b Author: Oswald Buddenhagen Date: Mon Mar 23 20:16:47 2015 +0100 don't refuse to strip Path just because it's INBOX/ no ambiguity can result from this, so there is no reason to treat sub-folders of INBOX differently from any other