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
June
May
April
March
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 2007
----- 2025 -----
June 2025
May 2025
April 2025
March 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
996 discussions
Start a n
N
ew thread
Detlef Riekenberg : ntdll: Dump the base address when a module is loaded.
by Alexandre Julliard
26 Oct '07
26 Oct '07
Module: wine Branch: master Commit: 2be2c1acc589b888db7b8a78feea454037afe299 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2be2c1acc589b888db7b8a78f…
Author: Detlef Riekenberg <wine.dev(a)web.de> Date: Thu Oct 25 23:36:39 2007 +0200 ntdll: Dump the base address when a module is loaded. --- dlls/ntdll/loader.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c index 6c1d7bc..8769b09 100644 --- a/dlls/ntdll/loader.c +++ b/dlls/ntdll/loader.c @@ -1446,7 +1446,7 @@ static NTSTATUS load_native_dll( LPCWSTR load_path, LPCWSTR name, HANDLE file, if ((wm->ldr.Flags & LDR_IMAGE_IS_DLL) && TRACE_ON(snoop)) SNOOP_SetupDLL( module ); - TRACE_(loaddll)( " Loaded module %s : native\n", debugstr_w(wm->ldr.FullDllName.Buffer) ); + TRACE_(loaddll)( "Loaded %s at %p: native\n", debugstr_w(wm->ldr.FullDllName.Buffer), module ); wm->ldr.LoadCount = 1; *pwm = wm; @@ -1563,8 +1563,8 @@ static NTSTATUS load_builtin_dll( LPCWSTR load_path, LPCWSTR path, HANDLE file, if (mod->Flags & LDR_WINE_INTERNAL && mod->SectionHandle == handle) { info.wm = CONTAINING_RECORD(mod, WINE_MODREF, ldr); - TRACE( "Found already loaded module %s for builtin %s\n", - debugstr_w(info.wm->ldr.FullDllName.Buffer), debugstr_w(path) ); + TRACE( "Found %s at %p for builtin %s\n", + debugstr_w(info.wm->ldr.FullDllName.Buffer), info.wm->ldr.BaseAddress, debugstr_w(path) ); break; } } @@ -1574,7 +1574,7 @@ static NTSTATUS load_builtin_dll( LPCWSTR load_path, LPCWSTR path, HANDLE file, } else { - TRACE_(loaddll)( "Loaded module %s : builtin\n", debugstr_w(info.wm->ldr.FullDllName.Buffer) ); + TRACE_(loaddll)( "Loaded %s at %p: builtin\n", debugstr_w(info.wm->ldr.FullDllName.Buffer), info.wm->ldr.BaseAddress ); info.wm->ldr.LoadCount = 1; info.wm->ldr.SectionHandle = handle; } @@ -1827,7 +1827,7 @@ static NTSTATUS load_dll( LPCWSTR load_path, LPCWSTR libname, DWORD flags, WINE_ if (!(flags & DONT_RESOLVE_DLL_REFERENCES)) fixup_imports( *pwm, load_path ); - TRACE("Found loaded module %s for %s at %p, count=%d\n", + TRACE("Found %s for %s at %p, count=%d\n", debugstr_w((*pwm)->ldr.FullDllName.Buffer), debugstr_w(libname), (*pwm)->ldr.BaseAddress, (*pwm)->ldr.LoadCount); if (filename != buffer) RtlFreeHeap( GetProcessHeap(), 0, filename );
1
0
0
0
Jeremy Newman : credui: Add a Wine-themed banner for the credentials dialog .
by Alexandre Julliard
26 Oct '07
26 Oct '07
Module: wine Branch: master Commit: 2da76a04a330cc612bd673790724520842ba82ae URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2da76a04a330cc612bd673790…
Author: Jeremy Newman <jnewman(a)codeweavers.com> Date: Thu Oct 25 17:11:52 2007 +0100 credui: Add a Wine-themed banner for the credentials dialog. --- dlls/credui/banner.bmp | Bin 9718 -> 57654 bytes 1 files changed, 0 insertions(+), 0 deletions(-) diff --git a/dlls/credui/banner.bmp b/dlls/credui/banner.bmp index ac1a4a8..3841bb2 100644 Binary files a/dlls/credui/banner.bmp and b/dlls/credui/banner.bmp differ
1
0
0
0
Rob Shearman : credui: Add a banner and message box to the dialog presented by CredUIPromptForCredentials .
by Alexandre Julliard
26 Oct '07
26 Oct '07
Module: wine Branch: master Commit: ce5b6c84109c66fbd12f5ee06140c055b8ac06a6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ce5b6c84109c66fbd12f5ee06…
Author: Rob Shearman <rob(a)codeweavers.com> Date: Thu Oct 25 19:17:45 2007 +0100 credui: Add a banner and message box to the dialog presented by CredUIPromptForCredentials. --- dlls/credui/Makefile.in | 2 +- dlls/credui/banner.bmp | Bin 0 -> 9718 bytes dlls/credui/credui.rc | 3 ++ dlls/credui/credui_De.rc | 24 +++++++----- dlls/credui/credui_En.rc | 30 ++++++++++----- dlls/credui/credui_Ko.rc | 24 +++++++----- dlls/credui/credui_No.rc | 24 +++++++----- dlls/credui/credui_Pl.rc | 24 +++++++----- dlls/credui/credui_Sv.rc | 24 +++++++----- dlls/credui/credui_main.c | 76 ++++++++++++++++++++++++++++++---------- dlls/credui/credui_resources.h | 8 ++++- 11 files changed, 158 insertions(+), 81 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=ce5b6c84109c66fbd12f5…
1
0
0
0
Jacek Caban : itss: Fixed test crash on IE7.
by Alexandre Julliard
26 Oct '07
26 Oct '07
Module: wine Branch: master Commit: cecc7ab7479cff31be089936bdba5ddaab2160ec URL:
http://source.winehq.org/git/wine.git/?a=commit;h=cecc7ab7479cff31be089936b…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Fri Oct 26 01:22:20 2007 +0200 itss: Fixed test crash on IE7. --- dlls/itss/tests/protocol.c | 58 +++++++++++++++++++++++++++++++------------ 1 files changed, 42 insertions(+), 16 deletions(-) diff --git a/dlls/itss/tests/protocol.c b/dlls/itss/tests/protocol.c index 680a867..05825be 100644 --- a/dlls/itss/tests/protocol.c +++ b/dlls/itss/tests/protocol.c @@ -48,10 +48,13 @@ called_ ## func = TRUE; \ }while(0) +#define SET_CALLED(func) \ + expect_ ## func = called_ ## func = FALSE + #define CHECK_CALLED(func) \ do { \ ok(called_ ## func, "expected " #func "\n"); \ - expect_ ## func = called_ ## func = FALSE; \ + SET_CALLED(func); \ }while(0) DEFINE_GUID(CLSID_ITSProtocol,0x9d148291,0xb9c8,0x11d0,0xa4,0xcc,0x00,0x00,0xf8,0x01,0x49,0xf6); @@ -278,7 +281,8 @@ static void test_protocol_fail(IInternetProtocol *protocol, LPCWSTR url, HRESULT CHECK_CALLED(ReportResult); } -static void protocol_start(IInternetProtocol *protocol, LPCWSTR url, BOOL expect_mime) +#define protocol_start(p,u,e) _protocol_start(__LINE__,p,u,e) +static HRESULT _protocol_start(unsigned line, IInternetProtocol *protocol, LPCWSTR url, BOOL expect_mime) { HRESULT hres; @@ -297,20 +301,37 @@ static void protocol_start(IInternetProtocol *protocol, LPCWSTR url, BOOL expect expect_hrResult = S_OK; hres = IInternetProtocol_Start(protocol, url, &protocol_sink, &bind_info, 0, 0); - ok(hres == S_OK, "Start failed: %08x\n", hres); + ok_(__FILE__,line) (hres == S_OK, "Start failed: %08x\n", hres); + + if(FAILED(hres)) { + SET_CALLED(GetBindInfo); + if(test_protocol == MK_PROTOCOL) + SET_CALLED(ReportProgress_DIRECTBIND); + SET_CALLED(ReportProgress_SENDINGREQUEST); + if(expect_mime) + SET_CALLED(ReportProgress_MIMETYPEAVAILABLE); + if(test_protocol == MK_PROTOCOL) + SET_EXPECT(ReportProgress_CACHEFILENAMEAVAIABLE); + SET_CALLED(ReportData); + if(test_protocol == ITS_PROTOCOL) + SET_CALLED(ReportProgress_BEGINDOWNLOADDATA); + SET_CALLED(ReportResult); + }else { + CHECK_CALLED(GetBindInfo); + if(test_protocol == MK_PROTOCOL) + CHECK_CALLED(ReportProgress_DIRECTBIND); + CHECK_CALLED(ReportProgress_SENDINGREQUEST); + if(expect_mime) + CHECK_CALLED(ReportProgress_MIMETYPEAVAILABLE); + if(test_protocol == MK_PROTOCOL) + SET_EXPECT(ReportProgress_CACHEFILENAMEAVAIABLE); + CHECK_CALLED(ReportData); + if(test_protocol == ITS_PROTOCOL) + CHECK_CALLED(ReportProgress_BEGINDOWNLOADDATA); + CHECK_CALLED(ReportResult); + } - CHECK_CALLED(GetBindInfo); - if(test_protocol == MK_PROTOCOL) - CHECK_CALLED(ReportProgress_DIRECTBIND); - CHECK_CALLED(ReportProgress_SENDINGREQUEST); - if(expect_mime) - CHECK_CALLED(ReportProgress_MIMETYPEAVAILABLE); - if(test_protocol == MK_PROTOCOL) - SET_EXPECT(ReportProgress_CACHEFILENAMEAVAIABLE); - CHECK_CALLED(ReportData); - if(test_protocol == ITS_PROTOCOL) - CHECK_CALLED(ReportProgress_BEGINDOWNLOADDATA); - CHECK_CALLED(ReportResult); + return hres; } static void test_protocol_url(IClassFactory *factory, LPCWSTR url, BOOL expect_mime) @@ -325,7 +346,12 @@ static void test_protocol_url(IClassFactory *factory, LPCWSTR url, BOOL expect_m if(FAILED(hres)) return; - protocol_start(protocol, url, expect_mime); + hres = protocol_start(protocol, url, expect_mime); + if(FAILED(hres)) { + IInternetProtocol_Release(protocol); + return; + } + hres = IInternetProtocol_Read(protocol, buf, sizeof(buf), &cb); ok(hres == S_OK, "Read failed: %08x\n", hres); ok(cb == 13, "cb=%u expected 13\n", cb);
1
0
0
0
Jacek Caban : mshtml: More IE7 test fixes.
by Alexandre Julliard
26 Oct '07
26 Oct '07
Module: wine Branch: master Commit: 6f8bb3256e9a2c9f63c4b558abf1c530eb23f4e6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=6f8bb3256e9a2c9f63c4b558a…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Fri Oct 26 01:06:33 2007 +0200 mshtml: More IE7 test fixes. --- dlls/mshtml/olecmd.c | 9 ++++++++- dlls/mshtml/tests/htmldoc.c | 27 +++++++++++++++++++++------ 2 files changed, 29 insertions(+), 7 deletions(-) diff --git a/dlls/mshtml/olecmd.c b/dlls/mshtml/olecmd.c index c56dce2..96cccae 100644 --- a/dlls/mshtml/olecmd.c +++ b/dlls/mshtml/olecmd.c @@ -401,6 +401,12 @@ static HRESULT exec_stop_download(HTMLDocument *This, DWORD nCmdexecopt, VARIANT return E_NOTIMPL; } +static HRESULT exec_find(HTMLDocument *This, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut) +{ + FIXME("(%p)->(%d %p %p)\n", This, nCmdexecopt, pvaIn, pvaOut); + return E_NOTIMPL; +} + static HRESULT exec_delete(HTMLDocument *This, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut) { FIXME("(%p)->(%d %p %p)\n", This, nCmdexecopt, pvaIn, pvaOut); @@ -689,7 +695,8 @@ static const struct { { OLECMDF_SUPPORTED|OLECMDF_ENABLED, exec_stop }, /* OLECMDID_STOP */ {0},{0},{0},{0},{0},{0}, { OLECMDF_SUPPORTED, exec_stop_download }, /* OLECMDID_STOPDOWNLOAD */ - {0},{0}, + {0}, + { OLECMDF_SUPPORTED|OLECMDF_ENABLED, exec_find }, /* OLECMDID_FIND */ { OLECMDF_SUPPORTED, exec_delete }, /* OLECMDID_DELETE */ {0},{0}, { OLECMDF_SUPPORTED, exec_enable_interaction }, /* OLECMDID_ENABLE_INTERACTION */ diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c index b3224a3..853047d 100644 --- a/dlls/mshtml/tests/htmldoc.c +++ b/dlls/mshtml/tests/htmldoc.c @@ -114,6 +114,8 @@ DEFINE_EXPECT(OnChanged_READYSTATE); DEFINE_EXPECT(OnChanged_1005); DEFINE_EXPECT(GetDisplayName); DEFINE_EXPECT(BindToStorage); +DEFINE_EXPECT(IsSystemMoniker); +DEFINE_EXPECT(GetBindResult); DEFINE_EXPECT(Abort); DEFINE_EXPECT(Read); DEFINE_EXPECT(CreateInstance); @@ -213,7 +215,14 @@ static void test_timer(DWORD flags) static HRESULT WINAPI External_QueryInterface(IDispatch *iface, REFIID riid, void **ppv) { - ok(0, "unexpected call\n"); + *ppv = NULL; + + if(IsEqualGUID(&IID_IUnknown, riid) || IsEqualGUID(&IID_IDispatch, riid)) { + *ppv = iface; + return S_OK; + } + + ok(0, "unexpected riid: %s\n", debugstr_guid(riid)); return E_NOINTERFACE; } @@ -811,7 +820,7 @@ static HRESULT WINAPI Binding_GetPriority(IBinding *iface, LONG *pnPriority) static HRESULT WINAPI Binding_GetBindResult(IBinding *iface, CLSID *pclsidProtocol, DWORD *pdwResult, LPOLESTR *pszResult, DWORD *pdwReserved) { - ok(0, "unexpected call\n"); + CHECK_EXPECT(GetBindResult); return E_NOTIMPL; } @@ -831,7 +840,8 @@ static IBinding Binding = { &BindingVtbl }; static HRESULT WINAPI Moniker_QueryInterface(IMoniker *iface, REFIID riid, void **ppv) { - ok(0, "unexpected call\n"); + *ppv = NULL; + ok(0, "unexpected riid: %s\n", debugstr_guid(riid)); return E_NOINTERFACE; } @@ -1052,7 +1062,7 @@ static HRESULT WINAPI Moniker_ParseDisplayName(IMoniker *iface, IBindCtx *pbc, static HRESULT WINAPI Moniker_IsSystemMoniker(IMoniker *iface, DWORD *pdwMksys) { - ok(0, "unexpected call\n"); + CHECK_EXPECT(IsSystemMoniker); return E_NOTIMPL; } @@ -2137,7 +2147,7 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID if(IsEqualGUID(&CGID_DocHostCmdPriv, pguidCmdGroup)) return E_FAIL; /* TODO */ - ok(0, "unexpected call\n"); + ok(0, "unexpected pguidCmdGroup: %s\n", debugstr_guid(pguidCmdGroup)); return E_NOTIMPL; } @@ -2795,10 +2805,15 @@ static void test_OleCommandTarget(IUnknown *unk) for(i=0; i<OLECMDID_GETPRINTTEMPLATE; i++) { ok(cmds[i].cmdID == i+1, "cmds[%d].cmdID canged to %x\n", i, cmds[i].cmdID); + if(i+1 == OLECMDID_FIND) + continue; ok(cmds[i].cmdf == expect_cmds[i+1], "cmds[%d].cmdf=%x, expected %x\n", i+1, cmds[i].cmdf, expect_cmds[i+1]); } + ok(!cmds[OLECMDID_FIND-1].cmdf || cmds[OLECMDID_FIND-1].cmdf == (OLECMDF_SUPPORTED|OLECMDF_ENABLED), + "cmds[OLECMDID_FIND].cmdf=%x\n", cmds[OLECMDID_FIND-1].cmdf); + IOleCommandTarget_Release(cmdtrg); } @@ -3492,7 +3507,7 @@ static void test_external(IUnknown *unk, BOOL initialized) external = (void*)0xdeadbeef; hres = IHTMLWindow2_get_external(htmlwin, &external); if(initialized) { - ok(hres == S_FALSE, "get_external failed: %08x\n", hres); + ok(hres == S_FALSE || hres == S_OK, "get_external failed: %08x\n", hres); CHECK_CALLED(GetExternal); ok(external != NULL, "external == NULL\n"); }else {
1
0
0
0
Jacek Caban : urlmon: Use QueryInterface in get_callback.
by Alexandre Julliard
26 Oct '07
26 Oct '07
Module: wine Branch: master Commit: fe04ba0aab7a20d91d7d02f2c7d58333b0b7488f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fe04ba0aab7a20d91d7d02f2c…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Fri Oct 26 00:21:21 2007 +0200 urlmon: Use QueryInterface in get_callback. --- dlls/urlmon/binding.c | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/dlls/urlmon/binding.c b/dlls/urlmon/binding.c index eb48bfa..ae58503 100644 --- a/dlls/urlmon/binding.c +++ b/dlls/urlmon/binding.c @@ -1035,15 +1035,18 @@ static const IServiceProviderVtbl ServiceProviderVtbl = { static HRESULT get_callback(IBindCtx *pbc, IBindStatusCallback **callback) { + IUnknown *unk; HRESULT hres; static WCHAR wszBSCBHolder[] = { '_','B','S','C','B','_','H','o','l','d','e','r','_',0 }; - hres = IBindCtx_GetObjectParam(pbc, wszBSCBHolder, (IUnknown**)callback); - if(FAILED(hres)) - return MK_E_SYNTAX; + hres = IBindCtx_GetObjectParam(pbc, wszBSCBHolder, &unk); + if(SUCCEEDED(hres)) { + hres = IUnknown_QueryInterface(unk, &IID_IBindStatusCallback, (void**)callback); + IUnknown_Release(unk); + } - return S_OK; + return SUCCEEDED(hres) ? S_OK : MK_E_SYNTAX; } static HRESULT get_protocol(Binding *This, LPCWSTR url)
1
0
0
0
Dan Kegel : winmm: Avoid testing linecontrols if can't get line info.
by Alexandre Julliard
26 Oct '07
26 Oct '07
Module: wine Branch: master Commit: 3d9b69f5a32ee0778fa337c6471fe4b8fda8c3dd URL:
http://source.winehq.org/git/wine.git/?a=commit;h=3d9b69f5a32ee0778fa337c64…
Author: Dan Kegel <dank(a)kegel.com> Date: Thu Oct 25 11:46:32 2007 -0700 winmm: Avoid testing linecontrols if can't get line info. --- dlls/winmm/tests/mixer.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dlls/winmm/tests/mixer.c b/dlls/winmm/tests/mixer.c index 0163537..2352be3 100644 --- a/dlls/winmm/tests/mixer.c +++ b/dlls/winmm/tests/mixer.c @@ -436,7 +436,8 @@ static void mixer_test_deviceA(int device) mmsys_error(rc)); if (rc==MMSYSERR_NODRIVER) trace(" No Driver\n"); - else if (rc==MMSYSERR_NOERROR && winetest_interactive) { + else if (rc==MMSYSERR_NOERROR) { + if (winetest_interactive) { trace(" %d: \"%s\" (%s) Destination=%d Source=%d\n", d,mixerlineA.szShortName, mixerlineA.szName, mixerlineA.dwDestination,mixerlineA.dwSource); @@ -456,9 +457,9 @@ static void mixer_test_deviceA(int device) mixerlineA.Target.vDriverVersion >> 8, mixerlineA.Target.vDriverVersion & 0xff, mixerlineA.Target.wMid, mixerlineA.Target.wPid); - } - ns=mixerlineA.cConnections; - for(s=0;s<ns;s++) { + } + ns=mixerlineA.cConnections; + for(s=0;s<ns;s++) { mixerlineA.cbStruct = sizeof(mixerlineA); mixerlineA.dwDestination=d; mixerlineA.dwSource=s; @@ -552,6 +553,7 @@ static void mixer_test_deviceA(int device) } } } + } } } rc=mixerClose(mix);
1
0
0
0
Lionel Debroux : msvcrt/tests: Fix memory leak (found by Smatch).
by Alexandre Julliard
26 Oct '07
26 Oct '07
Module: wine Branch: master Commit: efebe8b29bc2c984cf07e38c7048689120217a1a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=efebe8b29bc2c984cf07e38c7…
Author: Lionel Debroux <lionel_debroux(a)yahoo.fr> Date: Fri Oct 26 11:15:26 2007 +0200 msvcrt/tests: Fix memory leak (found by Smatch). --- dlls/msvcrt/tests/string.c | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/dlls/msvcrt/tests/string.c b/dlls/msvcrt/tests/string.c index 6dabc61..66b018a 100644 --- a/dlls/msvcrt/tests/string.c +++ b/dlls/msvcrt/tests/string.c @@ -388,7 +388,7 @@ static void test_strdup(void) START_TEST(string) { - void *mem; + char mem[100]; static const char xilstring[]="c:/xilinx"; int nLen; @@ -401,13 +401,11 @@ START_TEST(string) /* MSVCRT memcpy behaves like memmove for overlapping moves, MFC42 CString::Insert seems to rely on that behaviour */ - mem = malloc(100); - ok(mem != NULL, "memory not allocated for size 0\n"); - strcpy((char*)mem,xilstring); + strcpy(mem,xilstring); nLen=strlen(xilstring); - pmemcpy((char*)mem+5, mem,nLen+1); - ok(pmemcmp((char*)mem+5,xilstring, nLen) == 0, - "Got result %s\n",(char*)mem+5); + pmemcpy(mem+5, mem,nLen+1); + ok(pmemcmp(mem+5,xilstring, nLen) == 0, + "Got result %s\n",mem+5); /* Test _swab function */ test_swab();
1
0
0
0
Dmitry Timoshkov : shlwapi: Update exported API entries according to the info published by Geoff Chappell .
by Alexandre Julliard
26 Oct '07
26 Oct '07
Module: wine Branch: master Commit: c20bf6931a3ed06755120ce8af47b61466a4a1c2 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c20bf6931a3ed06755120ce8a…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Fri Oct 26 18:31:55 2007 +0900 shlwapi: Update exported API entries according to the info published by Geoff Chappell. --- dlls/shlwapi/istream.c | 6 +- dlls/shlwapi/ordinal.c | 17 +-- dlls/shlwapi/shlwapi.spec | 351 ++++++++++++++++++++++----------------------- dlls/shlwapi/thread.c | 38 +++--- 4 files changed, 202 insertions(+), 210 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=c20bf6931a3ed06755120…
1
0
0
0
Andrew Talbot : winhelp: Fix a memory leak.
by Alexandre Julliard
26 Oct '07
26 Oct '07
Module: wine Branch: master Commit: ac524986df2a207b563fc6ef296c89744b7163c8 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ac524986df2a207b563fc6ef2…
Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Thu Oct 25 20:07:47 2007 +0100 winhelp: Fix a memory leak. --- programs/winhelp/hlpfile.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/programs/winhelp/hlpfile.c b/programs/winhelp/hlpfile.c index 8882a1a..3c34a06 100644 --- a/programs/winhelp/hlpfile.c +++ b/programs/winhelp/hlpfile.c @@ -860,7 +860,7 @@ static BOOL HLPFILE_AddParagraph(HLPFILE *hlpfile, BYTE *buf, BYTE *end, unsigne HLPFILE_PARAGRAPH *paragraph, **paragraphptr; UINT textsize; BYTE *format, *format_end; - char *text, *text_end; + char *text, *text_base, *text_end; long size; unsigned short bits; unsigned nc, ncol = 1; @@ -874,7 +874,7 @@ static BOOL HLPFILE_AddParagraph(HLPFILE *hlpfile, BYTE *buf, BYTE *end, unsigne if (buf + 0x19 > end) {WINE_WARN("header too small\n"); return FALSE;}; size = GET_UINT(buf, 0x4); - text = HeapAlloc(GetProcessHeap(), 0, size); + text = text_base = HeapAlloc(GetProcessHeap(), 0, size); if (!text) return FALSE; if (hlpfile->hasPhrases) { @@ -1164,8 +1164,7 @@ static BOOL HLPFILE_AddParagraph(HLPFILE *hlpfile, BYTE *buf, BYTE *end, unsigne } } } - if (text_end != (char*)buf + GET_UINT(buf, 0x10) + size) - HeapFree(GetProcessHeap(), 0, text_end - size); + HeapFree(GetProcessHeap(), 0, text_base); return TRUE; }
1
0
0
0
← Newer
1
...
11
12
13
14
15
16
17
...
100
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
Results per page:
10
25
50
100
200