[dovecot/core] d6e496: lib: Add bits_is_power_of_two()

GitHub noreply at github.com
Thu Apr 27 10:30:09 EEST 2017


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

  Changed paths:
    M src/lib/bits.h
    M src/lib/test-bits.c

  Log Message:
  -----------
  lib: Add bits_is_power_of_two()


  Commit: 64341148d76eb5edb1ae45d4fa6669a441b1e9e6
      https://github.com/dovecot/core/commit/64341148d76eb5edb1ae45d4fa6669a441b1e9e6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

  Changed paths:
    M src/lib-storage/mail-search-args-imap.c

  Log Message:
  -----------
  lib-storage: mail_search_arg_to_imap() - minor FLAGS writing optimization

Avoid an extra str_delete() by immediately calculating whether the
parenthesis are needed.


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

  Changed paths:
    M src/lib-storage/mail-search-args-imap.c

  Log Message:
  -----------
  lib-storage: mail_search_arg_to_imap() - minor keywords writing optimization

Avoid an extra str_delete() by checking whether the parenthesis are needed.


  Commit: 55d35a8b8036093b94fb1bb0f0339fc43fad52e1
      https://github.com/dovecot/core/commit/55d35a8b8036093b94fb1bb0f0339fc43fad52e1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

  Changed paths:
    M src/imap/Makefile.am
    A src/imap/imap-sync-private.h
    M src/imap/imap-sync.c

  Log Message:
  -----------
  imap: Move struct imap_sync_context to imap-sync-private.h


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

  Changed paths:
    M src/imap/imap-client.c
    M src/imap/imap-client.h
    M src/imap/imap-sync-private.h
    M src/imap/imap-sync.c

  Log Message:
  -----------
  imap: Allow plugins to hook into syncing.

Ideally all of the existing pieces in the syncing code would start using
this at some point, so their code could be moved to a more logical location.


  Commit: 41f1944a259381601cc99f48a4860d8f04700bde
      https://github.com/dovecot/core/commit/41f1944a259381601cc99f48a4860d8f04700bde
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

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

  Log Message:
  -----------
  imapc: Don't send NOOP on sync if MAILBOX_SYNC_FLAG_FAST is set

Fast syncing should do only the minimal amount of work.


  Commit: 49f65b7c797515d787bcbc9cbeb78f0c21b1b282
      https://github.com/dovecot/core/commit/49f65b7c797515d787bcbc9cbeb78f0c21b1b282
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

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

  Log Message:
  -----------
  lib-storage: Fix crash in mail_get_parts() with a special plugin

If plugin hooks into mail_get_stream() which causes data->parts to be set,
this code crashed with:

Panic: file index-mail.c: line 1163 (index_mail_parse_body): assertion failed: (data->parser_ctx != NULL)


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

  Changed paths:
    M src/plugins/quota/quota-imapc.c

  Log Message:
  -----------
  quota: imapc backend now never enforces the quota itself

It just causes a lot of GETQUOTA/GETQUOTAROOT calls to remove. In theory we
could make this optional, but I doubt anyone would want it.


Compare: https://github.com/dovecot/core/compare/a319c3201bff...3abc26e06e05


More information about the dovecot-cvs mailing list