[dovecot/core] f09d03: lib-index: Assert if mail_index_transaction_sort_a...

GitHub noreply at github.com
Fri Nov 18 12:00:10 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: f09d0344609e8c410a18685fa20ee3998646c2d9
      https://github.com/dovecot/core/commit/f09d0344609e8c410a18685fa20ee3998646c2d9
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

  Changed paths:
    M src/lib-index/mail-index-transaction-sort-appends.c

  Log Message:
  -----------
  lib-index: Assert if mail_index_transaction_sort_appends() sees any uid==0

Every mail must have an UID at this stage.


  Commit: a42d489d99bcf7d18cfd0352fdf0c9348cb224fc
      https://github.com/dovecot/core/commit/a42d489d99bcf7d18cfd0352fdf0c9348cb224fc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

  Changed paths:
    M src/lib-index/mail-index-transaction-finish.c
    M src/lib-index/mail-index-transaction-private.h
    M src/lib-index/test-mail-index-transaction-finish.c

  Log Message:
  -----------
  lib-index: Added internal mail_index_transaction_finish_so_far()

This can be called multiple times before mail_index_transaction_finish().
It's going to perform all the work of reordering mails and dropping
unnecessary changes that can be done before changing sequences to UIDs.

This will be needed for the following patch that implements
mail_index_transaction_get_highest_modseq().


  Commit: 9e6d83a3ef6abb393eeebca423cfd0d8cb08d430
      https://github.com/dovecot/core/commit/9e6d83a3ef6abb393eeebca423cfd0d8cb08d430
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

  Changed paths:
    M src/lib-index/mail-index-transaction-export.c
    M src/lib-index/mail-index-transaction-finish.c
    M src/lib-index/mail-index-transaction-private.h
    M src/lib-index/mail-index-transaction.c
    M src/lib-index/mail-index.h
    M src/lib-index/mail-transaction-log-file.c

  Log Message:
  -----------
  lib-index: Added mail_index_transaction_get_highest_modseq()


  Commit: 045d5940e885be4d5d3ce96f2fde31ae799fa556
      https://github.com/dovecot/core/commit/045d5940e885be4d5d3ce96f2fde31ae799fa556
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

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

  Log Message:
  -----------
  lib-storage: Add asserts to make sure mailbox_header_lookup_ctx is used correctly.


  Commit: aafbaa45a60ec50815e0c985690a828617013a8f
      https://github.com/dovecot/core/commit/aafbaa45a60ec50815e0c985690a828617013a8f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

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

  Log Message:
  -----------
  lib-storage: Add mail_namespace_alloc()

This makes it easier to create new namespaces.
Based on patch by Jeff Sipek


  Commit: 2c067d5cd0088123e59ff45bee9b059fa9c1ffb1
      https://github.com/dovecot/core/commit/2c067d5cd0088123e59ff45bee9b059fa9c1ffb1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

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

  Log Message:
  -----------
  lib-storage: Use mail_namespace_alloc() for mail_namespaces_init_location()

Based on patch by Jeff Sipek


  Commit: 5b82f3b2f544cf891a390083f1bcf60409be20b8
      https://github.com/dovecot/core/commit/5b82f3b2f544cf891a390083f1bcf60409be20b8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

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

  Log Message:
  -----------
  lib-storage: Add struct mail_namespace.user_set


  Commit: 46e917c9fa05cbe7bddf805d3a9838b61e3960e1
      https://github.com/dovecot/core/commit/46e917c9fa05cbe7bddf805d3a9838b61e3960e1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

  Changed paths:
    M src/lib-storage/index/dbox-multi/mdbox-storage.c
    M src/lib-storage/index/imapc/imapc-storage.c
    M src/lib-storage/index/maildir/maildir-storage.c
    M src/lib-storage/index/mbox/mbox-storage.c
    M src/lib-storage/index/pop3c/pop3c-storage.c
    M src/lib-storage/mail-storage-settings.c
    M src/lib-storage/mail-storage-settings.h

  Log Message:
  -----------
  lib-storage: Add mail_namespace_get_driver_settings() and use it.

It obsoletes mail_storage_get_driver_settings().


  Commit: 431fb3b0f8c6817da6235825250c91159bb182a3
      https://github.com/dovecot/core/commit/431fb3b0f8c6817da6235825250c91159bb182a3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

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

  Log Message:
  -----------
  imapc: Use struct mail_namespace.user_set


  Commit: 16402358d7ad740e68ee9dd5a72ec02fb6593a71
      https://github.com/dovecot/core/commit/16402358d7ad740e68ee9dd5a72ec02fb6593a71
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

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

  Log Message:
  -----------
  lib-settings: Avoid duplicating settings' values when not needed


  Commit: e5ce686a6f888ee039d5abe6e39c7efb92efc345
      https://github.com/dovecot/core/commit/e5ce686a6f888ee039d5abe6e39c7efb92efc345
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

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

  Log Message:
  -----------
  lib-settings: Add settings_parse_keyvalue()


  Commit: 096e109f9f332bc758ca5e22ec64337379c5f231
      https://github.com/dovecot/core/commit/096e109f9f332bc758ca5e22ec64337379c5f231
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

  Changed paths:
    M src/config/config-parser.c
    M src/doveadm/doveadm-dsync.c
    M src/lib-storage/mail-storage-service.c

  Log Message:
  -----------
  global: Replace some settings_parse_line() calls with settings_parse_keyvalue()


  Commit: 30b849c26358317b4e25b19ced4b7deb55f59c0a
      https://github.com/dovecot/core/commit/30b849c26358317b4e25b19ced4b7deb55f59c0a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

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

  Log Message:
  -----------
  lib-storage: Add mail_storage_service_user_get_pool()


  Commit: b9da8540e665138b3cad0b637c08c0ab7d7a7eeb
      https://github.com/dovecot/core/commit/b9da8540e665138b3cad0b637c08c0ab7d7a7eeb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

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

  Log Message:
  -----------
  lib-index: Fix detecting whether caller synced everything in mailbox.

When mailbox_index_sync_begin() was followed by _commit(), without _next()s
in the middle actually syncing the mailbox, the tail_offset was updated to
indicate that the mailbox was fully synced. Existing code didn't rely on
this, so it probably didn't break anything.

This code hasn't worked for a long time, because log_view is always read
fully to the end in _sync_begin().


  Commit: 990d55ce3fc461eeacce3ef830b1c5dde5c3f150
      https://github.com/dovecot/core/commit/990d55ce3fc461eeacce3ef830b1c5dde5c3f150
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

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

  Log Message:
  -----------
  lib-storage: fix index_mail_get_headers return value

And make it more obvious that we're not setting the actual return value in
index_mail_get_first_header.


  Commit: a5b64f1abb1cb0a9718d5bf7f0ae808072237259
      https://github.com/dovecot/core/commit/a5b64f1abb1cb0a9718d5bf7f0ae808072237259
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

  Changed paths:
    M src/lib/connection.c
    M src/lib/connection.h

  Log Message:
  -----------
  lib: Add connection.allow_empty_args_input

This simplifies input_args() callbacks since they don't always have to check
for args[0] == NULL. This is enabled by default, because none of the current
users want it and it's somewhat unlikely there even will be those in future.


Compare: https://github.com/dovecot/core/compare/0793a1dbdfc3...a5b64f1abb1c


More information about the dovecot-cvs mailing list