Commit Graph

66 Commits

Author SHA1 Message Date
Rob Shearman e79b8b8fcd oleaut32: Re-arrange the position of functions and vtables in olefont.c to avoid forward-declarations. 2007-02-20 20:23:30 +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
Hans Leidekker ce66f5d684 oleaut32: Win64 printf format warning fixes. 2006-10-13 12:08:47 +02:00
Andrew Talbot 0e9c97eba3 oleaut32: Cast-qual warnings fix. 2006-09-25 18:15:39 +02:00
Benjamin Arai 3dade1e7de oleaut32: Removes stub message from olefont:OLEFontImpl_FindConnectionPoint. 2006-08-11 11:57:01 +02:00
Benjamin Arai be37e95105 oleaut32: Implement function olefont:OLEFontImpl_IsEqual. 2006-08-03 18:22:03 +02:00
Robert Shearman 3435560317 oleaut32: Implement GetTypeInfoCount for standard fonts. 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 c2afb5cbfb oleaut32: Handle the Weight property in IFontDisp::Invoke. 2006-07-28 12:56:44 +02:00
Alexandre Julliard 06fbe6012f oleaut32: Fixed compiler warning. 2006-07-27 12:03:33 +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 f75b9f190f oleaut32: Implements OLEFontImpl_GetIDsOfNames. 2006-07-21 10:48:26 +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 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 1891e137da oleaut32: Free the connection points on destruction of the font object.
Free the connection points on destruction of the font object and cope
with failure of CreateConnectionPoint on construction.
2006-02-14 11:33:18 +01:00
Robert Shearman 98fd1c5678 Return the correct error code from IConnectionPointContainer::FindConnectionPoint. 2006-02-10 14:51:30 +01:00
Robert Shearman d49e808be0 oleaut: Implement IFontEventsDisp connection point for the standard
font implementation.
2006-02-10 14:50:26 +01: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 2bcc1c07a9 When applying logical / himetric ratio to olefont sizes, must divide
by the standard ratio 72 / 2540.
2005-08-22 09:22:43 +00:00
Alexandre Julliard 738e88db5f Replace the ICOM_THIS_From macros by inline functions. 2005-07-27 15:14:18 +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
Alex Villacís Lasso c2292eefb5 Implement OleFontImpl_QueryTextMetrics. 2005-02-18 12:51:23 +00:00
Vincent Béron dff207d3ce Remove message telling users to copy native stdole32.tlb over as we
now provide it.
Better trace in LoadTypeLib.
Change debug messages type to reflect we provide stdole32.tlb.
2005-01-31 11:34:10 +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
Mike Hearn 45eba51461 Support assigning font objects to other font objects. 2004-11-06 03:49:18 +00:00
Vincent Béron 4eeae1adb3 Fix some types problems. 2004-10-18 22:39:21 +00:00
Francois Gouget 67aa858a31 Assorted spelling fixes. 2004-10-05 18:15:29 +00:00
James Hawkins 364822739f Use InterlockedDecrement and InterlockedIncrement instead of ++/--. 2004-09-21 00:25:03 +00:00
Alexandre Julliard 241a4c34b1 Get rid of the non-standard ICOM_THIS macro. 2004-09-09 21:03:58 +00:00
Francois Gouget 508d51e69c Remove bogus #define statement. 2004-09-07 19:33:23 +00:00
Alexandre Julliard 39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +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
Alexandre Julliard 25e2a320a7 Don't define BEGIN_INTERFACE in unknwn.h. 2004-08-22 21:38:46 +00:00
Robert Shearman 93010bf32f Added implementation for IPersistPropertyBag_Load on OLEFont (based on
a patch by Alex Villacís Lasso).
2004-08-20 19:58:46 +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
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
Francois Gouget 8fc374d8b4 Make Unicode strings 'static const'. 2004-04-20 02:14:00 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Ge van Geldorp 399901e054 Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
with PSDK.
2004-01-23 01:51:33 +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
Marcus Meissner d0372b4e6e Fixed ICOM_CALLs for IFont_xx methods.
Added IPersistPropertyBag, IPersistStreamInit interfaces with stubs.
Implemented IDispatch::Invoke for the used DISPIDs.
2003-01-23 01:23:59 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Ove Kaaven 1f5315c80f Make sure that no files except unknwn.h include wine/obj_base.h
directly.
2002-12-05 20:33:07 +00:00
Michael Stefaniuc 9faec8a877 Compile the oleaut32 dll with -DSTRICT. 2002-10-25 03:12:50 +00:00
Jason Edmeades 99b3307406 Ensure we free the cached HFONT after loading in a fresh font. Enables
fonts in VB programs to appear correctly.
2002-06-25 02:54:06 +00:00