[dovecot/core] c7021f: lib-fts: Move stopwords to subdirectory.

GitHub noreply at github.com
Tue Jun 14 10:00:19 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: c7021f4200bce3cca050a35b8d0aa51f46456dc5
      https://github.com/dovecot/core/commit/c7021f4200bce3cca050a35b8d0aa51f46456dc5
  Author: Teemu Huovila <teemu.huovila at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-fts/Makefile.am
    A src/lib-fts/stopwords/stopwords_en.txt
    A src/lib-fts/stopwords/stopwords_fi.txt
    A src/lib-fts/stopwords/stopwords_fr.txt
    A src/lib-fts/stopwords/stopwords_no.txt
    A src/lib-fts/stopwords/stopwords_sv.txt
    R src/lib-fts/stopwords_en.txt
    R src/lib-fts/stopwords_fi.txt
    R src/lib-fts/stopwords_fr.txt
    R src/lib-fts/stopwords_no.txt
    R src/lib-fts/stopwords_sv.txt

  Log Message:
  -----------
  lib-fts: Move stopwords to subdirectory.

All files incluided in dist are explicitly mentioned. The whole
subdirectory 'stopwords' could also be distributed, but that is
more error prone.


  Commit: 77c9af3438e7cc07379063a475e9e16c38a556f3
      https://github.com/dovecot/core/commit/77c9af3438e7cc07379063a475e9e16c38a556f3
  Author: Teemu Huovila <teemu.huovila at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-fts/Makefile.am
    A src/lib-fts/stopwords/stopwords_da.txt
    A src/lib-fts/stopwords/stopwords_de.txt
    A src/lib-fts/stopwords/stopwords_es.txt
    A src/lib-fts/stopwords/stopwords_it.txt
    A src/lib-fts/stopwords/stopwords_nl.txt
    A src/lib-fts/stopwords/stopwords_pt.txt
    A src/lib-fts/stopwords/stopwords_ro.txt
    A src/lib-fts/stopwords/stopwords_ru.txt

  Log Message:
  -----------
  lib-fts: Add stopword files for more languages.


  Commit: f6e14400c10dfc148775623c1547c4e6246d397e
      https://github.com/dovecot/core/commit/f6e14400c10dfc148775623c1547c4e6246d397e
  Author: Teemu Huovila <teemu.huovila at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-fts/Makefile.am
    M src/lib-fts/fts-filter-stopwords.c
    M src/lib-fts/stopwords/stopwords_fi.txt
    A src/lib-fts/stopwords/stopwords_malformed.txt
    M src/lib-fts/test-fts-filter.c

  Log Message:
  -----------
  lib-fts: Improved stopword file reading.

The reading tries to be a little bit stricter now. Only stopwords at the
start of a new line are accepted now. Changed fi stopwords accordingly.
Also removed superfluous stack allocation in parsing.


  Commit: b89dd50a257a179b2f8479ba0618d322127db971
      https://github.com/dovecot/core/commit/b89dd50a257a179b2f8479ba0618d322127db971
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/auth/Makefile.am
    A src/auth/password-scheme-pbkdf2.c
    M src/auth/password-scheme.c
    M src/auth/password-scheme.h

  Log Message:
  -----------
  auth: Add PBKDF2 password scheme


  Commit: 71e834420671e053f994a46673392cf88a7f5772
      https://github.com/dovecot/core/commit/71e834420671e053f994a46673392cf88a7f5772
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib/Makefile.am
    A src/lib/pkcs5.c
    A src/lib/pkcs5.h
    M src/lib/test-lib.c
    M src/lib/test-lib.h
    A src/lib/test-pkcs5.c

  Log Message:
  -----------
  lib: Add PKCS#5 pbkdf1 and 2


  Commit: a5658a1143c4cf603aed81d6649448256a57a3eb
      https://github.com/dovecot/core/commit/a5658a1143c4cf603aed81d6649448256a57a3eb
  Author: Teemu Huovila <teemu.huovila at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-dict-extra/dict-ldap.c

  Log Message:
  -----------
  lib-dict-extra: Avoid out of scope data stack usage.


  Commit: 0fbf2c9348b4875d331595100ed40a121e40c23d
      https://github.com/dovecot/core/commit/0fbf2c9348b4875d331595100ed40a121e40c23d
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/doveadm/client-connection-http.c

  Log Message:
  -----------
  doveadm-server: Handle istream send error.


  Commit: 5c33861d5d0e6d00e03446bca6501c7ace1f5ae7
      https://github.com/dovecot/core/commit/5c33861d5d0e6d00e03446bca6501c7ace1f5ae7
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  .gitignore: Added *~


  Commit: 273ed7a132cff5ae191a195d297c626f30e556b4
      https://github.com/dovecot/core/commit/273ed7a132cff5ae191a195d297c626f30e556b4
  Author: Stephan Bosch <stephan at rename-it.nl>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-http/http-server-connection.c

  Log Message:
  -----------
  lib-http: server: Fixed assert failure occurring when closing the connection while a request payload was still being read.


  Commit: 2812b0ea5d60e092ed3228589cba74de22fa74bf
      https://github.com/dovecot/core/commit/2812b0ea5d60e092ed3228589cba74de22fa74bf
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/doveadm/doveadm-print-formatted.c

  Log Message:
  -----------
  doveadm: error to print formatted without format

This changes the segfault of `doveadm -f formatted ...` to an error.


  Commit: 7ec76ff542059eb25bb1cc6f8aafa3b9e093b908
      https://github.com/dovecot/core/commit/7ec76ff542059eb25bb1cc6f8aafa3b9e093b908
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/doveadm/Makefile.am
    M src/doveadm/doveadm-mail-fetch.c

  Log Message:
  -----------
  doveadm fetch: Added body.<section> and binary.<section> fields

These correspond to IMAP BODY[<section>].


  Commit: 334702e6d61d2c767d56b539a7275a8e4bf3c20b
      https://github.com/dovecot/core/commit/334702e6d61d2c767d56b539a7275a8e4bf3c20b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  doveadm fetch: Fixed logging errors for istream failures


  Commit: 48713ea8a05c8be974e627ce82bc52d72e723db9
      https://github.com/dovecot/core/commit/48713ea8a05c8be974e627ce82bc52d72e723db9
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-imap-storage/imap-msgpart.c

  Log Message:
  -----------
  lib-imap-storage: Allow HEADER.FIELDS(..) without space before '('

This is to allow doveadm fetch to use it. Attempting to do this without a
space in IMAP already fails elsewhere:

x fetch 1 body.peek[header.fields(from to)]
x BAD Error in IMAP command FETCH: Invalid characters in atom


  Commit: 3def3a7f6fdf56d0fb27149a769e73dd172dadb2
      https://github.com/dovecot/core/commit/3def3a7f6fdf56d0fb27149a769e73dd172dadb2
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  doveadm fetch: Translate commas to spaces in body|binary.<section> with

This way we can do e.g.:

doveadm fetch 'uid body.header.fields(from,to,subject)' ...

Although in theory we could also change the parser to allow spaces as long
as they're inside (..), but this is probably too much extra effort.


  Commit: 804a5518b27282d847dc04e228024a36fe9fac9d
      https://github.com/dovecot/core/commit/804a5518b27282d847dc04e228024a36fe9fac9d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  dsync: Fixed potential crash

This seems to be possible with dsync_mailbox_find_common_expunged_uid() ->
dsync_mailbox_common_uid_found() -> dsync_mailbox_rewind_search() -> following
search doesn't find anything.


  Commit: b1254dfe442639236f881afae85e0739520ab409
      https://github.com/dovecot/core/commit/b1254dfe442639236f881afae85e0739520ab409
  Author: Stephan Bosch <stephan at rename-it.nl>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M dovecot-config.in.in
    M dovecot.m4

  Log Message:
  -----------
  Added LIBDOVECOT_SQL_INCLUDE to dovecot-config and dovecot.m4.


  Commit: 44069b06572637549f51a19e24c5c2d3404010d8
      https://github.com/dovecot/core/commit/44069b06572637549f51a19e24c5c2d3404010d8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/auth/mech-winbind.c
    M src/auth/userdb-passwd-file.c
    M src/director/director-connection.c
    M src/doveadm/doveadm-director.c
    M src/doveadm/doveadm-penalty.c
    M src/doveadm/doveadm-replicator.c
    M src/doveadm/doveadm-stats.c
    M src/doveadm/doveadm-who.c
    M src/doveadm/doveadm-zlib.c
    M src/lib-auth/auth-master.c
    M src/lib-auth/auth-server-connection.c
    M src/lib-http/http-server-response.c
    M src/lib-index/mail-index-strmap.c
    M src/lib-lda/duplicate.c
    M src/lib-lda/lmtp-client.c
    M src/lib-lda/smtp-client.c
    M src/lib-master/anvil-client.c
    M src/lib-master/master-instance.c
    M src/lib-master/master-service-settings.c
    M src/lib-storage/index/cydir/cydir-save.c
    M src/lib-storage/index/dbox-multi/mdbox-purge.c
    M src/lib-storage/index/dbox-single/sdbox-file.c
    M src/lib-storage/index/imapc/imapc-save.c
    M src/lib-storage/index/index-attachment.c
    M src/lib-storage/index/maildir/maildir-save.c
    M src/lib-storage/index/maildir/maildir-uidlist.c
    M src/lib/json-parser.c
    M src/plugins/acl/acl-backend-vfile-acllist.c
    M src/plugins/acl/acl-backend-vfile-update.c
    M src/plugins/acl/acl-backend-vfile.c
    M src/plugins/fts-squat/squat-trie.c
    M src/plugins/fts-squat/squat-uidlist.c
    M src/plugins/fts/fts-expunge-log.c

  Log Message:
  -----------
  global: Use [io]_stream_get_error() insted of %m


  Commit: 9aaf79f7c7b38b1104e5e04f5f9c58194c3ff477
      https://github.com/dovecot/core/commit/9aaf79f7c7b38b1104e5e04f5f9c58194c3ff477
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lmtp/commands.c

  Log Message:
  -----------
  lmtp: Fixed error logging when writing to temp file


  Commit: 3a349ae342efc02c454d2c9a8c508a4b3d253094
      https://github.com/dovecot/core/commit/3a349ae342efc02c454d2c9a8c508a4b3d253094
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib/ostream-escaped.c
    M src/lib/test-ostream-escaped.c

  Log Message:
  -----------
  lib: ostream-escaped: Fixed setting offset


  Commit: 7283d40b1d26c5a951a61a4cb2f14159b081d4eb
      https://github.com/dovecot/core/commit/7283d40b1d26c5a951a61a4cb2f14159b081d4eb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-imap-storage/imap-msgpart.c

  Log Message:
  -----------
  lib-imap-storage: Minor error logging cleanup/fix.

We read from input, not from mail_input. In theory it could have the actual
error instead of mail_input (although right now it couldn't).


  Commit: 169c8862c63aaffad634961241ea3d0df7825f39
      https://github.com/dovecot/core/commit/169c8862c63aaffad634961241ea3d0df7825f39
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-imap-storage/imap-msgpart.c

  Log Message:
  -----------
  lib-imap-storage: Don't sort uninitialized array on invalid header list.


  Commit: 789f321c28d9113b3b8e9766792b397a99d59fb5
      https://github.com/dovecot/core/commit/789f321c28d9113b3b8e9766792b397a99d59fb5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/auth/db-ldap.c

  Log Message:
  -----------
  auth: Support %variable expansion for LDAP field names.

For example this is now allowed:

user_attrs = \
  =namespace/%{ldap:enabledNamespace}/enabled=yes \
  ...


  Commit: 406b8be33b563f081ffc229534d7bf49e0fc5174
      https://github.com/dovecot/core/commit/406b8be33b563f081ffc229534d7bf49e0fc5174
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-dict/dict-sql.c

  Log Message:
  -----------
  dict-sql: Improve error message for invalid value fields.

It'll now show which map's pattern matched, making it easier to find
from the config file.


  Commit: 5c44d09562ca322d9d25489ce65ac561b74bdca1
      https://github.com/dovecot/core/commit/5c44d09562ca322d9d25489ce65ac561b74bdca1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/master/master-settings.c

  Log Message:
  -----------
  master: Give a nicer error if unix/fifo_listener path is empty.

The previous error was simply:

unlink(/var/run/dovecot/) failed: Is a directory


  Commit: 8e0728383e141467168449e5517dd606d0b01eb9
      https://github.com/dovecot/core/commit/8e0728383e141467168449e5517dd606d0b01eb9
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-storage/mail-storage-private.h
    M src/plugins/fts/fts-api.c
    M src/plugins/fts/fts-search.c
    M src/plugins/fts/fts-storage.c
    M src/plugins/virtual/virtual-storage.c
    M src/plugins/virtual/virtual-storage.h

  Log Message:
  -----------
  virtual: Moved virtual_mailbox_vfuncs to lib-storage.

This allows implementing other virtual storage backends.


  Commit: fd3cdfde33d7bd01909de1754e0acfd6aa36c73c
      https://github.com/dovecot/core/commit/fd3cdfde33d7bd01909de1754e0acfd6aa36c73c
  Author: Baofeng Wang <baofeng.wang at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-storage/mail-search.h
    M src/plugins/fts-lucene/lucene-wrapper.cc
    M src/plugins/fts-solr/fts-backend-solr-old.c
    M src/plugins/fts-solr/fts-backend-solr.c
    M src/plugins/fts/fts-api.c
    M src/plugins/fts/fts-storage.c

  Log Message:
  -----------
  lib-storage: add no_fts in struct mail_search_arg

When flag is set, FTS will not be performed.

fts plugin: handle no_fts flag

No fts will be performed once flag is set.
Original patch from Timo Sirainen <timo.sirainen at dovecot.fi>


  Commit: 47cbd0ff754e5cf82800402acc34db1ef6abad48
      https://github.com/dovecot/core/commit/47cbd0ff754e5cf82800402acc34db1ef6abad48
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  lib-index: Minor code cleanup - use better variable names


  Commit: f2c6d9c53d9408aa3fa3b07c215264ed4b11e33b
      https://github.com/dovecot/core/commit/f2c6d9c53d9408aa3fa3b07c215264ed4b11e33b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  lib-index: Fixed changing extension record sizes.

map needs to be cloned before any extension record size changes are done.
Otherwise the map cloning will crash or do something broken.


  Commit: e6696669bff159e93dc040f1c8574e938348353c
      https://github.com/dovecot/core/commit/e6696669bff159e93dc040f1c8574e938348353c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-index/mail-index-transaction-update.c
    M src/lib-index/mail-index-util.c
    M src/lib-index/mail-index-util.h

  Log Message:
  -----------
  lib-index: Allow growing ext record_size after mail_index_update_ext()

The existing records will just get some zero-padding at the end of records.


  Commit: ec2ee6f35cb0734fc0aca3a906fb491d2b3b1ed3
      https://github.com/dovecot/core/commit/ec2ee6f35cb0734fc0aca3a906fb491d2b3b1ed3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  maildir: Avoid extra memory usage on duplicate uidlist entries

Also fixes assert-crashing in hash_table_insert() when it happens.


  Commit: e2ec3d69d910698f349dbb7c31de3eed2382aab5
      https://github.com/dovecot/core/commit/e2ec3d69d910698f349dbb7c31de3eed2382aab5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  maildir: Detect duplicate keywords in dovecot-keywords file

Use the first such keyword's index, not the last.

Also fixes assert-crashing in hash_table_insert() when it happens.


  Commit: 4313f95c69c7b59452d32818ea2bd12c126cb352
      https://github.com/dovecot/core/commit/4313f95c69c7b59452d32818ea2bd12c126cb352
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-storage/mailbox-guid-cache.c

  Log Message:
  -----------
  lib-storage: Detect duplicate mailbox GUIDs in guid-cache.

Also fixes assert-crashing in hash_table_insert() when it happens.


  Commit: 8faaab53528cb7618846fe9e65b0db02efcd56c2
      https://github.com/dovecot/core/commit/8faaab53528cb7618846fe9e65b0db02efcd56c2
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  lib-index: Fixed fsck handling extension with invalid header size

Fixes:

Panic: file mail-index-sync-ext.c: line 393 (mail_index_sync_ext_init_new): assertion failed: (hdr_buf->used == map->hdr.header_size)


  Commit: 8c8d70670208914dee3d0adff4b735e0e7da16c4
      https://github.com/dovecot/core/commit/8c8d70670208914dee3d0adff4b735e0e7da16c4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-index/mail-index-map-read.c
    M src/lib-index/mail-index-modseq.c
    M src/lib-index/mail-index-sync-ext.c
    M src/lib-index/mail-index-sync-keywords.c
    M src/lib-index/mail-index-sync-update.c

  Log Message:
  -----------
  lib-index: Added header-size asserts


  Commit: a62105e9e4036858d717d080bca884a0e8ed90c5
      https://github.com/dovecot/core/commit/a62105e9e4036858d717d080bca884a0e8ed90c5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  lib-index: Fixed extension resizing

Broken by 8483af4ff.


  Commit: dab6a443b64ebb41493ea13a833c1d81cc2cbad6
      https://github.com/dovecot/core/commit/dab6a443b64ebb41493ea13a833c1d81cc2cbad6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  lib-index: Fix duplicate fields in mail_cache_register_fields()

Broken by hash_table_insert() API change. The earlier code was also a bit
wrong by allocating a bit too much memory when there were duplicate fields
being registered.


  Commit: 3a398ecbc1ce74dcb42667424b476ce4b6012831
      https://github.com/dovecot/core/commit/3a398ecbc1ce74dcb42667424b476ce4b6012831
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/plugins/lazy-expunge/lazy-expunge-plugin.c

  Log Message:
  -----------
  lazy-expunge: Fixed crash on error handling


  Commit: 9f8c464a886ca45e20dec67c3ef3eefd663da682
      https://github.com/dovecot/core/commit/9f8c464a886ca45e20dec67c3ef3eefd663da682
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-dcrypt/dcrypt-openssl.c

  Log Message:
  -----------
  lib-dcrypt: Fixed function return type.


  Commit: 25349a4d8de0f7345e9f76fe7be7d79eda5fd73d
      https://github.com/dovecot/core/commit/25349a4d8de0f7345e9f76fe7be7d79eda5fd73d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/director/director-connection.c

  Log Message:
  -----------
  director: Fixed ignoring an obsolete up/down change while host is desynced.


  Commit: 9cc085fa1795e57223971486cd79bd13071c0a06
      https://github.com/dovecot/core/commit/9cc085fa1795e57223971486cd79bd13071c0a06
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/auth/db-dict.c

  Log Message:
  -----------
  auth: Fixed error handling in passdb/userdb dict config parsing


  Commit: 6c65c2f0d4c7e7fa1db6d8496fa82cd6cff6be03
      https://github.com/dovecot/core/commit/6c65c2f0d4c7e7fa1db6d8496fa82cd6cff6be03
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-storage/index/dbox-multi/mdbox-map.c

  Log Message:
  -----------
  mdbox: Fix want_altpath flags/boolean mixup

There was only a single flag, so this wasn't actually currently broken.


  Commit: c1e4cd378d8f6bbe8dbbd78d81dbe6c97a059aea
      https://github.com/dovecot/core/commit/c1e4cd378d8f6bbe8dbbd78d81dbe6c97a059aea
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  mbox: Fixed expunging first mail with CRLF linefeeds.


  Commit: 39918071d9b8bb639a0e17ddfbde66a0611dbbe8
      https://github.com/dovecot/core/commit/39918071d9b8bb639a0e17ddfbde66a0611dbbe8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  lib-storage: Search args equalness checks didn't compare keywords correctly.

This may have broken the search in some situations.


  Commit: e6447acb90fe93a3dfbb35ad44e1a957126ed544
      https://github.com/dovecot/core/commit/e6447acb90fe93a3dfbb35ad44e1a957126ed544
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/plugins/mailbox-alias/mailbox-alias-plugin.c

  Log Message:
  -----------
  mailbox-alias plugin: Fixed error handling


  Commit: 8035f936c3805046b4ca4069e967189ca926e84a
      https://github.com/dovecot/core/commit/8035f936c3805046b4ca4069e967189ca926e84a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/plugins/fts-lucene/fts-backend-lucene.c

  Log Message:
  -----------
  fts-lucene: Fixed error handling when checking if settings had changed.


  Commit: ddc96f79d209173926141eed955da55c8dfa298a
      https://github.com/dovecot/core/commit/ddc96f79d209173926141eed955da55c8dfa298a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-storage/list/mailbox-list-iter.c

  Log Message:
  -----------
  lib-storage: Fixed error handling in list=children checking


  Commit: df0fe3927a8fb052f138a3d053c6d3865f23d677
      https://github.com/dovecot/core/commit/df0fe3927a8fb052f138a3d053c6d3865f23d677
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-dcrypt/dcrypt-openssl.c

  Log Message:
  -----------
  lib-dcrypt: Fixed error handling in dcrypt_key_id_public()


  Commit: 3920a5f312900c0681e7c3f01ce88b62143b566d
      https://github.com/dovecot/core/commit/3920a5f312900c0681e7c3f01ce88b62143b566d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/director/director-connection.c

  Log Message:
  -----------
  director: Fixed error handling when directors support incompatible tags

Connection should have been disconnected immediately, not after the next
command that would have produced "Incompatible protocol".


  Commit: ff9e37db1f1ad741dee04e0b6c14106d5fb017b5
      https://github.com/dovecot/core/commit/ff9e37db1f1ad741dee04e0b6c14106d5fb017b5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-mail/message-date.c

  Log Message:
  -----------
  lib-mail: Added comment about invalid timezones in message_date_parse()


  Commit: be08677cd3bb1e05804c5ec29691c902e1fd4386
      https://github.com/dovecot/core/commit/be08677cd3bb1e05804c5ec29691c902e1fd4386
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  lib-index: Extension record size resizing was still broken.

Fixes assert-crash:
Panic: file mail-index-util.c: line 143 (mail_index_seq_array_add): assertion failed: (array->arr.element_size == sizeof(seq) + aligned_record_size)


  Commit: 507292b595849b0516ba9602d3b2880e61de8332
      https://github.com/dovecot/core/commit/507292b595849b0516ba9602d3b2880e61de8332
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/dict/dict-connection.c

  Log Message:
  -----------
  dict: Fixed hang when pipelining multiple commands.


  Commit: 3eb750330f8bad57d00a75debf910432f3957f9c
      https://github.com/dovecot/core/commit/3eb750330f8bad57d00a75debf910432f3957f9c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  fs-randomfail: Support failures after asynchronous commands have already finished.


  Commit: 6ab59f3201efb2120b66006fe00ff8d3d25e7607
      https://github.com/dovecot/core/commit/6ab59f3201efb2120b66006fe00ff8d3d25e7607
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/plugins/quota/quota-count.c
    M src/plugins/quota/quota-dirsize.c
    M src/plugins/quota/quota-fs.c
    M src/plugins/quota/quota-private.h
    M src/plugins/quota/quota-storage.c
    M src/plugins/quota/quota.c

  Log Message:
  -----------
  quota: Skip reading mail sizes when quota backend doesn't need it.

If quota backend is updating the quota internally, it's just going to ignore
the looked up size. The only reason for looking up the sizes is to check
with quota_try_alloc() whether user is going over quota.


  Commit: 4441f95b3ea595fae9a10196c985d21ffe7dc8ec
      https://github.com/dovecot/core/commit/4441f95b3ea595fae9a10196c985d21ffe7dc8ec
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/plugins/quota/doveadm-quota.c
    M src/plugins/quota/quota-count.c
    M src/plugins/quota/quota-dict.c
    M src/plugins/quota/quota-maildir.c
    M src/plugins/quota/quota-private.h
    M src/plugins/quota/quota-storage.c
    M src/plugins/quota/quota.c
    M src/plugins/quota/quota.h

  Log Message:
  -----------
  quota: Differentiate between forced and non-forced quota recalc

The "count" backend doesn't need to recalc quota unless an explicit "doveadm
quota recalc" command is called.


  Commit: 318974e640643fed09abfbe450df727508078db4
      https://github.com/dovecot/core/commit/318974e640643fed09abfbe450df727508078db4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  mbox: Code cleanup - use bool instead of int for tracking locked-status


  Commit: 4a5eb0c4c0c0a1a1491a27e0cb5d88f96c1cb0e8
      https://github.com/dovecot/core/commit/4a5eb0c4c0c0a1a1491a27e0cb5d88f96c1cb0e8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-lda/duplicate.c

  Log Message:
  -----------
  lib-lda: Don't assert-crash if home directory isn't set.


  Commit: 9a7dc9132bcd335d64d7a78c18416d91fe4293cb
      https://github.com/dovecot/core/commit/9a7dc9132bcd335d64d7a78c18416d91fe4293cb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-dcrypt/Makefile.am

  Log Message:
  -----------
  lib-dcrypt: Fixed library dependencies

_DEPENDENCIES needs an explicit paths, not "-lssl" and such. Fixes building
with e.g. OSX.


  Commit: 8fdb634ad750b58b2b4a719124cc96c5321e625e
      https://github.com/dovecot/core/commit/8fdb634ad750b58b2b4a719124cc96c5321e625e
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/doveadm/client-connection-http.c

  Log Message:
  -----------
  doveadm-server: Disable idle timeout for now


  Commit: 5aa66452ffd9797e9da31b2741ad68d4a9dfab15
      https://github.com/dovecot/core/commit/5aa66452ffd9797e9da31b2741ad68d4a9dfab15
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-sql/driver-cassandra.c

  Log Message:
  -----------
  cassandra: Try fallback_consistency also for write timeout failures.


  Commit: 62fc7d0cce0ab7f869ba79637dd7b6e04df71824
      https://github.com/dovecot/core/commit/62fc7d0cce0ab7f869ba79637dd7b6e04df71824
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  lib-storage: mail_set_cache_corrupted*() now sets internal error to storage.

At least index_mail_set_message_parts_corrupted() assumed that this was
being done.


  Commit: 2a8dbe2b5e5c8340349f50bd008d84b8a3bd6f37
      https://github.com/dovecot/core/commit/2a8dbe2b5e5c8340349f50bd008d84b8a3bd6f37
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-mail/message-header-parser.c

  Log Message:
  -----------
  lib-mail: message-header-parser now keeps istream referenced.


  Commit: 90c8dbd884db01107f87ee9a0d23fc39e7fc195f
      https://github.com/dovecot/core/commit/90c8dbd884db01107f87ee9a0d23fc39e7fc195f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-mail/message-parser.c

  Log Message:
  -----------
  lib-mail: Fixed message_parser_init_from_parts() with truncated MIME headers


  Commit: 1f2c248dc374563a50beaab5024383541377612d
      https://github.com/dovecot/core/commit/1f2c248dc374563a50beaab5024383541377612d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-mail/test-message-parser.c

  Log Message:
  -----------
  lib-mail: Improved message-parser unit tests.


  Commit: fb252d6ca28781af2a6396860ef4c1d89ea25ee7
      https://github.com/dovecot/core/commit/fb252d6ca28781af2a6396860ef4c1d89ea25ee7
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-dcrypt/Makefile.am
    M src/lib-dcrypt/dcrypt-openssl.c
    M src/lib-dcrypt/dcrypt-private.h
    M src/lib-dcrypt/dcrypt.c
    M src/lib-dcrypt/dcrypt.h

  Log Message:
  -----------
  lib-dcrypt: Fix various problems


  Commit: 77893565e6c9ac40915c29bd8455670171ce4464
      https://github.com/dovecot/core/commit/77893565e6c9ac40915c29bd8455670171ce4464
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  lib-index: mail_index_ext_resize() was broken when record_size wasn't changed.


  Commit: 2f83c2f73da136c31d52eac46a3a67f1ed8fa951
      https://github.com/dovecot/core/commit/2f83c2f73da136c31d52eac46a3a67f1ed8fa951
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/master/master-settings.c

  Log Message:
  -----------
  master: make setting listen empty an error


  Commit: dda8a314ba32ce28a7a4522857eae03aec31191e
      https://github.com/dovecot/core/commit/dda8a314ba32ce28a7a4522857eae03aec31191e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M dovecot-config.in.in

  Log Message:
  -----------
  dovecot-config: Add lib-dcrypt to LIBDOVECOT_INCLUDE

Since lib-dcrypt is part of libdovecot.


  Commit: cecf8cfdc897d6a35629d8ff4efbd0d4638d7836
      https://github.com/dovecot/core/commit/cecf8cfdc897d6a35629d8ff4efbd0d4638d7836
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M configure.ac
    M src/Makefile.am
    M src/lib-dict-extra/Makefile.am
    R src/lib-dict-extra/dict-ldap-settings.c
    R src/lib-dict-extra/dict-ldap-settings.h
    R src/lib-dict-extra/dict-ldap.c
    M src/plugins/Makefile.am
    A src/plugins/dict-ldap/Makefile.am
    A src/plugins/dict-ldap/dict-ldap-settings.c
    A src/plugins/dict-ldap/dict-ldap-settings.h
    A src/plugins/dict-ldap/dict-ldap.c

  Log Message:
  -----------
  ldap: Fix cyclic dependency


  Commit: 3f7937766d460f336253b3a9c597d82d959ff35a
      https://github.com/dovecot/core/commit/3f7937766d460f336253b3a9c597d82d959ff35a
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-dcrypt/istream-decrypt.c

  Log Message:
  -----------
  lib-dcrypt: Use dcrypt_key_id_private when applicable


  Commit: dce4c1d98e4e529eb452989c4238989280dfad47
      https://github.com/dovecot/core/commit/dce4c1d98e4e529eb452989c4238989280dfad47
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-dcrypt/Makefile.am
    M src/lib-ldap/Makefile.am

  Log Message:
  -----------
  Fixed linking with OSX.


  Commit: 07a0a1869e5bbd070117a0c065b2ca70908cf6d2
      https://github.com/dovecot/core/commit/07a0a1869e5bbd070117a0c065b2ca70908cf6d2
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-dcrypt/istream-decrypt.c
    M src/lib-dcrypt/istream-decrypt.h

  Log Message:
  -----------
  lib-dcrypt: Use hex encoded public key ID in callback


  Commit: 3986d36de23a48beb85ff5ed5e3a864cb7ea9b12
      https://github.com/dovecot/core/commit/3986d36de23a48beb85ff5ed5e3a864cb7ea9b12
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-fs/fs-sis-queue.c
    M src/lib-fs/fs-sis.c

  Log Message:
  -----------
  lib-fs: Code cleanup for fs-sis: Use struct fs.parent


  Commit: 7e55f1ea2fd9610c500178bf6d5401bf88648818
      https://github.com/dovecot/core/commit/7e55f1ea2fd9610c500178bf6d5401bf88648818
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-fs/fs-api-private.h
    M src/lib-fs/fs-api.c
    M src/lib-fs/fs-api.h
    M src/lib-fs/fs-dict.c
    M src/lib-fs/fs-metawrap.c
    M src/lib-fs/fs-posix.c
    M src/lib-fs/fs-randomfail.c
    M src/lib-fs/fs-sis-queue.c
    M src/lib-fs/fs-sis.c
    M src/lib-fs/fs-test.c
    M src/plugins/fs-compress/fs-compress.c

  Log Message:
  -----------
  lib-fs: Added fs_switch_ioloop()


  Commit: 68df4591b8a902ef38975183353281f194c63377
      https://github.com/dovecot/core/commit/68df4591b8a902ef38975183353281f194c63377
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/dict/dict-connection.c

  Log Message:
  -----------
  dict: Avoid potentially using 100% CPU

Continuing 65c570f18 fix.


  Commit: 6aed775268e17fda0a437e5da004c7b047fd4b17
      https://github.com/dovecot/core/commit/6aed775268e17fda0a437e5da004c7b047fd4b17
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/dict/dict-connection.c

  Log Message:
  -----------
  dict: Increased max number of pipelined requests from 5 to 1000.

The client is supposed to be the one throttling the requests. We mainly
want to avoid accidental abuses. Using 1000 is hopefully "large enough"
without being "too large".


  Commit: acf2cc6f7f05fd609e835206ea5ae462c99c873f
      https://github.com/dovecot/core/commit/acf2cc6f7f05fd609e835206ea5ae462c99c873f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-index/mail-index-sync-ext.c
    M src/lib-index/mail-index-sync-private.h
    M src/lib-index/mail-index-sync-update.c
    M src/lib-index/mail-index-transaction-export.c

  Log Message:
  -----------
  lib-index: Fixes to handling resized records.


  Commit: b4fe750eb72ad6428d44f1186f224dad0e9c898f
      https://github.com/dovecot/core/commit/b4fe750eb72ad6428d44f1186f224dad0e9c898f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

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

  Log Message:
  -----------
  lib-index: Fixed test-mail-index-sync-ext


  Commit: 920a34e4eb5f6f8b16ae810442851b345180366c
      https://github.com/dovecot/core/commit/920a34e4eb5f6f8b16ae810442851b345180366c
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-dcrypt/dcrypt-openssl.c

  Log Message:
  -----------
  dcrypt-openssl: Pass pointer safely


  Commit: 0901d3f50a25f605ad5fb0254f8457fdf093a747
      https://github.com/dovecot/core/commit/0901d3f50a25f605ad5fb0254f8457fdf093a747
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-dcrypt/test-crypto.c

  Log Message:
  -----------
  dcrypt: Add test for public key loading


  Commit: a63f6d227f200b1c73a3ebfc0b6131cd40d17f67
      https://github.com/dovecot/core/commit/a63f6d227f200b1c73a3ebfc0b6131cd40d17f67
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/lib-dcrypt/dcrypt.c

  Log Message:
  -----------
  dcrypt: Arm deinitialization code


  Commit: cf936f221b84746644ff64d5d8c9b9208aa95452
      https://github.com/dovecot/core/commit/cf936f221b84746644ff64d5d8c9b9208aa95452
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M src/auth/mech-rpa.c
    M src/auth/passdb.c
    M src/auth/passdb.h
    M src/auth/userdb.c
    M src/auth/userdb.h
    M src/lib-storage/index/mbox/mbox-md5-all.c
    M src/lib-storage/index/mbox/mbox-md5-apop3d.c
    M src/lib-storage/index/mbox/mbox-md5.h
    M src/lib/guid.c
    M src/lib/guid.h
    M src/lib/macros.h
    M src/lib/md4.c
    M src/lib/md4.h
    M src/lib/md5.c
    M src/lib/md5.h
    M src/lib/sha1.c
    M src/lib/sha1.h
    M src/lib/sha2.c
    M src/lib/sha2.h
    M src/plugins/pop3-migration/pop3-migration-plugin.c
    M src/plugins/pop3-migration/pop3-migration-plugin.h

  Log Message:
  -----------
  [LEN] to [static LEN] on some function parameters

Also add STATIC_ARRAY macro to hide it in c++ compilation.


Compare: https://github.com/dovecot/core/compare/8b895d07ddd7...cf936f221b84


More information about the dovecot-cvs mailing list