Commit Graph

27279 Commits

Author SHA1 Message Date
Robert Shearman b96d630022 rpcrt4: Implement NdrSimpleStructMemorySize. 2006-05-15 16:08:45 +02:00
Robert Shearman 2aff761dfd rpcrt4: Fix the conformant struct functions to not call conformant array functions.
The conformance has to be the first thing in the buffer, in accordance 
with the DCE/RPC spec and to be compatible with the pointer layout 
format strings that MIDL generates.
2006-05-15 16:08:36 +02:00
Robert Shearman 4af0a6b805 rpcrt4: In NdrConformantBufferSize, SizeConformance should be called, not SizeVariance. 2006-05-15 16:08:28 +02:00
Robert Shearman 2479aec4af rpcrt4: Save pStubMsg->ActualCount in a local variable in the complex
array functions, before calling a function that could change it and
cause the wrong number of loop iterations.
2006-05-15 16:08:19 +02:00
Robert Shearman 345c92643e rpcrt4: Dereference the memory for pointers in NdrNonEncapsulatedUnionUnmarshall.
Pointers in a non-encapsulated union behave like embedded pointers, so 
don't rely on the NdrPointer* functions doing the right thing in this 
case and call the Pointer* functions directly.
2006-05-15 16:08:04 +02:00
Robert Shearman f0aea2d5ee rpcrt4: Rename ComplexStructSize to ComplexStructMemorySize to reflect the fact that it increments the buffer.
Replace the code in EmbeddedComplexSize that sizes non-encapsulated 
unions without using a memory sizer routine, since this function 
shouldn't touch the buffer.

Add a new function EmbeddedComplexMemorySize and use it in some memory 
sizer routines where EmbeddedComplexSize was previously used.
2006-05-15 16:07:54 +02:00
Robert Shearman 788ce20dea rpcrt4: Fix embedded pointers in arrays by taking into account the iteration when calculating the appropriate memory and buffer pointers. 2006-05-15 16:07:42 +02:00
Ivan Gyurdiev 8b7401c39a wined3d: Shaders: share dump_param function, version functions. 2006-05-15 16:07:31 +02:00
Ivan Gyurdiev 7757d7bc5c wined3d: Fix incorrect sizeof. 2006-05-15 16:04:07 +02:00
qingdoa daoo 4d7655a84e gdi: Duplicate extent value for the second byte of a DBCS char. 2006-05-15 16:03:56 +02:00
Alexandre Julliard 7ed7e8fd4d configure: Make libraries properly relocatable on MacOS.
Also set the compatibility version.
2006-05-15 15:14:45 +02:00
Francois Gouget 17689c07bb Fix some winapi_check documentation warnings. 2006-05-15 15:05:15 +02:00
Francois Gouget f7c24f37ad Various trace fixes.
Add trailing '\n's to trace calls.
Remove spaces before '\n'.
2006-05-15 15:05:09 +02:00
Francois Gouget e739ba9551 Assorted spelling fixes. 2006-05-15 15:05:05 +02:00
Mikołaj Zalewski 8266fdd8cb comctl32: header: Check for HDN_GETDISPINFO not being sent during INSERT/SETITEM. 2006-05-15 15:00:40 +02:00
Mikołaj Zalewski 700dd456e9 comctl32: listview: Store the iSubItem in header's lParam in LVM_INSERTCOLUMN. 2006-05-15 14:46:30 +02:00
Mikołaj Zalewski 74c3b366d3 comctl32: header: Correct HDN_GETDISPINFO. Use it during drawing.
Improve HEADER_SendHeaderDispInfoNotify and rename it to
HEADER_PrepareCallbackItems. The new HEADER_FreeCallbackItems frees
the buffers allocated by it. GetItemT and DrawItem calls these
functions.
2006-05-15 14:46:11 +02:00
Mikołaj Zalewski 96190f77b9 comctl32: header: Mark the callback items in a mask.
Mark the callback items in the callbackMask HEADER_ITEM field. The
pszText for callback texts is now NULL what simplifies some
checks. Checks for lpItem->pszText==emptyString are also not needed as
emptyString is not stored in lpItem but used as a parameter to
Str_SetPtr (I haven't noticed it).
2006-05-15 14:45:24 +02:00
Mikołaj Zalewski 25d66de358 comctl32 header: Free the old string also when the new one is LPSTR_TEXTCALLBACK. 2006-05-15 14:44:22 +02:00
Mikołaj Zalewski 16fefcd6d9 comctl32: header: Don't modify the user supplied HDITEM during Set/InsertItem. 2006-05-15 14:43:48 +02:00
Mikołaj Zalewski e3467de964 comctl32: header: Move common code from SetItemT/InsertItemT into a new function. 2006-05-15 14:41:01 +02:00
Mikołaj Zalewski 15e71a0a86 comctl32: header: Don't send HDN_GETDISPINFO during HDM_SET/INSERTITEM. 2006-05-15 14:40:27 +02:00
Mikołaj Zalewski 9865869902 comctl32: header: Don't check lpItem for NULL in GetItemT. 2006-05-15 14:40:08 +02:00
Jacek Caban e718939ebd shdocvw: Wrap Heap* finctions by inline functions. 2006-05-15 14:26:04 +02:00
Huw Davies 3dce323d69 oleaut32: Update the marshal state buffer size when resizing (Doh!). 2006-05-15 14:25:59 +02:00
Vitaliy Margolen 99cfc8bdf8 msvcrt: Fix times tests to pass on windows.
Add more tests for daylight-time savings.
2006-05-15 14:25:52 +02:00
Robert Shearman 3396a66ee7 server: Retrieve the groups for a token from the server. 2006-05-15 14:25:43 +02:00
Robert Shearman 07d032b24b rpcrt4: The arm type mask should be comparing the highest byte against 0x80, as documented on MSDN.
Fix base type arm handling on little-endian machines, as the current
code would always pass in the address to the format char of 0x80
instead of the base type format char.
2006-05-15 14:07:59 +02:00
Robert Shearman 5cdfeeeed3 rpcrt4: Make ComplexStructSize increment the buffer. 2006-05-15 14:07:36 +02:00
Robert Shearman 3e988bfc4f rpcrt4: Pass in the buffer value before incrementing to PointerMarshall in NdrPointerMarshall. 2006-05-15 14:07:25 +02:00
Robert Shearman 22bf15049c rpcrt4: Implement NdrComplexStructMemorySize. 2006-05-15 14:07:13 +02:00
Robert Shearman cedbddbfde rpcrt4: Implement NdrComplexArrayMemorySize. 2006-05-15 14:06:55 +02:00
Robert Shearman 7ea0b860c5 rpcrt4: Fix the fault packet structure to comply with the DCE/RPC specification. 2006-05-15 14:06:52 +02:00
Robert Shearman 628c5e9baf rpcrt4: The NDR memory sizing functions should increment the buffer pointer, so make sure to save it before calling one of these and restore it afterwards. 2006-05-15 14:06:41 +02:00
Robert Shearman dcd0a39d4c rpcrt4: Make NdrBaseTypeMemorySize increment the buffer and memory size fields of MIDL_STUB_MESSAGE. 2006-05-15 14:06:31 +02:00
Robert Shearman 4d65110b90 rpcrt4: Make NdrConformantStringUnmarshall use the new Read{Variance,Conformance}
functions and adapt them to be callable without having a correlation
descriptor.
2006-05-15 14:06:05 +02:00
Robert Shearman a33a63712f advapi32: Add tests for getting the groups, user and privileges of a token. 2006-05-15 14:05:49 +02:00
Mike McCormack dcfb0f44d1 advapi32: Implement and test SystemFunction004. 2006-05-15 14:05:22 +02:00
Mike McCormack 09fc7e046a advapi32: Implement and test SystemFunction003. 2006-05-15 14:03:56 +02:00
Mike McCormack 50ed147db0 advapi32: Implement and test SystemFunction002 (DES decrypt). 2006-05-15 14:03:33 +02:00
Stefan Dösinger eaec7793d5 wined3d: Avoid a NULL dereference in RealizePalette. 2006-05-15 14:03:06 +02:00
Stefan Dösinger 34b1482fdc wined3d: Render state additions and fixes. 2006-05-15 14:02:57 +02:00
Stefan Dösinger 8af7dd5dea wined3d: Nonpow2 repacking support for GetDC. 2006-05-15 14:02:37 +02:00
Stefan Dösinger daa6a3d714 wined3d: Support for single buffering. 2006-05-15 14:02:18 +02:00
Stefan Dösinger 2f724834f8 wined3d: Implement IWineGDISurface. 2006-05-15 14:02:03 +02:00
Stefan Dösinger 9abdac6aaa wined3d: Implement IWineD3DDevice::ProcessVertices. 2006-05-15 13:57:17 +02:00
Mike McCormack a9886585de rpcrt4: Add missing PKT_AUTH3 packet type. 2006-05-15 13:56:58 +02:00
Mike McCormack 7b5e5b65b0 rpcrt4: Add infrastructure for send authentication data. 2006-05-15 13:56:54 +02:00
Mike McCormack 1912fceab6 rpcrt4: Forward RpcBindingSetAuthInfo to RpcBindingSetAuthInfoEx. 2006-05-15 13:56:50 +02:00
Hans Leidekker 6e3223eb38 dnsapi: Add tests for DnsValidateName_A. 2006-05-15 13:56:44 +02:00