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
Alexander Nicolaysen Sørnes : comment: Set default subject when replying
by Chris Morgan
23 Oct '07
23 Oct '07
Module: appdb Branch: master Commit: d5b029fc613cf880c815450e9bfdde326617a3a4 URL:
http://source.winehq.org/git/appdb.git/?a=commit;h=d5b029fc613cf880c815450e…
Author: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> Date: Tue Oct 23 13:25:44 2007 +0200 comment: Set default subject when replying --- include/comment.php | 21 +++++++++++++-------- 1 files changed, 13 insertions(+), 8 deletions(-) diff --git a/include/comment.php b/include/comment.php index e6646d7..8a5d1ba 100644 --- a/include/comment.php +++ b/include/comment.php @@ -232,19 +232,13 @@ class Comment { // body echo htmlify_urls($this->sBody), "<br /><br />\n"; - // only add RE: once - if(eregi("RE:", $this->sSubject)) - $sSubject = $this->sSubject; - else - $sSubject = "RE: ".$this->sSubject; - $oVersion = new version($this->iVersionId); $oM = new objectManager("comment", "Post new ocmment"); $oM->setReturnTo($oVersion->objectMakeUrl()); // reply post buttons echo " [<a href=\"".$oM->makeUrl("add")."&iVersionId=$this->iVersionId\"><small>post new</small></a>] \n"; - echo " [<a href=\"".$oM->makeUrl("add")."&iVersionId=$this->iVersionId&sSubject=". - urlencode("$sSubject")."&iThread=$this->iCommentId\"><small>reply to this</small></a>] \n"; + echo " [<a href=\"".$oM->makeUrl("add")."&iVersionId=$this->iVersionId". + "&iThread=$this->iCommentId\"><small>reply to this</small></a>] \n"; echo "</td></tr>\n"; @@ -605,6 +599,17 @@ class Comment { echo html_frame_start($oRow->subject,500); echo htmlify_urls($oRow->body), "<br /><br />\n"; echo html_frame_end(); + + /* Set default reply subject */ + if(!$this->sSubject) + { + // Only add RE: once + if(eregi("RE:", $oRow->subject)) + $this->sSubject = $oRow->subject; + else + $this->sSubject = "RE: ".$oRow->subject; + } + } }
1
0
0
0
Alexander Dorofeyev : gdi32: Fix runaway loop because of unsigned comparison in BIDI_Reorder.
by Alexandre Julliard
23 Oct '07
23 Oct '07
Module: wine Branch: master Commit: cdca3018213e4b68561a107038604d6eb4a709a2 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=cdca3018213e4b68561a10703…
Author: Alexander Dorofeyev <alexd14(a)hushmail.com> Date: Tue Oct 23 00:49:39 2007 -0700 gdi32: Fix runaway loop because of unsigned comparison in BIDI_Reorder. --- dlls/gdi32/bidi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gdi32/bidi.c b/dlls/gdi32/bidi.c index 1853a84..1b7b856 100644 --- a/dlls/gdi32/bidi.c +++ b/dlls/gdi32/bidi.c @@ -1087,7 +1087,7 @@ BOOL BIDI_Reorder( i = done = 0; while (done < uCount) { - unsigned j, lastgood; + unsigned j; classify(lpOutString + done, chartype, uCount - done); /* limit text to first block */ i = resolveParagraphs(chartype, uCount - done); @@ -1140,7 +1140,7 @@ BOOL BIDI_Reorder( if (lpOrder) { - unsigned k; + int k, lastgood; for (j = lastgood = 0; j < i; ++j) if (levels[j] != levels[lastgood]) {
1
0
0
0
Alex Villacís Lasso : riched32: Skeleton of richedit 1.0 test plus WM_SETTEXT test.
by Alexandre Julliard
23 Oct '07
23 Oct '07
Module: wine Branch: master Commit: 74cd5903e2b3c3ca51989b61781e1aba729d490a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=74cd5903e2b3c3ca51989b617…
Author: Alex Villacís Lasso <a_villacis(a)palosanto.com> Date: Mon Oct 22 10:47:59 2007 -0500 riched32: Skeleton of richedit 1.0 test plus WM_SETTEXT test. --- .gitignore | 4 + Makefile.in | 2 + configure | 3 + configure.ac | 1 + dlls/Makefile.in | 1 + dlls/riched32/tests/Makefile.in | 13 ++++ dlls/riched32/tests/editor.c | 142 +++++++++++++++++++++++++++++++++++++++ programs/winetest/Makefile.in | 3 + programs/winetest/winetest.rc | 1 + 9 files changed, 170 insertions(+), 0 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=74cd5903e2b3c3ca51989…
1
0
0
0
Rob Shearman : include: Remove duplicate ACL_REVISION1 and ACL_REVISION2 defines in winnt.h.
by Alexandre Julliard
23 Oct '07
23 Oct '07
Module: wine Branch: master Commit: 2c742a38c49cbc70e9560afe36faba99ba35f7bf URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2c742a38c49cbc70e9560afe3…
Author: Rob Shearman <rob(a)codeweavers.com> Date: Tue Oct 23 15:19:07 2007 +0100 include: Remove duplicate ACL_REVISION1 and ACL_REVISION2 defines in winnt.h. Move the remaining ACL_REVISION define nearer to the other ACL revision defines. --- include/winnt.h | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/winnt.h b/include/winnt.h index aecc2af..cd81087 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -3400,6 +3400,8 @@ typedef struct _SID { #define MIN_ACL_REVISION ACL_REVISION2 #define MAX_ACL_REVISION ACL_REVISION4 +#define ACL_REVISION 2 + typedef struct _ACL { BYTE AclRevision; BYTE Sbz1; @@ -3893,11 +3895,6 @@ typedef struct _TOKEN_STATISTICS { * ACLs of NT */ -#define ACL_REVISION 2 - -#define ACL_REVISION1 1 -#define ACL_REVISION2 2 - /* ACEs, directly starting after an ACL */ typedef struct _ACE_HEADER { BYTE AceType;
1
0
0
0
Rob Shearman : ntdll: Add a stub for RtlSetControlSecurityDescriptor.
by Alexandre Julliard
23 Oct '07
23 Oct '07
Module: wine Branch: master Commit: 6b081232b97c80d08cfec467ef0ca05e41b2a614 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=6b081232b97c80d08cfec467e…
Author: Rob Shearman <rob(a)codeweavers.com> Date: Tue Oct 23 15:19:00 2007 +0100 ntdll: Add a stub for RtlSetControlSecurityDescriptor. Implement SetSecurityDescriptorControl on top of RtlSetControlSecurityDescriptor. --- dlls/advapi32/security.c | 21 +++++++++++---------- dlls/ntdll/ntdll.spec | 2 +- dlls/ntdll/sec.c | 13 +++++++++++++ include/winternl.h | 1 + 4 files changed, 26 insertions(+), 11 deletions(-) diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c index 4cab225..82de97b 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -1363,6 +1363,17 @@ BOOL WINAPI GetSecurityDescriptorControl ( PSECURITY_DESCRIPTOR pSecurityDescri return set_ntstatus( RtlGetControlSecurityDescriptor(pSecurityDescriptor,pControl,lpdwRevision)); } +/****************************************************************************** + * SetSecurityDescriptorControl [ADVAPI32.@] + */ +BOOL WINAPI SetSecurityDescriptorControl( PSECURITY_DESCRIPTOR pSecurityDescriptor, + SECURITY_DESCRIPTOR_CONTROL ControlBitsOfInterest, + SECURITY_DESCRIPTOR_CONTROL ControlBitsToSet ) +{ + return set_ntstatus( RtlSetControlSecurityDescriptor( + pSecurityDescriptor, ControlBitsOfInterest, ControlBitsToSet ) ); +} + /* ############################## ###### ACL FUNCTIONS ###### ############################## @@ -3077,16 +3088,6 @@ BOOL WINAPI SetPrivateObjectSecurity( SECURITY_INFORMATION SecurityInformation, return TRUE; } -BOOL WINAPI SetSecurityDescriptorControl( PSECURITY_DESCRIPTOR pSecurityDescriptor, - SECURITY_DESCRIPTOR_CONTROL ControlBitsOfInterest, - SECURITY_DESCRIPTOR_CONTROL ControlBitsToSet ) -{ - FIXME("%p 0x%08x 0x%08x - stub\n", pSecurityDescriptor, ControlBitsOfInterest, - ControlBitsToSet); - - return TRUE; -} - BOOL WINAPI AreAllAccessesGranted( DWORD GrantedAccess, DWORD DesiredAccess ) { return RtlAreAllAccessesGranted( GrantedAccess, DesiredAccess ); diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec index 30c6ab3..fc1a6c8 100644 --- a/dlls/ntdll/ntdll.spec +++ b/dlls/ntdll/ntdll.spec @@ -813,7 +813,7 @@ @ stdcall RtlSetAllBits(ptr) # @ stub RtlSetAttributesSecurityDescriptor @ stdcall RtlSetBits(ptr long long) -# @ stub RtlSetControlSecurityDescriptor +@ stdcall RtlSetControlSecurityDescriptor(ptr long long) @ stdcall RtlSetCriticalSectionSpinCount(ptr long) @ stdcall RtlSetCurrentDirectory_U(ptr) @ stdcall RtlSetCurrentEnvironment(wstr ptr) diff --git a/dlls/ntdll/sec.c b/dlls/ntdll/sec.c index a1c839d..0a9fa5c 100644 --- a/dlls/ntdll/sec.c +++ b/dlls/ntdll/sec.c @@ -1030,6 +1030,19 @@ NTSTATUS WINAPI RtlGetControlSecurityDescriptor( return STATUS_SUCCESS; } +/****************************************************************************** + * RtlSetControlSecurityDescriptor (NTDLL.@) + */ +NTSTATUS WINAPI RtlSetControlSecurityDescriptor( + PSECURITY_DESCRIPTOR SecurityDescriptor, + SECURITY_DESCRIPTOR_CONTROL ControlBitsOfInterest, + SECURITY_DESCRIPTOR_CONTROL ControlBitsToSet) +{ + FIXME("(%p 0x%08x 0x%08x): stub\n", SecurityDescriptor, ControlBitsOfInterest, + ControlBitsToSet); + return STATUS_SUCCESS; +} + /************************************************************************** * RtlAbsoluteToSelfRelativeSD [NTDLL.@] diff --git a/include/winternl.h b/include/winternl.h index df3a489..7ed801a 100644 --- a/include/winternl.h +++ b/include/winternl.h @@ -2221,6 +2221,7 @@ NTSTATUS WINAPI RtlSelfRelativeToAbsoluteSD(PSECURITY_DESCRIPTOR,PSECURITY_DESC void WINAPI RtlSetAllBits(PRTL_BITMAP); void WINAPI RtlSetBits(PRTL_BITMAP,ULONG,ULONG); ULONG WINAPI RtlSetCriticalSectionSpinCount(RTL_CRITICAL_SECTION*,ULONG); +NTSTATUS WINAPI RtlSetControlSecurityDescriptor(PSECURITY_DESCRIPTOR,SECURITY_DESCRIPTOR_CONTROL,SECURITY_DESCRIPTOR_CONTROL); NTSTATUS WINAPI RtlSetCurrentDirectory_U(const UNICODE_STRING*); void WINAPI RtlSetCurrentEnvironment(PWSTR, PWSTR*); NTSTATUS WINAPI RtlSetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR,BOOLEAN,PACL,BOOLEAN);
1
0
0
0
Francois Gouget : Assorted spelling fixes.
by Alexandre Julliard
23 Oct '07
23 Oct '07
Module: wine Branch: master Commit: c4b1195c0c742cb925d2154fa81f0c81866af6d5 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c4b1195c0c742cb925d2154fa…
Author: Francois Gouget <fgouget(a)free.fr> Date: Tue Oct 23 15:30:30 2007 +0200 Assorted spelling fixes. --- dlls/comctl32/listview.c | 2 +- dlls/comctl32/theming.c | 2 +- dlls/comdlg32/printdlg.c | 6 +++--- dlls/comdlg32/printdlg16.c | 2 +- dlls/crypt32/crypt32_private.h | 2 +- dlls/dplayx/dplay.c | 4 ++-- dlls/dsound/mixer.c | 2 +- dlls/gdi32/region.c | 4 ++-- dlls/msi/appsearch.c | 2 +- dlls/ole32/filemoniker.c | 4 ++-- dlls/ole32/ole2.c | 2 +- dlls/oleaut32/tests/vartest.c | 4 ++-- dlls/oleaut32/typelib.c | 2 +- dlls/opengl32/make_opengl | 4 ++-- dlls/riched20/rtf.h | 2 +- dlls/usp10/tests/usp10.c | 2 +- dlls/wined3d/device.c | 2 +- dlls/winedos/dosaspi.c | 2 +- dlls/winejack.drv/audio.c | 4 ++-- dlls/winex11.drv/dib.c | 8 ++++---- dlls/winex11.drv/dib_convert.c | 12 ++++++------ dlls/winex11.drv/dib_dst_swap.c | 12 ++++++------ dlls/winex11.drv/dib_src_swap.c | 12 ++++++------ dlls/winex11.drv/mouse.c | 2 +- dlls/wininet/urlcache.c | 2 +- programs/explorer/systray.c | 2 +- programs/taskmgr/applpage.c | 2 +- programs/taskmgr/graphctl.c | 4 ++-- programs/winedbg/stack.c | 4 ++-- tools/winedump/README | 3 ++- 30 files changed, 59 insertions(+), 58 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=c4b1195c0c742cb925d21…
1
0
0
0
Francois Gouget : Better match the PSDK types and update win32. api to fix the winapi_check warnings.
by Alexandre Julliard
23 Oct '07
23 Oct '07
Module: wine Branch: master Commit: b1335db353918324899e0206f4aabe85c74d4b25 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b1335db353918324899e0206f…
Author: Francois Gouget <fgouget(a)free.fr> Date: Tue Oct 23 15:31:27 2007 +0200 Better match the PSDK types and update win32.api to fix the winapi_check warnings. --- dlls/advapi32/security.c | 2 +- dlls/cryptnet/cryptnet_main.c | 2 +- include/winbase.h | 2 +- tools/winapi/win32.api | 22 ++++++++++++++++++++++ 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c index 79f5a3a..4cab225 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -580,7 +580,7 @@ AdjustTokenGroups( HANDLE TokenHandle, BOOL ResetToDefault, PTOKEN_GROUPS NewSta BOOL WINAPI AdjustTokenPrivileges( HANDLE TokenHandle, BOOL DisableAllPrivileges, PTOKEN_PRIVILEGES NewState, DWORD BufferLength, - PTOKEN_PRIVILEGES PreviousState, LPDWORD ReturnLength ) + PTOKEN_PRIVILEGES PreviousState, PDWORD ReturnLength ) { NTSTATUS status; diff --git a/dlls/cryptnet/cryptnet_main.c b/dlls/cryptnet/cryptnet_main.c index dd66a10..603185d 100644 --- a/dlls/cryptnet/cryptnet_main.c +++ b/dlls/cryptnet/cryptnet_main.c @@ -1305,7 +1305,7 @@ BOOL WINAPI CryptRetrieveObjectByUrlW(LPCWSTR pszURL, LPCSTR pszObjectOid, * CertDllVerifyRevocation (CRYPTNET.@) */ BOOL WINAPI CertDllVerifyRevocation(DWORD dwEncodingType, DWORD dwRevType, - DWORD cContext, void *rgpvContext[], DWORD dwFlags, + DWORD cContext, PVOID rgpvContext[], DWORD dwFlags, PCERT_REVOCATION_PARA pRevPara, PCERT_REVOCATION_STATUS pRevStatus) { FIXME("(%08x, %d, %d, %p, %08x, %p, %p): stub\n", dwEncodingType, dwRevType, diff --git a/include/winbase.h b/include/winbase.h index 2734ecb..7ca6e84 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -1253,7 +1253,7 @@ BOOL WINAPI AccessCheckAndAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY BOOL WINAPI AccessCheckAndAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,LPDWORD,LPBOOL,LPBOOL); #define AccessCheckAndAuditAlarm WINELIB_NAME_AW(AccessCheckAndAuditAlarm) BOOL WINAPI AccessCheckByType(PSECURITY_DESCRIPTOR,PSID,HANDLE,DWORD,POBJECT_TYPE_LIST,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPBOOL); -BOOL WINAPI AdjustTokenPrivileges(HANDLE,BOOL,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,LPDWORD); +BOOL WINAPI AdjustTokenPrivileges(HANDLE,BOOL,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,PDWORD); BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID *); BOOL WINAPI AllocateLocallyUniqueId(PLUID); BOOL WINAPI AreAllAccessesGranted(DWORD,DWORD); diff --git a/tools/winapi/win32.api b/tools/winapi/win32.api index 6864f2e..c3c33a6 100644 --- a/tools/winapi/win32.api +++ b/tools/winapi/win32.api @@ -147,6 +147,7 @@ PSID * PSID_IDENTIFIER_AUTHORITY PSID_NAME_USE PTOKEN_GROUPS +PTOKEN_PRIVILEGES PTRACE_GUID_REGISTRATION PTRACEHANDLE PTRUSTED_DOMAIN_AUTH_INFORMATION @@ -797,6 +798,27 @@ void LPCWSTR LPWSTR +%%cryptnet.dll + +%long + +BOOL +DWORD + +%ptr + +DWORD * +LPVOID +PCERT_REVOCATION_PARA +PCERT_REVOCATION_STATUS +PCRYPT_URL_ARRAY +PCRYPT_URL_INFO +PVOID[] + +%str + +LPCSTR + %%ctl3d32.dll %long
1
0
0
0
Francois Gouget : winex11: Remove some unneeded casts.
by Alexandre Julliard
23 Oct '07
23 Oct '07
Module: wine Branch: master Commit: 602ab961c4b9596ed84ad2e0933b3c581b06fd21 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=602ab961c4b9596ed84ad2e09…
Author: Francois Gouget <fgouget(a)free.fr> Date: Tue Oct 23 15:32:38 2007 +0200 winex11: Remove some unneeded casts. --- dlls/winex11.drv/dib.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/winex11.drv/dib.c b/dlls/winex11.drv/dib.c index e24bd96..65f90ee 100644 --- a/dlls/winex11.drv/dib.c +++ b/dlls/winex11.drv/dib.c @@ -614,7 +614,7 @@ static void X11DRV_DIB_GetImageBits_1( int lines, BYTE *dstbits, dstval=0; for (x=0; x<width; x++) { PALETTEENTRY srcval; - srcval=srccolors[(int)*srcpixel++]; + srcval=srccolors[*srcpixel++]; dstval|=(X11DRV_DIB_GetNearestIndex (colors, 2, srcval.peRed, @@ -998,7 +998,7 @@ static void X11DRV_DIB_GetImageBits_4( int lines, BYTE *dstbits, dstval=0; for (x=0; x<width; x++) { PALETTEENTRY srcval; - srcval = srccolors[(int)*srcpixel++]; + srcval = srccolors[*srcpixel++]; dstval|=(X11DRV_DIB_GetNearestIndex (colors, 16, srcval.peRed, @@ -1577,7 +1577,7 @@ static void X11DRV_DIB_GetImageBits_8( int lines, BYTE *dstbits, dstbyte=dstbits; for (x = 0; x < width; x++) { PALETTEENTRY srcval; - srcval=srccolors[(int)*srcpixel++]; + srcval=srccolors[*srcpixel++]; *dstbyte++=X11DRV_DIB_GetNearestIndex(colors, 256, srcval.peRed, srcval.peGreen, @@ -2418,7 +2418,7 @@ static void X11DRV_DIB_GetImageBits_16( int lines, BYTE *dstbits, for (x = 0; x < width; x++) { PALETTEENTRY srcval; DWORD dstval; - srcval=srccolors[(int)*srcpixel++]; + srcval=srccolors[*srcpixel++]; dstval=((srcval.peRed << rShift) & rDst) | ((srcval.peGreen << gShift) & gDst) | ((srcval.peBlue << bShift) & bDst); @@ -2815,7 +2815,7 @@ static void X11DRV_DIB_GetImageBits_24( int lines, BYTE *dstbits, dstbyte=dstbits; for (x = 0; x < width; x++ ) { PALETTEENTRY srcval; - srcval=srccolors[(int)*srcpixel++]; + srcval=srccolors[*srcpixel++]; dstbyte[0]=srcval.peBlue; dstbyte[1]=srcval.peGreen; dstbyte[2]=srcval.peRed; @@ -3400,7 +3400,7 @@ static void X11DRV_DIB_GetImageBits_32( int lines, BYTE *dstbits, dstpixel=(DWORD*)dstbits; for (x = 0; x < width; x++) { PALETTEENTRY srcval; - srcval=srccolors[(int)*srcpixel++]; + srcval=srccolors[*srcpixel++]; *dstpixel++=(srcval.peRed << rShift) | (srcval.peGreen << gShift) | (srcval.peBlue << bShift);
1
0
0
0
Rob Shearman : ntdll: Fix RtlValidAcl to accept newer ACL revisions.
by Alexandre Julliard
23 Oct '07
23 Oct '07
Module: wine Branch: master Commit: 06b2da95604a830bf3cd035906348b515b31254b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=06b2da95604a830bf3cd03590…
Author: Rob Shearman <rob(a)codeweavers.com> Date: Tue Oct 23 13:39:02 2007 +0100 ntdll: Fix RtlValidAcl to accept newer ACL revisions. --- dlls/advapi32/tests/security.c | 2 -- dlls/ntdll/sec.c | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c index 62463a7..3332d7b 100644 --- a/dlls/advapi32/tests/security.c +++ b/dlls/advapi32/tests/security.c @@ -2300,14 +2300,12 @@ static void test_acls(void) ok(ret, "InitializeAcl(ACL_REVISION3) failed with error %d\n", GetLastError()); ret = IsValidAcl(pAcl); - todo_wine ok(ret, "IsValidAcl failed with error %d\n", GetLastError()); ret = InitializeAcl(pAcl, sizeof(buffer), ACL_REVISION4); ok(ret, "InitializeAcl(ACL_REVISION4) failed with error %d\n", GetLastError()); ret = IsValidAcl(pAcl); - todo_wine ok(ret, "IsValidAcl failed with error %d\n", GetLastError()); SetLastError(0xdeadbeef); diff --git a/dlls/ntdll/sec.c b/dlls/ntdll/sec.c index f195678..a1c839d 100644 --- a/dlls/ntdll/sec.c +++ b/dlls/ntdll/sec.c @@ -1278,7 +1278,8 @@ BOOLEAN WINAPI RtlValidAcl(PACL pAcl) PACE_HEADER ace; int i; - if (pAcl->AclRevision != ACL_REVISION) + if (pAcl->AclRevision < MIN_ACL_REVISION || + pAcl->AclRevision > MAX_ACL_REVISION) ret = FALSE; else {
1
0
0
0
Rob Shearman : advapi32: Add some tests for ACL functions.
by Alexandre Julliard
23 Oct '07
23 Oct '07
Module: wine Branch: master Commit: 866ec270444ccb1f1cc53ca052a02388fdea4844 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=866ec270444ccb1f1cc53ca05…
Author: Rob Shearman <rob(a)codeweavers.com> Date: Tue Oct 23 13:38:47 2007 +0100 advapi32: Add some tests for ACL functions. --- dlls/advapi32/tests/security.c | 44 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c index 7f5728e..62463a7 100644 --- a/dlls/advapi32/tests/security.c +++ b/dlls/advapi32/tests/security.c @@ -2272,6 +2272,49 @@ static void test_PrivateObjectSecurity(void) #undef CHECK_RESULT_AND_FREE #undef CHECK_ONE_OF_AND_FREE +static void test_acls(void) +{ + char buffer[256]; + PACL pAcl = (PACL)buffer; + BOOL ret; + + SetLastError(0xdeadbeef); + ret = InitializeAcl(pAcl, sizeof(ACL) - 1, ACL_REVISION); + ok(!ret && GetLastError() == ERROR_INSUFFICIENT_BUFFER, "InitializeAcl with too small a buffer should have failed with ERROR_INSUFFICIENT_BUFFER instead of %d\n", GetLastError()); + + SetLastError(0xdeadbeef); + ret = InitializeAcl(pAcl, 0xffffffff, ACL_REVISION); + ok(!ret && GetLastError() == ERROR_INVALID_PARAMETER, "InitializeAcl with too large a buffer should have failed with ERROR_INVALID_PARAMETER instead of %d\n", GetLastError()); + + SetLastError(0xdeadbeef); + ret = InitializeAcl(pAcl, sizeof(buffer), ACL_REVISION1); + ok(!ret && GetLastError() == ERROR_INVALID_PARAMETER, "InitializeAcl(ACL_REVISION1) should have failed with ERROR_INVALID_PARAMETER instead of %d\n", GetLastError()); + + ret = InitializeAcl(pAcl, sizeof(buffer), ACL_REVISION2); + ok(ret, "InitializeAcl(ACL_REVISION2) failed with error %d\n", GetLastError()); + + ret = IsValidAcl(pAcl); + ok(ret, "IsValidAcl failed with error %d\n", GetLastError()); + + ret = InitializeAcl(pAcl, sizeof(buffer), ACL_REVISION3); + ok(ret, "InitializeAcl(ACL_REVISION3) failed with error %d\n", GetLastError()); + + ret = IsValidAcl(pAcl); + todo_wine + ok(ret, "IsValidAcl failed with error %d\n", GetLastError()); + + ret = InitializeAcl(pAcl, sizeof(buffer), ACL_REVISION4); + ok(ret, "InitializeAcl(ACL_REVISION4) failed with error %d\n", GetLastError()); + + ret = IsValidAcl(pAcl); + todo_wine + ok(ret, "IsValidAcl failed with error %d\n", GetLastError()); + + SetLastError(0xdeadbeef); + ret = InitializeAcl(pAcl, sizeof(buffer), -1); + ok(!ret && GetLastError() == ERROR_INVALID_PARAMETER, "InitializeAcl(-1) failed with error %d\n", GetLastError()); +} + START_TEST(security) { init(); @@ -2299,4 +2342,5 @@ START_TEST(security) test_ConvertStringSecurityDescriptor(); test_ConvertSecurityDescriptorToString(); test_PrivateObjectSecurity(); + test_acls(); }
1
0
0
0
← Newer
1
...
24
25
26
27
28
29
30
...
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