[dovecot/core] 20e042: lib-dict: Renamed dict_init_full() to dict_init()

GitHub noreply at github.com
Sun May 8 22:00:09 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 20e04227229970d148801c507946666e2a9bd838
      https://github.com/dovecot/core/commit/20e04227229970d148801c507946666e2a9bd838
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-09 (Mon, 09 May 2016)

  Changed paths:
    M src/auth/db-dict.c
    M src/dict/dict-connection.c
    M src/doveadm/doveadm-dict.c
    M src/lib-dict/dict.c
    M src/lib-dict/dict.h
    M src/lib-fs/fs-dict.c
    M src/lib-storage/index/index-attribute.c
    M src/plugins/acl/acl-lookup-dict.c
    M src/plugins/expire/doveadm-expire.c
    M src/plugins/expire/expire-plugin.c
    M src/plugins/last-login/last-login-plugin.c
    M src/plugins/quota-clone/quota-clone-plugin.c
    M src/plugins/quota/quota-dict.c
    M src/plugins/quota/quota.c

  Log Message:
  -----------
  lib-dict: Renamed dict_init_full() to dict_init()


  Commit: 8f9a18189f01448267100fa54c3b4bb8639a1a56
      https://github.com/dovecot/core/commit/8f9a18189f01448267100fa54c3b4bb8639a1a56
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-09 (Mon, 09 May 2016)

  Changed paths:
    M src/lib-dict-extra/dict-ldap.c
    M src/lib-dict/dict-client.c
    M src/lib-dict/dict-memcached-ascii.c
    M src/lib-dict/dict-memcached.c
    M src/lib-dict/dict-redis.c
    M src/lib-dict/dict-sql.c
    M src/lib-dict/dict.c

  Log Message:
  -----------
  lib-dict: Moved/removed explicit stack frames in dict drivers.

Added them back to dict_set/unset/atomic_inc() in dict.c. Others are
unlikely to be called many times.


  Commit: b5052fbfdbc2678cc8f12899afe55c998f43b740
      https://github.com/dovecot/core/commit/b5052fbfdbc2678cc8f12899afe55c998f43b740
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-09 (Mon, 09 May 2016)

  Changed paths:
    M src/auth/db-dict.c
    M src/doveadm/doveadm-dict.c
    M src/lib-dict-extra/dict-fs.c
    M src/lib-dict-extra/dict-ldap.c
    M src/lib-dict/dict-client.c
    M src/lib-dict/dict-file.c
    M src/lib-dict/dict-memcached-ascii.c
    M src/lib-dict/dict-memcached.c
    M src/lib-dict/dict-private.h
    M src/lib-dict/dict-redis.c
    M src/lib-dict/dict-sql.c
    M src/lib-dict/dict.c
    M src/lib-dict/dict.h
    M src/lib-fs/fs-dict.c
    M src/lib-storage/index/index-attribute.c
    M src/plugins/expire/expire-plugin.c
    M src/plugins/quota/quota-dict.c

  Log Message:
  -----------
  lib-dict: dict_lookup() returns now error string


  Commit: 6cfe560af03491c2ea118e9698a145d8a9ee26b2
      https://github.com/dovecot/core/commit/6cfe560af03491c2ea118e9698a145d8a9ee26b2
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-09 (Mon, 09 May 2016)

  Changed paths:
    M src/dict/dict-commands.c
    M src/lib-dict/dict-client.c

  Log Message:
  -----------
  dict: Pass through dict_lookup() error from dict server to client


  Commit: d5fea071fd71afcd5ef1e54fc0e94514a8e21621
      https://github.com/dovecot/core/commit/d5fea071fd71afcd5ef1e54fc0e94514a8e21621
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-09 (Mon, 09 May 2016)

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

  Log Message:
  -----------
  dict-client: dict_wait() can't really fail


  Commit: c4478af52de63804efef2055580adf1dfc8679c6
      https://github.com/dovecot/core/commit/c4478af52de63804efef2055580adf1dfc8679c6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-09 (Mon, 09 May 2016)

  Changed paths:
    M src/lib-dict-extra/dict-ldap.c
    M src/lib-dict/dict-client.c
    M src/lib-dict/dict-private.h
    M src/lib-dict/dict-sql.c
    M src/lib-dict/dict.c
    M src/lib-dict/dict.h
    M src/lib-storage/index/index-storage.c
    M src/lib-storage/mail-user.c
    M src/plugins/last-login/last-login-plugin.c
    M src/plugins/quota/quota-dict.c

  Log Message:
  -----------
  lib-dict: Changed dict_wait() to return void.

If it encounters any failures, it should just make sure to abort any pending
async requests before returning.


  Commit: 055389c58fa3915e12fb4e72ec86782ce77c5c72
      https://github.com/dovecot/core/commit/055389c58fa3915e12fb4e72ec86782ce77c5c72
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-09 (Mon, 09 May 2016)

  Changed paths:
    M src/auth/userdb-dict.c
    M src/dict/dict-commands.c
    M src/doveadm/doveadm-dict.c
    M src/lib-dict-extra/dict-fs.c
    M src/lib-dict/dict-client.c
    M src/lib-dict/dict-file.c
    M src/lib-dict/dict-private.h
    M src/lib-dict/dict-sql.c
    M src/lib-dict/dict.c
    M src/lib-dict/dict.h
    M src/lib-fs/fs-dict.c
    M src/lib-storage/index/index-attribute.c
    M src/plugins/acl/acl-lookup-dict.c
    M src/plugins/expire/doveadm-expire.c

  Log Message:
  -----------
  lib-dict: dict_iterate_deinit() returns now error string


  Commit: ff3c2a32a68136152f6771c5c4448cc0026476cd
      https://github.com/dovecot/core/commit/ff3c2a32a68136152f6771c5c4448cc0026476cd
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-09 (Mon, 09 May 2016)

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

  Log Message:
  -----------
  dict-redis: Fixed memory leak in async commit


  Commit: b2d3b5298be1820233205242c772804037555a54
      https://github.com/dovecot/core/commit/b2d3b5298be1820233205242c772804037555a54
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-09 (Mon, 09 May 2016)

  Changed paths:
    M src/lib-dict/dict-memcached-ascii.c

  Log Message:
  -----------
  dict-memcached-ascii: Fixed async commit


  Commit: c2a66e7950cb4d3fc4d68e4480ea8f39bdd7c871
      https://github.com/dovecot/core/commit/c2a66e7950cb4d3fc4d68e4480ea8f39bdd7c871
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-09 (Mon, 09 May 2016)

  Changed paths:
    M src/lib-dict-extra/dict-fs.c
    M src/lib-dict/dict-client.c
    M src/lib-dict/dict-file.c
    M src/lib-dict/dict-memcached-ascii.c
    M src/lib-dict/dict-private.h
    M src/lib-dict/dict-redis.c
    M src/lib-dict/dict-sql.c
    M src/lib-dict/dict.c

  Log Message:
  -----------
  lib-dict: Changed internal transaction_commit() to return void

Somewhat simplifies the code now that it doesn't have to both call a
callback and return the same ret.


  Commit: 661998e2ccd772ad92a9d4a75cb712692a8c94b3
      https://github.com/dovecot/core/commit/661998e2ccd772ad92a9d4a75cb712692a8c94b3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-09 (Mon, 09 May 2016)

  Changed paths:
    M src/dict/dict-commands.c
    M src/doveadm/doveadm-dict.c
    M src/lib-dict-extra/dict-fs.c
    M src/lib-dict/dict-client.c
    M src/lib-dict/dict-file.c
    M src/lib-dict/dict-memcached-ascii.c
    M src/lib-dict/dict-redis.c
    M src/lib-dict/dict-sql.c
    M src/lib-dict/dict.c
    M src/lib-dict/dict.h
    M src/lib-fs/fs-dict.c
    M src/lib-storage/index/index-transaction.c
    M src/plugins/acl/acl-lookup-dict.c
    M src/plugins/expire/doveadm-expire.c
    M src/plugins/expire/expire-plugin.c
    M src/plugins/last-login/last-login-plugin.c
    M src/plugins/quota-clone/quota-clone-plugin.c
    M src/plugins/quota/quota-dict.c
    M src/plugins/quota/quota.c

  Log Message:
  -----------
  lib-dict: dict_transaction_commit*() returns now error string


  Commit: cbe2d47fda811fc56ba59cb2811c3fc26033b03c
      https://github.com/dovecot/core/commit/cbe2d47fda811fc56ba59cb2811c3fc26033b03c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-09 (Mon, 09 May 2016)

  Changed paths:
    M src/lib-dict/dict-client.c
    M src/lib-dict/dict-client.h

  Log Message:
  -----------
  dict-client: Use standard str_tabescape-functions

There's no reason to reimplement them here separately.


  Commit: 3fdae9cc0f5d6ce05afdaf1e2ab35fb5dbdf0d17
      https://github.com/dovecot/core/commit/3fdae9cc0f5d6ce05afdaf1e2ab35fb5dbdf0d17
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-09 (Mon, 09 May 2016)

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

  Log Message:
  -----------
  lib-dict: Compiler warning fix

I don't think it's possible that error was used uninitialized, but some gcc
version seems to think so.


Compare: https://github.com/dovecot/core/compare/9284599e2d12...3fdae9cc0f5d


More information about the dovecot-cvs mailing list