Commit Graph

112 Commits

Author SHA1 Message Date
Eric Pouech 2e38cb9efd inetcomm: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-11 10:58:46 +01:00
Jacek Caban 36bfd19a9f inetcomm: Use nameless unions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-29 09:24:33 +02:00
Michael Stefaniuc 87fc5320d6 inetcomm: Zero terminate the mhtml WCHAR strings.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-23 19:56:20 +02:00
Paul Gofman 55be879320 inetcomm: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-27 12:19:43 +01:00
Alexandre Julliard afc721f0f1 inetcomm: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 09:01:34 +02:00
Piotr Caban df019afaa3 inetcomm: Don't use strcasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 19:50:40 +02:00
Nikolay Sivov 05f6769f24 inetcomm: Fix a leak on DeleteProp() (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-14 11:15:26 +01:00
Michael Stefaniuc 9b4f0d7652 inetcomm: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:42:20 +02:00
Michael Stefaniuc b54b07f1db inetcomm: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:53 +01:00
Nikolay Sivov fe6367aed7 inetcomm: Implemented IMimeBody::GetClassID().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:22 +02:00
Nikolay Sivov 5557081956 inetcomm: Release previously set data (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:10 +02: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 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 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 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
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
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
Huw Davies bf5dca1976 ole32: The type of the size of IMalloc'ed blocks is SIZE_T.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 01:50:47 +09:00
Marcus Meissner a57b06c5ac inetcomm: Avoid overlapping memcpy (Coverity). 2015-04-20 14:38:20 +09:00
Frédéric Delanoy da2a97fc06 inetcomm: Use BOOL type where appropriate. 2013-10-07 13:32:06 +02:00
Francois Gouget d5a4621bd6 inetcomm: Make mimebody_create() static. 2013-03-05 12:45:08 +01:00
Michael Stefaniuc 9a436a98f4 inetcomm: COM cleanup for the IStream iface. 2013-03-04 11:18:15 +01:00
Michael Stefaniuc c7d05df81d inetcomm: Include the object instead of IMimeBody in struct body_t.
Avoids COM interface to COM object transitions.
2013-03-04 11:18:13 +01:00