Commit Graph

50 Commits

Author SHA1 Message Date
Nikolay Sivov 71a3fe3c94 oleaut32: Remove some useless null checks. 2010-10-25 12:41:41 +02:00
Francois Gouget 3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Huw Davies 7e42fd8b4e oleaut32: If the font name property is changed, don't insist on the current charset when selecting a new font. 2010-02-02 12:00:25 +01:00
Huw Davies cf602ca422 oleaut32: Realize the font in getter functions. 2010-02-02 12:00:17 +01:00
Huw Davies 7aaaf738ec oleaut32: Fix font handle lifetimes. 2010-02-01 15:40:58 +01:00
Huw Davies 439d585218 oleaut32: Add tests to explore the lifetime of font handles. 2010-02-01 15:39:44 +01:00
Huw Davies ad9843faab oleaut32: Fix an ole font leak. 2010-02-01 15:39:33 +01:00
André Hentschel 571b7a5a3a oleaut32: Fix a crash in VB6. 2010-01-25 18:05:03 +01:00
Rob Shearman f7624cbfbc oleaut32: Remove LPVOID variables in olefont tests and pass IFont pointers into OleCreateFontIndirect directly.
In many places the assignment of the LPVOID variable into the
corresponding IFont * variable has been forgotten.
2009-12-01 15:10:37 +01:00
Michael Stefaniuc 8b2723d48d oleaut32/tests: Use LONG instead of long. 2009-10-02 15:06:57 +02:00
Francois Gouget 3b072fb772 oleaut32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-23 12:21:33 +01:00
Alexandre Julliard a840b6a7f8 Avoid including time.h before winsock.h in tests. 2008-12-04 12:42:53 +01:00
Michael Stefaniuc 319f28553c oleaut32/tests: Fix printf format warning. 2008-09-25 11:51:23 +02:00
James Hawkins 40aeb9563f oleaut32: Fix a failing test in win95. 2008-09-24 13:12:04 +02:00
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
James Hawkins d932fefb61 oleaut32: Fix a test that fails on all platforms up to and including win2k. 2008-07-01 15:00:01 +02:00
James Hawkins 4c928d39ad oleaut32: Disable olefont tests that fail on all platforms. 2008-05-29 12:12:54 +02:00
Francois Gouget 8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Rob Shearman 2746baf8f0 oleaut32: Fix a memory leak in the olefont tests. 2008-02-04 13:02:44 +01:00
Paul Vriens 9b396275ad oleaut32/tests: Use GetModuleHandle and add a few skip's. 2007-08-20 11:50:04 +02:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Rob Shearman 4c40b3974c oleaut32: Fix IFont::AddRefHFont and IFont::ReleaseRefHFont.
The tests show that there is a global cache that keeps references to 
HFONTs that is released when all IFont objects are released.
(Based on a patch by Benjamin Arai.)
2007-02-20 20:23:24 +01:00
Paul Vriens 23bbca535f oleaut32/tests: Cast-qual warnings fixes. 2007-01-12 20:41:10 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Hans Leidekker 279207b258 oleaut32/tests: Win64 printf format warning fixes. 2006-10-12 20:41:09 +02:00
Francois Gouget 96f393178d oleaut32: Remove unnecessary casts. 2006-10-03 20:18:45 +02:00
Benjamin Arai bf6867024c oleaut32: Conformance test for olefont:AddRefHfont. 2006-08-14 11:48:03 +02:00
Benjamin Arai c4ba8a8c87 oleaut32: Conformance test for olefont:ReleaseHfont. 2006-08-14 11:47:55 +02:00
Benjamin Arai 0b44e9a641 oleaut32: Added test to check if olefont:IFont_QueryInterface increments ref counter. 2006-08-12 11:40:12 +02:00
Benjamin Arai be37e95105 oleaut32: Implement function olefont:OLEFontImpl_IsEqual. 2006-08-03 18:22:03 +02:00
Benjamin Arai 41641554f4 oleaut32: Conformance test for olefont:OLEFontImpl_IsEqual. 2006-08-03 18:20:54 +02:00
Robert Shearman 9985f50389 oleaut32: Add a test for passing an invalid number of input parameters into IFontDisp::Invoke with DISPATCH_PROPERTYGET. 2006-07-28 12:56:45 +02:00
Robert Shearman 18732f85f9 oleaut32: Fix the return code for an invalid dispid in IFontDisp::Invoke. 2006-07-28 12:56:44 +02:00
Robert Shearman fd48f795ff oleaut32: Add a successful test for IFontDisp::Invoke. 2006-07-28 12:56:44 +02:00
Robert Shearman bbdcccd3b7 oleaut32: Add validation of some more parameters in IFontDisp::Invoke. 2006-07-27 11:42:39 +02:00
Robert Shearman 207ec43e70 oleaut32: Clean up IFontDisp::Invoke by using VariantChangeTypeEx to coerce the input parameter into the correct type. 2006-07-27 11:42:33 +02:00
Benjamin Arai 31e3ad7150 oleaut32: OLEFontImpl_GetIDsOfNames conformance test. 2006-07-21 10:48:34 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 7fbca4c111 oleaut: Fix standard font cloning.
Create new empty connection points on clone of the standard Font
(based on a patch by Alex Villacís Lasso).
2006-02-24 11:23:03 +01:00
Robert Shearman bcac0cd5d5 oleaut: Add tests for IFontEventsDisp. 2006-02-10 14:50:40 +01:00
Robert Shearman 3a0a31843e Add a test for Invoking an OleFont function. 2005-11-04 11:13:08 +00:00
Francois Gouget 10f72c719b Add trailing '\n's to ok() calls. 2005-09-26 09:52:25 +00:00
Walt Ogburn d765cb960f Get IFontDisp type information from stdole2.tlb, instead of IDispatch
information from stdole32.tlb.
2005-09-13 10:36:54 +00:00
Walt Ogburn 9473bcbb93 Add tests for olefont size functions & conversions. 2005-08-22 09:22:52 +00:00
Pierre d'Herbemont 342da59b0c Remove stdlib.h inclusion if winsock.h is included. 2005-05-18 15:33:20 +00:00
Francois Gouget bf72af30d0 Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
as is done in the Windows headers.
Add #define COBJMACROS where needed in Wine.
Fixes the compilation of the oleaut32/tests/olefont.c and
urlmon/tests/url.c conformance tests with the Windows headers.
2004-08-11 19:43:45 +00:00
Jon Griffiths 19271d7ae9 Use function ptrs for call only present in later versions.
Fix tests that fail with old versions.
2004-03-17 20:47:42 +00:00
Francois Gouget 231fbff8d0 Add trailing '\n's to ok() calls. 2004-01-27 04:01:10 +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
Marcus Meissner 615615b0c9 OleCreateFontIndirect(NULL,...) uses the OLE StdFont.
Added testcase for OleCreateFontIndirect(NULL).
Added VT_NULL -> VT_BOOL variant converter.
2003-06-24 19:21:20 +00:00