[dovecot/core] bf7aee: lib-imap: imap-bodystructure: Fixed parse error me...

GitHub noreply at github.com
Mon Jan 30 16:30:32 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: bf7aee059cd234dd5874dc196ff989f351d55705
      https://github.com/dovecot/core/commit/bf7aee059cd234dd5874dc196ff989f351d55705
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c

  Log Message:
  -----------
  lib-imap: imap-bodystructure: Fixed parse error message about invalid Content-M5 field.


  Commit: cd1ab1e2ba8a842300913cd6e9b0de88de4af85a
      https://github.com/dovecot/core/commit/cd1ab1e2ba8a842300913cd6e9b0de88de4af85a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/test-imap-bodystructure.c

  Log Message:
  -----------
  lib-imap: test-imap-bodystructure: Added support for more than one test case.


  Commit: 3693d00aeb46f1fe4afcc67782487a281262fa63
      https://github.com/dovecot/core/commit/3693d00aeb46f1fe4afcc67782487a281262fa63
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/test-imap-bodystructure.c

  Log Message:
  -----------
  lib-imap: test-imap-bodystructure: Improved handing of parse errors.

Actually show the parse error.


  Commit: bac296ef1a106abdc166ba3741246a3d480ba6f0
      https://github.com/dovecot/core/commit/bac296ef1a106abdc166ba3741246a3d480ba6f0
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/test-imap-bodystructure.c

  Log Message:
  -----------
  lib-imap: test-imap-bodystructure: Added more tests.


  Commit: b9de83e56e15118bc558a213e256077e63d27541
      https://github.com/dovecot/core/commit/b9de83e56e15118bc558a213e256077e63d27541
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c

  Log Message:
  -----------
  lib-imap: imap-bodystructure: Allow alternative syntax and omitted optional elements in parser input.

This makes the parser accept any RFC-compliant BODYSTRUCTURE syntax, instead of only what Dovecot itself produces.
This way the parser could reliably be used in the lib-imap-client if ever needed.


  Commit: 78f92fe96b9c93721984cefbaa01379fd5db9552
      https://github.com/dovecot/core/commit/78f92fe96b9c93721984cefbaa01379fd5db9552
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/test-imap-bodystructure.c

  Log Message:
  -----------
  lib-imap: test-imap-bodystructure: Added normalization tests.


  Commit: dc84547cb258ab5449c70c498cd4b8595ab6071a
      https://github.com/dovecot/core/commit/dc84547cb258ab5449c70c498cd4b8595ab6071a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-envelope.c
    M src/lib-imap/imap-envelope.h

  Log Message:
  -----------
  lib-imap: Removed existing envelope parsing function.

This is currently only used by imaptest. Alternative API is provided in later commit.


  Commit: 1eeb9f438092988c374e05c3e960edcccc63c2ae
      https://github.com/dovecot/core/commit/1eeb9f438092988c374e05c3e960edcccc63c2ae
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

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

  Log Message:
  -----------
  lib-imap: imap-bodystructure: Renamed struct message_part_body_data to message_part_data.


  Commit: c59d22d58cd0bbeeac4622b99088a1cb7d2fde20
      https://github.com/dovecot/core/commit/c59d22d58cd0bbeeac4622b99088a1cb7d2fde20
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c
    M src/lib-imap/imap-bodystructure.h
    M src/lib-mail/message-part.h
    M src/lib-storage/index/index-mail.c

  Log Message:
  -----------
  lib-mail: Gave message_part_data its own field in struct message_part.


  Commit: 28dffd17cbc002c0b385f557dcfcaba7dbf44cac
      https://github.com/dovecot/core/commit/28dffd17cbc002c0b385f557dcfcaba7dbf44cac
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c
    M src/lib-imap/imap-bodystructure.h

  Log Message:
  -----------
  lib-imap: imap-bodystructure: Removed useless pool field from struct message_part_data.


  Commit: 03d429382952be3a30b527b0087c36a0b02f2bd8
      https://github.com/dovecot/core/commit/03d429382952be3a30b527b0087c36a0b02f2bd8
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-envelope.c

  Log Message:
  -----------
  lib-imap: imap-envelope: Removed useless pool field from struct message_part_envelope_data.


  Commit: 9e6c6b34b68fdf81d240748f7c90e9156266dd74
      https://github.com/dovecot/core/commit/9e6c6b34b68fdf81d240748f7c90e9156266dd74
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c

  Log Message:
  -----------
  lib-imap: imap-bodystructure: Renamed `d' parameter to `data' in parse_content_header() function.


  Commit: 300daf3c174deeabc0b734b033d1f6ccb148671e
      https://github.com/dovecot/core/commit/300daf3c174deeabc0b734b033d1f6ccb148671e
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-envelope.c
    M src/lib-imap/imap-envelope.h

  Log Message:
  -----------
  lib-imap: imap-envelope: Added function to parse struct message_part_envelope_data from parsed imap args.


  Commit: 2483736d1ad6a680980dd58c616836837721a113
      https://github.com/dovecot/core/commit/2483736d1ad6a680980dd58c616836837721a113
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c
    M src/lib-imap/imap-bodystructure.h
    M src/lib-imap/imap-envelope.c
    M src/lib-storage/index/index-mail.c

  Log Message:
  -----------
  lib-imap: imap-bodystructure: Changed struct message_part_body to contain fully decoded data.

Contained unparsed IMAP string data before.


  Commit: 341c6814c806db208bc4e35131c204b68122b447
      https://github.com/dovecot/core/commit/341c6814c806db208bc4e35131c204b68122b447
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c

  Log Message:
  -----------
  lib-imap: imap-bodystructure: Grouped together functions relating to the conversion of BODYSTRUCTURE to BODY.

This only moves code.


  Commit: df459621b9124dfd88d56619ac84611f30fec854
      https://github.com/dovecot/core/commit/df459621b9124dfd88d56619ac84611f30fec854
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c
    M src/lib-imap/imap-bodystructure.h
    M src/lib-imap/test-imap-bodystructure.c
    M src/lib-storage/index/index-mail-headers.c
    M src/lib-storage/index/index-mail.c

  Log Message:
  -----------
  lib-imap: imap-bodystructure: Renamed imap_bodystructure_parse_header() to message_part_data_parse_from_header().


  Commit: 535dbe3c376347b6c7a593dca70643ffdbba95f7
      https://github.com/dovecot/core/commit/535dbe3c376347b6c7a593dca70643ffdbba95f7
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-envelope.c
    M src/lib-imap/imap-envelope.h

  Log Message:
  -----------
  lib-imap: imap-evenvelope: Changed imap_envelope_get_field() into a private equivalent.


  Commit: 946f22af116d5af80d5bbe1710ac121aa5acef71
      https://github.com/dovecot/core/commit/946f22af116d5af80d5bbe1710ac121aa5acef71
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c
    M src/lib-imap/imap-envelope.c
    M src/lib-imap/imap-envelope.h
    M src/lib-storage/index/index-mail-headers.c

  Log Message:
  -----------
  lib-imap: imap-envelope: Renamed imap_envelope_parse_header() to message_part_envelope_parse_from_header().


  Commit: afd6338f1c0b6ffcd33b6fde9741b52002835ba3
      https://github.com/dovecot/core/commit/afd6338f1c0b6ffcd33b6fde9741b52002835ba3
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

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

  Log Message:
  -----------
  lib-imap: imap-bodystructure: Renamed imap_bodystructure_is_plain_7bit() to message_part_data_is_plain_7bit().


  Commit: 57e3b63a75335f45cf6cf9cd89317e2e6cec249d
      https://github.com/dovecot/core/commit/57e3b63a75335f45cf6cf9cd89317e2e6cec249d
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c
    M src/lib-imap/imap-bodystructure.h
    M src/lib-imap/imap-envelope.c
    M src/lib-imap/imap-envelope.h
    M src/lib-imap/test-imap-bodystructure.c
    M src/lib-mail/Makefile.am
    A src/lib-mail/message-part-data.c
    A src/lib-mail/message-part-data.h
    M src/lib-storage/index/index-mail-headers.c
    M src/lib-storage/index/index-mail.c

  Log Message:
  -----------
  lib-imap: imap-bodystructure: Moved message_part_data header parsing and query functions to their own module in lib-mail.

Moved code from imap-bodystructure and imap-envelope.


  Commit: 042a58438dc324c6d4de18e4c8a68044d6328e66
      https://github.com/dovecot/core/commit/042a58438dc324c6d4de18e4c8a68044d6328e66
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-envelope.c
    M src/lib-imap/imap-envelope.h
    M src/lib-mail/message-part-data.c
    M src/lib-mail/message-part-data.h
    M src/lib-storage/index/imapc/imapc-mail.c
    M src/lib-storage/index/index-mail-headers.c

  Log Message:
  -----------
  lib-imap: imap-envelope: Moved imap_envelope_headers to lib-mail/message-part-data as message_part_envelope_headers.


  Commit: b674bd911aaab7e8b1a77c106a0b5bccb603439f
      https://github.com/dovecot/core/commit/b674bd911aaab7e8b1a77c106a0b5bccb603439f
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c
    M src/lib-imap/imap-envelope.c
    M src/lib-imap/imap-envelope.h
    M src/lib-mail/message-part-data.c
    M src/lib-mail/message-part-data.h
    M src/lib-storage/index/index-mail-headers.c
    M src/lib-storage/index/index-mail.h

  Log Message:
  -----------
  lib-mail: message-part-data: Renamed struct message_part_envelope_data to message_part_envelope.


  Commit: 6407243c0b7340dd7b53b96bcb8e6b0e1acdb104
      https://github.com/dovecot/core/commit/6407243c0b7340dd7b53b96bcb8e6b0e1acdb104
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-mail/message-part-data.c
    M src/lib-mail/message-part-data.h

  Log Message:
  -----------
  lib-mail: message-part-data: Implemented message_part_data_get_filename().

Gets the message part's filename if it has any.


  Commit: 26a2909cb5b201d0715f6ce3079374757fee8da3
      https://github.com/dovecot/core/commit/26a2909cb5b201d0715f6ce3079374757fee8da3
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

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

  Log Message:
  -----------
  lib-imap: imap-bodystructure: Added support for making imap_bodystructure_parse() work without a pre-existing message_part tree.

It can now create the tree from the BODYSTRUCTURE string itself.


  Commit: 62306adc17714cd36ab6ed6a89d0426049c1019f
      https://github.com/dovecot/core/commit/62306adc17714cd36ab6ed6a89d0426049c1019f
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c
    M src/lib-imap/imap-envelope.c

  Log Message:
  -----------
  lib-imap: Added more comments to imap-bodystructure and imap-envelope.


  Commit: 3b17e4c33af5e8ffeb636dd853053e51cb28463b
      https://github.com/dovecot/core/commit/3b17e4c33af5e8ffeb636dd853053e51cb28463b
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/imap-envelope.c
    M src/lib-imap/imap-envelope.h

  Log Message:
  -----------
  lib-imap: imap-envelope: Added function for parsing ENVELOPE from string.


  Commit: 30116399ebac74cf4ea0daefb65c9fba742e0773
      https://github.com/dovecot/core/commit/30116399ebac74cf4ea0daefb65c9fba742e0773
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M src/lib-imap/Makefile.am
    A src/lib-imap/test-imap-envelope.c

  Log Message:
  -----------
  lib-imap: Created test-imap-envelope.


Compare: https://github.com/dovecot/core/compare/00b2516ff54d...30116399ebac


More information about the dovecot-cvs mailing list