Commit Graph

224 Commits

Author SHA1 Message Date
Nikolay Sivov 8b67cfb8e4 inetcomm/tests: Fix test stream leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-13 19:39:34 +01:00
Francois Gouget 6b2dbe6cf6 inetcomm/tests: A spelling fix in an ok() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-08 17:00:05 +01:00
Jacek Caban 51e1a08893 inetcomm: Return S_FALSE if no data is returned in IInternetProtocol::Read.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-06 13:48:50 +01:00
Jacek Caban 0672bfa216 inetcomm: Added support for decoding quoted-printable data.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:26:50 +01:00
Jacek Caban 07af9d0db3 inetcomm: Added mhtml binding tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:26:49 +01:00
Jacek Caban cf8e259eb6 inetcomm: Added support for binding mhtml protocol handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:26:49 +01:00
Jacek Caban 3f644cb0bf inetcomm: Added IInternetProtocolInfo::CombineUrl implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:26:49 +01:00
Jacek Caban 37792a266d inetcomm: Added MimeOleObjectFromMoniker semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:26:49 +01:00
Jacek Caban 242cbb1673 inetcomm: Added tests reading MHTML page as MIME message.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 15:58:43 +01:00
Jacek Caban eb0bd22312 inetcomm: Removed unneeded type check in init_content_type.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 15:58:43 +01:00
Jacek Caban 56dc24695e inetcomm: Read content encoding from MIME header.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 15:58:43 +01:00
Jacek Caban dec243fd2a inetcomm: Don't include headers in data stream in create_sub_body.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 15:58:43 +01:00
Jacek Caban 3ccba10a02 inetcomm: Properly handle boundary in the beginning of body stream in create_body_offset_list.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 15:58:42 +01:00
Jacek Caban 9c01a94b7b inetcomm: Use relative seek in copy_headers_to_buf.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 15:58:42 +01:00
Jacek Caban 915acd68de inetcomm: Added support for decoding base64 in IMimeBody::GetData.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:08:26 +01:00
Jacek Caban 3c8f5c581d inetcomm: Test current encoding in test_SetData.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:08:22 +01:00
Jacek Caban b0902a487d inetcomm/tests: Added more IMimeBody::SetData and GetData tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:08:19 +01:00
Jacek Caban c99b874a68 inetcomm/tests: Added a helper for creating stream from string.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:08:14 +01:00
Jacek Caban 0b8066674b inetcomm: Return a new instance of stream in IMimeBody::GetData.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:08:10 +01:00
Jacek Caban 393512d03b inetcomm: Don't restore base stream position in sub stream Read.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:08:06 +01:00
Jacek Caban bb5056eaf4 inetcomm: Moved sub_stream_t implementation before MimeBody implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:08:03 +01:00
Jacek Caban a1d0c6d721 inetcomm: Added COM aggregation support to MimeHtmlProtocol object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 19:05:53 +01:00
Jacek Caban fe3e5b9c31 inetcomm: Added IInternetProtocolInfo stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 19:05:50 +01:00
Jacek Caban 6832273ed8 inetcomm: Added MimeHtmlProtocol stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 15:51:51 +01:00
Jacek Caban d5d9aa361a inetcomm: Register mhtml protocol handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 15:51:47 +01:00
Alistair Leslie-Hughes 002af352fa inetcomm/tests: Add Attachment tests.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 00:20:31 +09:00
Alistair Leslie-Hughes c40001cdc4 inetcomm: Add MimeOleObjectFromMoniker stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 00:09:37 +09:00
Alistair Leslie-Hughes ed880969b3 inetcomm: GetBody returns MIME_E_NOT_FOUND when no parent found.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-16 15:56:21 +09:00
Alistair Leslie-Hughes b8b7db8be8 inetcomm: Improve IMimeBody GetHandle return value.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-16 15:56:16 +09:00
Alistair Leslie-Hughes 16231678ca inetcomm: Support LPSTR to LPWSTR conversion in GetProp.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 16:59:42 +09:00
Alistair Leslie-Hughes bf02672359 inetcomm: Return S_OK from IMimeMessgae Commit.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 16:59:08 +09:00
Alistair Leslie-Hughes 6e6a6ff9d5 inetcomm: Ignore option OID_CLEANUP_TREE_ON_SAVE.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 16:59:04 +09:00
Alistair Leslie-Hughes 2854c92d63 inetcomm: Implement IMimeBody DeleteProp.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 16:59:00 +09:00
Alistair Leslie-Hughes 79762537a7 inetcomm: Implement IMimeBody GetPropInfo.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-23 22:57:44 +09:00
Alistair Leslie-Hughes 943b376dba inetcomm: Add missing default properties.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-02 13:26:42 +09:00
Alistair Leslie-Hughes 4c92dd98a4 inetcomm: Add support for PID ids in MimeBody Get/SetProp.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 11:42:38 +09:00
Alistair Leslie-Hughes cec1281cd7 inetcomm: Ignore OID_TRANSMIT_BODY_ENCODING value in IMimeBody SetOption.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 16:23:11 +09:00
Alistair Leslie-Hughes 9ae04844f0 inetcomm: Return S_OK from IMimePropertySchema ModifyProperty.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 16:23:04 +09:00
Alistair Leslie-Hughes c51c319b9f inetcomm: Ignore OID_SAVEBODY_KEEPBOUNDARY value in IMimeMessage_SetOption.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 15:25:46 +09:00
Alistair Leslie-Hughes dcb659f032 inetcomm: Improve IMimeMessage SetOption.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 15:25:46 +09:00
Alexandre Julliard 5719bb92bd inetcomm: Don't use strcasecmp on Ansi strings.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 20:11:49 +09:00
Alistair Leslie-Hughes 27ae15ccfe inetcomm: Add MimeGetAddressFormatW stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 20:11:49 +09:00
Alistair Leslie-Hughes c74a53951d inetcomm: Implement IMimeBody GetProp.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 20:11:49 +09:00
Alistair Leslie-Hughes ed9a8a22ca inetcomm: Implement IMimeBody SetProp.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 20:11:49 +09:00
Francois Gouget 1163d431a0 inetcomm/tests: Make test_BindToObject() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-25 18:48:18 +09:00
Alistair Leslie-Hughes 00558c2954 inetcomm/tests: Add IMimeMessage SetOption tests.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:38 +09:00
Alistair Leslie-Hughes 8599014c2d inetcomm: Implement MimeOleGetPropertySchema.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:38 +09:00
Alistair Leslie-Hughes 9b8d63d168 inetcomm: Add MimeOleGetPropertySchema stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 19:22:56 +09:00
Alistair Leslie-Hughes 8604604244 inetcomm: Trace all IMimeBody function parameters.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 19:22:24 +09:00
Alistair Leslie-Hughes 7a2e5b038d inetcomm: IMimeMessage has a HBODY_ROOT node by default.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 19:21:19 +09:00