Commit Graph

116 Commits

Author SHA1 Message Date
Lei Zhang 4fe68a9e1e oleaut32: Check return values in several functions. 2008-07-21 14:36:39 +02:00
Andrew Talbot 3ac0983ab4 oleaut32: Remove unneeded address-of operators from array names. 2008-07-11 14:06:37 +02:00
Alexandre Julliard 1894d708a4 oleaut32: Include the system jpeg and png headers before the Windows headers. 2008-07-03 13:08:19 +02:00
Austin English e8dbd66c23 oleaut32: Spelling fixes. 2008-04-14 21:28:38 +02:00
Andrew Talbot 9d16a42210 oleaut32: Assign to structs instead of using memcpy. 2008-03-12 11:59:27 +01:00
Nathan Beckmann 7f50e42bbc oleaut32: Replace bitmap integer constants with symbolic constants. 2008-03-07 11:28:59 +01:00
Rob Shearman 51e2e1cc4b oleaut32: Fix a leak of bmi in OLEPictureImpl_LoadGif. 2008-02-04 13:02:59 +01:00
Andrew Talbot 5ea25c62b8 oleaut32: Remove unneeded casts. 2008-01-16 12:16:01 +01:00
Rob Shearman 656618310b oleaut32: Implement OLEPictureImpl_GetIDsOfNames. 2007-12-03 11:52:13 +01:00
Mikolaj Zalewski b2648b8285 oleaut32: olepicture: When drawing metafiles set the coordinates system so that it is drawn in the correct place. 2007-10-04 11:41:00 +02:00
Mikolaj Zalewski 8e7e2c25aa oleaut32: olepicture: Support loading Aldus Placable Metafiles. 2007-10-04 11:40:53 +02:00
Evan Stade a08b998f20 oleaut32: Handle transparency data when loading PNG images. 2007-08-09 14:40:27 +02:00
Evan Stade 72a760beb0 oleaut32: Allow PNG_COLOR_TYPE_RGB_ALPHA. 2007-08-06 12:18:40 +02:00
Francois Gouget 3543d51c7f oleaut32: Fix a signed/unsigned mismatch. 2007-08-03 12:44:19 +02:00
Evan Stade a55f233219 oleaut32: Slight correction to EMF rendering. 2007-08-02 12:18:42 +02:00
Evan Stade 249c07c161 oleaut32: Recognize EMF header when loading picture. 2007-07-31 11:43:17 +02:00
Evan Stade 72e20d8f57 oleaut32: Save load time format of pictures. 2007-07-02 20:40:34 +02:00
Evan Stade 5c5c5aabc5 oleaut32: Added support for decoding some PNG files. 2007-07-02 20:40:24 +02:00
Alexandre Julliard d0fddf4f68 configure: Make the libjpeg soname check depend on the header check. 2007-07-02 19:53:14 +02:00
Alexandre Julliard 5a95cfbd9c configure: Export the shared library extension instead of hardcoding .so. 2007-07-02 14:35:05 +02:00
Huw Davies e848f6d539 oleaut32: Fixes for the PICTYPE_UNINITIALIZED case. 2007-06-06 12:09:48 +02:00
Dmitry Timoshkov 8bf41d88c8 oleaut32: Add support for loading and drawing metafiles. 2007-05-29 11:56:18 +02:00
Alex Villacís Lasso a7128fbc4d oleaut32: olepicture - Support multiple redundant headers before picture data. 2006-11-08 15:50:45 +01:00
Hans Leidekker ce66f5d684 oleaut32: Win64 printf format warning fixes. 2006-10-13 12:08:47 +02:00
Francois Gouget 82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +02:00
Mike McCormack 7aa893481e oleaut32: Include minimal ungif source to remove dependency on libungif. 2006-09-08 16:06:33 +02:00
Mike McCormack 9c5c063ebf oleaut32: Put the HeapFree back in the right place. 2006-08-14 20:17:10 +02:00
Mike McCormack eb9f46037c oleaut32: Calculate icon data if the picture is dirty, or there's no icon data. 2006-08-14 11:47:48 +02:00
Mike McCormack cbfc35602e oleaut32: Print an IID in the trace, not just a pointer to it. 2006-08-14 11:46:50 +02:00
Mike McCormack bcb3e28e2b oleaut32: Don't complain when PICTDESC->cbSizeofstruct is 0. 2006-08-14 11:46:45 +02:00
Robert Shearman d82d374430 oleaut32: Implement GetTypeInfoCount and GetTypeInfo for standard pictures. 2006-07-28 12:56:45 +02:00
Robert Shearman 9648b824a1 oleaut32: Implement setting of the hPal property in IPictureDisp::Invoke.
Remove some validation code that is already handled by a more generic
case at the end of the function.
2006-07-28 12:56:45 +02:00
Robert Shearman e0e7d96ee6 oleaut32: Implement getting of all properties in IPictureDisp::Invoke. 2006-07-28 12:56:45 +02:00
Robert Shearman 25aff05e4a oleaut32: Add validation for parameters in IPictureDisp::Invoke.
Add some tests for IPictureDisp::Invoke.
2006-07-28 12:56:44 +02:00
Robert Shearman 68249c10df configure: Add a check for the DGifOpen function in the gif_lib.h header as the v4 of the file does define it, while v3 doesn't. 2006-07-26 10:23:14 +02:00
Robert Shearman ebea92739c oleaut32: Implement GetClassID for the OLE picture class. 2006-07-14 12:38:57 +02:00
Robert Shearman c71af73324 oleaut32: Add a typedef for "boolean".
Fix up an conflict that this type has with jpeglib.h.
2006-07-07 13:31:37 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 22e7eeb2a3 oleaut32: Add IPersist to QueryInterface. 2006-03-30 12:43:52 +02:00
Robert Shearman aa2214626e oleaut32: Replace memcmp with IsEqualIID macro.
Replace memcmp with IsEqualIID macro that doesn't require a size
parameter and remove the unneeded brackets to give more compact and
more readable code.
2006-03-30 12:43:33 +02:00
Francois Gouget 74b6aba216 oleaut32: Reorder a few functions to avoid forward declaractions. 2006-03-09 12:51:42 +01:00
Robert Shearman 08764dde8a oleaut: Split OLEPictureImpl_Load.
Split OLEPictureImpl_Load into separate functions for the different file
types.
2006-03-06 11:08:19 +01:00
Robert Shearman d16c0dc6ce oleaut32: Free connection point on destruction of the picture object.
Handle failure of CreateConnectionPoint on construction.
2006-02-14 11:34:00 +01:00
Robert Shearman 792d89f53a oleaut32: Fix flag comparison in Picture Invoke.
One or more invoke flags can be passed into IDispatch::Invoke, but we
only care if INVOKEFLAG_PROPERTYGET is specified, and don't about any
others.
2006-02-14 11:32:53 +01:00
Robert Shearman 98fd1c5678 Return the correct error code from IConnectionPointContainer::FindConnectionPoint. 2006-02-10 14:51:30 +01:00
Robert Shearman f4acfe9a53 oleaut: Partially implement Invoke on the standard picture implementation. 2006-02-10 14:51:03 +01:00
Francois Gouget f4c0524ec6 Assorted spelling and case fixes. 2005-11-10 11:39:07 +00:00
Marcus Meissner c49f5f0095 Added support of loading of IPicture data from non-statable
IStreams. Added testcases for this.
2005-11-07 11:09:10 +00:00
Michael Stefaniuc fc663043d3 Implement IPicture::get_hPal for PICTYPE_BITMAP. 2005-08-24 09:44:25 +00:00
Alexandre Julliard 738e88db5f Replace the ICOM_THIS_From macros by inline functions. 2005-07-27 15:14:18 +00:00