[dovecot/core] 121f82: lib-mail: Added message_search_more_get_decoded()

GitHub noreply at github.com
Sat Feb 20 22:03:06 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 121f820aeb2f25c563a5dcbcf353a7b0e9a7e6e1
      https://github.com/dovecot/core/commit/121f820aeb2f25c563a5dcbcf353a7b0e9a7e6e1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-16 (Tue, 16 Feb 2016)

  Changed paths:
    M src/lib-mail/Makefile.am
    M src/lib-mail/message-search.c
    M src/lib-mail/message-search.h
    A src/lib-mail/test-message-search.c

  Log Message:
  -----------
  lib-mail: Added message_search_more_get_decoded()


  Commit: 7fbc81a103d10f180d079cf4c14c353cb28a2e77
      https://github.com/dovecot/core/commit/7fbc81a103d10f180d079cf4c14c353cb28a2e77
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-16 (Tue, 16 Feb 2016)

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

  Log Message:
  -----------
  lib-storage: Avoid duplicate work when a search query has multiple header/body keys.


  Commit: 4ac43ad128cb9b22f1c936659a1ff62e5b6c8bc3
      https://github.com/dovecot/core/commit/4ac43ad128cb9b22f1c936659a1ff62e5b6c8bc3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-16 (Tue, 16 Feb 2016)

  Changed paths:
    M src/plugins/fts/fts-api-private.h
    M src/plugins/fts/fts-api.c
    M src/plugins/fts/fts-build-mail.c

  Log Message:
  -----------
  fts: Code cleanup - moved fts_header_has_language() to a global function


  Commit: ebcd7cf40e53c2bbc98f7f686e206cda5c0e3111
      https://github.com/dovecot/core/commit/ebcd7cf40e53c2bbc98f7f686e206cda5c0e3111
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-16 (Tue, 16 Feb 2016)

  Changed paths:
    M src/plugins/fts/fts-search-args.c
    M src/plugins/fts/fts-user.c
    M src/plugins/fts/fts-user.h

  Log Message:
  -----------
  fts: When searching data headers, don't expand search keys to all languages.

For example "SEARCH HEADER Message-Id foo at example.com" works better the
less expansion there is for "foo at example.com".


  Commit: 53cc71cae88ee81fd7eae47aed743496f8c884a2
      https://github.com/dovecot/core/commit/53cc71cae88ee81fd7eae47aed743496f8c884a2
  Author: Aki Tuomi <aki.tuomi at dovecot.net>
  Date:   2016-02-18 (Thu, 18 Feb 2016)

  Changed paths:
    M Makefile.am
    M dovecot.service.in

  Log Message:
  -----------
  dovecot: improve systemd support


  Commit: 0c5fef35b99135889e8890abcca40773417a16d8
      https://github.com/dovecot/core/commit/0c5fef35b99135889e8890abcca40773417a16d8
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

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

  Log Message:
  -----------
  lib-http: Add accessors for some response details


  Commit: 1d689069fcd18f777b5f52736b150a79232eb48a
      https://github.com/dovecot/core/commit/1d689069fcd18f777b5f52736b150a79232eb48a
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

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

  Log Message:
  -----------
  doveadm: Code cleanup - move code to doveadm_mail_cmd_exec()

No functional changes.


  Commit: aa1561ec78178dc233e82235a86180d86304da62
      https://github.com/dovecot/core/commit/aa1561ec78178dc233e82235a86180d86304da62
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

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

  Log Message:
  -----------
  doveadm: Code cleanup - Removed passing through unnecessary argv parameter


  Commit: 374fed59cd85a2e1a42a86e20d9c8d3b2a12a604
      https://github.com/dovecot/core/commit/374fed59cd85a2e1a42a86e20d9c8d3b2a12a604
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

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

  Log Message:
  -----------
  doveadm: If user lookup fails, log an error but don't kill the process.


  Commit: a23210844b06c53ebca34b162f3a268d5f1cd4d1
      https://github.com/dovecot/core/commit/a23210844b06c53ebca34b162f3a268d5f1cd4d1
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M src/doveadm/doveadm-util.c
    M src/doveadm/doveadm-util.h

  Log Message:
  -----------
  doveadm: Add i_strccdascmp()

This comparator considers camel case==camel-case==camelCase. This
is to help with HTTP API to make it more flexible.


  Commit: 35a2af0c24277e9b9d935271abc3b709fa856d3e
      https://github.com/dovecot/core/commit/35a2af0c24277e9b9d935271abc3b709fa856d3e
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M src/doveadm/Makefile.am
    A src/doveadm/test-doveadm-util.c

  Log Message:
  -----------
  doveadm: Add unit tests for i_strccdascmp


  Commit: 14af7be4aa26d55c341cd6efe32bb2add2c39830
      https://github.com/dovecot/core/commit/14af7be4aa26d55c341cd6efe32bb2add2c39830
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

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

  Log Message:
  -----------
  doveadm: Add infrastructure for doveadm_cmd_ver2

Version 2 commands have named parameters, which also have types. This is
especially useful for reading input from HTTP/JSON API. This also simplifies
the parameter parsing for command line input.

For v2.3 the plan is to replace all the old doveadm_cmds with this new
version and get rid of the _ver2 suffixes. But for now we'll have two
versions of commands.

For backwards compatibility with old commands we have also implemented
wrappers so that v2 structs can be defined and there's a function to convert
the named parameters to old v1 style args[] string, so the old command
handlers can still be run. This will also be removed in v2.3.

This change also adds requirement for getopt_long(). It's already available
in all the Linuxes and BSDs, so this shouldn't be too big of a requirement.
Other systems can install it from an external library.


  Commit: 629074c7503532f1536ba669eae8e08ddfdf365e
      https://github.com/dovecot/core/commit/629074c7503532f1536ba669eae8e08ddfdf365e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

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

  Log Message:
  -----------
  doveadm: Code cleanup - moved code to client_connection_init()

No functional changes.


  Commit: 1e11a94ec50fc9b57eb2c859771c6a326ccaf86f
      https://github.com/dovecot/core/commit/1e11a94ec50fc9b57eb2c859771c6a326ccaf86f
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M src/doveadm/Makefile.am
    A src/doveadm/client-connection-http.c
    A src/doveadm/client-connection-private.h
    M src/doveadm/client-connection.c
    M src/doveadm/client-connection.h
    M src/doveadm/doveadm-cmd.h
    M src/doveadm/doveadm-settings.c
    M src/doveadm/doveadm-settings.h
    M src/doveadm/main.c

  Log Message:
  -----------
  doveadm: Implement HTTP server API, slightly based on JMAP API


  Commit: 68cc278710182485b6c09e9a9ff8db90a727f343
      https://github.com/dovecot/core/commit/68cc278710182485b6c09e9a9ff8db90a727f343
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M src/doveadm/doveadm-cmd.c
    M src/doveadm/doveadm-cmd.h
    M src/doveadm/doveadm-master.c

  Log Message:
  -----------
  doveadm: Use ver2 structures for stop & reload.


  Commit: 0368f3b0ae3fc1ea892da5c5ec02c05c0c3989af
      https://github.com/dovecot/core/commit/0368f3b0ae3fc1ea892da5c5ec02c05c0c3989af
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M src/doveadm/doveadm-mail-mailbox-metadata.c
    M src/doveadm/doveadm-mail-mailbox-status.c
    M src/doveadm/doveadm-mail-mailbox.c
    M src/doveadm/doveadm-mail.c
    M src/doveadm/doveadm-mail.h

  Log Message:
  -----------
  doveadm: Use ver2 structures for all "doveadm mailbox *" commands.


  Commit: f5d30c9505b2f71470ccda7c3b5dd9c8334cf888
      https://github.com/dovecot/core/commit/f5d30c9505b2f71470ccda7c3b5dd9c8334cf888
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M dovecot.service.in

  Log Message:
  -----------
  dovecot.service: Disabled ProtectSystem=full for now

It's not supported by RHEL7's systemd.


  Commit: 721e0f8b2a80d3492e30be81049007cbc7da6ac6
      https://github.com/dovecot/core/commit/721e0f8b2a80d3492e30be81049007cbc7da6ac6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

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

  Log Message:
  -----------
  doveadm: Use correct uoff_t type for printf


  Commit: 22d75d47097ca83c6e824a5129d81e8f18fb589b
      https://github.com/dovecot/core/commit/22d75d47097ca83c6e824a5129d81e8f18fb589b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M Makefile.am
    M dovecot.service.in

  Log Message:
  -----------
  dovecot.service: Fixed PIDFile path


  Commit: d09af096786a0c241d5666c842278e25f5171c67
      https://github.com/dovecot/core/commit/d09af096786a0c241d5666c842278e25f5171c67
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M src/doveadm/Makefile.am

  Log Message:
  -----------
  Makefile: Added missing client-connection-private.h


  Commit: ecb1ecd370080361a216d26b1029b7a317071b7d
      https://github.com/dovecot/core/commit/ecb1ecd370080361a216d26b1029b7a317071b7d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

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

  Log Message:
  -----------
  lib-index: Code cleanup - moved code to tview_lookup_ext_update()

No functional changes.


  Commit: 382d45f2557a5e8c787e6170491a6d881d30d195
      https://github.com/dovecot/core/commit/382d45f2557a5e8c787e6170491a6d881d30d195
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

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

  Log Message:
  -----------
  lib-index: Fixed mail_index_lookup_ext_full()'s map_r with transaction-view.


  Commit: 05128fda80748e107bccdece0a3d23551e99e8f3
      https://github.com/dovecot/core/commit/05128fda80748e107bccdece0a3d23551e99e8f3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

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

  Log Message:
  -----------
  doveadm: Remove CMD_PARAM_NONE type, since it already defaulted to same as CMD_PARAM_BOOL


  Commit: 14102a0c5db8828ca8c7751ec96587fadc97a0bc
      https://github.com/dovecot/core/commit/14102a0c5db8828ca8c7751ec96587fadc97a0bc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

  Changed paths:
    M src/doveadm/doveadm-cmd.c
    M src/doveadm/doveadm-cmd.h
    M src/doveadm/doveadm-mail-mailbox-metadata.c
    M src/doveadm/doveadm-mail-mailbox-status.c
    M src/doveadm/doveadm-mail-mailbox.c
    M src/doveadm/doveadm-mail.c
    M src/doveadm/doveadm-mail.h

  Log Message:
  -----------
  doveadm: Use char type for short options instead of a string.

The ":" = "has parameters" can be determined from the type.
Also removed "?" checks since it wasn't actually used.


  Commit: 4e96840f7a486d7fc72f8d7069a8b1e47af570c6
      https://github.com/dovecot/core/commit/4e96840f7a486d7fc72f8d7069a8b1e47af570c6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

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

  Log Message:
  -----------
  doveadm: Make static analyzer happier - cptr can't be NULL here.


  Commit: 0755a3bc18142abe77e932ed94c8d9c360b8f17a
      https://github.com/dovecot/core/commit/0755a3bc18142abe77e932ed94c8d9c360b8f17a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

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

  Log Message:
  -----------
  doveadm: Fix for previous attempt to make static analyzer happier.


  Commit: c0a8031392ccb2cbfafe3eb0a1446fa8d8c5bb46
      https://github.com/dovecot/core/commit/c0a8031392ccb2cbfafe3eb0a1446fa8d8c5bb46
  Author: Stephan Bosch <stephan at rename-it.nl>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

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

  Log Message:
  -----------
  lib-http: server: Implicitly free a request response structure when a new (failure) response is started.


  Commit: dbbdcc1224f81a40e746a09e6d44af7c4f24ff71
      https://github.com/dovecot/core/commit/dbbdcc1224f81a40e746a09e6d44af7c4f24ff71
  Author: Stephan Bosch <stephan at rename-it.nl>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

  Changed paths:
    M src/lib/uri-util.c

  Log Message:
  -----------
  uri-util: Fixed assertion failure for invalid character in path segment.


  Commit: 202b4674243a4a4826c35ed4d089831985c47256
      https://github.com/dovecot/core/commit/202b4674243a4a4826c35ed4d089831985c47256
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

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

  Log Message:
  -----------
  lib: json_parse_next_stream() wrongly returned -1 even when a stream was returned.


  Commit: ce35092786b51fa7fe1f91ca06c2eec6ee447534
      https://github.com/dovecot/core/commit/ce35092786b51fa7fe1f91ca06c2eec6ee447534
  Author: manuel <manuel at mausz.at>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

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

  Log Message:
  -----------
  imap-hibernate: send connect/disconnect events to anvil

make doveadm who + mail_max_userip_connections work with
hibernated connections.


Compare: https://github.com/dovecot/core/compare/2d8f66596f44...ce35092786b5


More information about the dovecot-cvs mailing list