Commit Graph

29565 Commits

Author SHA1 Message Date
Rob Shearman bdc5a34196 rpcrt4: Add a stub for I_RpcGetCurrentCallHandle. 2007-12-18 12:32:55 +01:00
Rob Shearman b9c92e9564 rpcrt4: Don't copy memory from the buffer in NdrConformantStringUnmarshall if we just pointed the memory pointer into the buffer.
(Reported by Dan Kegel.)
2007-12-18 12:32:55 +01:00
Maarten Lankhorst 8e639ec392 riched20: Fix bugs in EM_SETOPTIONS.
Add SELECTIONBAR to mask, and use settings rather then lParam. 2 subtle
bugs that prevent selectionbar from working.
2007-12-18 12:32:55 +01:00
Rob Shearman 486326ed48 include: Add more types and function declarations to the rpcasync.h header file.
Fix up a couple of conflicts with the Status field in the
RPC_EXTENDED_ERROR_INFO and the X Status define.
2007-12-18 12:32:55 +01:00
Francois Gouget 76d266cbb0 rpcrt4: Add an rpcasync.h header stub and fix the RpcErrorStartEnumeration() prototype. 2007-12-18 12:32:42 +01:00
Dmitry Timoshkov aec7e91d53 user32: Always clip the button painting to the client rectangle. 2007-12-17 13:01:56 +01:00
Alexander Dorofeyev f4337b4714 ddraw: Fix incorrect WARN text. 2007-12-17 12:38:43 +01:00
Lionel Debroux 87b33ccb58 winspool: Fix memory leak (found by Smatch). 2007-12-17 12:31:34 +01:00
Stefan Dösinger b9860a9b27 d3d9: Do not set NONE MIN and MAG filters. 2007-12-17 12:30:04 +01:00
Stefan Dösinger 297b88486e d3d9: D3DLOCK_DISCARD is not valid on managed textures. 2007-12-17 12:26:09 +01:00
Stefan Dösinger b060390c73 d3d9: The refrast returns an error on invalid clear rects. 2007-12-17 12:26:01 +01:00
Stefan Dösinger 5461d505d7 winex11: Activate the depth-bpp difference. 2007-12-17 12:25:50 +01:00
Stefan Dösinger ccab10bd46 winex11: Distinguish between bpp and depth. 2007-12-17 12:24:51 +01:00
Rob Shearman 126e5d2cb1 hlink: Fix some memory leaks in the tests. 2007-12-17 11:59:40 +01:00
Rob Shearman 737510eeb6 rpcrt4: Move association code into a separate file. 2007-12-17 11:59:18 +01:00
Rob Shearman 22f530c835 rpcrt4: Make a server association when a bind packet is received in the server.
Support handing out association group IDs.
2007-12-17 11:59:13 +01:00
Rob Shearman 2bda19c6b0 rpcrt4: Return an error from rpcrt4_conn_tcp_read if recv returns 0. 2007-12-17 11:58:57 +01:00
Rob Shearman 259879d1f5 rpcrt4: Fix NdrConformantStringUnmarshall to use buffer memory if possible. 2007-12-17 11:58:06 +01:00
Rob Shearman b300189c43 rpcrt4: Add a FIXME for RPC_FC_P_ALLOCALLNODES in PointerUnmarshall. 2007-12-17 11:58:00 +01:00
Rob Shearman 68432dd339 rpcrt4: Clear padding inserted into the buffer during marshalling because of alignment. 2007-12-17 11:57:54 +01:00
Alexandre Julliard 56d8f51688 oleaut32/tests: Avoid relying on system-dependent rounding. 2007-12-17 11:56:41 +01:00
Alexandre Julliard 61bace5ba9 Revert "user32: Moved some 16-bit functions."
This partially reverts commit 6e9fea22f8.
16-bit and 32-bit clipboard handles aren't interchangeable.
2007-12-17 11:56:05 +01:00
Andrey Turkin f1dcf4bf3a server: I/O completion ports can only be used with overlapped I/O. 2007-12-17 11:49:32 +01:00
Jacek Caban 7d093afc66 urlmon: Use flag to store protocol lock state. 2007-12-17 11:49:25 +01:00
Jacek Caban ef16e9f82b shdocvw: Ignore Exec(CGID_Explorer, 66) calls in tests. 2007-12-17 11:49:22 +01:00
Jacek Caban 559649c443 mshtml: Remove not used argument in nsAString_GetData. 2007-12-17 11:49:19 +01:00
Jacek Caban 72d0971034 mshtml: Remove not used argument of nsACString_GetData. 2007-12-17 11:49:12 +01:00
James Hawkins b1ce93f944 msi: Set the text color after calling the window proc. 2007-12-17 11:48:39 +01:00
James Hawkins b1cc87cb65 msi: The line control has a height of exactly 2 device units. 2007-12-17 11:48:35 +01:00
James Hawkins 4295ce4fb6 msi: Return ERROR_INVALID_PARAMETER if the product list is empty and index is not zero. 2007-12-17 11:48:30 +01:00
James Hawkins 88d51ad122 msi: Return ERROR_UNKNOWN_COMPONENT if no products exist. 2007-12-17 11:48:26 +01:00
James Hawkins 3edd258fcd msi: Also check the local system component key for the clients. 2007-12-17 11:48:21 +01:00
James Hawkins fced2fee2f msi: Check the user component key for the clients. 2007-12-17 11:48:13 +01:00
James Hawkins 5f7b95dadd msi: Validate the parameters of MsiEnumClients. 2007-12-17 11:48:03 +01:00
James Hawkins 64c75d1e02 msi: Add tests for MsiEnumClients. 2007-12-17 11:47:58 +01:00
James Hawkins 4777a3a33b msi: Simplify ExpandAnyPath. 2007-12-17 11:47:49 +01:00
James Hawkins ce6e84c071 msi: Verify that the PID_PAGECOUNT and PID_REVNUMBER summary info properties exist. 2007-12-17 11:35:33 +01:00
James Hawkins 620862e385 msi: If the package doesn't exist, return ERROR_FILE_NOT_FOUND. 2007-12-17 11:35:23 +01:00
James Hawkins f933dd8b4f msi: Validate the parameters of MsiOpenPackage. 2007-12-17 11:35:17 +01:00
James Hawkins 8fab39cc60 msi: Add more tests for MsiOpenPackage. 2007-12-17 11:35:11 +01:00
James Hawkins 1277e1b55a msi: Release the record when loading the hash data. 2007-12-17 11:35:05 +01:00
Maarten Lankhorst b81335501f riched20: Implement ECO/EM SELECTIONBAR. 2007-12-17 11:34:40 +01:00
Marcus Meissner 964a0303c1 msi: Fixed buffer overflow in number parsing. 2007-12-17 11:33:33 +01:00
Alexandre Julliard 10bcc6200b riched32/tests: Avoid using size_t in traces. 2007-12-14 14:31:40 +01:00
Alexandre Julliard f0c4fdbad9 riched20/tests: Avoid using size_t in traces. 2007-12-14 14:31:35 +01:00
Alexandre Julliard 976939745d gdi32/tests: Fix a compiler warning. 2007-12-14 14:31:06 +01:00
Sam Dennis 1590b1f731 advapi32: Fix undocumented behaviour in ReqQueryValueEx when 'count' and 'type' point to the same address. 2007-12-14 14:06:45 +01:00
Stefan Dösinger 5fa90ca910 user32: Add a test for EnumDisplaySettings vs GetDeviceCaps. 2007-12-14 14:06:45 +01:00
Stefan Dösinger 920506b230 user32: Add a test for WM_DISPLAYCHANGE. 2007-12-14 14:06:45 +01:00
Stefan Dösinger b3d1ea8596 gdi32: Test the "alpha" channel on compatible bitmaps. 2007-12-14 14:06:45 +01:00
Stefan Dösinger 7f97af2e2e winex11: Ignore the alpha if all pixels are 0. 2007-12-14 14:06:45 +01:00
Lei Zhang e8f69b5a42 quartz: Do aggregation test for more video renderer interfaces. 2007-12-14 12:33:01 +01:00
Lei Zhang bf20ca1dd4 quartz: Make aggregation test generic. 2007-12-14 12:32:54 +01:00
Rob Shearman c8a802eea8 include: Make RpcRaiseException DECLSPEC_NORETURN, like it is in the PSDK. 2007-12-14 12:28:03 +01:00
Aric Stewart 1f98ede4f0 cryptnet: InternetCrackUrlW requires component buffers when used with ICU_DECODE. 2007-12-14 12:27:38 +01:00
Rob Shearman ba280fb1b0 rpcrt4: Fix a typo in rpcrt4_conn_tcp_read. 2007-12-14 12:27:09 +01:00
Maarten Lankhorst 4637a4ef49 riched20: Make some functions static. 2007-12-14 12:26:48 +01:00
Maarten Lankhorst 483e3be2e6 winealsa: Add 'Front Mic' as alias for microphone. 2007-12-14 12:26:41 +01:00
Alistair Leslie-Hughes 497c2949c7 msxml3: Fix memory leak in tests. 2007-12-14 12:26:33 +01:00
James Hawkins fa8476e7f6 msi: Close the file handle returned by FindFirstFile. 2007-12-14 12:26:21 +01:00
Michael Stefaniuc 8c6fdf19a9 kernel32: Do not reuse the name of a function argument for a local variable. 2007-12-14 12:26:07 +01:00
Michael Stefaniuc aff83e69db wineoss.drv: Move a function wide variable down to the block it is used in. 2007-12-14 12:26:04 +01:00
Michael Stefaniuc 8423809f9f rsaenh/tests: Remove an unused global variable. 2007-12-14 12:25:59 +01:00
Michael Stefaniuc ee54d92c40 rsaenh/tests: Remove duplicate abPlainPrivateKey variable. 2007-12-14 12:25:55 +01:00
Lei Zhang f5cd582bae quartz: Fix typo in GraphConfig_AddRef. 2007-12-14 12:25:26 +01:00
Lei Zhang 63df94ba0b quartz: Give video renderer's Inner_QueryInterface a less generic name. 2007-12-14 12:25:20 +01:00
Lei Zhang d5e78c84c7 ole32: Print a fixme when an aggregation attempt fails. 2007-12-14 12:25:14 +01:00
Andrew Talbot a9b05bea3f kernel32: Remove unneeded casts. 2007-12-14 12:25:06 +01:00
Jacek Caban 167aa9b9f9 shdocvw: Register IE settings by iexplore.exe.
These registries are present in a fresh Windows installation, but they
cause problems with native IE, so let's handle them as we do with IE
version key.
2007-12-14 12:24:58 +01:00
Jacek Caban 7a2a6f4e0d urlmon: Includes clean up. 2007-12-14 12:24:51 +01:00
Jacek Caban 353bcf923f urlmon: Fixed handling MIME type in Binding object. 2007-12-14 12:24:43 +01:00
Rob Shearman 25bf0a409a rpcrt4: Update TODO list.
Out-of-memory check is performed by NdrAllocate and so isn't required to 
be done in the unmarshalling functions.
2007-12-14 12:24:34 +01:00
Rob Shearman 4a028589eb rpcrt4: Document NdrAllocate. 2007-12-14 12:24:24 +01:00
Rob Shearman c7261b732b rpcrt4: Partially revert commit 18faf3184b2ea263d77c2a7ad92eef27bc4ba08f.
Tests show that NdrPointerFree (and hence NdrFree) don't check whether 
the memory was allocated with NdrAllocate before freeing it. This makes 
sense as servers don't need to use NdrAllocate to allocate memory being 
returned and so this commit caused that memory to be leaked.

NdrAllocate hasn't been changed as the tests show it is correct and it 
appears that the memory list is used to implement the RpcSs memory model.
2007-12-14 12:24:21 +01:00
Rob Shearman ce220e2b5f rpcrt4: Free the base pointer in PointerFree when freeing a pointer with RPC_FC_P_DEREF. 2007-12-14 12:24:03 +01:00
Rob Shearman d5ff3467bc rpcrt4: Fix the check in NdrPointerFree.
Add comments to justify why this is the only check that is needed.
2007-12-14 12:23:55 +01:00
Rob Shearman 9d8ebc1a24 rpcrt4: NdrStubGetBuffer shouldn't set BufferStart and BufferEnd.
These are supposed to point to the original buffer when the types were 
unmarshalled.
2007-12-14 12:23:46 +01:00
Rob Shearman ded4b86625 Revert "rpcrt4: Try to free every non-stack pointer in PointerFree now that NdrFree does the sanity checking for us.".
This reverts commit 6db648302ce43f625a073426a35a6f40b7869d8b.

Tests show the assumptions in a commit that this commit depends on are 
not valid.
2007-12-14 12:23:38 +01:00
Lei Zhang 932cc2d7f9 quartz: Make video renderer aggregatable. 2007-12-13 14:36:15 +01:00
Lei Zhang f5075f7356 quartz: Set *ppvObject to NULL if QueryInterface fails. 2007-12-13 14:34:07 +01:00
Lei Zhang 29cc256b9a quartz: Add referenceclock QueryInterface test. 2007-12-13 14:33:59 +01:00
Lei Zhang 766046d4ab quartz: Add videorenderer aggregation test. 2007-12-13 14:33:50 +01:00
Lei Zhang 4f6f1bcb6e quartz: Add videorenderer QueryInterface test. 2007-12-13 14:33:40 +01:00
Alexandre Julliard e533e50d59 user32: Print the RegisterHotKey fixme only once. 2007-12-13 14:33:35 +01:00
Alexandre Julliard 7293f00d9d hhctrl.ocx: Store a copy of the string pointers to enable freeing them without casting away const. 2007-12-13 14:30:40 +01:00
Rob Shearman 9642714d06 rpcrt4: Add tests for freeing non-NdrAllocate allocated memory blocks. 2007-12-13 14:30:40 +01:00
Aric Stewart 3c9e7aba75 gdi32: Cache font enum info.
Cache the enum info so that repeated calls to EnumFontFamiles and such
does not have to repeatedly load the font file.
2007-12-13 14:30:40 +01:00
Lionel Debroux fe444f0217 msi: Fix memory leaks (found by Smatch). 2007-12-13 14:30:40 +01:00
Lionel Debroux 1bed47a3b3 msi: Fix missing alloc check. 2007-12-13 14:30:40 +01:00
Maarten Lankhorst affd447db0 winealsa: Don't require a cswitch control for capture. 2007-12-13 14:30:40 +01:00
Maarten Lankhorst f75600dd1d winealsa: Add control 'Digital' as alias for microphone. 2007-12-13 14:30:40 +01:00
Maarten Lankhorst 6e87f3741b winealsa: Remove fixed fixme. 2007-12-13 14:30:40 +01:00
Stefan Dösinger f2547427c0 gdi32: Test the bit depth of compatible bitmaps explicitly. 2007-12-13 13:09:55 +01:00
Stefan Dösinger 211f429579 winex11: Remove an unused variable. 2007-12-13 13:09:46 +01:00
Hans Leidekker 25e836e83c usp10: Do glyph translation for truetype fonts only. 2007-12-13 13:09:14 +01:00
Rob Shearman e12b487e26 rpcrt4: Try to free every non-stack pointer in PointerFree now that NdrFree does the sanity checking for us. 2007-12-12 16:02:53 +01:00
Rob Shearman 9c8c74f388 rpcrt4: Store allocated memory in a singly-linked list to keep track of what we should and shouldn't free in NdrFree. 2007-12-12 16:02:43 +01:00
Rob Shearman 33c4c25dad rpcrt4: Make the NdrAllocate tests pass on XP SP2 and greater. 2007-12-12 16:01:33 +01:00
Aric Stewart f3e59a3d70 netapi32: Improve stub for NetLocalGroupGetMembers a bit to return current user. 2007-12-12 16:01:23 +01:00
Aric Stewart 1e3d65dbb8 imagehlp: Improve last error handling in ImageGetCertificateData. 2007-12-12 16:00:08 +01:00