Alexandre Julliard
99132baebd
oleaut32: Fix handle cast warnings on 64-bit.
2009-01-08 17:27:14 +01:00
Nikolay Sivov
b91f4a3dae
oleaut32: Check pointer in IPicture::get_Type.
2009-01-07 12:50:56 +01:00
Nikolay Sivov
a22ca1c2d9
oleaut32: Check pointer in IPicture::get_Handle.
2009-01-07 12:50:51 +01:00
Nikolay Sivov
76925b06c2
oleaut32: Check pointer in IPicture_get_Attributes.
2009-01-06 12:42:49 +01:00
Nikolay Sivov
5b88f0d916
oleaut32: Add PICTYPE_NONE and PICTYPE_UNINITIALIZED to IPicture_get_Attributes.
2009-01-06 12:42:43 +01:00
Nikolay Sivov
b6d50aed41
oleaut32: Added PICTYPE_NONE and PICTYPE_UNINITIALIZED to IPicture::Render.
2008-12-11 14:28:35 +01:00
Michael Stefaniuc
25f33cb0bc
oleaut32: Do not cast NULL.
2008-11-03 13:41:53 +01:00
Kirill K. Smirnov
c47d0715ab
oleaut32: Remove superfluous return statement.
2008-10-16 12:37:20 +02:00
Kirill K. Smirnov
fd6d2b4d0c
oleaut32: Return correct error code.
2008-10-16 12:37:15 +02:00
Kirill K. Smirnov
4dfaf90ab2
oleaut32: Print error messages as ERR.
2008-10-16 12:37:10 +02:00
Kirill K. Smirnov
a03cc957e1
oleaut32: Add tests for metafiles, make them pass under Wine.
2008-10-06 14:15:01 +02:00
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
Alexandre Julliard
dac19768fa
Get rid of cursoricon.h.
2005-07-20 10:31:37 +00:00
Alex Villacís Lasso
43076139c3
Fix GIF palette allocation, by relying on ColorCount instead of
...
SColorResolution.
2005-07-19 11:38:25 +00:00
Mike McCormack
fc200d0ca7
Interlocked LONG* gcc warning fixes.
2005-07-11 10:25:19 +00:00
Dmitry Timoshkov
eba47f1dfe
Make remaining OLE interface vtables const.
2005-06-06 19:50:35 +00:00
Marcus Meissner
c834e6a96f
Added testcases for OLE Picture handling.
...
Implemented PICTYPE_NONE loading.
Cleaned up stream loading, handle "lt" magic.
Fixed some small problems exposed by tests against native.
2005-06-06 10:03:58 +00:00
Alex Villacís Lasso
4376140a4f
- Fix leftover negative sign in height parameter for transparent
...
bitmap.
- Properly announce whether bitmap is transparent in get_Attributes.
- GIF transparency is now palette-index based, instead of RGB based.
- Keep original bitmap and XOR mask separate, so that get_Handle
returns original bitmap.
2005-04-22 19:05:05 +00:00
Alex Villacís Lasso
61761e2278
- Fix leftover negative sign in height parameter for transparent
...
bitmap.
- Properly announce whether bitmap is transparent in get_Attributes.
- GIF transparency is now palette-index based, instead of RGB based.
- Keep original bitmap and XOR mask separate, so that get_Handle
returns original bitmap.
2005-04-13 15:18:02 +00:00
Alex Villacís Lasso
7bfc29028a
Initialize [orig|himetric][Width|Height] for PICTYPE_ICON case.
2005-03-30 10:21:30 +00:00
Alex Villacís Lasso
2612f61fff
Fix failure to notice the use of a GIF palette index greater or equal
...
to 128 for transparency.
2005-03-29 18:57:15 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Maxime Bellengé
901bdbf2d1
Implements OleLoadPicturePath.
2005-03-04 12:30:26 +00:00
Jon Griffiths
eb5bf7dd38
Documentation spelling fixes.
2005-02-25 14:07:56 +00:00
Jon Griffiths
743fb99a9f
Use variant macros instead of accessing the union directly.
2005-02-22 14:54:01 +00:00
Vincent Béron
06d7cae4d7
Add a stub for OleLoadPicturePath().
2005-02-21 18:36:06 +00:00
Marcus Meissner
a34c23498f
Check for overflows with ClrUsed.
2005-02-14 11:08:22 +00:00
James Hawkins
ba92d2924a
- Use Interlocked* instead of ++/-- in AddRef/Release.
...
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-14 16:02:20 +00:00
Eric Pouech
cf1d00bb08
Removed excessive statement (break after return or goto, not useful
...
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Walt Ogburn
e5013299e0
In OlePictureImpl_Load, always use DIB_RGB_COLORS because no indexed
...
palette has been defined.
2004-11-09 20:02:25 +00:00
Vincent Béron
4eeae1adb3
Fix some types problems.
2004-10-18 22:39:21 +00:00
Francois Gouget
486d020c1b
Don't define COBJMACROS in objbase.h.
...
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Alex Villacís Lasso
2d02afbc09
Partial implementation for OLEPictureImpl_Save.
2004-09-22 04:04:03 +00:00
Hans Leidekker
719a789792
Fix signed/unsigned comparison warnings.
2004-09-22 02:46:38 +00:00
James Hawkins
364822739f
Use InterlockedDecrement and InterlockedIncrement instead of ++/--.
2004-09-21 00:25:03 +00:00
Alex Villacís Lasso
6df12bb338
Add de-interleaving for GIF images.
2004-09-16 19:07:42 +00:00
Marcus Meissner
00cf13a6e1
Autodetect libgif so extension and try to load it.
2004-09-14 19:27:58 +00:00
Alexandre Julliard
241a4c34b1
Get rid of the non-standard ICOM_THIS macro.
2004-09-09 21:03:58 +00:00
Alexandre Julliard
f714b39762
Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
...
macro.
2004-08-23 19:39:48 +00:00
Alex Villacís Lasso
e9b0ea1554
Add detection of graphic file header in picture load, treat it as
...
no-header case.
2004-08-18 20:53:09 +00:00
Alex Villacís Lasso
d44027e206
Apply HIMETRIC transformation on icons, just like bitmaps.
2004-08-18 00:26:44 +00:00
Alexandre Julliard
48c4bb3c31
Get rid of the non-standard ICOM_VTABLE macro.
2004-08-12 23:00:51 +00:00
Alexandre Julliard
0467ce9fd7
Get rid of the non-standard ICOM_VFIELD macro.
2004-08-12 19:52:49 +00:00
Huw Davies
e82dfab20f
dlopen libungif and libjpeg.
2004-08-04 19:10:26 +00:00
Maxime Bellengé
426b02362b
Correctly create the byte array of gif images to match what
...
CreateDIBitmap expects.
2004-05-10 19:56:34 +00:00
Maxime Bellengé
90bcfdca87
- Fix palette creation.
...
- Fix upside down Gif.
- Add support for transparent Gif.
2004-05-04 02:53:48 +00:00
Kirill Smelkov
7b94c7e094
OLEPictureImpl_Load: fix for headerless pictures.
2004-02-03 00:09:41 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
81c31701d2
Avoid including wine/obj_*.h files directly from C files.
...
Removed no longer used obj_serviceprovider.h.
2003-09-03 00:16:28 +00:00
Alexandre Julliard
2385079814
Warning fix.
2003-08-28 21:52:20 +00:00