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
November 2005
----- 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
575 discussions
Start a n
N
ew thread
wine/dlls/rpcrt4 ndr_midl.c
by Alexandre Julliard
28 Nov '05
28 Nov '05
ChangeSet ID: 21490 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/28 05:06:21 Modified files: dlls/rpcrt4 : ndr_midl.c Log message: Robert Shearman <rob(a)codeweavers.com> Make sure to fill out the MIDL_STUB_MESSAGE structure in NdrSendReceive like we do in NdrProxySendReceive. Patch:
http://cvs.winehq.org/patch.py?id=21490
Old revision New revision Changes Path 1.23 1.24 +5 -0 wine/dlls/rpcrt4/ndr_midl.c Index: wine/dlls/rpcrt4/ndr_midl.c diff -u -p wine/dlls/rpcrt4/ndr_midl.c:1.23 wine/dlls/rpcrt4/ndr_midl.c:1.24 --- wine/dlls/rpcrt4/ndr_midl.c:1.23 28 Nov 2005 11: 6:21 -0000 +++ wine/dlls/rpcrt4/ndr_midl.c 28 Nov 2005 11: 6:21 -0000 @@ -282,6 +282,11 @@ unsigned char *WINAPI NdrSendReceive( MI /* FIXME: raise exception? */ } + stubmsg->BufferLength = stubmsg->RpcMsg->BufferLength; + stubmsg->BufferStart = stubmsg->RpcMsg->Buffer; + stubmsg->BufferEnd = stubmsg->BufferStart + stubmsg->BufferLength; + stubmsg->Buffer = stubmsg->BufferStart; + /* FIXME: is this the right return value? */ return NULL; }
1
0
0
0
wine/dlls/rpcrt4 ndr_marshall.c
by Alexandre Julliard
28 Nov '05
28 Nov '05
ChangeSet ID: 21489 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/28 05:06:17 Modified files: dlls/rpcrt4 : ndr_marshall.c Log message: Robert Shearman <rob(a)codeweavers.com> Implement conformant varying array functions. Patch:
http://cvs.winehq.org/patch.py?id=21489
Old revision New revision Changes Path 1.36 1.37 +72 -3 wine/dlls/rpcrt4/ndr_marshall.c Index: wine/dlls/rpcrt4/ndr_marshall.c diff -u -p wine/dlls/rpcrt4/ndr_marshall.c:1.36 wine/dlls/rpcrt4/ndr_marshall.c:1.37 --- wine/dlls/rpcrt4/ndr_marshall.c:1.36 28 Nov 2005 11: 6:17 -0000 +++ wine/dlls/rpcrt4/ndr_marshall.c 28 Nov 2005 11: 6:17 -0000 @@ -1956,7 +1956,35 @@ unsigned char* WINAPI NdrConformantVaryi unsigned char* pMemory, PFORMAT_STRING pFormat ) { - FIXME( "stub\n" ); + DWORD esize = *(const WORD*)(pFormat+2); + + TRACE("(%p, %p, %p)\n", pStubMsg, pMemory, pFormat); + + if (pFormat[0] != RPC_FC_CVARRAY) + { + ERR("invalid format type %x\n", pFormat[0]); + RpcRaiseException(RPC_S_INTERNAL_ERROR); + return NULL; + } + + pFormat = ComputeConformance(pStubMsg, pMemory, pFormat+4, 0); + pFormat = ComputeVariance(pStubMsg, pMemory, pFormat, 0); + + NDR_LOCAL_UINT32_WRITE(pStubMsg->Buffer, pStubMsg->MaxCount); + pStubMsg->Buffer += 4; + NDR_LOCAL_UINT32_WRITE(pStubMsg->Buffer, pStubMsg->Offset); + pStubMsg->Buffer += 4; + NDR_LOCAL_UINT32_WRITE(pStubMsg->Buffer, pStubMsg->ActualCount); + pStubMsg->Buffer += 4; + + memcpy(pStubMsg->Buffer, pMemory + pStubMsg->Offset, pStubMsg->ActualCount*esize); + pStubMsg->BufferMark = pStubMsg->Buffer; + pStubMsg->Buffer += pStubMsg->ActualCount*esize; + + EmbeddedPointerMarshall(pStubMsg, pMemory, pFormat); + + STD_OVERFLOW_CHECK(pStubMsg); + return NULL; } @@ -1969,7 +1997,29 @@ unsigned char* WINAPI NdrConformantVaryi PFORMAT_STRING pFormat, unsigned char fMustAlloc ) { - FIXME( "stub\n" ); + DWORD offset; + DWORD esize = *(const WORD*)(pFormat+2); + + TRACE("(%p, %p, %p, %d)\n", pStubMsg, ppMemory, pFormat, fMustAlloc); + + if (pFormat[0] != RPC_FC_CVARRAY) + { + ERR("invalid format type %x\n", pFormat[0]); + RpcRaiseException(RPC_S_INTERNAL_ERROR); + return NULL; + } + pFormat = ReadConformance(pStubMsg, pFormat); + offset = NDR_LOCAL_UINT32_READ(pStubMsg->Buffer); + pStubMsg->Buffer += 4; + pFormat = ReadVariance(pStubMsg, pFormat); + + if (!*ppMemory || fMustAlloc) + *ppMemory = NdrAllocate(pStubMsg, pStubMsg->MaxCount * esize); + memcpy(*ppMemory + offset, pStubMsg->Buffer, pStubMsg->ActualCount * esize); + pStubMsg->Buffer += pStubMsg->ActualCount * esize; + + EmbeddedPointerUnmarshall(pStubMsg, ppMemory, pFormat, fMustAlloc); + return NULL; } @@ -1991,7 +2041,26 @@ void WINAPI NdrConformantVaryingArrayFre void WINAPI NdrConformantVaryingArrayBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ) { - FIXME( "stub\n" ); + DWORD esize = *(const WORD*)(pFormat+2); + + TRACE("(%p, %p, %p)\n", pStubMsg, pMemory, pFormat); + + if (pFormat[0] != RPC_FC_CVARRAY) + { + ERR("invalid format type %x\n", pFormat[0]); + RpcRaiseException(RPC_S_INTERNAL_ERROR); + return; + } + + /* compute size */ + pFormat = ComputeConformance(pStubMsg, pMemory, pFormat+4, 0); + /* compute length */ + pFormat = ComputeVariance(pStubMsg, pMemory, pFormat, 0); + + /* conformance + offset + variance + array */ + pStubMsg->BufferLength += 3*sizeof(DWORD) + pStubMsg->ActualCount*esize; + + EmbeddedPointerBufferSize(pStubMsg, pMemory, pFormat); }
1
0
0
0
wine/dlls/rpcrt4 ndr_marshall.c
by Alexandre Julliard
28 Nov '05
28 Nov '05
ChangeSet ID: 21488 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/28 05:06:05 Modified files: dlls/rpcrt4 : ndr_marshall.c Log message: Robert Shearman <rob(a)codeweavers.com> Implement conformant struct functions. Patch:
http://cvs.winehq.org/patch.py?id=21488
Old revision New revision Changes Path 1.35 1.36 +104 -3 wine/dlls/rpcrt4/ndr_marshall.c Index: wine/dlls/rpcrt4/ndr_marshall.c diff -u -p wine/dlls/rpcrt4/ndr_marshall.c:1.35 wine/dlls/rpcrt4/ndr_marshall.c:1.36 --- wine/dlls/rpcrt4/ndr_marshall.c:1.35 28 Nov 2005 11: 6: 5 -0000 +++ wine/dlls/rpcrt4/ndr_marshall.c 28 Nov 2005 11: 6: 5 -0000 @@ -2280,6 +2280,14 @@ void WINAPI NdrConvert2( PMIDL_STUB_MESS is to raise an exception */ } +typedef struct _NDR_CSTRUCT_FORMAT +{ + unsigned char type; + unsigned char alignment; + unsigned short memory_size; + short offset_to_array_description; +} NDR_CSTRUCT_FORMAT; + /*********************************************************************** * NdrConformantStructMarshall [RPCRT4.@] */ @@ -2287,7 +2295,32 @@ unsigned char * WINAPI NdrConformantStr unsigned char *pMemory, PFORMAT_STRING pFormat) { - FIXME("stub\n"); + const NDR_CSTRUCT_FORMAT * pCStructFormat = (NDR_CSTRUCT_FORMAT*)pFormat; + pFormat += sizeof(NDR_CSTRUCT_FORMAT); + + TRACE("(%p, %p, %p)\n", pStubMsg, pMemory, pFormat); + + if ((pCStructFormat->type != RPC_FC_CPSTRUCT) && (pCStructFormat->type != RPC_FC_CSTRUCT)) + { + ERR("invalid format type %x\n", pCStructFormat->type); + RpcRaiseException(RPC_S_INTERNAL_ERROR); + return NULL; + } + + TRACE("memory_size = %d\n", pCStructFormat->memory_size); + + /* copy constant sized part of struct */ + memcpy(pStubMsg->Buffer, pMemory, pCStructFormat->memory_size); + pStubMsg->Buffer += pCStructFormat->memory_size; + + if (pCStructFormat->offset_to_array_description) + { + PFORMAT_STRING pArrayFormat = (unsigned char*)&pCStructFormat->offset_to_array_description + + pCStructFormat->offset_to_array_description; + NdrConformantArrayMarshall(pStubMsg, pMemory + pCStructFormat->memory_size, pArrayFormat); + } + if (pCStructFormat->type == RPC_FC_CPSTRUCT) + EmbeddedPointerMarshall(pStubMsg, pMemory, pFormat); return NULL; } @@ -2299,7 +2332,52 @@ unsigned char * WINAPI NdrConformantStr PFORMAT_STRING pFormat, unsigned char fMustAlloc) { - FIXME("stub\n"); + const NDR_CSTRUCT_FORMAT * pCStructFormat = (NDR_CSTRUCT_FORMAT*)pFormat; + pFormat += sizeof(NDR_CSTRUCT_FORMAT); + + TRACE("(%p, %p, %p, %d)\n", pStubMsg, ppMemory, pFormat, fMustAlloc); + + if ((pCStructFormat->type != RPC_FC_CPSTRUCT) && (pCStructFormat->type != RPC_FC_CSTRUCT)) + { + ERR("invalid format type %x\n", pCStructFormat->type); + RpcRaiseException(RPC_S_INTERNAL_ERROR); + return NULL; + } + + TRACE("memory_size = %d\n", pCStructFormat->memory_size); + + /* work out how much memory to allocate if we need to do so */ + if (!*ppMemory || fMustAlloc) + { + SIZE_T size = pCStructFormat->memory_size; + + if (pCStructFormat->offset_to_array_description) + { + unsigned char *buffer; + PFORMAT_STRING pArrayFormat = (unsigned char*)&pCStructFormat->offset_to_array_description + + pCStructFormat->offset_to_array_description; + buffer = pStubMsg->Buffer; + pStubMsg->Buffer += pCStructFormat->memory_size; + size += NdrConformantArrayMemorySize(pStubMsg, pArrayFormat); + pStubMsg->Buffer = buffer; + } + *ppMemory = NdrAllocate(pStubMsg, size); + } + + /* now copy the data */ + memcpy(*ppMemory, pStubMsg->Buffer, pCStructFormat->memory_size); + pStubMsg->Buffer += pCStructFormat->memory_size; + if (pCStructFormat->offset_to_array_description) + { + PFORMAT_STRING pArrayFormat = (unsigned char*)&pCStructFormat->offset_to_array_description + + pCStructFormat->offset_to_array_description; + unsigned char *pMemoryArray = *ppMemory + pCStructFormat->memory_size; + /* note that we pass fMustAlloc as 0 as we have already allocated the + * memory */ + NdrConformantArrayUnmarshall(pStubMsg, &pMemoryArray, pArrayFormat, 0); + } + if (pCStructFormat->type == RPC_FC_CPSTRUCT) + EmbeddedPointerUnmarshall(pStubMsg, ppMemory, pFormat, fMustAlloc); return NULL; } @@ -2310,7 +2388,30 @@ void WINAPI NdrConformantStructBufferSiz unsigned char *pMemory, PFORMAT_STRING pFormat) { - FIXME("stub\n"); + const NDR_CSTRUCT_FORMAT * pCStructFormat = (NDR_CSTRUCT_FORMAT*)pFormat; + pFormat += sizeof(NDR_CSTRUCT_FORMAT); + TRACE("(%p, %p, %p)\n", pStubMsg, pMemory, pFormat); + + if ((pCStructFormat->type != RPC_FC_CPSTRUCT) && (pCStructFormat->type != RPC_FC_CSTRUCT)) + { + ERR("invalid format type %x\n", pCStructFormat->type); + RpcRaiseException(RPC_S_INTERNAL_ERROR); + return; + } + + TRACE("memory_size = %d\n", pCStructFormat->memory_size); + + /* add constant sized part of struct to buffer size */ + pStubMsg->BufferLength += pCStructFormat->memory_size; + + if (pCStructFormat->offset_to_array_description) + { + PFORMAT_STRING pArrayFormat = (unsigned char*)&pCStructFormat->offset_to_array_description + + pCStructFormat->offset_to_array_description; + NdrConformantArrayBufferSize(pStubMsg, pMemory + pCStructFormat->memory_size, pArrayFormat); + } + if (pCStructFormat->type == RPC_FC_CPSTRUCT) + EmbeddedPointerBufferSize(pStubMsg, pMemory, pFormat); } /***********************************************************************
1
0
0
0
wine/dlls/rpcrt4 ndr_marshall.c
by Alexandre Julliard
28 Nov '05
28 Nov '05
ChangeSet ID: 21487 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/28 05:05:54 Modified files: dlls/rpcrt4 : ndr_marshall.c Log message: Robert Shearman <rob(a)codeweavers.com> Implement FC_STRUCTPAD2 for complex types. Patch:
http://cvs.winehq.org/patch.py?id=21487
Old revision New revision Changes Path 1.34 1.35 +15 -0 wine/dlls/rpcrt4/ndr_marshall.c Index: wine/dlls/rpcrt4/ndr_marshall.c diff -u -p wine/dlls/rpcrt4/ndr_marshall.c:1.34 wine/dlls/rpcrt4/ndr_marshall.c:1.35 --- wine/dlls/rpcrt4/ndr_marshall.c:1.34 28 Nov 2005 11: 5:54 -0000 +++ wine/dlls/rpcrt4/ndr_marshall.c 28 Nov 2005 11: 5:54 -0000 @@ -1442,6 +1442,9 @@ unsigned char * WINAPI ComplexMarshall(P case RPC_FC_ALIGNM8: ALIGN_POINTER(pMemory, 7); break; + case RPC_FC_STRUCTPAD2: + pMemory += 2; + break; case RPC_FC_EMBEDDED_COMPLEX: pMemory += pFormat[1]; pFormat += 2; @@ -1505,6 +1508,9 @@ unsigned char * WINAPI ComplexUnmarshall case RPC_FC_ALIGNM8: ALIGN_POINTER(pMemory, 7); break; + case RPC_FC_STRUCTPAD2: + pMemory += 2; + break; case RPC_FC_EMBEDDED_COMPLEX: pMemory += pFormat[1]; pFormat += 2; @@ -1562,6 +1568,9 @@ unsigned char * WINAPI ComplexBufferSize case RPC_FC_ALIGNM8: ALIGN_POINTER(pMemory, 7); break; + case RPC_FC_STRUCTPAD2: + pMemory += 2; + break; case RPC_FC_EMBEDDED_COMPLEX: pMemory += pFormat[1]; pFormat += 2; @@ -1615,6 +1624,9 @@ unsigned char * WINAPI ComplexFree(PMIDL case RPC_FC_ALIGNM8: ALIGN_POINTER(pMemory, 7); break; + case RPC_FC_STRUCTPAD2: + pMemory += 2; + break; case RPC_FC_EMBEDDED_COMPLEX: pMemory += pFormat[1]; pFormat += 2; @@ -1662,6 +1674,9 @@ unsigned long WINAPI ComplexStructSize(P case RPC_FC_ALIGNM8: ALIGN_LENGTH(size, 7); break; + case RPC_FC_STRUCTPAD2: + size += 2; + break; case RPC_FC_EMBEDDED_COMPLEX: size += pFormat[1]; pFormat += 2;
1
0
0
0
wine/dlls/gdi gdi32.spec palette.c
by Alexandre Julliard
28 Nov '05
28 Nov '05
ChangeSet ID: 21486 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/28 05:05:44 Modified files: dlls/gdi : gdi32.spec palette.c Log message: Rein Klazes <wijn(a)wanadoo.nl> Add stub implementation for SetMagicColors(). Patch:
http://cvs.winehq.org/patch.py?id=21486
Old revision New revision Changes Path 1.52 1.53 +1 -1 wine/dlls/gdi/gdi32.spec 1.10 1.11 +9 -0 wine/dlls/gdi/palette.c Index: wine/dlls/gdi/gdi32.spec diff -u -p wine/dlls/gdi/gdi32.spec:1.52 wine/dlls/gdi/gdi32.spec:1.53 --- wine/dlls/gdi/gdi32.spec:1.52 28 Nov 2005 11: 5:44 -0000 +++ wine/dlls/gdi/gdi32.spec 28 Nov 2005 11: 5:44 -0000 @@ -443,7 +443,7 @@ @ stdcall SetICMProfileW(long wstr) @ stdcall SetLayout(long long) # @ stub SetLayoutWidth -@ stub SetMagicColors +@ stdcall SetMagicColors(ptr long long) @ stdcall SetMapMode(long long) @ stdcall SetMapperFlags(long long) @ stdcall SetMetaFileBitsEx(long ptr) Index: wine/dlls/gdi/palette.c diff -u -p wine/dlls/gdi/palette.c:1.10 wine/dlls/gdi/palette.c:1.11 --- wine/dlls/gdi/palette.c:1.10 28 Nov 2005 11: 5:44 -0000 +++ wine/dlls/gdi/palette.c 28 Nov 2005 11: 5:44 -0000 @@ -908,6 +908,15 @@ VOID WINAPI SetMagicColors16(HDC16 hDC, } +/********************************************************************* + * SetMagicColors (GDI.@) + */ +BOOL WINAPI SetMagicColors(HDC hdc, ULONG u1, ULONG u2) +{ + FIXME("(%p 0x%08lx 0x%08lx): stub\n", hdc, u1, u2); + return TRUE; +} + /********************************************************************** * GetICMProfileA [GDI32.@] *
1
0
0
0
wine/dlls/atl atl.spec atl_main.c atlbase.h
by Alexandre Julliard
28 Nov '05
28 Nov '05
ChangeSet ID: 21485 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/28 05:05:37 Modified files: dlls/atl : atl.spec atl_main.c atlbase.h Log message: Jacek Caban <jacek(a)codeweavers.com> Added AtlAxCreateControl stub implementation. Patch:
http://cvs.winehq.org/patch.py?id=21485
Old revision New revision Changes Path 1.12 1.13 +1 -1 wine/dlls/atl/atl.spec 1.16 1.17 +10 -0 wine/dlls/atl/atl_main.c 1.6 1.7 +1 -0 wine/dlls/atl/atlbase.h Index: wine/dlls/atl/atl.spec diff -u -p wine/dlls/atl/atl.spec:1.12 wine/dlls/atl/atl.spec:1.13 --- wine/dlls/atl/atl.spec:1.12 28 Nov 2005 11: 5:37 -0000 +++ wine/dlls/atl/atl.spec 28 Nov 2005 11: 5:37 -0000 @@ -30,7 +30,7 @@ 36 stub AtlAxDialogBoxA 37 stub AtlAxCreateDialogW 38 stub AtlAxCreateDialogA -39 stub AtlAxCreateControl +39 stdcall AtlAxCreateControl(ptr ptr ptr ptr) 40 stub AtlAxCreateControlEx 41 stub AtlAxAttachControl 42 stdcall AtlAxWinInit() Index: wine/dlls/atl/atl_main.c diff -u -p wine/dlls/atl/atl_main.c:1.16 wine/dlls/atl/atl_main.c:1.17 --- wine/dlls/atl/atl_main.c:1.16 28 Nov 2005 11: 5:37 -0000 +++ wine/dlls/atl/atl_main.c 28 Nov 2005 11: 5:37 -0000 @@ -314,3 +314,13 @@ HRESULT WINAPI AtlModuleUnregisterServer FIXME("%p %s\n", pm, debugstr_guid(clsid)); return E_FAIL; } + +/*********************************************************************** + * AtlAxCreateControl [ATL.@] + */ +HRESULT WINAPI AtlAxCreateControl(LPCOLESTR lpszName, HWND hWnd, + IStream *pStream, IUnknown **ppUnkContainer) +{ + FIXME("%s %p %p %p)\n", debugstr_w(lpszName), hWnd, pStream, ppUnkContainer); + return E_NOTIMPL; +} Index: wine/dlls/atl/atlbase.h diff -u -p wine/dlls/atl/atlbase.h:1.6 wine/dlls/atl/atlbase.h:1.7 --- wine/dlls/atl/atlbase.h:1.6 28 Nov 2005 11: 5:37 -0000 +++ wine/dlls/atl/atlbase.h 28 Nov 2005 11: 5:37 -0000 @@ -142,6 +142,7 @@ struct _ATL_REGMAP_ENTRY }; HRESULT WINAPI AtlAdvise(IUnknown *pUnkCP, IUnknown *pUnk, const IID * iid, LPDWORD dpw); +HRESULT WINAPI AtlAxCreateControl(LPCOLESTR,HWND,IStream*,IUnknown**); HRESULT WINAPI AtlFreeMarshalStream(IStream *pStream); HRESULT WINAPI AtlInternalQueryInterface(LPVOID pThis, const _ATL_INTMAP_ENTRY* pEntries, REFIID iid, LPVOID* ppvObject); HRESULT WINAPI AtlMarshalPtrInProc(IUnknown *pUnk, const IID *iid, IStream **ppStream);
1
0
0
0
wine/dlls/wininet http.c
by Alexandre Julliard
28 Nov '05
28 Nov '05
ChangeSet ID: 21484 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/28 05:05:32 Modified files: dlls/wininet : http.c Log message: Robert Shearman <rob(a)codeweavers.com> Replace some useless checks in HTTP_AddProxyInfo with asserts. Patch:
http://cvs.winehq.org/patch.py?id=21484
Old revision New revision Changes Path 1.118 1.119 +2 -10 wine/dlls/wininet/http.c Index: wine/dlls/wininet/http.c diff -u -p wine/dlls/wininet/http.c:1.118 wine/dlls/wininet/http.c:1.119 --- wine/dlls/wininet/http.c:1.118 28 Nov 2005 11: 5:32 -0000 +++ wine/dlls/wininet/http.c 28 Nov 2005 11: 5:32 -0000 @@ -363,18 +363,10 @@ static void HTTP_AddProxyInfo( LPWININET LPWININETAPPINFOW hIC = NULL; lpwhs = (LPWININETHTTPSESSIONW) lpwhr->hdr.lpwhparent; - if (NULL == lpwhs || lpwhs->hdr.htype != WH_HHTTPSESSION) - { - INTERNET_SetLastError(ERROR_INTERNET_INCORRECT_HANDLE_TYPE); - return; - } + assert(lpwhs->hdr.htype == WH_HHTTPSESSION); hIC = (LPWININETAPPINFOW) lpwhs->hdr.lpwhparent; - if (NULL == hIC || hIC->hdr.htype != WH_HINIT) - { - INTERNET_SetLastError(ERROR_INTERNET_INCORRECT_HANDLE_TYPE); - return; - } + assert(hIC->hdr.htype == WH_HINIT); if (hIC && (hIC->lpszProxyUsername || hIC->lpszProxyPassword )) HTTP_InsertProxyAuthorization(lpwhr, hIC->lpszProxyUsername,
1
0
0
0
wine/dlls/shdocvw client.c shdocvw.h webbrowser.c
by Alexandre Julliard
28 Nov '05
28 Nov '05
ChangeSet ID: 21483 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/28 05:05:19 Modified files: dlls/shdocvw : client.c shdocvw.h webbrowser.c Log message: Jacek Caban <jacek(a)codeweavers.com> Added IOleDocumentSite implementation. Patch:
http://cvs.winehq.org/patch.py?id=21483
Old revision New revision Changes Path 1.5 1.6 +64 -0 wine/dlls/shdocvw/client.c 1.34 1.35 +4 -0 wine/dlls/shdocvw/shdocvw.h 1.28 1.29 +1 -0 wine/dlls/shdocvw/webbrowser.c Index: wine/dlls/shdocvw/client.c diff -u -p wine/dlls/shdocvw/client.c:1.5 wine/dlls/shdocvw/client.c:1.6 --- wine/dlls/shdocvw/client.c:1.5 28 Nov 2005 11: 5:19 -0000 +++ wine/dlls/shdocvw/client.c 28 Nov 2005 11: 5:19 -0000 @@ -272,8 +272,72 @@ static const IOleInPlaceSiteVtbl OleInPl InPlaceSite_OnPosRectChange }; +#define DOCSITE_THIS(iface) DEFINE_THIS(WebBrowser, OleDocumentSite, iface) + +static HRESULT WINAPI OleDocumentSite_QueryInterface(IOleDocumentSite *iface, + REFIID riid, void **ppv) +{ + WebBrowser *This = DOCSITE_THIS(iface); + return IOleClientSite_QueryInterface(CLIENTSITE(This), riid, ppv); +} + +static ULONG WINAPI OleDocumentSite_AddRef(IOleDocumentSite *iface) +{ + WebBrowser *This = DOCSITE_THIS(iface); + return IOleClientSite_AddRef(CLIENTSITE(This)); +} + +static ULONG WINAPI OleDocumentSite_Release(IOleDocumentSite *iface) +{ + WebBrowser *This = DOCSITE_THIS(iface); + return IOleClientSite_Release(CLIENTSITE(This)); +} + +static HRESULT WINAPI OleDocumentSite_ActivateMe(IOleDocumentSite *iface, + IOleDocumentView *pViewToActivate) +{ + WebBrowser *This = DOCSITE_THIS(iface); + IOleDocument *oledoc; + RECT rect; + HRESULT hres; + + TRACE("(%p)->(%p)\n", This, pViewToActivate); + + hres = IUnknown_QueryInterface(This->document, &IID_IOleDocument, (void**)&oledoc); + if(FAILED(hres)) + return hres; + + IOleDocument_CreateView(oledoc, INPLACESITE(This), NULL, 0, &This->view); + IOleDocument_Release(oledoc); + + GetClientRect(This->doc_view_hwnd, &rect); + IOleDocumentView_SetRect(This->view, &rect); + + hres = IOleDocumentView_Show(This->view, TRUE); + + return hres; +} + +#undef DOCSITE_THIS + +static const IOleDocumentSiteVtbl OleDocumentSiteVtbl = { + OleDocumentSite_QueryInterface, + OleDocumentSite_AddRef, + OleDocumentSite_Release, + OleDocumentSite_ActivateMe +}; + void WebBrowser_ClientSite_Init(WebBrowser *This) { This->lpOleClientSiteVtbl = &OleClientSiteVtbl; This->lpOleInPlaceSiteVtbl = &OleInPlaceSiteVtbl; + This->lpOleDocumentSiteVtbl = &OleDocumentSiteVtbl; + + This->view = NULL; +} + +void WebBrowser_ClientSite_Destroy(WebBrowser *This) +{ + if(This->view) + IOleDocumentView_Release(This->view); } Index: wine/dlls/shdocvw/shdocvw.h diff -u -p wine/dlls/shdocvw/shdocvw.h:1.34 wine/dlls/shdocvw/shdocvw.h:1.35 --- wine/dlls/shdocvw/shdocvw.h:1.34 28 Nov 2005 11: 5:19 -0000 +++ wine/dlls/shdocvw/shdocvw.h 28 Nov 2005 11: 5:19 -0000 @@ -77,6 +77,7 @@ typedef struct { const IOleClientSiteVtbl *lpOleClientSiteVtbl; const IOleInPlaceSiteVtbl *lpOleInPlaceSiteVtbl; const IDocHostUIHandler2Vtbl *lpDocHostUIHandlerVtbl; + const IOleDocumentSiteVtbl *lpOleDocumentSiteVtbl; /* Interfaces of InPlaceFrame object */ @@ -88,6 +89,7 @@ typedef struct { IOleClientSite *client; IOleContainer *container; + IOleDocumentView *view; /* window context */ @@ -126,6 +128,7 @@ typedef struct { #define INPLACESITE(x) ((IOleInPlaceSite*) &(x)->lpOleInPlaceSiteVtbl) #define DOCHOSTUI(x) ((IDocHostUIHandler*) &(x)->lpDocHostUIHandlerVtbl) #define DOCHOSTUI2(x) ((IDocHostUIHandler2*) &(x)->lpDocHostUIHandlerVtbl) +#define DOCSITE(x) ((IOleDocumentSite*) &(x)->lpOleDocumentSiteVtbl) #define INPLACEFRAME(x) ((IOleInPlaceFrame*) &(x)->lpOleInPlaceFrameVtbl) @@ -143,6 +146,7 @@ void WebBrowser_Frame_Init(WebBrowser*); void WebBrowser_OleObject_Destroy(WebBrowser*); void WebBrowser_Events_Destroy(WebBrowser*); +void WebBrowser_ClientSite_Destroy(WebBrowser*); HRESULT WebBrowser_Create(IUnknown*,REFIID,void**); Index: wine/dlls/shdocvw/webbrowser.c diff -u -p wine/dlls/shdocvw/webbrowser.c:1.28 wine/dlls/shdocvw/webbrowser.c:1.29 --- wine/dlls/shdocvw/webbrowser.c:1.28 28 Nov 2005 11: 5:19 -0000 +++ wine/dlls/shdocvw/webbrowser.c 28 Nov 2005 11: 5:19 -0000 @@ -126,6 +126,7 @@ static ULONG WINAPI WebBrowser_Release(I WebBrowser_OleObject_Destroy(This); WebBrowser_Events_Destroy(This); + WebBrowser_ClientSite_Destroy(This); HeapFree(GetProcessHeap(), 0, This); SHDOCVW_UnlockModule();
1
0
0
0
wine/dlls/wininet http.c
by Alexandre Julliard
28 Nov '05
28 Nov '05
ChangeSet ID: 21482 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/28 05:05:11 Modified files: dlls/wininet : http.c Log message: Robert Shearman <rob(a)codeweavers.com> Simplify and fix Set-Cookie handling. Patch:
http://cvs.winehq.org/patch.py?id=21482
Old revision New revision Changes Path 1.117 1.118 +2 -7 wine/dlls/wininet/http.c Index: wine/dlls/wininet/http.c diff -u -p wine/dlls/wininet/http.c:1.117 wine/dlls/wininet/http.c:1.118 --- wine/dlls/wininet/http.c:1.117 28 Nov 2005 11: 5:11 -0000 +++ wine/dlls/wininet/http.c 28 Nov 2005 11: 5:11 -0000 @@ -285,18 +285,13 @@ static LPWSTR HTTP_BuildHeaderRequestStr static void HTTP_ProcessHeaders( LPWININETHTTPREQW lpwhr ) { - int CustHeaderIndex; - static const WCHAR szSetCookie[] = {'S','e','t','-','C','o','o','k','i','e',0 }; + LPHTTPHEADERW setCookieHeader = &lpwhr->StdHeaders[HTTP_QUERY_SET_COOKIE]; - CustHeaderIndex = HTTP_GetCustomHeaderIndex(lpwhr, szSetCookie); - if (!(lpwhr->hdr.dwFlags & INTERNET_FLAG_NO_COOKIES) && (CustHeaderIndex >= 0)) + if (!(lpwhr->hdr.dwFlags & INTERNET_FLAG_NO_COOKIES) && setCookieHeader->lpszValue) { - LPHTTPHEADERW setCookieHeader; int nPosStart = 0, nPosEnd = 0, len; static const WCHAR szFmt[] = { 'h','t','t','p',':','/','/','%','s','/',0}; - setCookieHeader = &lpwhr->pCustHeaders[CustHeaderIndex]; - while (setCookieHeader->lpszValue[nPosEnd] != '\0') { LPWSTR buf_cookie, cookie_name, cookie_data;
1
0
0
0
wine/dlls/ole32 defaulthandler.c
by Alexandre Julliard
28 Nov '05
28 Nov '05
ChangeSet ID: 21481 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/28 05:05:00 Modified files: dlls/ole32 : defaulthandler.c Log message: Robert Shearman <rob(a)codeweavers.com> Implement IOleObject_DoVerb function by running the object and then delegating to the remote IOleObject_DoVerb function. Patch:
http://cvs.winehq.org/patch.py?id=21481
Old revision New revision Changes Path 1.38 1.39 +11 -2 wine/dlls/ole32/defaulthandler.c Index: wine/dlls/ole32/defaulthandler.c diff -u -p wine/dlls/ole32/defaulthandler.c:1.38 wine/dlls/ole32/defaulthandler.c:1.39 --- wine/dlls/ole32/defaulthandler.c:1.38 28 Nov 2005 11: 5: 0 -0000 +++ wine/dlls/ole32/defaulthandler.c 28 Nov 2005 11: 5: 0 -0000 @@ -575,8 +575,17 @@ static HRESULT WINAPI DefaultHandler_DoV HWND hwndParent, LPCRECT lprcPosRect) { - FIXME(": Stub\n"); - return E_NOTIMPL; + DefaultHandler *This = impl_from_IOleObject(iface); + IRunnableObject *pRunnableObj = (IRunnableObject *)&This->lpvtblIRunnableObject; + HRESULT hr; + + TRACE("(%ld, %p, %p, %ld, %p, %s)\n", iVerb, lpmsg, pActiveSite, lindex, hwndParent, wine_dbgstr_rect(lprcPosRect)); + + hr = IRunnableObject_Run(pRunnableObj, NULL); + if (FAILED(hr)) return hr; + + return IOleObject_DoVerb(This->pOleDelegate, iVerb, lpmsg, pActiveSite, + lindex, hwndParent, lprcPosRect); } /************************************************************************
1
0
0
0
← Newer
1
...
7
8
9
10
11
12
13
...
58
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
Results per page:
10
25
50
100
200