[dovecot/core] e3efff: imapc: Rename imapc_storage_has_modseqs() to imapc...

GitHub noreply at github.com
Mon Apr 24 17:00:12 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: e3efff95a056f7fc48973f31d479523880a565bf
      https://github.com/dovecot/core/commit/e3efff95a056f7fc48973f31d479523880a565bf
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M src/lib-storage/index/imapc/imapc-mail.c
    M src/lib-storage/index/imapc/imapc-mailbox.c
    M src/lib-storage/index/imapc/imapc-storage.c
    M src/lib-storage/index/imapc/imapc-storage.h
    M src/lib-storage/index/imapc/imapc-sync.c

  Log Message:
  -----------
  imapc: Rename imapc_storage_has_modseqs() to imapc_mailbox_has_modseqs()

Simplifies the following patch.


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

  Changed paths:
    M src/lib-storage/index/imapc/imapc-search.c
    M src/lib-storage/index/imapc/imapc-storage.c
    M src/lib-storage/index/imapc/imapc-storage.h
    M src/lib-storage/index/imapc/imapc-sync.c

  Log Message:
  -----------
  imapc: Add imapc_mailbox.capabilities

Use it instead of imapc_client_get_capabilities(). Simplifies the
following patch.


  Commit: 906bc95a55c4e84b7c9bef6bec988952fe217bce
      https://github.com/dovecot/core/commit/906bc95a55c4e84b7c9bef6bec988952fe217bce
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M src/lib-imap-client/imapc-client.c
    M src/lib-imap-client/imapc-client.h
    M src/lib-storage/index/imapc/imapc-list.c
    M src/lib-storage/index/imapc/imapc-storage.c

  Log Message:
  -----------
  imapc: Make sure client is logged in when checking capabilities

Especially with imapc_features=delay-login the capability could have been
looked at before the client was even connected.


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

  Changed paths:
    M src/lib-storage/index/imapc/imapc-mailbox.c
    M src/lib-storage/index/imapc/imapc-search.c
    M src/lib-storage/index/imapc/imapc-search.h

  Log Message:
  -----------
  imapc: Support imapc_features=search without ESEARCH extension


  Commit: 57c33cb411236c09cf0541342819030790d32415
      https://github.com/dovecot/core/commit/57c33cb411236c09cf0541342819030790d32415
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M src/lib-storage/index/imapc/imapc-storage.c

  Log Message:
  -----------
  imapc: Fix crash in mailbox_exists() when LAYOUT isn't imapc.

Especially breaks LAYOUT=none.


  Commit: 954ba2536471e1f5541a4fc9cf1090535b5904f9
      https://github.com/dovecot/core/commit/954ba2536471e1f5541a4fc9cf1090535b5904f9
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

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

  Log Message:
  -----------
  lib-imap-client: Fix imapc_client_get_capabilities() when called without connections


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

  Changed paths:
    M src/lib-imap/imap-util.c
    M src/lib-imap/imap-util.h

  Log Message:
  -----------
  lib-imap: Add imap_write_arg() to write only a single arg


  Commit: 623ff664e7f7267e5afe57ad2c2482fed8502663
      https://github.com/dovecot/core/commit/623ff664e7f7267e5afe57ad2c2482fed8502663
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

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

  Log Message:
  -----------
  lib-imap: Make imap_bodystructure_parse_args() public


  Commit: 1663aa0379a70c64c1ca2616971f47effe9e089f
      https://github.com/dovecot/core/commit/1663aa0379a70c64c1ca2616971f47effe9e089f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M src/lib-storage/index/index-mail.c
    M src/lib-storage/index/index-mail.h

  Log Message:
  -----------
  lib-storage: Add index_mail_get_cached_body[structure]()

This just moves the code to these functions without changing any of the
logic.


  Commit: 36a0235555faa8cca91db933dc58acbdaf955f03
      https://github.com/dovecot/core/commit/36a0235555faa8cca91db933dc58acbdaf955f03
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M src/lib-storage/index/index-mail.c
    M src/lib-storage/mail-storage-private.h

  Log Message:
  -----------
  lib-storage: Add mail_storage.nonbody_access_fields

This avoids index_mail_update_access_parts_pre() from opening the mail
stream unnecessarily for fields that can be looked up via other methods
by the storage.


  Commit: 4cce56915baa963a96199f3603078f584963a987
      https://github.com/dovecot/core/commit/4cce56915baa963a96199f3603078f584963a987
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M src/lib-storage/index/imapc/imapc-mail-fetch.c
    M src/lib-storage/index/imapc/imapc-mail.c
    M src/lib-storage/index/imapc/imapc-settings.c
    M src/lib-storage/index/imapc/imapc-settings.h
    M src/lib-storage/index/imapc/imapc-storage.c

  Log Message:
  -----------
  imapc: Add imapc_features=fetch-bodystructure

This allows using the remote IMAP server's BODY and BODYSTRUCTURE replies.


Compare: https://github.com/dovecot/core/compare/1d567a41010f...4cce56915baa


More information about the dovecot-cvs mailing list