[dovecot/core] 12e5ac: lib-mail: return void from message_parser_deinit()

GitHub noreply at github.com
Mon Apr 25 19:30:09 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 12e5ac049bd74f8b98d9dc62adcb0bf3217beef6
      https://github.com/dovecot/core/commit/12e5ac049bd74f8b98d9dc62adcb0bf3217beef6
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-04-25 (Mon, 25 Apr 2016)

  Changed paths:
    M src/doveadm/doveadm-mail-fetch.c
    M src/lib-imap/test-imap-bodystructure.c
    M src/lib-mail/istream-attachment-extractor.c
    M src/lib-mail/istream-binary-converter.c
    M src/lib-mail/message-parser.c
    M src/lib-mail/message-parser.h
    M src/lib-mail/message-snippet.c
    M src/lib-mail/test-message-parser.c
    M src/lib-mail/test-message-part.c

  Log Message:
  -----------
  lib-mail: return void from message_parser_deinit()


  Commit: 808fab19464062a665af85df5e147c6b64b1c348
      https://github.com/dovecot/core/commit/808fab19464062a665af85df5e147c6b64b1c348
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-25 (Mon, 25 Apr 2016)

  Changed paths:
    M src/doveadm/dsync/dsync-mailbox-import.c

  Log Message:
  -----------
  dsync: Improved detecting state state string.


  Commit: 3d49dc64d5719e5f2497339c0137f7672a02018e
      https://github.com/dovecot/core/commit/3d49dc64d5719e5f2497339c0137f7672a02018e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-25 (Mon, 25 Apr 2016)

  Changed paths:
    M src/doveadm/dsync/dsync-brain.c

  Log Message:
  -----------
  dsync: If full resync is requested, return empty state string.

If the state is wrong, it's better to fully resync all the mailboxes rather
than just the one where a problem was noticed.


  Commit: 805d7834412465268486c50711962407ad13fbf6
      https://github.com/dovecot/core/commit/805d7834412465268486c50711962407ad13fbf6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-25 (Mon, 25 Apr 2016)

  Changed paths:
    M src/doveadm/dsync/dsync-brain-mailbox.c
    M src/doveadm/dsync/dsync-brain-mails.c
    M src/doveadm/dsync/dsync-mailbox-import.c
    M src/doveadm/dsync/dsync-mailbox-import.h

  Log Message:
  -----------
  dsync: If state is invalid, exit with code 2 instead of tempfail.

We'll have dsync_mailbox_import_*() just return success to everything until
_deinit() is called. The _deinit() will return a failure and set "resync
needed"-flag, which caller will know how to handle.


  Commit: 2719970c2c246f976178da179deeb64eecaec5ba
      https://github.com/dovecot/core/commit/2719970c2c246f976178da179deeb64eecaec5ba
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-25 (Mon, 25 Apr 2016)

  Changed paths:
    M src/lib-mail/test-istream-header-filter.c

  Log Message:
  -----------
  lib-mail: Code cleanup to istream-header-filter unit test

The exclude_headers arrays were used in a confusing way. The X-Drop header
wasn't actually even used in the exclude_headers.


  Commit: 76a71915c6452a4bee9a8ae89ddbdf58fa941dee
      https://github.com/dovecot/core/commit/76a71915c6452a4bee9a8ae89ddbdf58fa941dee
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-25 (Mon, 25 Apr 2016)

  Changed paths:
    M src/lib-mail/istream-header-filter.c
    M src/lib-mail/test-istream-header-filter.c

  Log Message:
  -----------
  lib-mail: istream-header-filter didn't limit memory usage.

A large header was always added to hdr_buf, ignoring any max_buffer_size
limits.


  Commit: 88d100753bd4b26f038093d3794c2dc50875443d
      https://github.com/dovecot/core/commit/88d100753bd4b26f038093d3794c2dc50875443d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-25 (Mon, 25 Apr 2016)

  Changed paths:
    M src/lib-mail/test-istream-header-filter.c

  Log Message:
  -----------
  lib-mail: Improved istream-header-filter unit test.

Existing code already assumes that the callback is called for all the header
data. So it's not used just for filtering headers but also parsing the
header contents. Make this assumption now explicit as a unit test.


  Commit: 270c7cd669b1ad4b69edb366dc5f22262948bfed
      https://github.com/dovecot/core/commit/270c7cd669b1ad4b69edb366dc5f22262948bfed
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-25 (Mon, 25 Apr 2016)

  Changed paths:
    M src/lib-mail/istream-header-filter.c
    M src/lib-mail/test-istream-header-filter.c

  Log Message:
  -----------
  lib-mail: More fixes to istream-header-filter with large input.

Don't assume that when reading the header the second time we'll get exactly
the same header blocks as the first time.

This commit also prevents the filter callback from switching the
matching-decision on non-first header line. This shouldn't be needed and it
could just cause confusion. (It also made it a bit easier to implement this
fix.)


  Commit: af2564c7f9e05ad245a032efdfbc5abbb9b70f1e
      https://github.com/dovecot/core/commit/af2564c7f9e05ad245a032efdfbc5abbb9b70f1e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-25 (Mon, 25 Apr 2016)

  Changed paths:
    M src/plugins/fts-lucene/lucene-wrapper.cc

  Log Message:
  -----------
  fts-lucene: Cleanup - move code to a separate function


  Commit: 9a85ec311d3216dd6dbad401543330c4356d651d
      https://github.com/dovecot/core/commit/9a85ec311d3216dd6dbad401543330c4356d651d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-25 (Mon, 25 Apr 2016)

  Changed paths:
    M src/plugins/fts-lucene/lucene-wrapper.cc

  Log Message:
  -----------
  fts-lucene: Rescan skipped namespace roots.


Compare: https://github.com/dovecot/core/compare/c977ee6ce06c...9a85ec311d32


More information about the dovecot-cvs mailing list