[dovecot/core] bfb235: lib-imap-client: Fix reconnection

GitHub noreply at github.com
Wed Apr 12 13:59:56 EEST 2017


  Branch: refs/tags/2.2.29.1
  Home:   https://github.com/dovecot/core
  Commit: bfb235540bd3f17542dcd687a9215658c225c205
      https://github.com/dovecot/core/commit/bfb235540bd3f17542dcd687a9215658c225c205
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
    M src/lib-imap-client/imapc-connection.c

  Log Message:
  -----------
  lib-imap-client: Fix reconnection

There was already code for reconnection. We just shouldn't have gone very
far in imapc_connection_connect() if we were still waiting for reconnection
delay to pass.


  Commit: 438cb7e0cfd0fc488d8684423afbe3df91f97d5f
      https://github.com/dovecot/core/commit/438cb7e0cfd0fc488d8684423afbe3df91f97d5f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
    M src/auth/userdb-vpopmail.c
    M src/lib/var-expand.h

  Log Message:
  -----------
  lib, userdb-vpopmail: Fully remove var_expand_table_build()

It was accidentally removed in master-2.2 as part of the changes in
122014ad84488d6309dc7d1572dfc988fedc18c4

This finishes up the removal as it was done in master in
79fe1b28df44ba22b230326bee895583c1df5a28


  Commit: e44f1143983d6d186a229bb7206defbe11b24804
      https://github.com/dovecot/core/commit/e44f1143983d6d186a229bb7206defbe11b24804
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
    M src/lib-dict/dict-sql.c

  Log Message:
  -----------
  lib-dict-sql: Try merge sets to single update

This attempts to put mergeable keys into same
update instead of using multiple SQL statements.


  Commit: fe042c0240180326ca08eaae192bcd0ee51327b4
      https://github.com/dovecot/core/commit/fe042c0240180326ca08eaae192bcd0ee51327b4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
    M Makefile.am

  Log Message:
  -----------
  Makefile: Fix make distcheck when using scan-build

The _build directory shouldn't be deleted afterwards or it'll just fail.


  Commit: 5da93d8f87470a34c4804a6adfbbf1a23e074766
      https://github.com/dovecot/core/commit/5da93d8f87470a34c4804a6adfbbf1a23e074766
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
    M src/auth/userdb-vpopmail.c

  Log Message:
  -----------
  auth: Fix compile problem with vpopmail

79fe1b28df44ba22b230326bee895583c1df5a28 forgot to remove const from table.


  Commit: a3a6667c8e0ce175d4de2cadf8e43dad111aa3d8
      https://github.com/dovecot/core/commit/a3a6667c8e0ce175d4de2cadf8e43dad111aa3d8
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c

  Log Message:
  -----------
  lib-imap: imap-bodystructure: Fixed handling of a multipart part without children in imap_bodystructure_write().

In that case it writes an empty text/plain part to prevent generating an invalid BODYSTRUCURE.
However, it always generated the basic BODY version without the extra fields for a full BODYSTRUCTURE.


  Commit: 0f1683301e20ef65ecd379fb51c366558e27fa5c
      https://github.com/dovecot/core/commit/0f1683301e20ef65ecd379fb51c366558e27fa5c
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c
    M src/lib-imap/test-imap-bodystructure.c

  Log Message:
  -----------
  lib-imap: imap-bodystructure: Fixed handling of a multipart part without children in imap_bodystructure_parse().

In imap_bodystructure_write(), an empty multipart part is addressed by generating an empty text/plain part.
However, when parsing that back with imap_bodystructure_parse() against a parsed message_part tree, this case needs to be considered explicitly.
Otherwise, it will not be able to match the message part hierarchies.

This adds a test suite item that tests both the write (previous commit) and parse functions.


  Commit: 52f39a4103cfc82bf204adcd1fdbe1b71013fb07
      https://github.com/dovecot/core/commit/52f39a4103cfc82bf204adcd1fdbe1b71013fb07
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
    M Makefile.am

  Log Message:
  -----------
  Makefile: Another fix for make distcheck when using scan-build

It seems to run two configures with different parameters, which results in
some of the files not being cleaned up. So this hopefully fixes:

ERROR: files left in build directory after distclean:
./src/util/tcpwrap


  Commit: e0b76e398a3e662904739779087e8342d6a9d1b3
      https://github.com/dovecot/core/commit/e0b76e398a3e662904739779087e8342d6a9d1b3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
    M NEWS
    M configure.ac

  Log Message:
  -----------
  Released v2.2.29.1.


Compare: https://github.com/dovecot/core/compare/bfb235540bd3^...e0b76e398a3e


More information about the dovecot-cvs mailing list