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 2007
----- 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
Paul Millar : widl: Add support for overriding recorded time, allowing binary-identical compilation.
by Alexandre Julliard
29 Oct '07
29 Oct '07
Module: wine Branch: master Commit: 17e934669e2910a5d0a52533a22c156863b24aad URL:
http://source.winehq.org/git/wine.git/?a=commit;h=17e934669e2910a5d0a52533a…
Author: Paul Millar <paul(a)astro.gla.ac.uk> Date: Sun Oct 28 16:31:03 2007 +0000 widl: Add support for overriding recorded time, allowing binary-identical compilation. --- tools/widl/write_msft.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c index dd29c73..f5ea2f7 100644 --- a/tools/widl/write_msft.c +++ b/tools/widl/write_msft.c @@ -2473,6 +2473,7 @@ int create_msft_typelib(typelib_t *typelib) int failed = 0; typelib_entry_t *entry; time_t cur_time; + char *time_override; unsigned int version = 5 << 24 | 1 << 16 | 164; /* 5.01.0164 */ GUID midl_time_guid = {0xde77ba63,0x517c,0x11d1,{0xa2,0xda,0x00,0x00,0xf8,0x77,0x3c,0xe9}}; GUID midl_version_guid = {0xde77ba64,0x517c,0x11d1,{0xa2,0xda,0x00,0x00,0xf8,0x77,0x3c,0xe9}}; @@ -2518,7 +2519,8 @@ int create_msft_typelib(typelib_t *typelib) /* midl adds two sets of custom data to the library: the current unix time and midl's version number */ - cur_time = time(NULL); + time_override = getenv( "WIDL_TIME_OVERRIDE"); + cur_time = time_override ? atol( time_override) : time(NULL); set_custdata(msft, &midl_time_guid, VT_UI4, &cur_time, &msft->typelib_header.CustomDataOffset); set_custdata(msft, &midl_version_guid, VT_UI4, &version, &msft->typelib_header.CustomDataOffset);
1
0
0
0
Alexandre Julliard : winealsa.drv: Avoid the alsa alloca macros that cause compiler warnings.
by Alexandre Julliard
29 Oct '07
29 Oct '07
Module: wine Branch: master Commit: 9fce052c54ff831a6623180ec7d6d1ff11af7d0e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9fce052c54ff831a6623180ec…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Oct 29 12:07:52 2007 +0100 winealsa.drv: Avoid the alsa alloca macros that cause compiler warnings. --- dlls/winealsa.drv/alsa.c | 7 ++++- dlls/winealsa.drv/midi.c | 7 +++-- dlls/winealsa.drv/mixer.c | 6 +++- dlls/winealsa.drv/wavein.c | 43 ++++++++++++++++++++++-------------- dlls/winealsa.drv/waveinit.c | 48 ++++++++++++++++++++++++++++------------- dlls/winealsa.drv/waveout.c | 5 ++- 6 files changed, 75 insertions(+), 41 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=9fce052c54ff831a66231…
1
0
0
0
Dmitry Timoshkov : shlwapi: Fix a typo in the previous patch. Spotted by Francois Gouget.
by Alexandre Julliard
29 Oct '07
29 Oct '07
Module: wine Branch: master Commit: 656a11b152eb753ce7b21f0c4257528001da8f69 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=656a11b152eb753ce7b21f0c4…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Sun Oct 28 14:34:37 2007 +0800 shlwapi: Fix a typo in the previous patch. Spotted by Francois Gouget. --- dlls/shlwapi/shlwapi.spec | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/shlwapi/shlwapi.spec b/dlls/shlwapi/shlwapi.spec index fdb061c..8f8e8aa 100644 --- a/dlls/shlwapi/shlwapi.spec +++ b/dlls/shlwapi/shlwapi.spec @@ -391,7 +391,7 @@ 391 stdcall -noname WNetGetLastErrorWrapW(ptr ptr long ptr long) 392 stdcall -noname EndDialogWrap(ptr ptr) user32.EndDialog 393 stdcall -noname CreateDialogIndirectParamWrapW(long ptr long ptr long) user32.CreateDialogIndirectParamW -394 stdcall -noname SHChangeNotify(long long ptr ptr) +394 stdcall -noname SHChangeNotifyWrap(long long ptr ptr) 395 stub -noname MLWinHelpA 396 stub -noname MLHtmlHelpA 397 stub -noname MLWinHelpW
1
0
0
0
Francois Gouget : d3dx8: Make sure d3dx8math.inl compiles fine, whether nameless unions are supported or not.
by Alexandre Julliard
29 Oct '07
29 Oct '07
Module: wine Branch: master Commit: 97f36631b5b4417f1e881dc1d0407a2f589eeb89 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=97f36631b5b4417f1e881dc1d…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun Oct 28 02:49:40 2007 +0200 d3dx8: Make sure d3dx8math.inl compiles fine, whether nameless unions are supported or not. --- include/d3dx8math.inl | 40 +++++++++++++++++++++++----------------- 1 files changed, 23 insertions(+), 17 deletions(-) diff --git a/include/d3dx8math.inl b/include/d3dx8math.inl index 4df1f9e..22684a0 100644 --- a/include/d3dx8math.inl +++ b/include/d3dx8math.inl @@ -319,26 +319,31 @@ static inline D3DXVECTOR4* D3DXVec4Subtract(D3DXVECTOR4 *pout, CONST D3DXVECTOR4 } /*__________________D3DXMatrix____________________*/ +#ifdef NONAMELESSUNION +# define D3DX_U(x) (x).u +#else +# define D3DX_U(x) (x) +#endif static inline D3DXMATRIX* D3DXMatrixIdentity(D3DXMATRIX *pout) { if ( !pout ) return NULL; - pout->m[0][1] = 0.0f; - pout->m[0][2] = 0.0f; - pout->m[0][3] = 0.0f; - pout->m[1][0] = 0.0f; - pout->m[1][2] = 0.0f; - pout->m[1][3] = 0.0f; - pout->m[2][0] = 0.0f; - pout->m[2][1] = 0.0f; - pout->m[2][3] = 0.0f; - pout->m[3][0] = 0.0f; - pout->m[3][1] = 0.0f; - pout->m[3][2] = 0.0f; - pout->m[0][0] = 1.0f; - pout->m[1][1] = 1.0f; - pout->m[2][2] = 1.0f; - pout->m[3][3] = 1.0f; + D3DX_U(*pout).m[0][1] = 0.0f; + D3DX_U(*pout).m[0][2] = 0.0f; + D3DX_U(*pout).m[0][3] = 0.0f; + D3DX_U(*pout).m[1][0] = 0.0f; + D3DX_U(*pout).m[1][2] = 0.0f; + D3DX_U(*pout).m[1][3] = 0.0f; + D3DX_U(*pout).m[2][0] = 0.0f; + D3DX_U(*pout).m[2][1] = 0.0f; + D3DX_U(*pout).m[2][3] = 0.0f; + D3DX_U(*pout).m[3][0] = 0.0f; + D3DX_U(*pout).m[3][1] = 0.0f; + D3DX_U(*pout).m[3][2] = 0.0f; + D3DX_U(*pout).m[0][0] = 1.0f; + D3DX_U(*pout).m[1][1] = 1.0f; + D3DX_U(*pout).m[2][2] = 1.0f; + D3DX_U(*pout).m[3][3] = 1.0f; return pout; } @@ -354,11 +359,12 @@ static inline BOOL D3DXMatrixIsIdentity(D3DXMATRIX *pm) { for (j=0; j<4; j++) { - if ( fabs(pm->m[i][j] - testmatrix.m[i][j]) > 0.0001 ) equal = FALSE; + if ( fabs(D3DX_U(*pm).m[i][j] - D3DX_U(testmatrix).m[i][j]) > 0.0001 ) equal = FALSE; } } return equal; } +#undef D3DX_U /*__________________D3DXPLANE____________________*/
1
0
0
0
Francois Gouget : d3dx8: Fix compilation on systems that don' t support nameless unions.
by Alexandre Julliard
29 Oct '07
29 Oct '07
Module: wine Branch: master Commit: eb546b3b31da828b3b9ea442478f99a62fd9f330 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=eb546b3b31da828b3b9ea4424…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun Oct 28 02:49:08 2007 +0200 d3dx8: Fix compilation on systems that don't support nameless unions. --- dlls/d3dx8/tests/math.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/d3dx8/tests/math.c b/dlls/d3dx8/tests/math.c index 0e70183..11aa776 100644 --- a/dlls/d3dx8/tests/math.c +++ b/dlls/d3dx8/tests/math.c @@ -128,12 +128,12 @@ static void D3DXMatrixTest(void) BOOL expected, got; /*____________D3DXMatrixIsIdentity______________*/ - mat.m[0][1] = 0.0f; mat.m[0][2] = 7.0f; mat.m[0][3] = 8.0f; - mat.m[1][0] = 11.0f; mat.m[1][2] = 0.0f; mat.m[1][3] = 0.0f; - mat.m[2][0] = 0.0f; mat.m[2][1] = 0.0f; mat.m[2][3] = 0.0f; - mat.m[3][0] = 0.0f; mat.m[3][1] = 0.0f; mat.m[3][2] = 0.0f; - mat.m[0][0] = 1.0f; mat.m[1][1] = 1.0f; mat.m[2][2] = 1.0f; - mat.m[3][3] = 1.0f; + U(mat).m[0][1] = 0.0f; U(mat).m[0][2] = 7.0f; U(mat).m[0][3] = 8.0f; + U(mat).m[1][0] = 11.0f; U(mat).m[1][2] = 0.0f; U(mat).m[1][3] = 0.0f; + U(mat).m[2][0] = 0.0f; U(mat).m[2][1] = 0.0f; U(mat).m[2][3] = 0.0f; + U(mat).m[3][0] = 0.0f; U(mat).m[3][1] = 0.0f; U(mat).m[3][2] = 0.0f; + U(mat).m[0][0] = 1.0f; U(mat).m[1][1] = 1.0f; U(mat).m[2][2] = 1.0f; + U(mat).m[3][3] = 1.0f; expected = FALSE; got = D3DXMatrixIsIdentity(&mat); ok(expected == got, "Expected : %d, Got : %d\n", expected, got);
1
0
0
0
Francois Gouget : tapi32: Add prototypes for lineInitializeExA/W().
by Alexandre Julliard
29 Oct '07
29 Oct '07
Module: wine Branch: master Commit: 55fe2b26b5e579817d53ff2a708258f79b6404d8 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=55fe2b26b5e579817d53ff2a7…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun Oct 28 02:50:47 2007 +0200 tapi32: Add prototypes for lineInitializeExA/W(). --- include/tapi.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/tapi.h b/include/tapi.h index 4d7dca0..9c5dc49 100644 --- a/include/tapi.h +++ b/include/tapi.h @@ -900,6 +900,9 @@ DWORD WINAPI lineGetTranslateCaps(HLINEAPP,DWORD,LPLINETRANSLATECAPS); DWORD WINAPI lineHandoff(HCALL,LPCSTR,DWORD); DWORD WINAPI lineHold(HCALL); DWORD WINAPI lineInitialize(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCSTR,LPDWORD); +LONG WINAPI lineInitializeExA(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCSTR,LPDWORD,LPDWORD,LPLINEINITIALIZEEXPARAMS); +LONG WINAPI lineInitializeExW(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCWSTR,LPDWORD,LPDWORD,LPLINEINITIALIZEEXPARAMS); +#define lineInitializeEx WINELIB_NAME_AW(lineInitializeEx) DWORD WINAPI lineMakeCall(HLINE,LPHCALL,LPCSTR,DWORD,LPLINECALLPARAMS); DWORD WINAPI lineMonitorDigits(HCALL,DWORD); DWORD WINAPI lineMonitorMedia(HCALL,DWORD);
1
0
0
0
Francois Gouget : shlwapi: Fix the DeleteMenuWrap() forward.
by Alexandre Julliard
29 Oct '07
29 Oct '07
Module: wine Branch: master Commit: 5b58407271474e7ffa38715647f022e32fd0ce05 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5b58407271474e7ffa3871564…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun Oct 28 02:50:25 2007 +0200 shlwapi: Fix the DeleteMenuWrap() forward. --- dlls/shlwapi/shlwapi.spec | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/shlwapi/shlwapi.spec b/dlls/shlwapi/shlwapi.spec index ce44553..fdb061c 100644 --- a/dlls/shlwapi/shlwapi.spec +++ b/dlls/shlwapi/shlwapi.spec @@ -422,7 +422,7 @@ 422 stdcall -noname SHGlobalCounterCreateNamedA(str long) 423 stdcall -noname SHGlobalCounterCreateNamedW(wstr long) 424 stdcall -noname SHGlobalCounterDecrement(long) -425 stdcall -noname DeleteMenuWrap(ptr long long) user32.DeleteMenuW +425 stdcall -noname DeleteMenuWrap(ptr long long) user32.DeleteMenu 426 stdcall -noname DestroyMenuWrap(long) user32.DestroyMenu 427 stdcall -noname TrackPopupMenuWrap(long long long long long long ptr) user32.TrackPopupMenu 428 stdcall -noname TrackPopupMenuExWrap(long long long long long ptr) user32.TrackPopupMenuEx
1
0
0
0
Francois Gouget : crypt32: Better match the PSDK types and update win32. api to fix the winapi_check warnings.
by Alexandre Julliard
29 Oct '07
29 Oct '07
Module: wine Branch: master Commit: 80911c12f45f537561b20edea0868071e66d8843 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=80911c12f45f537561b20edea…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun Oct 28 02:49:27 2007 +0200 crypt32: Better match the PSDK types and update win32.api to fix the winapi_check warnings. --- dlls/crypt32/cert.c | 2 +- include/wincrypt.h | 2 +- tools/winapi/win32.api | 23 +++++++++++++++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/dlls/crypt32/cert.c b/dlls/crypt32/cert.c index 976589b..844b054 100644 --- a/dlls/crypt32/cert.c +++ b/dlls/crypt32/cert.c @@ -1242,7 +1242,7 @@ typedef BOOL (WINAPI *CertVerifyRevocationFunc)(DWORD, DWORD, DWORD, void **, DWORD, PCERT_REVOCATION_PARA, PCERT_REVOCATION_STATUS); BOOL WINAPI CertVerifyRevocation(DWORD dwEncodingType, DWORD dwRevType, - DWORD cContext, void *rgpvContext[], DWORD dwFlags, + DWORD cContext, PVOID rgpvContext[], DWORD dwFlags, PCERT_REVOCATION_PARA pRevPara, PCERT_REVOCATION_STATUS pRevStatus) { BOOL ret; diff --git a/include/wincrypt.h b/include/wincrypt.h index e913f6b..41b9e2e 100644 --- a/include/wincrypt.h +++ b/include/wincrypt.h @@ -3962,7 +3962,7 @@ BOOL WINAPI CertVerifyCTLUsage(DWORD dwEncodingType, DWORD dwSubjectType, PCTL_VERIFY_USAGE_STATUS pVerifyUsageStatus); BOOL WINAPI CertVerifyRevocation(DWORD dwEncodingType, DWORD dwRevType, - DWORD cContext, void *rgpvContext[], DWORD dwFlags, + DWORD cContext, PVOID rgpvContext[], DWORD dwFlags, PCERT_REVOCATION_PARA pRevPara, PCERT_REVOCATION_STATUS pRevStatus); BOOL WINAPI CryptExportPublicKeyInfo(HCRYPTPROV_OR_NCRYPT_KEY_HANDLE hCryptProv, DWORD dwKeySpec, diff --git a/tools/winapi/win32.api b/tools/winapi/win32.api index c3c33a6..f0a6490 100644 --- a/tools/winapi/win32.api +++ b/tools/winapi/win32.api @@ -115,6 +115,8 @@ PACL * PACTRL_ACCESSW * PACTRL_AUDITW * PBOOL +PCREDENTIALA ** +PCREDENTIALW ** PDWORD PEXPLICIT_ACCESSA PEXPLICIT_ACCESSA * @@ -661,6 +663,12 @@ ULONG PBOOL PCREDUI_INFOW PCtxtHandle +PSTR * +PWSTR * + +%str + +PCSTR %wstr @@ -760,6 +768,8 @@ PCERT_NAME_INFO PCERT_PUBLIC_KEY_INFO PCERT_RDN_ATTR PCERT_RDN_VALUE_BLOB +PCERT_REVOCATION_PARA +PCERT_REVOCATION_STATUS PCMSG_STREAM_INFO PCRL_ENTRY * PCRL_INFO @@ -775,6 +785,7 @@ PFN_CERT_ENUM_SYSTEM_STORE PFN_CRYPT_ENUM_OID_INFO PSYSTEMTIME PVOID +PVOID[] SIP_ADD_NEWPROVIDER * SIP_DISPATCH_INFO * SIP_INDIRECT_DATA * @@ -804,13 +815,17 @@ LPWSTR BOOL DWORD +HCRYPTASYNC %ptr DWORD * LPVOID +LPVOID * PCERT_REVOCATION_PARA PCERT_REVOCATION_STATUS +PCRYPT_CREDENTIALS +PCRYPT_RETRIEVE_AUX_INFO PCRYPT_URL_ARRAY PCRYPT_URL_INFO PVOID[] @@ -819,6 +834,10 @@ PVOID[] LPCSTR +%wstr + +LPCWSTR + %%ctl3d32.dll %long @@ -3220,6 +3239,7 @@ PROCESSINFOCLASS RTL_ATOM SECTION_INFORMATION_CLASS SECTION_INHERIT +SECURITY_DESCRIPTOR_CONTROL SECURITY_IMPERSONATION_LEVEL SECURITY_INFORMATION SEMAPHORE_INFORMATION_CLASS @@ -4989,6 +5009,7 @@ HLINEAPP HPHONE HPHONEAPP HWND +LONG %ptr @@ -5012,6 +5033,7 @@ LPLINEDEVSTATUS LPLINEDIALPARAMS LPLINEEXTENSIONID LPLINEFORWARDLIST +LPLINEINITIALIZEEXPARAMS LPLINEGENERATETONE LPLINEMEDIACONTROLCALLSTATE LPLINEMEDIACONTROLDIGIT @@ -5076,6 +5098,7 @@ UINT %ptr BINDINFO * +CLSID * DWORD * FORMATETC * IBindCtx *
1
0
0
0
Francois Gouget : cryptnet: Fix compilation on systems that don' t support nameless structs.
by Alexandre Julliard
29 Oct '07
29 Oct '07
Module: wine Branch: master Commit: 4b6368c0e25e6da5676b308f28818a61622db6bf URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4b6368c0e25e6da5676b308f2…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun Oct 28 02:49:19 2007 +0200 cryptnet: Fix compilation on systems that don't support nameless structs. --- dlls/cryptnet/cryptnet_main.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dlls/cryptnet/cryptnet_main.c b/dlls/cryptnet/cryptnet_main.c index b83adb8..487da9d 100644 --- a/dlls/cryptnet/cryptnet_main.c +++ b/dlls/cryptnet/cryptnet_main.c @@ -23,6 +23,7 @@ #include <stdio.h> #define NONAMELESSUNION +#define NONAMELESSSTRUCT #include "windef.h" #include "wine/debug.h" @@ -353,7 +354,7 @@ static BOOL CRYPT_GetObjectFromFile(HANDLE hFile, PCRYPT_BLOB_ARRAY pObject) if ((ret = GetFileSizeEx(hFile, &size))) { - if (size.HighPart) + if (size.u.HighPart) { WARN("file too big\n"); SetLastError(ERROR_INVALID_DATA); @@ -363,11 +364,11 @@ static BOOL CRYPT_GetObjectFromFile(HANDLE hFile, PCRYPT_BLOB_ARRAY pObject) { CRYPT_DATA_BLOB blob; - blob.pbData = CryptMemAlloc(size.LowPart); + blob.pbData = CryptMemAlloc(size.u.LowPart); if (blob.pbData) { - blob.cbData = size.LowPart; - ret = ReadFile(hFile, blob.pbData, size.LowPart, &blob.cbData, + blob.cbData = size.u.LowPart; + ret = ReadFile(hFile, blob.pbData, size.u.LowPart, &blob.cbData, NULL); if (ret) {
1
0
0
0
Francois Gouget : winetest: Add an option that shuts Windows down once the tests have completed.
by Alexandre Julliard
29 Oct '07
29 Oct '07
Module: wine Branch: master Commit: e88af468fe6112f9c4435647ffd719856d7b2bf9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=e88af468fe6112f9c4435647f…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun Oct 28 02:48:59 2007 +0200 winetest: Add an option that shuts Windows down once the tests have completed. --- programs/winetest/Makefile.in | 2 +- programs/winetest/main.c | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletions(-) diff --git a/programs/winetest/Makefile.in b/programs/winetest/Makefile.in index d640848..2d4b12b 100644 --- a/programs/winetest/Makefile.in +++ b/programs/winetest/Makefile.in @@ -4,7 +4,7 @@ SRCDIR = @srcdir@ VPATH = @srcdir@ MODULE = winetest.exe APPMODE = -mconsole -IMPORTS = comctl32 version user32 gdi32 wsock32 kernel32 +IMPORTS = comctl32 version user32 gdi32 advapi32 wsock32 kernel32 C_SRCS = \ gui.c \ diff --git a/programs/winetest/main.c b/programs/winetest/main.c index 54574b1..41879b4 100644 --- a/programs/winetest/main.c +++ b/programs/winetest/main.c @@ -612,6 +612,7 @@ usage (void) " -c console mode, no GUI\n" " -e preserve the environment\n" " -h print this message and exit\n" +" -p shutdown when the tests are done\n" " -q quiet mode, no output at all\n" " -o FILE put report into FILE, do not submit\n" " -s FILE submit FILE, do not run tests\n" @@ -624,6 +625,7 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst, char *logname = NULL; const char *cp, *submit = NULL; int reset_env = 1; + int poweroff = 0; int interactive = 1; /* initialize the revision information first */ @@ -645,8 +647,12 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst, reset_env = 0; break; case 'h': + case '?': usage (); exit (0); + case 'p': + poweroff = 1; + break; case 'q': report (R_QUIET); interactive = 0; @@ -718,5 +724,21 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst, } else run_tests (logname); report (R_STATUS, "Finished"); } + if (poweroff) + { + HANDLE hToken; + TOKEN_PRIVILEGES npr; + + /* enable the shutdown privilege for the current process */ + if (OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &hToken)) + { + LookupPrivilegeValueA(0, SE_SHUTDOWN_NAME, &npr.Privileges[0].Luid); + npr.PrivilegeCount = 1; + npr.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; + AdjustTokenPrivileges(hToken, FALSE, &npr, 0, 0, 0); + CloseHandle(hToken); + } + ExitWindowsEx(EWX_SHUTDOWN | EWX_POWEROFF | EWX_FORCEIFHUNG, SHTDN_REASON_MAJOR_OTHER | SHTDN_REASON_MINOR_OTHER); + } exit (0); }
1
0
0
0
← Newer
1
...
7
8
9
10
11
12
13
...
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