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
August 2011
----- 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
2 participants
770 discussions
Start a n
N
ew thread
Jacek Caban : shell32: Moved MruLongList registration to shell32, where it belongs.
by Alexandre Julliard
01 Aug '11
01 Aug '11
Module: wine Branch: master Commit: d6548692b9dea76c325beb9dd61349839ebcb6bf URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d6548692b9dea76c325beb9dd…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Sun Jul 31 13:23:08 2011 +0200 shell32: Moved MruLongList registration to shell32, where it belongs. --- dlls/shdocvw/shdocvw_v1.idl | 5 ----- dlls/shell32/shell32_classes.idl | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/shdocvw/shdocvw_v1.idl b/dlls/shdocvw/shdocvw_v1.idl index e725782..94ef4cd 100644 --- a/dlls/shdocvw/shdocvw_v1.idl +++ b/dlls/shdocvw/shdocvw_v1.idl @@ -19,11 +19,6 @@ #include "exdisp.idl" [ - threading(apartment), - uuid(53bd6b4e-3780-4693-afc3-7161c2f3ee9c) -] coclass MruLongList { } - -[ helpstring("Microsoft Browser Architecture"), threading(apartment), uuid(a5e46e3a-8849-11d1-9d8c-00c04fc99d61) diff --git a/dlls/shell32/shell32_classes.idl b/dlls/shell32/shell32_classes.idl index 11f695b..ae3e619 100644 --- a/dlls/shell32/shell32_classes.idl +++ b/dlls/shell32/shell32_classes.idl @@ -135,3 +135,8 @@ coclass KnownFolderManager { interface IKnownFolderManager; } threading(apartment), uuid(21ec2020-3aea-1069-a2dd-08002b30309d) ] coclass ControlPanel { interface IShellFolder2; } + +[ + threading(apartment), + uuid(53bd6b4e-3780-4693-afc3-7161c2f3ee9c) +] coclass MruLongList { }
1
0
0
0
Eric Pouech : winhlp32: Better protect macros against not finding a help file.
by Alexandre Julliard
01 Aug '11
01 Aug '11
Module: wine Branch: master Commit: d3fd3d73be8c9da238fba091f381104d49aa5a46 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d3fd3d73be8c9da238fba091f…
Author: Eric Pouech <eric.pouech(a)orange.fr> Date: Sun Jul 31 08:53:34 2011 +0200 winhlp32: Better protect macros against not finding a help file. --- programs/winhlp32/macro.c | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/programs/winhlp32/macro.c b/programs/winhlp32/macro.c index 7f3328f..0a1642c 100644 --- a/programs/winhlp32/macro.c +++ b/programs/winhlp32/macro.c @@ -575,11 +575,11 @@ void CALLBACK MACRO_JumpContext(LPCSTR lpszPath, LPCSTR lpszWindow, LONG context HLPFILE* hlpfile; WINE_TRACE("(\"%s\", \"%s\", %d)\n", lpszPath, lpszWindow, context); - hlpfile = WINHELP_LookupHelpFile(lpszPath); - /* Some madness: what user calls 'context', hlpfile calls 'map' */ - WINHELP_OpenHelpWindow(HLPFILE_PageByMap, hlpfile, context, - WINHELP_GetWindowInfo(hlpfile, lpszWindow), - SW_NORMAL); + if ((hlpfile = WINHELP_LookupHelpFile(lpszPath))) + /* Some madness: what user calls 'context', hlpfile calls 'map' */ + WINHELP_OpenHelpWindow(HLPFILE_PageByMap, hlpfile, context, + WINHELP_GetWindowInfo(hlpfile, lpszWindow), + SW_NORMAL); } void CALLBACK MACRO_JumpHash(LPCSTR lpszPath, LPCSTR lpszWindow, LONG lHash) @@ -591,9 +591,10 @@ void CALLBACK MACRO_JumpHash(LPCSTR lpszPath, LPCSTR lpszWindow, LONG lHash) hlpfile = MACRO_CurrentWindow()->page->file; else hlpfile = WINHELP_LookupHelpFile(lpszPath); - WINHELP_OpenHelpWindow(HLPFILE_PageByHash, hlpfile, lHash, - WINHELP_GetWindowInfo(hlpfile, lpszWindow), - SW_NORMAL); + if (hlpfile) + WINHELP_OpenHelpWindow(HLPFILE_PageByHash, hlpfile, lHash, + WINHELP_GetWindowInfo(hlpfile, lpszWindow), + SW_NORMAL); } static void CALLBACK MACRO_JumpHelpOn(void)
1
0
0
0
André Hentschel : oleaut32/tests: Only use interface if we succeeded in recreating it.
by Alexandre Julliard
01 Aug '11
01 Aug '11
Module: wine Branch: master Commit: 862cc73fb4cd8e6c8d454ab822a70a5072cb5dda URL:
http://source.winehq.org/git/wine.git/?a=commit;h=862cc73fb4cd8e6c8d454ab82…
Author: André Hentschel <nerv(a)dawncrow.de> Date: Sat Jul 30 16:58:58 2011 +0200 oleaut32/tests: Only use interface if we succeeded in recreating it. --- dlls/oleaut32/tests/tmarshal.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dlls/oleaut32/tests/tmarshal.c b/dlls/oleaut32/tests/tmarshal.c index c64c68a..2897c1f 100644 --- a/dlls/oleaut32/tests/tmarshal.c +++ b/dlls/oleaut32/tests/tmarshal.c @@ -995,10 +995,13 @@ static void test_typelibmarshal(void) ok_ole_success(hr, CoUnmarshalInterface); IStream_Release(pStream); - hr = IKindaEnumWidget_Next(pKEW, &pWidget); - ok_ole_success(hr, IKindaEnumWidget_Next); + if (hr == S_OK) + { + hr = IKindaEnumWidget_Next(pKEW, &pWidget); + ok_ole_success(hr, IKindaEnumWidget_Next); - IKindaEnumWidget_Release(pKEW); + IKindaEnumWidget_Release(pKEW); + } hr = IWidget_QueryInterface(pWidget, &IID_IDispatch, (void **)&pDispatch); ok_ole_success(hr, IWidget_QueryInterface);
1
0
0
0
André Hentschel : rpcrt4/tests: Only free string when function succeeded.
by Alexandre Julliard
01 Aug '11
01 Aug '11
Module: wine Branch: master Commit: f98369f21c8b3682e29ed1baaef639669704f392 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f98369f21c8b3682e29ed1baa…
Author: André Hentschel <nerv(a)dawncrow.de> Date: Sat Jul 30 16:55:29 2011 +0200 rpcrt4/tests: Only free string when function succeeded. --- dlls/rpcrt4/tests/rpc.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/rpcrt4/tests/rpc.c b/dlls/rpcrt4/tests/rpc.c index 4d62f30..83e387b 100644 --- a/dlls/rpcrt4/tests/rpc.c +++ b/dlls/rpcrt4/tests/rpc.c @@ -283,8 +283,7 @@ todo_wine { ok(level == RPC_C_AUTHN_LEVEL_PKT_PRIVACY, "expected RPC_C_AUTHN_LEVEL_PKT_PRIVACY, got %d\n", level); ok(authnsvc == RPC_C_AUTHN_WINNT, "expected RPC_C_AUTHN_WINNT, got %d\n", authnsvc); todo_wine ok(authzsvc == RPC_C_AUTHZ_NAME, "expected RPC_C_AUTHZ_NAME, got %d\n", authzsvc); - - RpcStringFree(&principal); + if (status == RPC_S_OK) RpcStringFree(&principal); status = RpcMgmtStopServerListening(NULL); ok(status == RPC_S_OK, "RpcMgmtStopServerListening failed (%u)\n",
1
0
0
0
Francois Gouget : ntdll/tests: Fix compilation on systems that don' t support nameless unions.
by Alexandre Julliard
01 Aug '11
01 Aug '11
Module: wine Branch: master Commit: 209acc5c896584b05e8132a44a0641cd502aa389 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=209acc5c896584b05e8132a44…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sat Jul 30 14:18:54 2011 +0200 ntdll/tests: Fix compilation on systems that don't support nameless unions. --- dlls/ntdll/tests/pipe.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/ntdll/tests/pipe.c b/dlls/ntdll/tests/pipe.c index a0ce1b7..cad92a7 100644 --- a/dlls/ntdll/tests/pipe.c +++ b/dlls/ntdll/tests/pipe.c @@ -210,7 +210,7 @@ static void test_overlapped(void) hClient = CreateFileW(testpipe, GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0); ok(hClient != INVALID_HANDLE_VALUE, "can't open pipe, GetLastError: %x\n", GetLastError()); - ok(iosb.Status == 0, "Wrong iostatus %x\n", iosb.Status); + ok(U(iosb).Status == 0, "Wrong iostatus %x\n", U(iosb).Status); ok(WaitForSingleObject(hEvent, 0) == 0, "hEvent not signaled\n"); ok(!ioapc_called, "IOAPC ran too early\n"); @@ -281,7 +281,7 @@ static void test_alertable(void) todo_wine ok(res == STATUS_CANCELLED, "NtFsControlFile returned %x\n", res); todo_wine ok(userapc_called, "user apc didn't run\n"); - ok(iosb.Status == 0x55555555, "iosb.Status got changed to %x\n", iosb.Status); + ok(U(iosb).Status == 0x55555555, "iosb.Status got changed to %x\n", U(iosb).Status); todo_wine ok(WaitForSingleObjectEx(hEvent, 0, TRUE) == WAIT_TIMEOUT, "hEvent signaled\n"); ok(!ioapc_called, "IOAPC ran\n"); @@ -295,7 +295,7 @@ static void test_alertable(void) todo_wine ok(res == STATUS_CANCELLED, "NtFsControlFile returned %x\n", res); ok(userapc_called, "user apc didn't run\n"); - todo_wine ok(iosb.Status == 0x55555555, "iosb.Status got changed to %x\n", iosb.Status); + todo_wine ok(U(iosb).Status == 0x55555555, "iosb.Status got changed to %x\n", U(iosb).Status); ok(WaitForSingleObjectEx(hEvent, 0, TRUE) == WAIT_TIMEOUT, "hEvent signaled\n"); ok(!ioapc_called, "IOAPC ran\n"); @@ -316,7 +316,7 @@ static void test_alertable(void) todo_wine ok(!res, "NtFsControlFile returned %x\n", res); ok(open_succeded, "couldn't open client side pipe\n"); - ok(!iosb.Status, "Wrong iostatus %x\n", iosb.Status); + ok(!U(iosb).Status, "Wrong iostatus %x\n", U(iosb).Status); todo_wine ok(WaitForSingleObject(hEvent, 0) == 0, "hEvent not signaled\n"); WaitForSingleObject(hThread, INFINITE); @@ -351,7 +351,7 @@ static void test_nonalertable(void) todo_wine ok(!res, "NtFsControlFile returned %x\n", res); ok(open_succeded, "couldn't open client side pipe\n"); - todo_wine ok(!iosb.Status, "Wrong iostatus %x\n", iosb.Status); + todo_wine ok(!U(iosb).Status, "Wrong iostatus %x\n", U(iosb).Status); todo_wine ok(WaitForSingleObject(hEvent, 0) == 0, "hEvent not signaled\n"); ok(!ioapc_called, "IOAPC ran too early\n"); @@ -391,7 +391,7 @@ static void test_cancelio(void) todo_wine ok(!res, "NtCancelIoFile returned %x\n", res); todo_wine { - ok(iosb.Status == STATUS_CANCELLED, "Wrong iostatus %x\n", iosb.Status); + ok(U(iosb).Status == STATUS_CANCELLED, "Wrong iostatus %x\n", U(iosb).Status); ok(WaitForSingleObject(hEvent, 0) == 0, "hEvent not signaled\n"); }
1
0
0
0
Mariusz Pluciński : shell32/tests: Add checking some non-published known folders.
by Alexandre Julliard
01 Aug '11
01 Aug '11
Module: wine Branch: master Commit: bb471a54fe6aa292054036240fccff237afdf30a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=bb471a54fe6aa292054036240…
Author: Mariusz Pluciński <vshader(a)gmail.com> Date: Fri Jul 29 19:09:36 2011 +0200 shell32/tests: Add checking some non-published known folders. --- dlls/shell32/tests/shellpath.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c index b2d16f5..96ecf0c 100644 --- a/dlls/shell32/tests/shellpath.c +++ b/dlls/shell32/tests/shellpath.c @@ -893,6 +893,12 @@ if (0) { /* crashes */ #define KNOWN_FOLDER(id, csidl, name, category, parent, relative_path) \ { &id, # id, csidl, # csidl, name, category, &parent, # parent, relative_path, __LINE__ } +/* non-published known folders test */ +static const GUID _FOLDERID_CryptoKeys = {0xB88F4DAA, 0xE7BD, 0x49A9, {0xB7, 0x4D, 0x02, 0x88, 0x5A, 0x5D, 0xC7, 0x65} }; +static const GUID _FOLDERID_DpapiKeys = {0x10C07CD0, 0xEF91, 0x4567, {0xB8, 0x50, 0x44, 0x8B, 0x77, 0xCB, 0x37, 0xF9} }; +static const GUID _FOLDERID_SystemCertificates = {0x54EED2E0, 0xE7CA, 0x4FDB, {0x91, 0x48, 0x0F, 0x42, 0x47, 0x29, 0x1C, 0xFA} }; +static const GUID _FOLDERID_CredentialManager = {0x915221FB, 0x9EFE, 0x4BDA, {0x8F, 0xD7, 0xF7, 0x8D, 0xCA, 0x77, 0x4F, 0x87} }; + struct knownFolderDef { const KNOWNFOLDERID *folderId; const char *sFolderId; @@ -1007,6 +1013,10 @@ static const struct knownFolderDef known_folders[] = { KNOWN_FOLDER(FOLDERID_Videos, CSIDL_MYVIDEO, "My Video", KF_CATEGORY_PERUSER, FOLDERID_Profile, "Videos"), KNOWN_FOLDER(FOLDERID_VideosLibrary, NO_CSIDL, "VideosLibrary", KF_CATEGORY_PERUSER, FOLDERID_Libraries, "Videos.library-ms"), KNOWN_FOLDER(FOLDERID_Windows, CSIDL_WINDOWS, "Windows", KF_CATEGORY_FIXED, GUID_NULL, NULL), + KNOWN_FOLDER(_FOLDERID_CredentialManager, NO_CSIDL, "CredentialManager", KF_CATEGORY_FIXED, GUID_NULL, NULL), + KNOWN_FOLDER(_FOLDERID_CryptoKeys, NO_CSIDL, "CryptoKeys", KF_CATEGORY_FIXED, GUID_NULL, NULL), + KNOWN_FOLDER(_FOLDERID_DpapiKeys, NO_CSIDL, "DpapiKeys", KF_CATEGORY_FIXED, GUID_NULL, NULL), + KNOWN_FOLDER(_FOLDERID_SystemCertificates, NO_CSIDL, "SystemCertificates", KF_CATEGORY_FIXED, GUID_NULL, NULL), { NULL, NULL, 0, NULL, NULL, 0, 0 } }; #undef KNOWN_FOLDER
1
0
0
0
Mariusz Pluciński : shell32/tests: Add notification when expected known folder does not exists.
by Alexandre Julliard
01 Aug '11
01 Aug '11
Module: wine Branch: master Commit: 82ac4ae36e00df89f15f1968071ee0275a6635cd URL:
http://source.winehq.org/git/wine.git/?a=commit;h=82ac4ae36e00df89f15f19680…
Author: Mariusz Pluciński <vshader(a)gmail.com> Date: Fri Jul 29 19:07:55 2011 +0200 shell32/tests: Add notification when expected known folder does not exists. --- dlls/shell32/tests/shellpath.c | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c index bcdf45e..b2d16f5 100644 --- a/dlls/shell32/tests/shellpath.c +++ b/dlls/shell32/tests/shellpath.c @@ -1010,6 +1010,7 @@ static const struct knownFolderDef known_folders[] = { { NULL, NULL, 0, NULL, NULL, 0, 0 } }; #undef KNOWN_FOLDER +BOOL known_folder_found[sizeof(known_folders)/sizeof(known_folders[0])-1]; static void check_known_folder(IKnownFolderManager *mgr, KNOWNFOLDERID *folderId) { @@ -1021,14 +1022,15 @@ static void check_known_folder(IKnownFolderManager *mgr, KNOWNFOLDERID *folderId WCHAR sName[1024], sRelativePath[MAX_PATH]; BOOL validPath; char sParentGuid[39]; + BOOL *current_known_folder_found = &known_folder_found[0]; BOOL found = FALSE; while(known_folder->folderId != NULL) { if(IsEqualGUID(known_folder->folderId, folderId)) { + *current_known_folder_found = TRUE; found = TRUE; - /* verify CSIDL */ if(known_folder->csidl != NO_CSIDL) { @@ -1084,6 +1086,7 @@ static void check_known_folder(IKnownFolderManager *mgr, KNOWNFOLDERID *folderId break; } known_folder++; + current_known_folder_found++; } if(!found) @@ -1241,11 +1244,18 @@ static void test_knownFolders(void) ok(hr == S_OK, "failed to release KnownFolder instance: 0x%08x\n", hr); } + for(i=0; i<sizeof(known_folder_found)/sizeof(known_folder_found[0]); ++i) + known_folder_found[i] = FALSE; + hr = IKnownFolderManager_GetFolderIds(mgr, &folders, &nCount); ok(hr == S_OK, "failed to get known folders: 0x%08x\n", hr); for(i=0;i<nCount;++i) check_known_folder(mgr, &folders[i]); + for(i=0; i<sizeof(known_folder_found)/sizeof(known_folder_found[0]); ++i) + if(!known_folder_found[i]) + trace("Known folder %s not found on current platform\n", known_folders[i].sFolderId); + CoTaskMemFree(folders); /* test of registering new known folders */
1
0
0
0
Mariusz Pluciński : shell32/tests: Add notification about unknown known folders.
by Alexandre Julliard
01 Aug '11
01 Aug '11
Module: wine Branch: master Commit: e09f4ed0e84b6f35ba9545dea0c8504db4b62e0f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=e09f4ed0e84b6f35ba9545dea…
Author: Mariusz Pluciński <vshader(a)gmail.com> Date: Fri Jul 29 19:07:49 2011 +0200 shell32/tests: Add notification about unknown known folders. --- dlls/shell32/tests/shellpath.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c index a7d92d4..bcdf45e 100644 --- a/dlls/shell32/tests/shellpath.c +++ b/dlls/shell32/tests/shellpath.c @@ -1021,11 +1021,14 @@ static void check_known_folder(IKnownFolderManager *mgr, KNOWNFOLDERID *folderId WCHAR sName[1024], sRelativePath[MAX_PATH]; BOOL validPath; char sParentGuid[39]; + BOOL found = FALSE; while(known_folder->folderId != NULL) { if(IsEqualGUID(known_folder->folderId, folderId)) { + found = TRUE; + /* verify CSIDL */ if(known_folder->csidl != NO_CSIDL) { @@ -1082,6 +1085,42 @@ static void check_known_folder(IKnownFolderManager *mgr, KNOWNFOLDERID *folderId } known_folder++; } + + if(!found) + { + printGUID(folderId, sParentGuid); + trace("unknown known folder found: %s\n", sParentGuid); + + hr = IKnownFolderManager_GetFolder(mgr, folderId, &folder); + ok(hr == S_OK, "cannot get known folder for %s\n", sParentGuid); + if(SUCCEEDED(hr)) + { + hr = IKnownFolder_GetFolderDefinition(folder, &kfd); + todo_wine + ok(hr == S_OK, "cannot get known folder definition for %s\n", sParentGuid); + if(SUCCEEDED(hr)) + { + trace(" category: %d\n", kfd.category); + trace(" name: %s\n", wine_dbgstr_w(kfd.pszName)); + trace(" description: %s\n", wine_dbgstr_w(kfd.pszDescription)); + printGUID(&kfd.fidParent, sParentGuid); + trace(" parent: %s\n", sParentGuid); + trace(" relative path: %s\n", wine_dbgstr_w(kfd.pszRelativePath)); + trace(" parsing name: %s\n", wine_dbgstr_w(kfd.pszParsingName)); + trace(" tooltip: %s\n", wine_dbgstr_w(kfd.pszTooltip)); + trace(" localized name: %s\n", wine_dbgstr_w(kfd.pszLocalizedName)); + trace(" icon: %s\n", wine_dbgstr_w(kfd.pszIcon)); + trace(" security: %s\n", wine_dbgstr_w(kfd.pszSecurity)); + trace(" attributes: 0x%08x\n", kfd.dwAttributes); + trace(" flags: 0x%08x\n", kfd.kfdFlags); + printGUID(&kfd.ftidType, sParentGuid); + trace(" type: %s\n", sParentGuid); + FreeKnownFolderDefinitionFields(&kfd); + } + + IKnownFolder_Release(folder); + } + } } #undef NO_CSIDL #undef CSIDL_TODO_WINE
1
0
0
0
Mariusz Pluciński : shell32/tests: Add verification of known folders relative paths.
by Alexandre Julliard
01 Aug '11
01 Aug '11
Module: wine Branch: master Commit: 9b98b1ef758e0fdb9389d06715e574afa8bb3e37 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9b98b1ef758e0fdb9389d0671…
Author: Mariusz Pluciński <vshader(a)gmail.com> Date: Fri Jul 29 19:06:09 2011 +0200 shell32/tests: Add verification of known folders relative paths. --- dlls/shell32/tests/shellpath.c | 220 +++++++++++++++++++++------------------- 1 files changed, 117 insertions(+), 103 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=9b98b1ef758e0fdb9389d…
1
0
0
0
Alexandre Julliard : gdi32: Fix the blend function handling for the AlphaBlend enhanced metafile record .
by Alexandre Julliard
01 Aug '11
01 Aug '11
Module: wine Branch: master Commit: 2116493653658d7b3cb8347b51f6e9ba88605b72 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2116493653658d7b3cb8347b5…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Jul 29 20:08:53 2011 +0200 gdi32: Fix the blend function handling for the AlphaBlend enhanced metafile record. --- dlls/gdi32/enhmetafile.c | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/dlls/gdi32/enhmetafile.c b/dlls/gdi32/enhmetafile.c index b8863fd..62faa89 100644 --- a/dlls/gdi32/enhmetafile.c +++ b/dlls/gdi32/enhmetafile.c @@ -1903,7 +1903,6 @@ BOOL WINAPI PlayEnhMetaFileRecord( HDC hdcSrc = CreateCompatibleDC(hdc); HBITMAP hBmp = 0, hBmpOld = 0; const BITMAPINFO *pbi = (const BITMAPINFO *)((const BYTE *)mr + pAlphaBlend->offBmiSrc); - BLENDFUNCTION blendfn; void *bits; SetWorldTransform(hdcSrc, &pAlphaBlend->xformSrc); @@ -1912,14 +1911,9 @@ BOOL WINAPI PlayEnhMetaFileRecord( memcpy(bits, (const BYTE *)mr + pAlphaBlend->offBitsSrc, pAlphaBlend->cbBitsSrc); hBmpOld = SelectObject(hdcSrc, hBmp); - blendfn.BlendOp = (pAlphaBlend->dwRop >> 24) & 0xff; - blendfn.BlendFlags = (pAlphaBlend->dwRop >> 16) & 0xff; - blendfn.SourceConstantAlpha = (pAlphaBlend->dwRop >> 8) & 0xff; - blendfn.AlphaFormat = (pAlphaBlend->dwRop) & 0xff; - GdiAlphaBlend(hdc, pAlphaBlend->xDest, pAlphaBlend->yDest, pAlphaBlend->cxDest, pAlphaBlend->cyDest, hdcSrc, pAlphaBlend->xSrc, pAlphaBlend->ySrc, pAlphaBlend->cxSrc, pAlphaBlend->cySrc, - blendfn); + *(BLENDFUNCTION *)&pAlphaBlend->dwRop); SelectObject(hdcSrc, hBmpOld); DeleteObject(hBmp);
1
0
0
0
← Newer
1
...
74
75
76
77
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
Results per page:
10
25
50
100
200