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
May 2009
----- 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
4 participants
793 discussions
Start a n
N
ew thread
Roderick Colenbrander : wgl: Add WGL_SWAP_METHOD_ARB support.
by Alexandre Julliard
18 May '09
18 May '09
Module: wine Branch: master Commit: cc96ce438a8ec7eb62b6d2c2fc455485b73108f0 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=cc96ce438a8ec7eb62b6d2c2f…
Author: Roderick Colenbrander <thunderbird2k(a)gmail.com> Date: Sat May 16 00:00:24 2009 +0200 wgl: Add WGL_SWAP_METHOD_ARB support. --- dlls/winex11.drv/opengl.c | 14 ++++++++++++++ include/wine/wgl.h | 4 ++++ 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index ed46d69..774e4ca 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -730,6 +730,12 @@ static int ConvertAttribWGLtoGLX(const int* iWGLAttr, int* oGLXAttr, Wine_GLPBuf TRACE("pAttr[%d] = WGL_SUPPORT_OPENGL_ARB: %d\n", cur, pop); break; + case WGL_SWAP_METHOD_ARB: + pop = iWGLAttr[++cur]; + /* For now we ignore this and just return SWAP_EXCHANGE */ + TRACE("pAttr[%d] = WGL_SWAP_METHOD_ARB: %#x\n", cur, pop); + break; + case WGL_PBUFFER_LARGEST_ARB: pop = iWGLAttr[++cur]; PUSH2(oGLXAttr, GLX_LARGEST_PBUFFER, pop); @@ -2901,6 +2907,14 @@ static GLboolean WINAPI X11DRV_wglGetPixelFormatAttribivARB(HDC hdc, int iPixelF piValues[i] = GL_FALSE; continue; + case WGL_SWAP_METHOD_ARB: + /* For now return SWAP_EXCHANGE_ARB which is the best type of buffer switch available. + * Later on we can also use GLX_OML_swap_method on drivers which support this. At this + * point only ATI offers this. + */ + piValues[i] = WGL_SWAP_EXCHANGE_ARB; + break; + case WGL_PBUFFER_LARGEST_ARB: curGLXAttr = GLX_LARGEST_PBUFFER; break; diff --git a/include/wine/wgl.h b/include/wine/wgl.h index 29ab536..a102109 100644 --- a/include/wine/wgl.h +++ b/include/wine/wgl.h @@ -79,6 +79,10 @@ #define WGL_GENERIC_ACCELERATION_ARB 0x2026 #define WGL_FULL_ACCELERATION_ARB 0x2027 +#define WGL_SWAP_EXCHANGE_ARB 0x2028 +#define WGL_SWAP_COPY_ARB 0x2029 +#define WGL_SWAP_UNDEFINED_ARB 0x202A + #define WGL_PBUFFER_WIDTH_ARB 0x2034 #define WGL_PBUFFER_HEIGHT_ARB 0x2035 #define WGL_PBUFFER_LOST_ARB 0x2036
1
0
0
0
Detlef Riekenberg : wininet/tests: Remove a duplicate test.
by Alexandre Julliard
18 May '09
18 May '09
Module: wine Branch: master Commit: c4e601832026e4705a95554371da39b5da33ead9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c4e601832026e4705a9555437…
Author: Detlef Riekenberg <wine.dev(a)web.de> Date: Fri May 15 19:49:36 2009 +0200 wininet/tests: Remove a duplicate test. --- dlls/wininet/tests/urlcache.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/dlls/wininet/tests/urlcache.c b/dlls/wininet/tests/urlcache.c index b7df03e..a87d9bd 100644 --- a/dlls/wininet/tests/urlcache.c +++ b/dlls/wininet/tests/urlcache.c @@ -242,9 +242,6 @@ static void test_GetDiskInfoA(void) ret = GetDiskInfoA(path, NULL, NULL, NULL); ok(ret, "GetDiskInfoA failed %u\n", GetLastError()); - ret = GetDiskInfoA(path, NULL, NULL, NULL); - ok(ret, "GetDiskInfoA failed %u\n", GetLastError()); - SetLastError(0xdeadbeef); strcpy(p, "\\non\\existing\\path"); ret = GetDiskInfoA(path, NULL, NULL, NULL);
1
0
0
0
Jacek Caban : urlmon: Added BINDSTATUS_LOADINGMIMEHANDLER and BINDSTATUS_LOADINGMIMEHANDLER support to Binding object .
by Alexandre Julliard
18 May '09
18 May '09
Module: wine Branch: master Commit: 1912f0f4fdcb71c193054b6588b8bca54da953e1 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=1912f0f4fdcb71c193054b658…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Mon May 18 03:06:08 2009 +0200 urlmon: Added BINDSTATUS_LOADINGMIMEHANDLER and BINDSTATUS_LOADINGMIMEHANDLER support to Binding object. --- dlls/urlmon/binding.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/dlls/urlmon/binding.c b/dlls/urlmon/binding.c index 2c6af73..d8e3e63 100644 --- a/dlls/urlmon/binding.c +++ b/dlls/urlmon/binding.c @@ -984,6 +984,12 @@ static HRESULT WINAPI InternetProtocolSink_ReportProgress(IInternetProtocolSink heap_free(This->stgmed_buf->cache_file); This->stgmed_buf->cache_file = heap_strdupW(szStatusText); break; + case BINDSTATUS_DECODING: + IBindStatusCallback_OnProgress(This->callback, 0, 0, BINDSTATUS_DECODING, szStatusText); + break; + case BINDSTATUS_LOADINGMIMEHANDLER: + on_progress(This, 0, 0, BINDSTATUS_LOADINGMIMEHANDLER, szStatusText); + break; case BINDSTATUS_DIRECTBIND: /* FIXME: Handle BINDSTATUS_DIRECTBIND in BindProtocol */ This->report_mime = FALSE; break;
1
0
0
0
Jacek Caban : urlmon: Added GetBindString(BINDSTRING_URL) implementation.
by Alexandre Julliard
18 May '09
18 May '09
Module: wine Branch: master Commit: 5b72526052c333744c9d08a10b240117f6c88fb2 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5b72526052c333744c9d08a10…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Mon May 18 03:05:39 2009 +0200 urlmon: Added GetBindString(BINDSTRING_URL) implementation. --- dlls/urlmon/binding.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/dlls/urlmon/binding.c b/dlls/urlmon/binding.c index 3ff4683..2c6af73 100644 --- a/dlls/urlmon/binding.c +++ b/dlls/urlmon/binding.c @@ -1172,6 +1172,17 @@ static HRESULT WINAPI InternetBindInfo_GetBindString(IInternetBindInfo *iface, return hres; } + case BINDSTRING_URL: { + DWORD size = (strlenW(This->url)+1) * sizeof(WCHAR); + + if(!ppwzStr || !pcElFetched) + return E_INVALIDARG; + + *ppwzStr = CoTaskMemAlloc(size); + memcpy(*ppwzStr, This->url, size); + *pcElFetched = 1; + return S_OK; + } } FIXME("not supported string type %d\n", ulStringType);
1
0
0
0
Vitaliy Margolen : dxdiagn: DirectShowFilters should go under numbered sub-containers.
by Alexandre Julliard
18 May '09
18 May '09
Module: wine Branch: master Commit: 806ea86be2f2f1bbea09d39b242816624bef2b26 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=806ea86be2f2f1bbea09d39b2…
Author: Vitaliy Margolen <wine-patches(a)kievinfo.com> Date: Sun May 17 16:02:22 2009 -0600 dxdiagn: DirectShowFilters should go under numbered sub-containers. --- dlls/dxdiagn/provider.c | 31 ++++++++++++++++++++++--------- 1 files changed, 22 insertions(+), 9 deletions(-) diff --git a/dlls/dxdiagn/provider.c b/dlls/dxdiagn/provider.c index a6d1066..d3f0a26 100644 --- a/dlls/dxdiagn/provider.c +++ b/dlls/dxdiagn/provider.c @@ -613,9 +613,11 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu static const WCHAR wszClsidName[] = {'C','L','S','I','D',0}; static const WCHAR wszFriendlyName[] = {'F','r','i','e','n','d','l','y','N','a','m','e',0}; static const WCHAR wszFilterDataName[] = {'F','i','l','t','e','r','D','a','t','a',0}; - /*static const WCHAR wszMeritName[] = {'M','e','r','i','t',0};*/ static const WCHAR szVersionFormat[] = {'v','%','d',0}; + static const WCHAR szIdFormat[] = {'%','d',0}; + int i = 0; + ICreateDevEnum* pCreateDevEnum = NULL; IEnumMoniker* pEmCat = NULL; @@ -676,28 +678,37 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu DWORD dwNOutputs = 0; DWORD dwNInputs = 0; WCHAR bufferW[10]; + IDxDiagContainer *pDShowSubCont = NULL; - add_prop_str(pSubCont, szCatName, wszCatName); - add_prop_str(pSubCont, ClsidCatW, wszCatClsid); + snprintfW(bufferW, sizeof(bufferW)/sizeof(bufferW[0]), szIdFormat, i); + if (FAILED(DXDiag_CreateDXDiagContainer(&IID_IDxDiagContainer, (void**) &pDShowSubCont)) || + FAILED(IDxDiagContainerImpl_AddChildContainer(pSubCont, bufferW, pDShowSubCont))) + { + IPropertyBag_Release(pPropFilterBag); + if (pDShowSubCont) IUnknown_Release(pDShowSubCont); + continue; + } hr = IPropertyBag_Read(pPropFilterBag, wszFriendlyName, &v, 0); - hr = IDxDiagContainerImpl_AddProp(pSubCont, szName, &v); + hr = IDxDiagContainerImpl_AddProp(pDShowSubCont, szName, &v); TRACE("\tName:%s\n", debugstr_w(V_BSTR(&v))); VariantClear(&v); hr = IPropertyBag_Read(pPropFilterBag, wszClsidName, &v, 0); TRACE("\tClsid:%s\n", debugstr_w(V_BSTR(&v))); - hr = IDxDiagContainerImpl_AddProp(pSubCont, ClsidFilterW, &v); + hr = IDxDiagContainerImpl_AddProp(pDShowSubCont, ClsidFilterW, &v); VariantClear(&v); + add_prop_str(pDShowSubCont, szCatName, wszCatName); + add_prop_str(pDShowSubCont, ClsidCatW, wszCatClsid); + hr = IPropertyBag_Read(pPropFilterBag, wszFilterDataName, &v, NULL); hr = SafeArrayAccessData(V_UNION(&v, parray), (LPVOID*) &pData); prrf = (struct REG_RF*) pData; pCurrent = pData; snprintfW(bufferW, sizeof(bufferW)/sizeof(bufferW[0]), szVersionFormat, prrf->dwVersion); - add_prop_str(pSubCont, szVersionW, bufferW); - add_prop_ui4(pSubCont, dwMerit, prrf->dwMerit); + add_prop_str(pDShowSubCont, szVersionW, bufferW); pCurrent += sizeof(struct REG_RF); for (it = 0; it < prrf->dwPins; ++it) { @@ -721,11 +732,13 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu } } - add_prop_ui4(pSubCont, dwInputs, dwNInputs); - add_prop_ui4(pSubCont, dwOutputs, dwNOutputs); + add_prop_ui4(pDShowSubCont, dwInputs, dwNInputs); + add_prop_ui4(pDShowSubCont, dwOutputs, dwNOutputs); + add_prop_ui4(pDShowSubCont, dwMerit, prrf->dwMerit); SafeArrayUnaccessData(V_UNION(&v, parray)); VariantClear(&v); + i++; } IPropertyBag_Release(pPropFilterBag); pPropFilterBag = NULL; }
1
0
0
0
Vitaliy Margolen : dxdiagn: Correct version format property.
by Alexandre Julliard
18 May '09
18 May '09
Module: wine Branch: master Commit: 136dc1fcaa3d8af2d84331fa9f830bb909154e0c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=136dc1fcaa3d8af2d84331fa9…
Author: Vitaliy Margolen <wine-patches(a)kievinfo.com> Date: Sun May 17 16:02:20 2009 -0600 dxdiagn: Correct version format property. --- dlls/dxdiagn/provider.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/dlls/dxdiagn/provider.c b/dlls/dxdiagn/provider.c index 86f9c6b..a6d1066 100644 --- a/dlls/dxdiagn/provider.c +++ b/dlls/dxdiagn/provider.c @@ -597,6 +597,7 @@ struct REG_TYPE { static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSubCont) { HRESULT hr = S_OK; static const WCHAR szName[] = {'s','z','N','a','m','e',0}; + static const WCHAR szVersionW[] = {'s','z','V','e','r','s','i','o','n',0}; static const WCHAR szCatName[] = {'s','z','C','a','t','N','a','m','e',0}; static const WCHAR ClsidCatW[] = {'C','l','s','i','d','C','a','t',0}; static const WCHAR ClsidFilterW[] = {'C','l','s','i','d','F','i','l','t','e','r',0}; @@ -614,6 +615,8 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu static const WCHAR wszFilterDataName[] = {'F','i','l','t','e','r','D','a','t','a',0}; /*static const WCHAR wszMeritName[] = {'M','e','r','i','t',0};*/ + static const WCHAR szVersionFormat[] = {'v','%','d',0}; + ICreateDevEnum* pCreateDevEnum = NULL; IEnumMoniker* pEmCat = NULL; IMoniker* pMCat = NULL; @@ -672,6 +675,7 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu DWORD it; DWORD dwNOutputs = 0; DWORD dwNInputs = 0; + WCHAR bufferW[10]; add_prop_str(pSubCont, szCatName, wszCatName); add_prop_str(pSubCont, ClsidCatW, wszCatClsid); @@ -691,7 +695,8 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu prrf = (struct REG_RF*) pData; pCurrent = pData; - add_prop_ui4(pSubCont, szName, prrf->dwVersion); + snprintfW(bufferW, sizeof(bufferW)/sizeof(bufferW[0]), szVersionFormat, prrf->dwVersion); + add_prop_str(pSubCont, szVersionW, bufferW); add_prop_ui4(pSubCont, dwMerit, prrf->dwMerit); pCurrent += sizeof(struct REG_RF);
1
0
0
0
Vitaliy Margolen : dxdiagn: Rename szClsidCat and szClsidFilter to match native information.
by Alexandre Julliard
18 May '09
18 May '09
Module: wine Branch: master Commit: b3375a3fa299827f2c385340e33767ea209a169b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b3375a3fa299827f2c385340e…
Author: Vitaliy Margolen <wine-patches(a)kievinfo.com> Date: Sun May 17 16:02:18 2009 -0600 dxdiagn: Rename szClsidCat and szClsidFilter to match native information. --- dlls/dxdiagn/provider.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/dxdiagn/provider.c b/dlls/dxdiagn/provider.c index 398c9ad..86f9c6b 100644 --- a/dlls/dxdiagn/provider.c +++ b/dlls/dxdiagn/provider.c @@ -598,8 +598,8 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu HRESULT hr = S_OK; static const WCHAR szName[] = {'s','z','N','a','m','e',0}; static const WCHAR szCatName[] = {'s','z','C','a','t','N','a','m','e',0}; - static const WCHAR szClsidCat[] = {'s','z','C','l','s','i','d','C','a','t',0}; - static const WCHAR szClsidFilter[] = {'s','z','C','l','s','i','d','F','i','l','t','e','r',0}; + static const WCHAR ClsidCatW[] = {'C','l','s','i','d','C','a','t',0}; + static const WCHAR ClsidFilterW[] = {'C','l','s','i','d','F','i','l','t','e','r',0}; static const WCHAR dwInputs[] = {'d','w','I','n','p','u','t','s',0}; static const WCHAR dwOutputs[] = {'d','w','O','u','t','p','u','t','s',0}; static const WCHAR dwMerit[] = {'d','w','M','e','r','i','t',0}; @@ -674,7 +674,7 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu DWORD dwNInputs = 0; add_prop_str(pSubCont, szCatName, wszCatName); - add_prop_str(pSubCont, szClsidCat, wszCatClsid); + add_prop_str(pSubCont, ClsidCatW, wszCatClsid); hr = IPropertyBag_Read(pPropFilterBag, wszFriendlyName, &v, 0); hr = IDxDiagContainerImpl_AddProp(pSubCont, szName, &v); @@ -683,7 +683,7 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu hr = IPropertyBag_Read(pPropFilterBag, wszClsidName, &v, 0); TRACE("\tClsid:%s\n", debugstr_w(V_BSTR(&v))); - hr = IDxDiagContainerImpl_AddProp(pSubCont, szClsidFilter, &v); + hr = IDxDiagContainerImpl_AddProp(pSubCont, ClsidFilterW, &v); VariantClear(&v); hr = IPropertyBag_Read(pPropFilterBag, wszFilterDataName, &v, NULL);
1
0
0
0
Aurimas Fišeras : notepad: Update Lithuanian translation.
by Alexandre Julliard
18 May '09
18 May '09
Module: wine Branch: master Commit: 9f1daabd63200119c52bee32ae5d4b9f2b4765c2 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9f1daabd63200119c52bee32a…
Author: Aurimas Fišeras <aurimas(a)gmail.com> Date: Sun May 17 19:20:55 2009 +0300 notepad: Update Lithuanian translation. --- programs/notepad/Lt.rc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/programs/notepad/Lt.rc b/programs/notepad/Lt.rc index 741c22a..ce289f2 100644 --- a/programs/notepad/Lt.rc +++ b/programs/notepad/Lt.rc @@ -54,6 +54,7 @@ POPUP "&Taisa" { POPUP "&Paieška" { MENUITEM "&Ieškoti...\tCtrl+F", CMD_SEARCH MENUITEM "Ieškoti k&ito\tF3", CMD_SEARCH_NEXT + MENUITEM "Pa&keisti...\tCtrl+H", CMD_REPLACE } POPUP "&Žinynas" { MENUITEM "&Turinys", CMD_HELP_CONTENTS
1
0
0
0
Francois Gouget : gphoto2.ds: Use Win32 APIs instead of strdup().
by Alexandre Julliard
18 May '09
18 May '09
Module: wine Branch: master Commit: d0ba18430d769ff4073e08156f4e0035f725f7c9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d0ba18430d769ff4073e08156…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun May 17 13:30:10 2009 +0200 gphoto2.ds: Use Win32 APIs instead of strdup(). --- dlls/gphoto2.ds/gphoto2_main.c | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/dlls/gphoto2.ds/gphoto2_main.c b/dlls/gphoto2.ds/gphoto2_main.c index bb2c31c..ab4f392 100644 --- a/dlls/gphoto2.ds/gphoto2_main.c +++ b/dlls/gphoto2.ds/gphoto2_main.c @@ -37,6 +37,13 @@ WINE_DEFAULT_DEBUG_CHANNEL(twain); +static char* GPHOTO2_StrDup(const char* str) +{ + char* dst = HeapAlloc(GetProcessHeap(), 0, strlen(str)+1); + strcpy(dst, str); + return dst; +} + static void load_filesystem(const char *folder) { #ifdef HAVE_GPHOTO2 @@ -63,12 +70,12 @@ load_filesystem(const char *folder) { ret = gp_list_get_name (list, i, &name); if (ret < GP_OK) continue; - gpfile = HeapAlloc(GetProcessHeap(), 0, sizeof(struct gphoto2_file)); + gpfile = HeapAlloc(GetProcessHeap(), 0, sizeof(struct gphoto2_file)); /* FIXME: Leaked */ if (!gpfile) continue; TRACE("adding %s/%s\n", folder, name); - gpfile->folder = strdup(folder); - gpfile->filename = strdup(name); + gpfile->folder = GPHOTO2_StrDup(folder); + gpfile->filename = GPHOTO2_StrDup(name); gpfile->download = FALSE; list_add_tail( &activeDS.files, &gpfile->entry ); }
1
0
0
0
Francois Gouget : advapi32/tests: Replace realloc() with HeapReAlloc().
by Alexandre Julliard
18 May '09
18 May '09
Module: wine Branch: master Commit: 3d5f1edff5330a028c9f63547090b2d72a567433 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=3d5f1edff5330a028c9f63547…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun May 17 13:31:24 2009 +0200 advapi32/tests: Replace realloc() with HeapReAlloc(). --- dlls/advapi32/tests/registry.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/dlls/advapi32/tests/registry.c b/dlls/advapi32/tests/registry.c index a3d9f30..47e76b2 100644 --- a/dlls/advapi32/tests/registry.c +++ b/dlls/advapi32/tests/registry.c @@ -52,7 +52,11 @@ static char *get_temp_buffer( int size ) UINT idx; idx = ++pos % (sizeof(list)/sizeof(list[0])); - if ((ret = realloc( list[idx], size ))) list[idx] = ret; + if (list[idx]) + ret = HeapReAlloc( GetProcessHeap(), 0, list[idx], size ); + else + ret = HeapAlloc( GetProcessHeap(), 0, size ); + if (ret) list[idx] = ret; return ret; }
1
0
0
0
← Newer
1
...
39
40
41
42
43
44
45
...
80
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
Results per page:
10
25
50
100
200