Commit Graph

106 Commits

Author SHA1 Message Date
Nikolay Sivov c0a131f9d9 oleaut32: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-14 11:04:19 +01:00
Michael Stefaniuc 3093ac8b09 oleaut32: Use more wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 19:01:55 +01:00
Nikolay Sivov c4a9a296ba oleaut32: Use wide-char string literals.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-26 21:31:53 +01:00
Damjan Jovanovic 12bc7c0abe oleaut32: IFont never had an IPersistStreamInit interface.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-02 22:06:52 +01:00
Alexandre Julliard aa4ac3ad6c oleaut32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 09:41:13 +02:00
Michael Stefaniuc a1e0a029b0 oleaut32: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:39 +02:00
Michael Stefaniuc a3c5c50bdd oleaut32: Avoid casts from COM objects to interfaces.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-09 09:57:49 +09:00
Nikolay Sivov e57ab97f6f oleaut32: Implement IClassFactory::QueryInterface() for StdFont object.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 23:23:31 +09:00
Nikolay Sivov 0fb770492d oleaut32: Some tests for IFontEventsDisp change event. 2014-02-24 09:11:18 -06:00
Erich E. Hoover 00aeadc6b6 oleaut32: Fix OLEFontImpl_SetRatio return when either cyLogical or cyHimetric are 0. 2014-02-04 17:30:24 +01:00
Erich E. Hoover ba2ce9db49 oleaut32: Handle OLEFontImpl_SetRatio case where cyLogical and cyHimetric are both 1. 2014-02-04 17:30:09 +01:00
Michael Stefaniuc 4281d19d76 oleaut32: Cast to the correct type instead to void pointer. 2013-12-13 12:36:10 +01:00
Frédéric Delanoy f4dc64918e oleaut32: Use BOOL type where appropriate. 2013-10-18 12:34:39 +02:00
Jacek Caban 4a5eca88aa oleaut32: Use proper helpers for iface calls. 2012-07-27 17:05:27 +02:00
Nikolay Sivov 2de8137f11 oleaut32: Use type names and sizeof() instead of hardcoded values for save/load methods. 2011-08-22 16:22:25 +02:00
Nikolay Sivov 1a7d52c907 oleaut32: Use strdupW to duplicate strings. 2011-08-22 16:22:05 +02:00
Nikolay Sivov 08f578a6c5 oleaut32: FONTDESC size field value is not important for OleCreateFontIndirect. 2011-08-22 16:21:32 +02:00
Nikolay Sivov e800158ab0 oleaut32: Get rid of duplicated condition check. 2011-08-22 16:21:01 +02:00
Nikolay Sivov c69be3bfb9 oleaut32: Clean QueryInterface() method, turn impl. calls to interface calls. 2011-08-22 16:20:46 +02:00
Nikolay Sivov 92054ef01c oleaut32: Remove some useless comments and initializers. 2011-08-22 16:20:27 +02:00
Peter Schellenbach 2ecbfbe5df oleaut32: Fixed initial cyLogical value in IFont constructor. Fixed get_Size to return same value as Windows. 2011-03-10 16:30:09 +01:00
Marcus Meissner d9908d2abd oleaut32: Local variable goes out of scope via pointer (Coverity). 2011-03-04 16:26:00 +01:00
Michael Stefaniuc 1fdece9b82 oleaut32: Use ifaces instead of vtbl pointers in OLEFontImpl. 2010-12-16 12:06:51 +01:00
Michael Stefaniuc e4094231a4 oleaut32: Use an iface instead of a vtbl pointer in IClassFactoryImpl. 2010-12-05 16:43:34 +01:00
Nikolay Sivov 2c91ccede6 oleaut32: Fix properties type conversion on property bag load. 2010-10-25 12:41:42 +02:00
Nikolay Sivov 71a3fe3c94 oleaut32: Remove some useless null checks. 2010-10-25 12:41:41 +02:00
Huw Davies 9d6a10a43a oleaut32: Set the font to dirty when loading a new data. 2010-05-10 18:20:36 +02: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
André Hentschel 571b7a5a3a oleaut32: Fix a crash in VB6. 2010-01-25 18:05:03 +01:00
Alexandre Julliard 8fce9369b8 oleaut32: Replace long and unsigned long by more appropriate types. 2009-07-03 13:48:54 +02:00
Michael Stefaniuc a3f8fd71e1 oleaut32: Remove superfluous pointer casts. 2009-02-09 14:37:23 +01:00
Alexandre Julliard c42130f010 oleaut32: Make some functions static. 2008-12-02 15:24:59 +01:00
Andrew Talbot 9d16a42210 oleaut32: Assign to structs instead of using memcpy. 2008-03-12 11:59:27 +01:00
Rob Shearman ed9c7396fa oleaut32: Fix local variable shadowing in OLEFontImpl_Invoke. 2008-02-28 10:44:27 +01:00
Rob Shearman e23598132f oleaut32: Fix size calculation in OLEFontImpl_GetSizeMax for multi-byte locale environments. 2008-02-28 10:44:22 +01:00
Rob Shearman ab8302d88f oleaut32: Don't store result of CompareStringW in HRESULT in OLEFontImpl_IsEqual.
It returns an INT, which is quite different to an HRESULT.
2008-02-28 10:44:17 +01:00
Rob Shearman 05f75b9ff9 oleaut32: Fix a leak of a typelib object in OLEFontImpl_GetTypeInfo. 2008-02-04 13:02:39 +01:00
Andrew Talbot ac82f20b36 oleaut32: Constify some variables. 2007-07-03 12:29:24 +02:00
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