[dovecot/core] c8aef1: lib: introduce container_of

GitHub noreply at github.com
Mon Apr 30 16:30:22 EEST 2018


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: c8aef12d23719c7224f3c0112d06e135ce87ea2a
      https://github.com/dovecot/core/commit/c8aef12d23719c7224f3c0112d06e135ce87ea2a
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-04-30 (Mon, 30 Apr 2018)

  Changed paths:
    M src/lib/macros.h

  Log Message:
  -----------
  lib: introduce container_of

This is a simple but type safe implementation.


  Commit: 5d60dcb6ab39a02df27011b487e6676c73728309
      https://github.com/dovecot/core/commit/5d60dcb6ab39a02df27011b487e6676c73728309
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-04-30 (Mon, 30 Apr 2018)

  Changed paths:
    M src/doveadm/doveadm-mail.c

  Log Message:
  -----------
  doveadm-mail: Handle field conversion to short opt better

Convert non-string types as well


  Commit: 712c8ae954954dad4aa96b61d2c6ac7047713e79
      https://github.com/dovecot/core/commit/712c8ae954954dad4aa96b61d2c6ac7047713e79
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-04-30 (Mon, 30 Apr 2018)

  Changed paths:
    M src/doveadm/Makefile.am
    A src/doveadm/doveadm-mail-mailbox-cache.c
    M src/doveadm/doveadm-mail.c
    M src/doveadm/doveadm-mail.h

  Log Message:
  -----------
  doveadm: Add mailbox cache manipulation commands

This allows changing cache decisions and dropping cache pointer
for wanted mails.


  Commit: 465852dc0748c52581f19b1f954c6a25c3bb9aed
      https://github.com/dovecot/core/commit/465852dc0748c52581f19b1f954c6a25c3bb9aed
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-04-30 (Mon, 30 Apr 2018)

  Changed paths:
    M doc/man/doveadm-mailbox.1.in

  Log Message:
  -----------
  man: Document doveadm mailbox cache commands


  Commit: b9cab28092580794cba81600d79d13a6ca95bacb
      https://github.com/dovecot/core/commit/b9cab28092580794cba81600d79d13a6ca95bacb
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-04-30 (Mon, 30 Apr 2018)

  Changed paths:
    M src/doveadm/doveadm-mail-mailbox-cache.c

  Log Message:
  -----------
  doveadm: mailbox cache decisions - Fatally fail if fields are missing


  Commit: 80e947f5641af69138fcf66f9c835516bc88808b
      https://github.com/dovecot/core/commit/80e947f5641af69138fcf66f9c835516bc88808b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-04-30 (Mon, 30 Apr 2018)

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

  Log Message:
  -----------
  lib-storage: Set $Has[No]Attachment earlier among other cached data


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

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

  Log Message:
  -----------
  lib-storage: Fail if mail_attachment_detection_options has invalid options


  Commit: 28ca4c918833322895b7c16af74c282ae1fb103c
      https://github.com/dovecot/core/commit/28ca4c918833322895b7c16af74c282ae1fb103c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-04-30 (Mon, 30 Apr 2018)

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

  Log Message:
  -----------
  lib-storage: Remove mail_attachment_detection_options=add-flags-on-fetch parsing

It wasn't actually used yet.


  Commit: 8655c7602d70bbbf110c45112b628a729c4b5e62
      https://github.com/dovecot/core/commit/8655c7602d70bbbf110c45112b628a729c4b5e62
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-04-30 (Mon, 30 Apr 2018)

  Changed paths:
    M src/lib-fs/fs-metawrap.c
    M src/lib-fs/fs-test.c
    M src/lib-fs/test-fs-metawrap.c

  Log Message:
  -----------
  lib-fs: fs-metawrap - Pass FS_METADATA_WRITE_FNAME through to parent fs

fs-metawrap in the middle pervented the renaming from working.


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

  Changed paths:
    M src/lib-fs/fs-posix.c

  Log Message:
  -----------
  lib-fs: fs-posix - FS_METADATA_WRITE_FNAME replaces the full path

This is how all the other fs drivers work, although the macro name is a bit
confusing.


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

  Changed paths:
    M src/lib-fs/fs-api.h

  Log Message:
  -----------
  lib-fs: Update FS_METADATA_WRITE_FNAME comment


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

  Changed paths:
    M src/lib-fs/fs-posix.c

  Log Message:
  -----------
  lib-fs: fs-posix - Add accurate-mtime parameter

This is mainly useful for testing to find out whether one file was created
after another.


  Commit: 09496e5faf2918359bd6dc47942f5473f58482f5
      https://github.com/dovecot/core/commit/09496e5faf2918359bd6dc47942f5473f58482f5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-04-30 (Mon, 30 Apr 2018)

  Changed paths:
    M src/lib-fs/fs-posix.c

  Log Message:
  -----------
  fs-posix: Fix iterating nonexistent symlinks when readdir() returns DT_UNKNOWN

This especially broke "doveadm fs delete -R" when the symlink destination
was deleted before the symlink.


Compare: https://github.com/dovecot/core/compare/3a31823cdb17...09496e5faf29


More information about the dovecot-cvs mailing list