Commit Graph

57 Commits

Author SHA1 Message Date
Dmitry Timoshkov 5fc94f0adc oleaut32: Fix loading of an empty picture from a non-statable stream. 2014-04-10 13:55:06 +02:00
Dmitry Timoshkov f20045c28e oleaut32/tests: Add a test for loading an empty picture from a non-statable stream. 2014-04-10 13:55:04 +02:00
Nikolay Sivov bc50be98c9 oleaut32: Implement DISPID_PICT_RENDER dispid. 2014-03-03 17:02:26 +01:00
André Hentschel 320a3f7e7d oleaut32/tests: Fix olepicture tests compilation with __WINESRC__ defined. 2013-10-28 10:37:41 +01:00
Dmitry Timoshkov 97e2c24cc7 oleaut32: Add support for saving an empty picture. 2012-11-26 12:01:40 +01:00
Dmitry Timoshkov 6c53c4ee03 oleaut32: Add a test for loading/saving an empty picture. 2012-11-26 12:01:27 +01:00
Alexandre Julliard 9351867e6a oleaut32/tests: Delete the correct object in the icon test. 2012-10-18 22:28:41 +02:00
Dmitry Timoshkov 78d6a8ca04 oleaut32: Add a test for saving an icon into a stream. 2012-06-01 16:11:36 +02:00
Alexandre Julliard 4b9a558523 oleaut32/tests: Fix handle sign extension on 64-bit. 2012-05-25 11:49:20 +02:00
Dmitry Timoshkov ab816a3a2f oleaut32: Add a test for saving bitmap data into a stream. 2012-05-17 18:25:26 +02:00
Dmitry Timoshkov 340d9c1a78 oleaut32: Call OleCreatePictureIndirect directly. 2012-05-17 17:44:28 +02:00
Alexandre Julliard 9422c19329 oleaut32/tests: Use a better invalid color for the olepicture icon test. 2012-01-23 16:07:41 +01:00
Francois Gouget 6717f5445c oleaut32/tests: Skip some tests when OleLoadPictureEx() is not available.
For the early NT4 releases.
2012-01-09 12:52:12 +01:00
Francois Gouget b682e3b965 oleaut32/tests: Fix the olepicture START_TEST() indentation. 2012-01-09 12:52:12 +01:00
Michael Stefaniuc 160c4f96a7 oleaut32/tests: COM cleanup in olepicture.c. 2011-03-15 17:14:07 +01:00
Austin English af0c217752 oleaut32/tests: Fix a couple of todo_wine's. 2011-02-25 11:08:03 +01:00
Austin English 28e1b942bd oleaut32/tests: Remove win9x hacks. 2011-02-25 11:07:57 +01:00
Austin English 81102327ef oleaut32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-15 17:08:45 +01:00
Alexandre Julliard 70103aadc8 oleaut32/tests: Fix a pointer cast warning. 2010-09-01 14:01:04 +02:00
Nikolay Sivov f7b2add8d9 oleaut32/olepicture: Remove out pointer check in OleCreatePictureIndirect, it should crash. 2010-08-25 11:59:27 +02:00
Nikolay Sivov 99863b02ba oleaut32/olepicture: Properly round while performing pixels->himetric units conversion. 2010-08-23 13:37:02 +02:00
Michael Stefaniuc bd132fed1e oleaut32/tests: Use IsEqualIID instead of memcmp to compare REFIIDs. 2010-07-23 11:46:34 +02:00
Vincent Povirk 6799aaf34a oleaut32: Add test for dibs vs. ddbs in IPicture. 2010-07-19 11:10:01 +02:00
Francois Gouget 7649c75b40 Assorted typo and spelling fixes. 2010-06-24 10:37:05 +02:00
Andrew Nguyen b8fb1c97a1 oleaut32/tests: Update a comment about PNG support in OLE picture tests. 2010-05-20 16:48:37 +02:00
Andrew Nguyen 96dbdcb8c9 oleaut32: Implicitly initialize COM in OleLoadPicturePath. 2010-05-20 16:48:37 +02:00
Andrew Nguyen 61f7f77636 oleaut32: Convert file URLs to DOS paths for special handling in OleLoadPicturePath.
File URLs cannot be used in the moniker code path, as binding to the IStream interface is not possible.
2010-05-20 16:48:37 +02:00
Andrew Nguyen dc13339988 oleaut32: Improve parameter validation in OleLoadPicturePath. 2010-05-20 16:48:37 +02:00
Nikolay Sivov 7f9d5aad7c oleaut32/tests: Fix a couple of leaks in tests. 2009-12-11 17:47:29 +01:00
Wilfried Pasquazzo a00d2235aa oleaut32: Updated IPicture_Render testcase to pass on all older Windows. 2009-10-19 11:45:05 +02:00
Wilfried Pasquazzo 6a5bd0c2ed oleaut32: Respect size of icons when drawing with IPicture_Render. 2009-10-15 12:06:22 +02:00
Wilfried Pasquazzo 57b55a661d oleaut32/tests: Testcase for IPicture_Render with icons, check for drawing size and position. 2009-10-15 12:06:22 +02:00
Francois Gouget 3b072fb772 oleaut32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-23 12:21:33 +01:00
Alasdair Sinclair ded6c50b78 oleaut32/tests: Fix missing void in empty parameter list. 2009-01-30 11:43:26 +01:00
Michael Stefaniuc 330e6d86f9 oleaut32/tests: Remove superfluous pointer casts. 2009-01-29 14:05:58 +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
Jeremy Drake 970a500fb4 oleaut32/tests: Fix double GlobalFree in olepicture tests. 2008-12-16 14:08:55 +01:00
Nikolay Sivov b6d50aed41 oleaut32: Added PICTYPE_NONE and PICTYPE_UNINITIALIZED to IPicture::Render. 2008-12-11 14:28:35 +01:00
Alexandre Julliard a840b6a7f8 Avoid including time.h before winsock.h in tests. 2008-12-04 12:42:53 +01:00
Kirill K. Smirnov a03cc957e1 oleaut32: Add tests for metafiles, make them pass under Wine. 2008-10-06 14:15:01 +02:00
Mikolaj Zalewski 8e7e2c25aa oleaut32: olepicture: Support loading Aldus Placable Metafiles. 2007-10-04 11:40:53 +02:00
Paul Vriens 9b396275ad oleaut32/tests: Use GetModuleHandle and add a few skip's. 2007-08-20 11:50:04 +02:00
Huw Davies e848f6d539 oleaut32: Fixes for the PICTYPE_UNINITIALIZED case. 2007-06-06 12:09:48 +02:00
Francois Gouget 3dd1a8b4f1 oleaut32/tests: Replace some '#if 0's with 'if (0)'s. 2007-01-08 12:07:45 +01:00
Alex Villacís Lasso 8b95d95eb8 oleaut32: Fix tests for redundant headers in OLEPicture load from IStream. 2006-12-24 14:02:44 +01: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 279207b258 oleaut32/tests: Win64 printf format warning fixes. 2006-10-12 20:41:09 +02:00