winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
October 2008
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
3 participants
1216 discussions
Start a n
N
ew thread
Bobby Bingham : gdi32: Add support for the GGO_UNHINTED flag in GetGlyphOutline.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: a900f5e06509237ea87d81eda5ee67a150571afa URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a900f5e06509237ea87d81eda…
Author: Bobby Bingham <uhmmmm(a)gmail.com> Date: Sun Oct 26 18:20:13 2008 -0400 gdi32: Add support for the GGO_UNHINTED flag in GetGlyphOutline. --- dlls/gdi32/freetype.c | 5 +++++ include/wingdi.h | 1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 313e625..2e64038 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -4373,6 +4373,11 @@ DWORD WineEngGetGlyphOutline(GdiFont *incoming_font, UINT glyph, UINT format, original_index = glyph_index; } + if(format & GGO_UNHINTED) { + load_flags |= FT_LOAD_NO_HINTING; + format &= ~GGO_UNHINTED; + } + /* tategaki never appears to happen to lower glyph index */ if (glyph_index < TATEGAKI_LOWER_BOUND ) tategaki = FALSE; diff --git a/include/wingdi.h b/include/wingdi.h index 322a267..e7be055 100644 --- a/include/wingdi.h +++ b/include/wingdi.h @@ -1294,6 +1294,7 @@ typedef struct #define GGO_GRAY4_BITMAP 5 #define GGO_GRAY8_BITMAP 6 #define GGO_GLYPH_INDEX 0x80 +#define GGO_UNHINTED 0x100 #ifdef __WINESRC__ #define WINE_GGO_GRAY16_BITMAP 0x7f
1
0
0
0
Henri Verbeet : wined3d: Fix some indentation.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: c52a55d724f2e348717d2bb6e535a93c1bb49abe URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c52a55d724f2e348717d2bb6e…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Tue Oct 28 09:27:20 2008 +0100 wined3d: Fix some indentation. --- dlls/wined3d/device.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 737708f..6307950 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -1391,11 +1391,11 @@ static void WINAPI IWineD3DDeviceImpl_RestoreWindow(IWineD3DDevice *iface, HWND } /* example at
http://www.fairyengine.com/articles/dxmultiviews.htm
*/ -static HRESULT WINAPI IWineD3DDeviceImpl_CreateSwapChain(IWineD3DDevice* iface, WINED3DPRESENT_PARAMETERS* pPresentationParameters, IWineD3DSwapChain** ppSwapChain, - IUnknown* parent, - D3DCB_CREATERENDERTARGETFN D3DCB_CreateRenderTarget, - D3DCB_CREATEDEPTHSTENCILSURFACEFN D3DCB_CreateDepthStencil, - WINED3DSURFTYPE surface_type) { +static HRESULT WINAPI IWineD3DDeviceImpl_CreateSwapChain(IWineD3DDevice* iface, + WINED3DPRESENT_PARAMETERS* pPresentationParameters, IWineD3DSwapChain** ppSwapChain, + IUnknown* parent, D3DCB_CREATERENDERTARGETFN D3DCB_CreateRenderTarget, + D3DCB_CREATEDEPTHSTENCILSURFACEFN D3DCB_CreateDepthStencil, WINED3DSURFTYPE surface_type) +{ IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface; HDC hDc;
1
0
0
0
Henri Verbeet : wined3d: Rename CreateAdditionalSwapChain to CreateSwapChain.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: 092b51e82aa0a6c6f55fba932ece9e0fd557767a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=092b51e82aa0a6c6f55fba932…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Tue Oct 28 09:27:20 2008 +0100 wined3d: Rename CreateAdditionalSwapChain to CreateSwapChain. --- dlls/d3d8/device.c | 4 ++-- dlls/d3d9/swapchain.c | 4 ++-- dlls/ddraw/ddraw.c | 6 +++--- dlls/wined3d/device.c | 16 ++++++++-------- include/wine/wined3d_interface.h | 10 +++++----- 5 files changed, 20 insertions(+), 20 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=092b51e82aa0a6c6f55fb…
1
0
0
0
Henri Verbeet : d3d10: Make some functions static.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: 3eb3538556c50085ec6e89338f95c441c675b77e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=3eb3538556c50085ec6e89338…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Tue Oct 28 09:27:20 2008 +0100 d3d10: Make some functions static. --- dlls/d3d10/device.c | 196 +++++++++++++++++++++++++------------------------- 1 files changed, 98 insertions(+), 98 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=3eb3538556c50085ec6e8…
1
0
0
0
Tobias Jakobi : wined3d: Fix typo in baseshader.c.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: f4e0dec42ed4c5cfc8f3970d3b49e31081fe5a1f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f4e0dec42ed4c5cfc8f3970d3…
Author: Tobias Jakobi <liquid.acid(a)gmx.net> Date: Sun Oct 26 17:01:15 2008 +0100 wined3d: Fix typo in baseshader.c. --- dlls/wined3d/baseshader.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/baseshader.c b/dlls/wined3d/baseshader.c index 03567a1..f7c8d35 100644 --- a/dlls/wined3d/baseshader.c +++ b/dlls/wined3d/baseshader.c @@ -937,7 +937,7 @@ void shader_trace_init( unsigned int len = 0; DWORD i; - TRACE("(%p) : Parsing programme\n", This); + TRACE("(%p) : Parsing program\n", This); if (NULL != pToken) { while (WINED3DVS_END() != *pToken) {
1
0
0
0
Austin English : advapi32/tests: fix a couple failures on Vista.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: 955759381d58edc7acf77847cbcbbe70c250d53a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=955759381d58edc7acf77847c…
Author: Austin English <austinenglish(a)gmail.com> Date: Mon Oct 27 15:24:52 2008 -0500 advapi32/tests: fix a couple failures on Vista. --- dlls/advapi32/tests/security.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c index d4f532d..db955cd 100644 --- a/dlls/advapi32/tests/security.c +++ b/dlls/advapi32/tests/security.c @@ -1319,8 +1319,8 @@ static void test_LookupAccountSid(void) real_dom_sizeA = MAX_PATH; ret = LookupAccountSidA("deepthought", pUsersSid, accountA, &real_acc_sizeA, domainA, &real_dom_sizeA, &use); ok(!ret, "LookupAccountSidA() Expected FALSE got TRUE\n"); - ok(GetLastError() == RPC_S_SERVER_UNAVAILABLE, - "LookupAccountSidA() Expected RPC_S_SERVER_UNAVAILABLE, got %u\n", GetLastError()); + ok(GetLastError() == RPC_S_SERVER_UNAVAILABLE || GetLastError() == RPC_S_INVALID_NET_ADDR /* Vista */, + "LookupAccountSidA() Expected RPC_S_SERVER_UNAVAILABLE or RPC_S_INVALID_NET_ADDR, got %u\n", GetLastError()); /* native windows crashes if domainW or accountW is NULL */ @@ -1664,8 +1664,8 @@ static void test_LookupAccountName(void) domain_size = 0; ret = LookupAccountNameA("deepthought", NULL, NULL, &sid_size, NULL, &domain_size, &sid_use); ok(!ret, "Expected 0, got %d\n", ret); - ok(GetLastError() == RPC_S_SERVER_UNAVAILABLE, - "Expected RPC_S_SERVER_UNAVAILABLE, got %d\n", GetLastError()); + ok(GetLastError() == RPC_S_SERVER_UNAVAILABLE || GetLastError() == RPC_S_INVALID_NET_ADDR /* Vista */, + "Expected RPC_S_SERVER_UNAVAILABLE or RPC_S_INVALID_NET_ADDR, got %d\n", GetLastError()); ok(sid_size == 0, "Expected 0, got %d\n", sid_size); ok(domain_size == 0, "Expected 0, got %d\n", domain_size);
1
0
0
0
Henri Verbeet : dxgi: Make some functions static.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: fc17a99ef0e86dd639ec5093237525d983ca929d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fc17a99ef0e86dd639ec50932…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Tue Oct 28 09:27:20 2008 +0100 dxgi: Make some functions static. --- dlls/dxgi/device.c | 24 ++++++++++++------------ dlls/dxgi/factory.c | 24 ++++++++++++------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/dlls/dxgi/device.c b/dlls/dxgi/device.c index 9c7f252..195c502 100644 --- a/dlls/dxgi/device.c +++ b/dlls/dxgi/device.c @@ -26,7 +26,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dxgi); /* IUnknown methods */ -HRESULT STDMETHODCALLTYPE dxgi_device_QueryInterface(IDXGIDevice* iface, REFIID riid, void **object) +static HRESULT STDMETHODCALLTYPE dxgi_device_QueryInterface(IDXGIDevice *iface, REFIID riid, void **object) { TRACE("iface %p, riid %s, object %p\n", iface, debugstr_guid(riid), object); @@ -45,7 +45,7 @@ HRESULT STDMETHODCALLTYPE dxgi_device_QueryInterface(IDXGIDevice* iface, REFIID return E_NOINTERFACE; } -ULONG STDMETHODCALLTYPE dxgi_device_AddRef(IDXGIDevice* iface) +static ULONG STDMETHODCALLTYPE dxgi_device_AddRef(IDXGIDevice *iface) { struct dxgi_device *This = (struct dxgi_device *)iface; ULONG refcount = InterlockedIncrement(&This->refcount); @@ -55,7 +55,7 @@ ULONG STDMETHODCALLTYPE dxgi_device_AddRef(IDXGIDevice* iface) return refcount; } -ULONG STDMETHODCALLTYPE dxgi_device_Release(IDXGIDevice* iface) +static ULONG STDMETHODCALLTYPE dxgi_device_Release(IDXGIDevice *iface) { struct dxgi_device *This = (struct dxgi_device *)iface; ULONG refcount = InterlockedDecrement(&This->refcount); @@ -72,28 +72,28 @@ ULONG STDMETHODCALLTYPE dxgi_device_Release(IDXGIDevice* iface) /* IDXGIObject methods */ -HRESULT STDMETHODCALLTYPE dxgi_device_SetPrivateData(IDXGIDevice* iface, REFGUID guid, UINT data_size, const void *data) +static HRESULT STDMETHODCALLTYPE dxgi_device_SetPrivateData(IDXGIDevice *iface, REFGUID guid, UINT data_size, const void *data) { FIXME("iface %p, guid %s, data_size %u, data %p stub!\n", iface, debugstr_guid(guid), data_size, data); return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_device_SetPrivateDataInterface(IDXGIDevice* iface, REFGUID guid, const IUnknown *object) +static HRESULT STDMETHODCALLTYPE dxgi_device_SetPrivateDataInterface(IDXGIDevice *iface, REFGUID guid, const IUnknown *object) { FIXME("iface %p, guid %s, object %p stub!\n", iface, debugstr_guid(guid), object); return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_device_GetPrivateData(IDXGIDevice* iface, REFGUID guid, UINT *data_size, void *data) +static HRESULT STDMETHODCALLTYPE dxgi_device_GetPrivateData(IDXGIDevice *iface, REFGUID guid, UINT *data_size, void *data) { FIXME("iface %p, guid %s, data_size %p, data %p stub!\n", iface, debugstr_guid(guid), data_size, data); return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_device_GetParent(IDXGIDevice* iface, REFIID riid, void **parent) +static HRESULT STDMETHODCALLTYPE dxgi_device_GetParent(IDXGIDevice *iface, REFIID riid, void **parent) { FIXME("iface %p, riid %s, parent %p stub!\n", iface, debugstr_guid(riid), parent); @@ -102,14 +102,14 @@ HRESULT STDMETHODCALLTYPE dxgi_device_GetParent(IDXGIDevice* iface, REFIID riid, /* IDXGIDevice methods */ -HRESULT STDMETHODCALLTYPE dxgi_device_GetAdapter(IDXGIDevice* iface, IDXGIAdapter **adapter) +static HRESULT STDMETHODCALLTYPE dxgi_device_GetAdapter(IDXGIDevice *iface, IDXGIAdapter **adapter) { FIXME("iface %p, adapter %p stub!\n", iface, adapter); return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_device_CreateSurface(IDXGIDevice* iface, +static HRESULT STDMETHODCALLTYPE dxgi_device_CreateSurface(IDXGIDevice *iface, const DXGI_SURFACE_DESC *desc, UINT surface_count, DXGI_USAGE usage, const DXGI_SHARED_RESOURCE *shared_resource, IDXGISurface **surface) { @@ -119,7 +119,7 @@ HRESULT STDMETHODCALLTYPE dxgi_device_CreateSurface(IDXGIDevice* iface, return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_device_QueryResourceResidency(IDXGIDevice* iface, +static HRESULT STDMETHODCALLTYPE dxgi_device_QueryResourceResidency(IDXGIDevice *iface, IUnknown *const *resources, DXGI_RESIDENCY *residency, UINT resource_count) { FIXME("iface %p, resources %p, residency %p, resource_count %u stub!\n", @@ -128,14 +128,14 @@ HRESULT STDMETHODCALLTYPE dxgi_device_QueryResourceResidency(IDXGIDevice* iface, return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_device_SetGPUThreadPriority(IDXGIDevice* iface, INT priority) +static HRESULT STDMETHODCALLTYPE dxgi_device_SetGPUThreadPriority(IDXGIDevice *iface, INT priority) { FIXME("iface %p, priority %d stub!\n", iface, priority); return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_device_GetGPUThreadPriority(IDXGIDevice* iface, INT *priority) +static HRESULT STDMETHODCALLTYPE dxgi_device_GetGPUThreadPriority(IDXGIDevice *iface, INT *priority) { FIXME("iface %p, priority %p stub!\n", iface, priority); diff --git a/dlls/dxgi/factory.c b/dlls/dxgi/factory.c index d9593e3..5b85783 100644 --- a/dlls/dxgi/factory.c +++ b/dlls/dxgi/factory.c @@ -26,7 +26,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dxgi); /* IUnknown methods */ -HRESULT STDMETHODCALLTYPE dxgi_factory_QueryInterface(IDXGIFactory* iface, REFIID riid, void **object) +static HRESULT STDMETHODCALLTYPE dxgi_factory_QueryInterface(IDXGIFactory *iface, REFIID riid, void **object) { TRACE("iface %p, riid %s, object %p\n", iface, debugstr_guid(riid), object); @@ -45,7 +45,7 @@ HRESULT STDMETHODCALLTYPE dxgi_factory_QueryInterface(IDXGIFactory* iface, REFII return E_NOINTERFACE; } -ULONG STDMETHODCALLTYPE dxgi_factory_AddRef(IDXGIFactory* iface) +static ULONG STDMETHODCALLTYPE dxgi_factory_AddRef(IDXGIFactory *iface) { struct dxgi_factory *This = (struct dxgi_factory *)iface; ULONG refcount = InterlockedIncrement(&This->refcount); @@ -55,7 +55,7 @@ ULONG STDMETHODCALLTYPE dxgi_factory_AddRef(IDXGIFactory* iface) return refcount; } -ULONG STDMETHODCALLTYPE dxgi_factory_Release(IDXGIFactory* iface) +static ULONG STDMETHODCALLTYPE dxgi_factory_Release(IDXGIFactory *iface) { struct dxgi_factory *This = (struct dxgi_factory *)iface; ULONG refcount = InterlockedDecrement(&This->refcount); @@ -72,7 +72,7 @@ ULONG STDMETHODCALLTYPE dxgi_factory_Release(IDXGIFactory* iface) /* IDXGIObject methods */ -HRESULT STDMETHODCALLTYPE dxgi_factory_SetPrivateData(IDXGIFactory* iface, +static HRESULT STDMETHODCALLTYPE dxgi_factory_SetPrivateData(IDXGIFactory *iface, REFGUID guid, UINT data_size, const void *data) { FIXME("iface %p, guid %s, data_size %u, data %p stub!\n", iface, debugstr_guid(guid), data_size, data); @@ -80,7 +80,7 @@ HRESULT STDMETHODCALLTYPE dxgi_factory_SetPrivateData(IDXGIFactory* iface, return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_factory_SetPrivateDataInterface(IDXGIFactory* iface, +static HRESULT STDMETHODCALLTYPE dxgi_factory_SetPrivateDataInterface(IDXGIFactory *iface, REFGUID guid, const IUnknown *object) { FIXME("iface %p, guid %s, object %p stub!\n", iface, debugstr_guid(guid), object); @@ -88,7 +88,7 @@ HRESULT STDMETHODCALLTYPE dxgi_factory_SetPrivateDataInterface(IDXGIFactory* ifa return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_factory_GetPrivateData(IDXGIFactory* iface, +static HRESULT STDMETHODCALLTYPE dxgi_factory_GetPrivateData(IDXGIFactory *iface, REFGUID guid, UINT *data_size, void *data) { FIXME("iface %p, guid %s, data_size %p, data %p stub!\n", iface, debugstr_guid(guid), data_size, data); @@ -96,7 +96,7 @@ HRESULT STDMETHODCALLTYPE dxgi_factory_GetPrivateData(IDXGIFactory* iface, return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_factory_GetParent(IDXGIFactory* iface, REFIID riid, void **parent) +static HRESULT STDMETHODCALLTYPE dxgi_factory_GetParent(IDXGIFactory *iface, REFIID riid, void **parent) { FIXME("iface %p, riid %s, parent %p stub!\n", iface, debugstr_guid(riid), parent); @@ -105,28 +105,28 @@ HRESULT STDMETHODCALLTYPE dxgi_factory_GetParent(IDXGIFactory* iface, REFIID rii /* IDXGIFactory methods */ -HRESULT STDMETHODCALLTYPE dxgi_factory_EnumAdapters(IDXGIFactory* iface, UINT adapter_idx, IDXGIAdapter **adapter) +static HRESULT STDMETHODCALLTYPE dxgi_factory_EnumAdapters(IDXGIFactory *iface, UINT adapter_idx, IDXGIAdapter **adapter) { FIXME("iface %p, adapter_idx %u, adapter %p stub!\n", iface, adapter_idx, adapter); return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_factory_MakeWindowAssociation(IDXGIFactory* iface, HWND window, UINT flags) +static HRESULT STDMETHODCALLTYPE dxgi_factory_MakeWindowAssociation(IDXGIFactory *iface, HWND window, UINT flags) { FIXME("iface %p, window %p, flags %#x stub!\n\n", iface, window, flags); return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_factory_GetWindowAssociation(IDXGIFactory* iface, HWND *window) +static HRESULT STDMETHODCALLTYPE dxgi_factory_GetWindowAssociation(IDXGIFactory *iface, HWND *window) { FIXME("iface %p, window %p stub!\n", iface, window); return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_factory_CreateSwapChain(IDXGIFactory* iface, +static HRESULT STDMETHODCALLTYPE dxgi_factory_CreateSwapChain(IDXGIFactory *iface, IUnknown *device, DXGI_SWAP_CHAIN_DESC *desc, IDXGISwapChain **swapchain) { FIXME("iface %p, device %p, desc %p, swapchain %p stub!\n", iface, device, desc, swapchain); @@ -134,7 +134,7 @@ HRESULT STDMETHODCALLTYPE dxgi_factory_CreateSwapChain(IDXGIFactory* iface, return E_NOTIMPL; } -HRESULT STDMETHODCALLTYPE dxgi_factory_CreateSoftwareAdapter(IDXGIFactory* iface, +static HRESULT STDMETHODCALLTYPE dxgi_factory_CreateSoftwareAdapter(IDXGIFactory *iface, HMODULE swrast, IDXGIAdapter **adapter) { FIXME("iface %p, swrast %p, adapter %p stub!\n", iface, swrast, adapter);
1
0
0
0
Alistair Leslie-Hughes : msxml3: Add support to get_nodeTypedValue on Element Nodes.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: 13606ed49d40174935135a053426f1f1ca7c9dc5 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=13606ed49d40174935135a053…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Tue Oct 28 19:47:15 2008 +1100 msxml3: Add support to get_nodeTypedValue on Element Nodes. --- dlls/msxml3/node.c | 28 ++++++++++++++++++- dlls/msxml3/tests/domdoc.c | 63 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+), 2 deletions(-) diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c index 63aa8df..3162f82 100644 --- a/dlls/msxml3/node.c +++ b/dlls/msxml3/node.c @@ -977,8 +977,32 @@ static HRESULT WINAPI xmlnode_get_nodeTypedValue( IXMLDOMNode *iface, VARIANT* typedValue) { - FIXME("ignoring data type\n"); - return xmlnode_get_nodeValue(iface, typedValue); + xmlnode *This = impl_from_IXMLDOMNode( iface ); + HRESULT r = S_FALSE; + + FIXME("ignoring data type %p %p\n", This, typedValue); + + if(!typedValue) + return E_INVALIDARG; + + V_VT(typedValue) = VT_NULL; + + switch ( This->node->type ) + { + case XML_ELEMENT_NODE: + { + xmlChar *content = xmlNodeGetContent(This->node); + V_VT(typedValue) = VT_BSTR; + V_BSTR(typedValue) = bstr_from_xmlChar( content ); + xmlFree(content); + r = S_OK; + break; + } + default: + r = xmlnode_get_nodeValue(iface, typedValue); + } + + return r; } static HRESULT WINAPI xmlnode_put_nodeTypedValue( diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c index 578738f..df3fa0e 100644 --- a/dlls/msxml3/tests/domdoc.c +++ b/dlls/msxml3/tests/domdoc.c @@ -146,6 +146,10 @@ static const CHAR szTransformOutput[] = "Hello World" "</h1></body></html>"; +static const CHAR szTypeValueXML[] = +"<?xml version=\"1.0\" encoding=\"utf-8\"?>" +"<string>Wine</string>"; + static const WCHAR szNonExistentFile[] = { 'c', ':', '\\', 'N', 'o', 'n', 'e', 'x', 'i', 's', 't', 'e', 'n', 't', '.', 'x', 'm', 'l', 0 }; @@ -3782,6 +3786,64 @@ static void test_FormattingXML(void) free_bstrs(); } +static void test_NodeTypeValue(void) +{ + IXMLDOMDocument2 *doc = NULL; + IXMLDOMNode *pNode; + VARIANT_BOOL bSucc; + HRESULT hr; + VARIANT v; + + hr = CoCreateInstance( &CLSID_DOMDocument, NULL, CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument2, (LPVOID*)&doc ); + if( hr != S_OK ) + return; + + hr = IXMLDOMDocument2_loadXML(doc, _bstr_(szTypeValueXML), &bSucc); + ok(hr == S_OK, "ret %08x\n", hr ); + ok(bSucc == VARIANT_TRUE, "Expected VARIANT_TRUE got VARIANT_FALSE\n"); + if(bSucc == VARIANT_TRUE) + { + hr = IXMLDOMDocument2_get_nodeValue(doc, NULL); + ok(hr == E_INVALIDARG, "ret %08x\n", hr ); + + V_VT(&v) = VT_BSTR; + V_BSTR(&v) = NULL; + hr = IXMLDOMDocument2_get_nodeValue(doc, &v); + ok(hr == S_FALSE, "ret %08x\n", hr ); + ok(V_VT(&v) == VT_NULL, "expect VT_NULL got %d\n", V_VT(&v)); + + hr = IXMLDOMDocument2_get_nodeTypedValue(doc, NULL); + ok(hr == E_INVALIDARG, "ret %08x\n", hr ); + + hr = IXMLDOMDocument2_get_nodeTypedValue(doc, &v); + ok(hr == S_FALSE, "ret %08x\n", hr ); + + hr = IXMLDOMDocument2_selectSingleNode(doc, _bstr_("string"), &pNode); + ok(hr == S_OK, "ret %08x\n", hr ); + if(hr == S_OK) + { + V_VT(&v) = VT_BSTR; + V_BSTR(&v) = NULL; + hr = IXMLDOMNode_get_nodeValue(pNode, &v); + ok(hr == S_FALSE, "ret %08x\n", hr ); + ok(V_VT(&v) == VT_NULL, "expect VT_NULL got %d\n", V_VT(&v)); + + hr = IXMLDOMNode_get_nodeTypedValue(pNode, NULL); + ok(hr == E_INVALIDARG, "ret %08x\n", hr ); + + hr = IXMLDOMNode_get_nodeTypedValue(pNode, &v); + ok(hr == S_OK, "ret %08x\n", hr ); + ok(!lstrcmpW( V_BSTR(&v), _bstr_("Wine") ), "incorrect value\n"); + + IXMLDOMNode_Release(pNode); + } + } + + IXMLDOMDocument2_Release(doc); + + free_bstrs(); +} + START_TEST(domdoc) { HRESULT r; @@ -3810,6 +3872,7 @@ START_TEST(domdoc) test_testTransforms(); test_Namespaces(); test_FormattingXML(); + test_NodeTypeValue(); CoUninitialize(); }
1
0
0
0
Alistair Leslie-Hughes : comdlg32: Fix test under win98.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: 9e4d6e6110568c7f4ef2beeff4ca7b0c3dc23b89 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9e4d6e6110568c7f4ef2beeff…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Tue Oct 28 19:49:45 2008 +1100 comdlg32: Fix test under win98. --- dlls/comdlg32/tests/filedlg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/comdlg32/tests/filedlg.c b/dlls/comdlg32/tests/filedlg.c index 09a2428..e05f5a9 100644 --- a/dlls/comdlg32/tests/filedlg.c +++ b/dlls/comdlg32/tests/filedlg.c @@ -254,7 +254,7 @@ static void test_create_view_template(void) ofn.nMaxFile = 1042; ofn.lpfnHook = (LPOFNHOOKPROC)template_hook; ofn.Flags = OFN_ENABLEHOOK | OFN_EXPLORER| OFN_ENABLETEMPLATE; - ofn.hInstance = GetModuleHandleW(NULL); + ofn.hInstance = GetModuleHandleA(NULL); ofn.lpTemplateName = "template1"; ofn.lpstrFilter="text\0*.txt\0All\0*\0\0"; ret = GetOpenFileNameA(&ofn);
1
0
0
0
Michael Stefaniuc : comctl32: Remove superfluous casts as HANDLE to other handle types.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: d1791f81087c35acea2d123fca7430a2033b3fbe URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d1791f81087c35acea2d123fc…
Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Mon Oct 27 23:07:40 2008 +0100 comctl32: Remove superfluous casts as HANDLE to other handle types. --- dlls/comctl32/comboex.c | 4 ++-- dlls/comctl32/ipaddress.c | 2 +- dlls/comctl32/toolbar.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/comctl32/comboex.c b/dlls/comctl32/comboex.c index 8d91992..aa5af6e 100644 --- a/dlls/comctl32/comboex.c +++ b/dlls/comctl32/comboex.c @@ -1713,7 +1713,7 @@ static LRESULT COMBOEX_WindowPosChanging (COMBOEX_INFO *infoPtr, WINDOWPOS *wp) static LRESULT WINAPI COMBOEX_EditWndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { - HWND hwndComboex = (HWND)GetPropW(hwnd, COMBOEX_SUBCLASS_PROP); + HWND hwndComboex = GetPropW(hwnd, COMBOEX_SUBCLASS_PROP); COMBOEX_INFO *infoPtr = COMBOEX_GetInfoPtr (hwndComboex); NMCBEENDEDITW cbeend; WCHAR edit_text[260]; @@ -1911,7 +1911,7 @@ COMBOEX_EditWndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) static LRESULT WINAPI COMBOEX_ComboWndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { - HWND hwndComboex = (HWND)GetPropW(hwnd, COMBOEX_SUBCLASS_PROP); + HWND hwndComboex = GetPropW(hwnd, COMBOEX_SUBCLASS_PROP); COMBOEX_INFO *infoPtr = COMBOEX_GetInfoPtr (hwndComboex); NMCBEENDEDITW cbeend; NMMOUSE nmmse; diff --git a/dlls/comctl32/ipaddress.c b/dlls/comctl32/ipaddress.c index 4a91417..15d39f5 100644 --- a/dlls/comctl32/ipaddress.c +++ b/dlls/comctl32/ipaddress.c @@ -454,7 +454,7 @@ static BOOL IPADDRESS_GotoNextField (const IPADDRESS_INFO *infoPtr, int cur, int LRESULT CALLBACK IPADDRESS_SubclassProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { - HWND Self = (HWND)GetPropW (hwnd, IP_SUBCLASS_PROP); + HWND Self = GetPropW (hwnd, IP_SUBCLASS_PROP); IPADDRESS_INFO *infoPtr = (IPADDRESS_INFO *)GetWindowLongPtrW (Self, 0); CHAR c = (CHAR)wParam; INT index, len = 0, startsel, endsel; diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c index 9b21efc..6a6eeb4 100644 --- a/dlls/comctl32/toolbar.c +++ b/dlls/comctl32/toolbar.c @@ -2665,7 +2665,7 @@ TOOLBAR_AddBitmapToImageList(TOOLBAR_INFO *infoPtr, HIMAGELIST himlDef, const TB TRACE("adding hInst=%p nID=%d nButtons=%d\n", bitmap->hInst, bitmap->nID, bitmap->nButtons); /* Add bitmaps to the default image list */ if (bitmap->hInst == NULL) /* a handle was passed */ - hbmLoad = (HBITMAP)CopyImage(ULongToHandle(bitmap->nID), IMAGE_BITMAP, 0, 0, 0); + hbmLoad = CopyImage(ULongToHandle(bitmap->nID), IMAGE_BITMAP, 0, 0, 0); else hbmLoad = CreateMappedBitmap(bitmap->hInst, bitmap->nID, 0, NULL, 0);
1
0
0
0
← Newer
1
...
8
9
10
11
12
13
14
...
122
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
Results per page:
10
25
50
100
200