[dovecot/core] d02959: lib-imap: imap-bodystructure: Fixed parse error me...
GitHub
noreply at github.com
Mon Feb 20 09:30:15 UTC 2017
Branch: refs/heads/master-2.2
Home: https://github.com/dovecot/core
Commit: d02959f7619c798929c9bfc7257b948cc0e50906
https://github.com/dovecot/core/commit/d02959f7619c798929c9bfc7257b948cc0e50906
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: f4b7f88d77e2ee96bc15906b3ee6425cbb4e4986
https://github.com/dovecot/core/commit/f4b7f88d77e2ee96bc15906b3ee6425cbb4e4986
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: de68ecd1262ecf3a54fdab43b9e96d1ae448c217
https://github.com/dovecot/core/commit/de68ecd1262ecf3a54fdab43b9e96d1ae448c217
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: c0e62470fcfc331fe6049c211a28adb79a1f1144
https://github.com/dovecot/core/commit/c0e62470fcfc331fe6049c211a28adb79a1f1144
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 2017)
Changed paths:
M src/lib-imap/test-imap-bodystructure.c
Log Message:
-----------
lib-imap: test-imap-bodystructure: Added more tests.
Commit: 78915da1044c189dfdcfb6267541e57256c7fe43
https://github.com/dovecot/core/commit/78915da1044c189dfdcfb6267541e57256c7fe43
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: f507f8b3f98982343639b93d6985221d29452544
https://github.com/dovecot/core/commit/f507f8b3f98982343639b93d6985221d29452544
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 2017)
Changed paths:
M src/lib-imap/test-imap-bodystructure.c
Log Message:
-----------
lib-imap: test-imap-bodystructure: Added normalization tests.
Commit: 5dc17f032d0e3b1586a87c0762c3aab4562a2d18
https://github.com/dovecot/core/commit/5dc17f032d0e3b1586a87c0762c3aab4562a2d18
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: d61ce13155d8adb7144a3e2dd972931c2f7d4e2d
https://github.com/dovecot/core/commit/d61ce13155d8adb7144a3e2dd972931c2f7d4e2d
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: 50ace8c615b92679eac0e4002ce22f56b83e9a4b
https://github.com/dovecot/core/commit/50ace8c615b92679eac0e4002ce22f56b83e9a4b
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: 34d2e3c6161dc9e0bf65174c2dad0824305a643d
https://github.com/dovecot/core/commit/34d2e3c6161dc9e0bf65174c2dad0824305a643d
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: ee7da9a084b67ef8172d55b7dd4cd7462b2f81e4
https://github.com/dovecot/core/commit/ee7da9a084b67ef8172d55b7dd4cd7462b2f81e4
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: d6790cf6f1a25fa2effda0139754437494c20971
https://github.com/dovecot/core/commit/d6790cf6f1a25fa2effda0139754437494c20971
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: 3a39bcd37876306247376e56a44ad6e710469aaf
https://github.com/dovecot/core/commit/3a39bcd37876306247376e56a44ad6e710469aaf
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: b1cb88c940de95a0f478aaab244e4cbe011b08f4
https://github.com/dovecot/core/commit/b1cb88c940de95a0f478aaab244e4cbe011b08f4
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: edb00165e9c50cfc8f434795e86007812fea54c0
https://github.com/dovecot/core/commit/edb00165e9c50cfc8f434795e86007812fea54c0
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: 4861794616cc76b67281bec67a77718c8f1fe12a
https://github.com/dovecot/core/commit/4861794616cc76b67281bec67a77718c8f1fe12a
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: b3fe91a5336bd78e5ba4a57cd8a0a3f83003910a
https://github.com/dovecot/core/commit/b3fe91a5336bd78e5ba4a57cd8a0a3f83003910a
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: ecc6feecadb2fb47bbc80d09b0c5c4083021a23c
https://github.com/dovecot/core/commit/ecc6feecadb2fb47bbc80d09b0c5c4083021a23c
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: efe512ef167a6a76435826fa9bad01a85a8e68e9
https://github.com/dovecot/core/commit/efe512ef167a6a76435826fa9bad01a85a8e68e9
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: 11b1d8cc8993fa54512cc4a29f698707e8be979b
https://github.com/dovecot/core/commit/11b1d8cc8993fa54512cc4a29f698707e8be979b
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: e1ee210f9c7ca91eed72d7158d2b55f64e1eaef3
https://github.com/dovecot/core/commit/e1ee210f9c7ca91eed72d7158d2b55f64e1eaef3
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: 353ee3a324d0bbd7d2cffc1c49f31305441ecf10
https://github.com/dovecot/core/commit/353ee3a324d0bbd7d2cffc1c49f31305441ecf10
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: 40216e40c93a3f24e302083554589d7937cf4e74
https://github.com/dovecot/core/commit/40216e40c93a3f24e302083554589d7937cf4e74
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: d669f7624a89d1c49d91c6477e806f1d90ce70a2
https://github.com/dovecot/core/commit/d669f7624a89d1c49d91c6477e806f1d90ce70a2
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: e0837a5f0f21a03a85c103c817c01940ba594b4c
https://github.com/dovecot/core/commit/e0837a5f0f21a03a85c103c817c01940ba594b4c
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: 097940bf9a03af7a2585ebbf9980aa81afb774b4
https://github.com/dovecot/core/commit/097940bf9a03af7a2585ebbf9980aa81afb774b4
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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: f884f1b00a7d6babe0f0e84361bd3297650f3c01
https://github.com/dovecot/core/commit/f884f1b00a7d6babe0f0e84361bd3297650f3c01
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 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.
Commit: 2b6a62144a3613cb833bfdc9129b10bac588a5ed
https://github.com/dovecot/core/commit/2b6a62144a3613cb833bfdc9129b10bac588a5ed
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2017-02-20 (Mon, 20 Feb 2017)
Changed paths:
M src/lib-storage/Makefile.am
M src/lib-storage/index/Makefile.am
M src/lib-storage/index/imapc/imapc-search.c
A src/lib-storage/index/index-search-mime.c
M src/lib-storage/index/index-search-private.h
M src/lib-storage/index/index-search.c
M src/lib-storage/mail-search-args-cmdline.c
M src/lib-storage/mail-search-args-imap.c
A src/lib-storage/mail-search-mime-build.c
A src/lib-storage/mail-search-mime-build.h
A src/lib-storage/mail-search-mime-register.c
A src/lib-storage/mail-search-mime-register.h
A src/lib-storage/mail-search-mime.c
A src/lib-storage/mail-search-mime.h
M src/lib-storage/mail-search-register-imap.c
M src/lib-storage/mail-search.c
M src/lib-storage/mail-search.h
M src/lib-storage/mail-storage.c
M src/lib-storage/test-mail-search-args-imap.c
Log Message:
-----------
Partially implemented IMAP SEARCH=X-MIMEPART capability.
This capability is currently Dovecot-specific.
Compare: https://github.com/dovecot/core/compare/8f42a894931f...2b6a62144a36
More information about the dovecot-cvs
mailing list