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
June 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
5 participants
856 discussions
Start a n
N
ew thread
Rob Shearman : advapi32: Always set the requested fields of the security descriptor according to the info flags in GetNamedSecurityInfoW .
by Alexandre Julliard
26 Jun '07
26 Jun '07
Module: wine Branch: master Commit: d521a2c6d3cbdfa42de8725c5af8700c737d5fb4 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d521a2c6d3cbdfa42de8725c5…
Author: Rob Shearman <rob(a)codeweavers.com> Date: Mon Jun 25 15:00:38 2007 +0100 advapi32: Always set the requested fields of the security descriptor according to the info flags in GetNamedSecurityInfoW. Also, set the control flags so that other security descriptor functions can retrieve the info from it. --- dlls/advapi32/security.c | 22 ++++++++++++++-------- dlls/advapi32/tests/security.c | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 8 deletions(-) diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c index 126a4ac..b46a6f7 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -3951,32 +3951,38 @@ DWORD WINAPI GetNamedSecurityInfoW( LPWSTR name, SE_OBJECT_TYPE type, buffer = (BYTE *)relative; offset = sizeof(SECURITY_DESCRIPTOR_RELATIVE); - if (owner && (info & OWNER_SECURITY_INFORMATION)) + if (info & OWNER_SECURITY_INFORMATION) { memcpy( buffer + offset, &sidWorld, sizeof(sidWorld) ); relative->Owner = offset; - *owner = buffer + offset; + if (owner) + *owner = buffer + offset; offset += sizeof(sidWorld); } - if (group && (info & GROUP_SECURITY_INFORMATION)) + if (info & GROUP_SECURITY_INFORMATION) { memcpy( buffer + offset, &sidWorld, sizeof(sidWorld) ); relative->Group = offset; - *group = buffer + offset; + if (group) + *group = buffer + offset; offset += sizeof(sidWorld); } - if (dacl && (info & DACL_SECURITY_INFORMATION)) + if (info & DACL_SECURITY_INFORMATION) { + relative->Control |= SE_DACL_PRESENT; GetWorldAccessACL( (PACL)(buffer + offset) ); relative->Dacl = offset; - *dacl = (PACL)(buffer + offset); + if (dacl) + *dacl = (PACL)(buffer + offset); offset += WINE_SIZE_OF_WORLD_ACCESS_ACL; } - if (sacl && (info & SACL_SECURITY_INFORMATION)) + if (info & SACL_SECURITY_INFORMATION) { + relative->Control |= SE_SACL_PRESENT; GetWorldAccessACL( (PACL)(buffer + offset) ); relative->Sacl = offset; - *sacl = (PACL)(buffer + offset); + if (sacl) + *sacl = (PACL)(buffer + offset); } return ERROR_SUCCESS; } diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c index 9aba94b..532dc69 100644 --- a/dlls/advapi32/tests/security.c +++ b/dlls/advapi32/tests/security.c @@ -1718,6 +1718,40 @@ static void test_SetEntriesInAcl(void) ok(acl == NULL, "acl=%p, expected NULL\n", acl); } +static void test_GetNamedSecurityInfoA(void) +{ + PSECURITY_DESCRIPTOR pSecDesc; + DWORD revision; + SECURITY_DESCRIPTOR_CONTROL control; + PSID owner; + PSID group; + BOOL owner_defaulted; + BOOL group_defaulted; + DWORD error; + BOOL ret; + CHAR windows_dir[MAX_PATH]; + + ret = GetWindowsDirectoryA(windows_dir, MAX_PATH); + ok(ret, "GetWindowsDirectory failed with error %d\n", GetLastError()); + + error = GetNamedSecurityInfoA(windows_dir, SE_FILE_OBJECT, + OWNER_SECURITY_INFORMATION|GROUP_SECURITY_INFORMATION|DACL_SECURITY_INFORMATION, + NULL, NULL, NULL, NULL, &pSecDesc); + ok(!error, "GetNamedSecurityInfo failed with error %d\n", error); + + ret = GetSecurityDescriptorControl(pSecDesc, &control, &revision); + ok(ret, "GetSecurityDescriptorControl failed with error %d\n", GetLastError()); + ok((control & (SE_SELF_RELATIVE|SE_DACL_PRESENT)) == (SE_SELF_RELATIVE|SE_DACL_PRESENT), + "control (0x%x) doesn't have (SE_SELF_RELATIVE|SE_DACL_PRESENT) flags set\n", control); + ok(revision == SECURITY_DESCRIPTOR_REVISION1, "revision was %d instead of 1\n", revision); + ret = GetSecurityDescriptorOwner(pSecDesc, &owner, &owner_defaulted); + ok(ret, "GetSecurityDescriptorOwner failed with error %d\n", GetLastError()); + ok(owner != NULL, "owner should not be NULL\n"); + ret = GetSecurityDescriptorGroup(pSecDesc, &group, &group_defaulted); + ok(ret, "GetSecurityDescriptorGroup failed with error %d\n", GetLastError()); + ok(group != NULL, "group should not be NULL\n"); +} + START_TEST(security) { init(); @@ -1739,4 +1773,5 @@ START_TEST(security) test_process_security(); test_impersonation_level(); test_SetEntriesInAcl(); + test_GetNamedSecurityInfoA(); }
1
0
0
0
Stefan Dösinger : wined3d: Some point sprite fixes.
by Alexandre Julliard
26 Jun '07
26 Jun '07
Module: wine Branch: master Commit: a3854be0b3e2e7a1f863b5db42d7b4287f5eede7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a3854be0b3e2e7a1f863b5db4…
Author: Stefan Dösinger <stefandoesinger(a)gmx.at> Date: Sun Jun 17 00:26:17 2007 +0200 wined3d: Some point sprite fixes. --- dlls/wined3d/context.c | 10 ++++++++-- dlls/wined3d/state.c | 26 ++++---------------------- 2 files changed, 12 insertions(+), 24 deletions(-) diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 5570225..60830dc 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -206,6 +206,7 @@ WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *tar GLXFBConfig *cfgs = NULL; GLXContext ctx = NULL, oldCtx; WineD3DContext *ret = NULL; + int s; TRACE("(%p): Creating a %s context for render target %p\n", This, win ? "onscreen" : "offscreen", target); @@ -368,8 +369,6 @@ WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *tar checkGLcall("glEnable(GL_WEIGHT_SUM_UNITY_ARB)"); } if(GL_SUPPORT(NV_TEXTURE_SHADER2)) { - int s; - glEnable(GL_TEXTURE_SHADER_NV); checkGLcall("glEnable(GL_TEXTURE_SHADER_NV)"); @@ -382,6 +381,13 @@ WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *tar checkGLcall("glTexEnvi(GL_TEXTURE_SHADER_NV, GL_PREVIOUS_TEXTURE_INPUT_NV, ...\n"); } } + if(GL_SUPPORT(ARB_POINT_SPRITE)) { + for(s = 0; s < GL_LIMITS(textures); s++) { + GL_EXTCALL(glActiveTextureARB(GL_TEXTURE0_ARB + s)); + glTexEnvi(GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE); + checkGLcall("glTexEnvi(GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE)\n"); + } + } if(oldDrawable && oldCtx) { glXMakeCurrent(display, oldDrawable, oldCtx); diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index 2a5f67e..e91441a 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -1315,9 +1315,6 @@ static void state_lastpixel(DWORD state, IWineD3DStateBlockImpl *stateblock, Win } static void state_pointsprite(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3DContext *context) { - unsigned int i; - int val; - /* TODO: NV_POINT_SPRITE */ if (!GL_SUPPORT(ARB_POINT_SPRITE)) { TRACE("Point sprites not supported\n"); @@ -1325,26 +1322,11 @@ static void state_pointsprite(DWORD state, IWineD3DStateBlockImpl *stateblock, W } if (stateblock->renderState[WINED3DRS_POINTSPRITEENABLE]) { - val = GL_TRUE; + glEnable(GL_POINT_SPRITE_ARB); + checkGLcall("glEnable(GL_POINT_SPRITE_ARB)\n"); } else { - val = GL_FALSE; - } - - for (i = 0; i < GL_LIMITS(textures); i++) { - /* Note the WINED3DRS value applies to all textures, but GL has one - * per texture, so apply it now ready to be used! - */ - if (GL_SUPPORT(ARB_MULTITEXTURE)) { - GL_EXTCALL(glActiveTextureARB(GL_TEXTURE0_ARB + i)); - checkGLcall("glActiveTextureARB"); - } else if (i==1) { - FIXME("Program using multiple concurrent textures which this opengl implementation doesn't support\n"); - break; - } - - glTexEnvi(GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, val); - checkGLcall((val?"glTexEnvi(GL_POINT_SPRITE, GL_COORD_REPLACE, GL_TRUE)": - "glTexEnvi(GL_POINT_SPRITE, GL_COORD_REPLACE, GL_FALSE)")); + glDisable(GL_POINT_SPRITE_ARB); + checkGLcall("glDisable(GL_POINT_SPRITE_ARB)\n"); } }
1
0
0
0
Stefan Dösinger : wined3d: Skip the start offset to the source array in IWIneD3DVertexShaderImpl_SetLocalConstantsF .
by Alexandre Julliard
26 Jun '07
26 Jun '07
Module: wine Branch: master Commit: 97b1d0692c45336f18348584d1e3651341b12333 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=97b1d0692c45336f18348584d…
Author: Stefan Dösinger <stefandoesinger(a)gmx.at> Date: Sat Jun 16 11:44:08 2007 +0200 wined3d: Skip the start offset to the source array in IWIneD3DVertexShaderImpl_SetLocalConstantsF. --- dlls/wined3d/vertexshader.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c index b534918..af6bc36 100644 --- a/dlls/wined3d/vertexshader.c +++ b/dlls/wined3d/vertexshader.c @@ -613,7 +613,7 @@ static HRESULT WINAPI IWIneD3DVertexShaderImpl_SetLocalConstantsF(IWineD3DVertex if (!lconst) return E_OUTOFMEMORY; lconst->idx = i; - CopyMemory(lconst->value, src_data + i * 4, 4 * sizeof(float)); + memcpy(lconst->value, src_data + (i - start_idx) * 4 /* 4 components */, 4 * sizeof(float)); list_add_head(&This->baseShader.constantsF, &lconst->entry); }
1
0
0
0
Stefan Dösinger : wined3d: Clamp material power to 128 .0.
by Alexandre Julliard
26 Jun '07
26 Jun '07
Module: wine Branch: master Commit: 4f8eb6a32e0cf67842f42c4b5b66e23e9c6a9a77 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4f8eb6a32e0cf67842f42c4b5…
Author: Stefan Dösinger <stefandoesinger(a)gmx.at> Date: Fri Jun 15 22:38:14 2007 +0200 wined3d: Clamp material power to 128.0. --- dlls/ddraw/tests/d3d.c | 21 +++++++++++++++++++++ dlls/wined3d/state.c | 14 +++++++++++++- 2 files changed, 34 insertions(+), 1 deletions(-) diff --git a/dlls/ddraw/tests/d3d.c b/dlls/ddraw/tests/d3d.c index e994097..0c69b42 100644 --- a/dlls/ddraw/tests/d3d.c +++ b/dlls/ddraw/tests/d3d.c @@ -172,6 +172,7 @@ static void LightTest(void) BOOL bEnabled = FALSE; float one = 1.0f; float zero= 0.0f; + D3DMATERIAL7 mat; /* Set a few lights with funky indices. */ memset(&light, 0, sizeof(light)); @@ -315,6 +316,26 @@ static void LightTest(void) light.dvAttenuation0 = -1.0; rc = IDirect3DDevice7_SetLight(lpD3DDevice, 103, &light); ok(rc==D3D_OK, "SetLight returned: %x\n", rc); + + memset(&mat, 0, sizeof(mat)); + rc = IDirect3DDevice7_SetMaterial(lpD3DDevice, &mat); + ok(rc == D3D_OK, "IDirect3DDevice7_SetMaterial returned: %x\n", rc); + + mat.power = 129.0; + rc = IDirect3DDevice7_SetMaterial(lpD3DDevice, &mat); + ok(rc == D3D_OK, "IDirect3DDevice7_SetMaterial(power = 129.0) returned: %x\n", rc); + memset(&mat, 0, sizeof(mat)); + rc = IDirect3DDevice7_GetMaterial(lpD3DDevice, &mat); + ok(rc == D3D_OK, "IDirect3DDevice7_GetMaterial returned: %x\n", rc); + ok(mat.power == 129, "Returned power is %f\n", mat.power); + + mat.power = -1.0; + rc = IDirect3DDevice7_SetMaterial(lpD3DDevice, &mat); + ok(rc == D3D_OK, "IDirect3DDevice7_SetMaterial(power = -1.0) returned: %x\n", rc); + memset(&mat, 0, sizeof(mat)); + rc = IDirect3DDevice7_GetMaterial(lpD3DDevice, &mat); + ok(rc == D3D_OK, "IDirect3DDevice7_GetMaterial returned: %x\n", rc); + ok(mat.power == -1, "Returned power is %f\n", mat.power); } static void ProcessVerticesTest(void) diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index d83e7f7..2a5f67e 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -509,8 +509,20 @@ state_specularenable(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3DCon if (stateblock->renderState[WINED3DRS_SPECULARENABLE]) { glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, (float*) &stateblock->material.Specular); checkGLcall("glMaterialfv"); - glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, stateblock->material.Power); + + if(stateblock->material.Power > 128.0) { + /* glMaterialf man page says that the material says that GL_SHININESS must be between 0.0 + * and 128.0, although in d3d neither -1 nor 129 produce an error. For values > 128 clamp + * them, since 128 results in a hardly visible specular highlight, so it should be safe to + * to clamp to 128 + */ + WARN("Material power > 128\n"); + glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, 128.0); + } else { + glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, stateblock->material.Power); + } checkGLcall("glMaterialf(GL_SHININESS"); + if (GL_SUPPORT(EXT_SECONDARY_COLOR)) { glEnable(GL_COLOR_SUM_EXT); } else {
1
0
0
0
Alexandre Julliard : crypt32: Fix incorrect usage of CharNextA.
by Alexandre Julliard
26 Jun '07
26 Jun '07
Module: wine Branch: master Commit: c2cf60fcee4e10092cebeb40d41c3494bf0c7950 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c2cf60fcee4e10092cebeb40d…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 25 19:55:29 2007 +0200 crypt32: Fix incorrect usage of CharNextA. --- dlls/crypt32/str.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/crypt32/str.c b/dlls/crypt32/str.c index a4e9e92..6d879c5 100644 --- a/dlls/crypt32/str.c +++ b/dlls/crypt32/str.c @@ -447,7 +447,7 @@ BOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType, LPCSTR pszX500, *ppszError = pszX500; for (i = 0; i < errorStr - x500; i++) - CharNextA(*ppszError); + *ppszError = CharNextA(*ppszError); } CryptMemFree(x500); }
1
0
0
0
Alexandre Julliard : mapi32: Get rid of unneeded CharNextA call.
by Alexandre Julliard
26 Jun '07
26 Jun '07
Module: wine Branch: master Commit: 24eee19bfd1ad1ac19c2ddf6075bde1391065a99 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=24eee19bfd1ad1ac19c2ddf60…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 25 19:48:15 2007 +0200 mapi32: Get rid of unneeded CharNextA call. --- dlls/mapi32/util.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/mapi32/util.c b/dlls/mapi32/util.c index edfeab5..6621e6f 100644 --- a/dlls/mapi32/util.c +++ b/dlls/mapi32/util.c @@ -656,7 +656,7 @@ UINT WINAPI UFromSz(LPCSTR lpszStr) while (*lpszStr >= '0' && *lpszStr <= '9') { ulRet = ulRet * 10 + (*lpszStr - '0'); - lpszStr = CharNextA(lpszStr); + lpszStr++; } } return ulRet;
1
0
0
0
Alexandre Julliard : ntdll: Use the standard exception handling for vm86 GP faults too.
by Alexandre Julliard
26 Jun '07
26 Jun '07
Module: wine Branch: master Commit: b5953831c3002f3ea33b5faf58a6ab1ab808ccc1 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b5953831c3002f3ea33b5faf5…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 25 19:47:58 2007 +0200 ntdll: Use the standard exception handling for vm86 GP faults too. --- dlls/ntdll/signal_i386.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c index 39f6f4b..d58b4c8 100644 --- a/dlls/ntdll/signal_i386.c +++ b/dlls/ntdll/signal_i386.c @@ -1464,8 +1464,7 @@ void __wine_enter_vm86( CONTEXT *context ) { case VM86_UNKNOWN: /* unhandled GP fault - IO-instruction or similar */ rec.ExceptionCode = EXCEPTION_PRIV_INSTRUCTION; - raise_segv_exception( &rec, context ); - continue; + break; case VM86_TRAP: /* return due to DOS-debugger request */ switch(VM86_ARG(res)) {
1
0
0
0
Alexandre Julliard : advpack: Get rid of CharPrevW.
by Alexandre Julliard
25 Jun '07
25 Jun '07
Module: wine Branch: master Commit: 9c08c46e1fd3162b3990a79ce732beaf66bc447b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9c08c46e1fd3162b3990a79ce…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 25 14:02:29 2007 +0200 advpack: Get rid of CharPrevW. --- dlls/advpack/files.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/dlls/advpack/files.c b/dlls/advpack/files.c index 134ed1c..163f994 100644 --- a/dlls/advpack/files.c +++ b/dlls/advpack/files.c @@ -331,7 +331,6 @@ static HRESULT DELNODE_recurse_dirtree(LPWSTR fname, DWORD flags) DWORD fattrs = GetFileAttributesW(fname); HRESULT ret = E_FAIL; - static const WCHAR backslash[] = {'\\',0}; static const WCHAR asterisk[] = {'*',0}; static const WCHAR dot[] = {'.',0}; static const WCHAR dotdot[] = {'.','.',0}; @@ -344,11 +343,7 @@ static HRESULT DELNODE_recurse_dirtree(LPWSTR fname, DWORD flags) int fname_len = lstrlenW(fname); /* Generate a path with wildcard suitable for iterating */ - if (lstrcmpW(CharPrevW(fname, fname + fname_len), backslash)) - { - lstrcpyW(fname + fname_len, backslash); - ++fname_len; - } + if (fname_len && fname[fname_len-1] != '\\') fname[fname_len++] = '\\'; lstrcpyW(fname + fname_len, asterisk); if ((hFindFile = FindFirstFileW(fname, &w32fd)) != INVALID_HANDLE_VALUE)
1
0
0
0
Alexandre Julliard : server: Make crash error message more explicit.
by Alexandre Julliard
25 Jun '07
25 Jun '07
Module: wine Branch: master Commit: 6d1605a6a4c7d291189a593ed356070c1025e70c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=6d1605a6a4c7d291189a593ed…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 25 14:13:21 2007 +0200 server: Make crash error message more explicit. --- server/signal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/signal.c b/server/signal.c index fb16c2f..c8120ac 100644 --- a/server/signal.c +++ b/server/signal.c @@ -225,7 +225,7 @@ static void do_sigchld( int signum ) /* SIGSEGV handler */ static void do_sigsegv( int signum ) { - fprintf( stderr, "wineserver crashed, please report this.\n"); + fprintf( stderr, "wineserver crashed, please enable coredumps (ulimit -c unlimited) and restart.\n"); abort(); }
1
0
0
0
Alexandre Julliard : shell32: Get rid of CharNextW.
by Alexandre Julliard
25 Jun '07
25 Jun '07
Module: wine Branch: master Commit: 92ceff203b419c0eb5693b1815fbefeab3ee5f83 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=92ceff203b419c0eb5693b181…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 25 14:01:59 2007 +0200 shell32: Get rid of CharNextW. --- dlls/shell32/shlfileop.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c index 5410c97..f541b60 100644 --- a/dlls/shell32/shlfileop.c +++ b/dlls/shell32/shlfileop.c @@ -748,9 +748,7 @@ int WINAPI SHCreateDirectoryExW(HWND hWnd, LPCWSTR path, LPSECURITY_ATTRIBUTES s while (*pSlash) { - while (*pSlash && *pSlash != '\\') - pSlash = CharNextW(pSlash); - + while (*pSlash && *pSlash != '\\') pSlash++; if (*pSlash) { *pSlash = 0; /* terminate path at separator */
1
0
0
0
← Newer
1
...
15
16
17
18
19
20
21
...
86
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
Results per page:
10
25
50
100
200