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 2006
----- 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
3 participants
1032 discussions
Start a n
N
ew thread
Ivan Gyurdiev : wined3d: Add D3DCLEAR codes to the WINED3D namespace.
by Alexandre Julliard
31 Oct '06
31 Oct '06
Module: wine Branch: master Commit: b1df1d8320b26017b6af9faaf8ec46ccb0459d9d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b1df1d8320b26017b6af9faaf…
Author: Ivan Gyurdiev <ivg231(a)gmail.com> Date: Tue Oct 31 03:17:43 2006 -0500 wined3d: Add D3DCLEAR codes to the WINED3D namespace. --- dlls/wined3d/device.c | 18 +++++++++--------- dlls/wined3d/surface.c | 2 +- dlls/wined3d/swapchain.c | 4 ++-- include/wine/wined3d_types.h | 5 +++++ 4 files changed, 17 insertions(+), 12 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 650c739..b6e56c1 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -2133,7 +2133,7 @@ #endif TRACE("(%p) All defaults now set up, leaving Init3D with %p\n", This, This); /* Clear the screen */ - IWineD3DDevice_Clear((IWineD3DDevice *) This, 0, NULL, D3DCLEAR_STENCIL|D3DCLEAR_ZBUFFER|D3DCLEAR_TARGET, 0x00, 1.0, 0); + IWineD3DDevice_Clear((IWineD3DDevice *) This, 0, NULL, WINED3DCLEAR_STENCIL|WINED3DCLEAR_ZBUFFER|WINED3DCLEAR_TARGET, 0x00, 1.0, 0); This->d3d_initialized = TRUE; return WINED3D_OK; @@ -6028,8 +6028,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl DWORD Flags, WINED3DCOLOR Color, float Z, DWORD Stencil) { IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface; - /* TODO: From MSDN This method fails if you specify the D3DCLEAR_ZBUFFER or D3DCLEAR_STENCIL flags when the - render target does not have an attached depth buffer. Similarly, if you specify the D3DCLEAR_STENCIL flag + /* TODO: From MSDN This method fails if you specify the WINED3DCLEAR_ZBUFFER or WINED3DCLEAR_STENCIL flags when the + render target does not have an attached depth buffer. Similarly, if you specify the WINED3DCLEAR_STENCIL flag when the depth-buffer format does not contain stencil buffer information, this method fails. */ GLbitfield glMask = 0; GLboolean old_ztest; @@ -6054,7 +6054,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl } /* Only set the values up once, as they are not changing */ - if (Flags & D3DCLEAR_STENCIL) { + if (Flags & WINED3DCLEAR_STENCIL) { glGetIntegerv(GL_STENCIL_CLEAR_VALUE, &old_stencil_clear_value); glClearStencil(Stencil); checkGLcall("glClearStencil"); @@ -6062,7 +6062,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl glStencilMask(0xFFFFFFFF); } - if (Flags & D3DCLEAR_ZBUFFER) { + if (Flags & WINED3DCLEAR_ZBUFFER) { glGetBooleanv(GL_DEPTH_WRITEMASK, &old_ztest); glDepthMask(GL_TRUE); glGetFloatv(GL_DEPTH_CLEAR_VALUE, &old_z_clear_value); @@ -6071,7 +6071,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl glMask = glMask | GL_DEPTH_BUFFER_BIT; } - if (Flags & D3DCLEAR_TARGET) { + if (Flags & WINED3DCLEAR_TARGET) { TRACE("Clearing screen with glClear to color %x\n", Color); glGetFloatv(GL_COLOR_CLEAR_VALUE, old_color_clear_value); glClearColor(D3DCOLOR_R(Color), @@ -6115,15 +6115,15 @@ static HRESULT WINAPI IWineD3DDeviceImpl } /* Restore the old values (why..?) */ - if (Flags & D3DCLEAR_STENCIL) { + if (Flags & WINED3DCLEAR_STENCIL) { glClearStencil(old_stencil_clear_value); glStencilMask(This->stateBlock->renderState[WINED3DRS_STENCILWRITEMASK]); } - if (Flags & D3DCLEAR_ZBUFFER) { + if (Flags & WINED3DCLEAR_ZBUFFER) { glDepthMask(old_ztest); glClearDepth(old_z_clear_value); } - if (Flags & D3DCLEAR_TARGET) { + if (Flags & WINED3DCLEAR_TARGET) { glClearColor(old_color_clear_value[0], old_color_clear_value[1], old_color_clear_value[2], diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index 365d047..d0f44cf 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -2721,7 +2721,7 @@ static HRESULT IWineD3DSurfaceImpl_BltOv IWineD3DDevice_Clear( (IWineD3DDevice *) myDevice, 1 /* Number of rectangles */, &rect, - D3DCLEAR_TARGET, + WINED3DCLEAR_TARGET, color, 0.0 /* Z */, 0 /* Stencil */); diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c index 287153d..1ff01a2 100644 --- a/dlls/wined3d/swapchain.c +++ b/dlls/wined3d/swapchain.c @@ -364,12 +364,12 @@ #endif TRACE("Clearing\n"); - IWineD3DDevice_Clear((IWineD3DDevice*)This->wineD3DDevice, 0, NULL, D3DCLEAR_STENCIL|D3DCLEAR_ZBUFFER|D3DCLEAR_TARGET, 0x00, 1.0, 0); + IWineD3DDevice_Clear((IWineD3DDevice*)This->wineD3DDevice, 0, NULL, WINED3DCLEAR_STENCIL|WINED3DCLEAR_ZBUFFER|WINED3DCLEAR_TARGET, 0x00, 1.0, 0); } else { TRACE("Clearing z/stencil buffer\n"); - IWineD3DDevice_Clear((IWineD3DDevice*)This->wineD3DDevice, 0, NULL, D3DCLEAR_STENCIL|D3DCLEAR_ZBUFFER, 0x00, 1.0, 0); + IWineD3DDevice_Clear((IWineD3DDevice*)This->wineD3DDevice, 0, NULL, WINED3DCLEAR_STENCIL|WINED3DCLEAR_ZBUFFER, 0x00, 1.0, 0); } if(!(((IWineD3DSurfaceImpl *) This->frontBuffer)->Flags & SFLAG_GLDIRTY) || diff --git a/include/wine/wined3d_types.h b/include/wine/wined3d_types.h index 3715d2a..1787859 100644 --- a/include/wine/wined3d_types.h +++ b/include/wine/wined3d_types.h @@ -1523,4 +1523,9 @@ #define WINED3DFVF_TEXCOORDSIZE2(CoordIn #define WINED3DFVF_TEXCOORDSIZE3(CoordIndex) (WINED3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16)) #define WINED3DFVF_TEXCOORDSIZE4(CoordIndex) (WINED3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16)) +/* Clear flags */ +#define WINED3DCLEAR_TARGET 0x00000001 +#define WINED3DCLEAR_ZBUFFER 0x00000002 +#define WINED3DCLEAR_STENCIL 0x00000004 + #endif
1
0
0
0
Ivan Gyurdiev : wined3d: Add D3DTSS_TCI codes to the WINED3D namespace.
by Alexandre Julliard
31 Oct '06
31 Oct '06
Module: wine Branch: master Commit: de108f65e1f4e2afc0fc8eb5458f70cb2f2126ae URL:
http://source.winehq.org/git/wine.git/?a=commit;h=de108f65e1f4e2afc0fc8eb54…
Author: Ivan Gyurdiev <ivg231(a)gmail.com> Date: Tue Oct 31 03:16:44 2006 -0500 wined3d: Add D3DTSS_TCI codes to the WINED3D namespace. --- dlls/wined3d/cubetexture.c | 2 +- dlls/wined3d/device.c | 12 ++++++------ dlls/wined3d/texture.c | 2 +- include/wine/wined3d_types.h | 6 ++++++ 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/dlls/wined3d/cubetexture.c b/dlls/wined3d/cubetexture.c index 688d5d9..6250975 100644 --- a/dlls/wined3d/cubetexture.c +++ b/dlls/wined3d/cubetexture.c @@ -232,7 +232,7 @@ static void WINAPI IWineD3DCubeTextureIm /* Apply non-power2 mappings and texture offsets so long as the texture coords aren't projected or generated */ if(This->pow2scalingFactor != 1.0f) { - if((textureStates[WINED3DTSS_TEXCOORDINDEX] & 0xFFFF0000) == D3DTSS_TCI_PASSTHRU && + if((textureStates[WINED3DTSS_TEXCOORDINDEX] & 0xFFFF0000) == WINED3DTSS_TCI_PASSTHRU && (~textureStates[WINED3DTSS_TEXTURETRANSFORMFLAGS] & WINED3DTTFF_PROJECTED)) { glMatrixMode(GL_TEXTURE); diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index a1aaff6..650c739 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -5530,7 +5530,7 @@ #endif /* FIXME: From MSDN: The WINED3DTSS_TCI_* flags are mutually exclusive. If you include one flag, you can still specify an index value, which the system uses to determine the texture wrapping mode. - eg. SetTextureStageState( 0, WINED3DTSS_TEXCOORDINDEX, D3DTSS_TCI_CAMERASPACEPOSITION | 1 ); + eg. SetTextureStageState( 0, WINED3DTSS_TEXCOORDINDEX, WINED3DTSS_TCI_CAMERASPACEPOSITION | 1 ); means use the vertex position (camera-space) as the input texture coordinates for this texture stage, and the wrap mode set in the WINED3DRS_WRAP1 render state. We do not (yet) support the WINED3DRENDERSTATE_WRAPx values, nor tie them up @@ -5540,7 +5540,7 @@ #endif * Be careful the value of the mask 0xF0000 come from d3d8types.h infos */ switch (Value & 0xFFFF0000) { - case D3DTSS_TCI_PASSTHRU: + case WINED3DTSS_TCI_PASSTHRU: /*Use the specified texture coordinates contained within the vertex format. This value resolves to zero.*/ glDisable(GL_TEXTURE_GEN_S); glDisable(GL_TEXTURE_GEN_T); @@ -5549,7 +5549,7 @@ #endif checkGLcall("glDisable(GL_TEXTURE_GEN_S,T,R,Q)"); break; - case D3DTSS_TCI_CAMERASPACEPOSITION: + case WINED3DTSS_TCI_CAMERASPACEPOSITION: /* CameraSpacePosition means use the vertex position, transformed to camera space, as the input texture coordinates for this stage's texture transformation. This equates roughly to EYE_LINEAR */ @@ -5585,7 +5585,7 @@ #endif } break; - case D3DTSS_TCI_CAMERASPACENORMAL: + case WINED3DTSS_TCI_CAMERASPACENORMAL: { if (GL_SUPPORT(NV_TEXGEN_REFLECTION)) { float s_plane[] = { 1.0, 0.0, 0.0, 0.0 }; @@ -5619,7 +5619,7 @@ #endif } break; - case D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR: + case WINED3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR: { if (GL_SUPPORT(NV_TEXGEN_REFLECTION)) { float s_plane[] = { 1.0, 0.0, 0.0, 0.0 }; @@ -5669,7 +5669,7 @@ #endif /* Unhandled */ case WINED3DTSS_TEXTURETRANSFORMFLAGS : - set_texture_matrix((float *)&This->stateBlock->transforms[WINED3DTS_TEXTURE0 + Stage].u.m[0][0], Value, (This->stateBlock->textureState[Stage][WINED3DTSS_TEXCOORDINDEX] & 0xFFFF0000) != D3DTSS_TCI_PASSTHRU); + set_texture_matrix((float *)&This->stateBlock->transforms[WINED3DTS_TEXTURE0 + Stage].u.m[0][0], Value, (This->stateBlock->textureState[Stage][WINED3DTSS_TEXCOORDINDEX] & 0xFFFF0000) != WINED3DTSS_TCI_PASSTHRU); break; case WINED3DTSS_BUMPENVMAT00 : diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c index 9217ad9..a1ce721 100644 --- a/dlls/wined3d/texture.c +++ b/dlls/wined3d/texture.c @@ -215,7 +215,7 @@ static void WINAPI IWineD3DTextureImpl_A /** non-power2 fixups using texture matrix **/ if(This->pow2scalingFactorX != 1.0f || This->pow2scalingFactorY != 1.0f) { /* Apply non-power2 mappings and texture offsets so long as the texture coords aren't projected or generated */ - if(((textureStates[WINED3DTSS_TEXCOORDINDEX] & 0xFFFF0000) == D3DTSS_TCI_PASSTHRU) && + if(((textureStates[WINED3DTSS_TEXCOORDINDEX] & 0xFFFF0000) == WINED3DTSS_TCI_PASSTHRU) && (~textureStates[WINED3DTSS_TEXTURETRANSFORMFLAGS] & WINED3DTTFF_PROJECTED)) { glMatrixMode(GL_TEXTURE); memset(matrix, 0 , sizeof(matrix)); diff --git a/include/wine/wined3d_types.h b/include/wine/wined3d_types.h index d1b15df..3715d2a 100644 --- a/include/wine/wined3d_types.h +++ b/include/wine/wined3d_types.h @@ -653,6 +653,12 @@ typedef enum _WINED3DTEXTURESTAGESTATETY WINED3DTSS_FORCE_DWORD = 0x7fffffff } WINED3DTEXTURESTAGESTATETYPE; +#define WINED3DTSS_TCI_PASSTHRU 0x00000 +#define WINED3DTSS_TCI_CAMERASPACENORMAL 0x10000 +#define WINED3DTSS_TCI_CAMERASPACEPOSITION 0x20000 +#define WINED3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR 0x30000 +#define WINED3DTSS_TCI_SPHEREMAP 0x40000 + #define WINED3D_HIGHEST_TEXTURE_STATE WINED3DTSS_CONSTANT typedef enum _WINED3DTEXTURETRANSFORMFLAGS {
1
0
0
0
Ivan Gyurdiev : wined3d: Add D3DFVF codes to the WINED3D namespace.
by Alexandre Julliard
31 Oct '06
31 Oct '06
Module: wine Branch: master Commit: 875a1eb02dfc324ac290e32c97247709f4ba57e7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=875a1eb02dfc324ac290e32c9…
Author: Ivan Gyurdiev <ivg231(a)gmail.com> Date: Tue Oct 31 03:16:08 2006 -0500 wined3d: Add D3DFVF codes to the WINED3D namespace. --- dlls/wined3d/device.c | 26 +++++++++++++------------- dlls/wined3d/drawprim.c | 34 +++++++++++++++++----------------- dlls/wined3d/utils.c | 18 +++++++++--------- include/wine/wined3d_types.h | 39 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 78 insertions(+), 39 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=875a1eb02dfc324ac290e…
1
0
0
0
Paul Vriens : secur32: Make sure crashing tests are not run.
by Alexandre Julliard
31 Oct '06
31 Oct '06
Module: wine Branch: master Commit: dd6c4c680049ba03be7fa18e1312b4823747a451 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=dd6c4c680049ba03be7fa18e1…
Author: Paul Vriens <paul.vriens.wine(a)gmail.com> Date: Tue Oct 31 09:28:31 2006 +0100 secur32: Make sure crashing tests are not run. --- dlls/secur32/tests/schannel.c | 44 +++++++++++++++++++++++++--------------- 1 files changed, 27 insertions(+), 17 deletions(-) diff --git a/dlls/secur32/tests/schannel.c b/dlls/secur32/tests/schannel.c index 23e2a0a..ca870f4 100644 --- a/dlls/secur32/tests/schannel.c +++ b/dlls/secur32/tests/schannel.c @@ -140,10 +140,14 @@ static void testAcquireSecurityContext(v NULL); ok(st == SEC_E_SECPKG_NOT_FOUND, "Expected SEC_E_SECPKG_NOT_FOUND, got %08x\n", st); - st = pAcquireCredentialsHandleA(NULL, unisp_name_a, 0, NULL, NULL, NULL, - NULL, NULL, NULL); - ok(st == SEC_E_NO_CREDENTIALS, "Expected SEC_E_NO_CREDENTIALS, got %08x\n", - st); + if (0) + { + /* Crashes on Win2K */ + st = pAcquireCredentialsHandleA(NULL, unisp_name_a, 0, NULL, NULL, NULL, + NULL, NULL, NULL); + ok(st == SEC_E_NO_CREDENTIALS, "Expected SEC_E_NO_CREDENTIALS, got %08x\n", + st); + } st = pAcquireCredentialsHandleA(NULL, unisp_name_a, SECPKG_CRED_BOTH, NULL, NULL, NULL, NULL, NULL, NULL); ok(st == SEC_E_NO_CREDENTIALS, "Expected SEC_E_NO_CREDENTIALS, got %08x\n", @@ -152,10 +156,12 @@ static void testAcquireSecurityContext(v NULL, NULL, NULL, NULL, NULL, NULL); ok(st == SEC_E_NO_CREDENTIALS, "Expected SEC_E_NO_CREDENTIALS, got %08x\n", st); - /* Crashes - st = pAcquireCredentialsHandleA(NULL, UNISP_NAME_A, SECPKG_CRED_OUTBOUND, - NULL, NULL, NULL, NULL, NULL, NULL); - */ + if (0) + { + /* Crashes */ + st = pAcquireCredentialsHandleA(NULL, unisp_name_a, SECPKG_CRED_OUTBOUND, + NULL, NULL, NULL, NULL, NULL, NULL); + } st = pAcquireCredentialsHandleA(NULL, unisp_name_a, SECPKG_CRED_OUTBOUND, NULL, NULL, NULL, NULL, &cred, NULL); ok(st == SEC_E_OK, "AcquireCredentialsHandleA failed: %08x\n", st); @@ -191,11 +197,13 @@ static void testAcquireSecurityContext(v ok(st == SEC_E_NO_CREDENTIALS, "Expected SEC_E_NO_CREDENTIALS, got %08x\n", st); - /* Crashes with bad paCred pointer - schanCred.cCreds = 1; - st = pAcquireCredentialsHandleA(NULL, UNISP_NAME_A, SECPKG_CRED_OUTBOUND, - NULL, &schanCred, NULL, NULL, NULL, NULL); - */ + if (0) + { + /* Crashes with bad paCred pointer */ + schanCred.cCreds = 1; + st = pAcquireCredentialsHandleA(NULL, unisp_name_a, SECPKG_CRED_OUTBOUND, + NULL, &schanCred, NULL, NULL, NULL, NULL); + } /* Bogus cert in SCHANNEL_CRED. Windows fails with * SEC_E_UNKNOWN_CREDENTIALS, but I'll accept SEC_E_NO_CREDENTIALS too. @@ -251,10 +259,12 @@ static void testAcquireSecurityContext(v { PCCERT_CONTEXT tmp; - /* Crashes - st = pAcquireCredentialsHandleA(NULL, UNISP_NAME_A, SECPKG_CRED_INBOUND, - NULL, &schanCred, NULL, NULL, NULL, NULL); - */ + if (0) + { + /* Crashes */ + st = pAcquireCredentialsHandleA(NULL, unisp_name_a, SECPKG_CRED_INBOUND, + NULL, &schanCred, NULL, NULL, NULL, NULL); + } /* Good cert with private key, bogus version */ schanCred.dwVersion = SCH_CRED_V1; st = pAcquireCredentialsHandleA(NULL, unisp_name_a, SECPKG_CRED_OUTBOUND,
1
0
0
0
Alexandre Julliard : kernel32: Fixed behavior of FindFirstFile for DOS devices.
by Alexandre Julliard
31 Oct '06
31 Oct '06
Module: wine Branch: master Commit: 98a3912e9f88c93637fadf532586b57e3f1a6009 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=98a3912e9f88c93637fadf532…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Oct 31 12:05:19 2006 +0100 kernel32: Fixed behavior of FindFirstFile for DOS devices. --- dlls/kernel32/file.c | 71 +++++++++++++++++++++++++++------- dlls/kernel32/tests/file.c | 93 ++++++++++++++++++++++++++++++++++++-------- 2 files changed, 134 insertions(+), 30 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=98a3912e9f88c93637fad…
1
0
0
0
Mike McCormack : msi: Add a test showing a join doesn't need a WHERE clause .
by Alexandre Julliard
31 Oct '06
31 Oct '06
Module: wine Branch: master Commit: d65e80c85ed131b3899ecf2ba11aad738131de2f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d65e80c85ed131b3899ecf2ba…
Author: Mike McCormack <mike(a)codeweavers.com> Date: Tue Oct 31 18:21:37 2006 +0900 msi: Add a test showing a join doesn't need a WHERE clause. --- dlls/msi/tests/db.c | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/dlls/msi/tests/db.c b/dlls/msi/tests/db.c index 85d5dba..c991ccd 100644 --- a/dlls/msi/tests/db.c +++ b/dlls/msi/tests/db.c @@ -2226,6 +2226,26 @@ static void test_join(void) MsiViewClose(hview); MsiCloseHandle(hview); + /* try a join without a WHERE condition */ + query = "SELECT `Component`.`ComponentId`, `FeatureComponents`.`Feature_` " + "FROM `Component`, `FeatureComponents` "; + r = MsiDatabaseOpenView(hdb, query, &hview); + ok( r == ERROR_SUCCESS, "failed to open view: %d\n", r ); + + r = MsiViewExecute(hview, 0); + ok( r == ERROR_SUCCESS, "failed to execute view: %d\n", r ); + + i = 0; + while ((r = MsiViewFetch(hview, &hrec)) == ERROR_SUCCESS) + { + i++; + MsiCloseHandle(hrec); + } + ok( i == 24, "Expected 24 rows, got %d\n", i ); + + MsiViewClose(hview); + MsiCloseHandle(hview); + query = "SELECT DISTINCT Component, ComponentId FROM FeatureComponents, Component " "WHERE FeatureComponents.Component_=Component.Component " "AND (Feature_='nasalis') ORDER BY Feature_";
1
0
0
0
Mike McCormack : msi: Use a simpler algorithm for joins.
by Alexandre Julliard
31 Oct '06
31 Oct '06
Module: wine Branch: master Commit: c6124db905bb07af99b8f7e0c6dfde7d61376e83 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c6124db905bb07af99b8f7e0c…
Author: Mike McCormack <mike(a)codeweavers.com> Date: Tue Oct 31 16:16:51 2006 +0900 msi: Use a simpler algorithm for joins. --- dlls/msi/join.c | 182 +++++++-------------------------------------------- dlls/msi/query.h | 3 +- dlls/msi/sql.y | 28 ++++----- dlls/msi/tests/db.c | 116 +++++++------------------------- 4 files changed, 62 insertions(+), 267 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=c6124db905bb07af99b8f…
1
0
0
0
Mike McCormack : msi: Test the data returned by join queries in one ok().
by Alexandre Julliard
31 Oct '06
31 Oct '06
Module: wine Branch: master Commit: 8fc5fbe7ab0b3f15dc1e841d446685de7f817936 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8fc5fbe7ab0b3f15dc1e841d4…
Author: Mike McCormack <mike(a)codeweavers.com> Date: Tue Oct 31 16:16:07 2006 +0900 msi: Test the data returned by join queries in one ok(). --- dlls/msi/tests/db.c | 90 ++++++++++++++++++++++++++++++-------------------- 1 files changed, 54 insertions(+), 36 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=8fc5fbe7ab0b3f15dc1e8…
1
0
0
0
Mike McCormack : msi: Remove tokens that aren't valid for MSI SQL.
by Alexandre Julliard
31 Oct '06
31 Oct '06
Module: wine Branch: master Commit: 2b2953c6e7bef0cf044386faecf15b7a2e1b9d54 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2b2953c6e7bef0cf044386fae…
Author: Mike McCormack <mike(a)codeweavers.com> Date: Tue Oct 31 14:34:07 2006 +0900 msi: Remove tokens that aren't valid for MSI SQL. --- dlls/msi/sql.y | 72 +++++----------- dlls/msi/tokenize.c | 233 ++------------------------------------------------- 2 files changed, 33 insertions(+), 272 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=2b2953c6e7bef0cf04438…
1
0
0
0
Mike McCormack : msi: Fix a trace.
by Alexandre Julliard
31 Oct '06
31 Oct '06
Module: wine Branch: master Commit: 9e21dd57aeeec30268e99674bf1524d60639ffd2 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9e21dd57aeeec30268e99674b…
Author: Mike McCormack <mike(a)codeweavers.com> Date: Tue Oct 31 14:33:20 2006 +0900 msi: Fix a trace. --- dlls/msi/alter.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msi/alter.c b/dlls/msi/alter.c index 24a11ab..58a6099 100644 --- a/dlls/msi/alter.c +++ b/dlls/msi/alter.c @@ -141,9 +141,9 @@ static const MSIVIEWOPS alter_ops = UINT ALTER_CreateView( MSIDATABASE *db, MSIVIEW **view, LPCWSTR name, int hold ) { - MSIALTERVIEW *av = NULL; + MSIALTERVIEW *av; - TRACE("%p\n", av ); + TRACE("%p\n", view ); av = msi_alloc_zero( sizeof *av ); if( !av )
1
0
0
0
← Newer
1
2
3
4
5
6
...
104
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
101
102
103
104
Results per page:
10
25
50
100
200