Commit Graph

29691 Commits

Author SHA1 Message Date
Stefan Dösinger 2d90449500 wined3d: Fixed function vertex attribute types are flexible. 2007-12-20 10:49:42 +01:00
Stefan Dösinger a3c2fb9e64 wined3d: Store if half float conversion is needed in the decl. 2007-12-20 10:48:16 +01:00
Stefan Dösinger 30c1abb1eb wined3d: Always dump the fbo state on errors. 2007-12-20 10:48:08 +01:00
Dmitry Timoshkov 78718a41c7 user32: Add a test for an invalid DEVMODE passed to ChangeDisplaySettings, make it pass under Wine. 2007-12-20 10:47:49 +01:00
Dmitry Timoshkov c3fe9ec2f7 gdi32: Add a test for minimal acceptable DEVMODEA size, make it pass under Wine. 2007-12-20 10:47:40 +01:00
James Hawkins 18407eafdc msi: Initialize a default COM apartment for custom actions. 2007-12-20 10:47:35 +01:00
James Hawkins 1d42de71ea msi: Allow NULL parameters to be passed to the local MsiSetProperty. 2007-12-20 10:47:32 +01:00
Andrew Riedi ef00028407 gdiplus: Add GdipCreateHBITMAPFromBitmap() stub. 2007-12-20 10:47:11 +01:00
Rico Schüller b7dfe3afb6 wined3d: Fix some typos. 2007-12-20 10:47:06 +01:00
Andrew Talbot 7bce56881f kernel32: Remove unneeded casts. 2007-12-20 10:47:00 +01:00
Alex Villacís Lasso 4612b15fff user32: Fix regression in DlgDirList caused by modified LB_DIR return behavior, with tests. 2007-12-19 19:36:09 +01:00
Rob Shearman 6382c8af3f rpcrt4: Don't use BufferEnd in RpcStream_Write.
It is usually used during marshalling, where pStubMsg->BufferStart and 
pStubMsg->BufferEnd won't be valid. Replace it with a check using 
RpcMsg->Buffer and pStubMsg->BufferLength.
2007-12-19 19:35:42 +01:00
Rob Shearman c49a73b853 rpcrt4: Initialise memory passed into RPCs in the server test.
aligns contains padding, but the memory is marshalled in one block so 
call memset to avoid Valgrind warnings. padded and padded2 are 
marshalled as complex types so this is not required here.

Initialise the dummy member of test_list_t to zero for the TL_NULL case. 
Change the type to the smallest available to not waste buffer space.
2007-12-19 19:35:28 +01:00
Rob Shearman 22b20879f7 rpcrt4: Memory should only be cleared in ComplexUnmarshall, not in ComplexMarshall.
Also clear memory when FC_STRUCTPAD* is encountered.
2007-12-19 19:35:02 +01:00
Rob Shearman 50cab7736a rpcrt4: Fix the ALIGN_POINTER_CLEAR macro. 2007-12-19 19:34:56 +01:00
Alexandre Julliard c673b2284d advapi32: Return from StartServiceCtrlDispatcher when all services are stopped. 2007-12-19 18:28:20 +01:00
Alexandre Julliard a12b9c52da advapi32: Replace the list of services with an array. 2007-12-19 17:02:12 +01:00
Alexandre Julliard 1f11ad8288 advapi32: Use exponential backoff when waiting for a service to start. 2007-12-19 15:07:20 +01:00
Alexandre Julliard 4889a0edf7 advapi32: Fix RegisterServiceCtrlHandler spec entry. 2007-12-19 15:06:19 +01:00
Alexandre Julliard 865bb0a67a advapi32: Reimplement RegisterServiceCtrlHandler on top of RegisterServiceCtrlHandlerEx. 2007-12-19 15:05:04 +01:00
Roy Shea 6ceb8e1f31 qmgr: Generate C file with local GUID definitions from bits.idl. 2007-12-19 13:17:47 +01:00
Dmitry Timoshkov 0e799c6d7b user32: Set the edit text in a combobox only if combobox has strings. 2007-12-19 12:20:03 +01:00
Dmitry Timoshkov 9e3ab87a9c user32: Make sure to setup clipping before any painting is done. 2007-12-19 12:19:58 +01:00
Dmitry Timoshkov c316c1a29f gdi32: In the calculations use a fixed dmSize, not a passed in (possibly too large) one. 2007-12-19 12:19:53 +01:00
Dmitry Timoshkov 49f1600b3f gdi32: When compiling with PSDK headers request latest DEVMODE definition. 2007-12-19 12:19:49 +01:00
Stefan Dösinger b95f30134b wined3d: Implement texture -> swapchain blits with stretch_rect_fbo. 2007-12-19 12:19:43 +01:00
Stefan Dösinger 37e872e901 wined3d: Some improvements for SFLAG_CONVERTED checking.
We can check this flag before setting up the gl lock, and add the
surface format to the FIXME.
2007-12-19 12:19:39 +01:00
Stefan Dösinger 7a1d35e513 wined3d: Emulate half float vertices if GL_NV_half_float is not there. 2007-12-19 12:19:27 +01:00
Stefan Dösinger 7e9af243d1 wined3d: Implement blits from the active render target to swapchains. 2007-12-19 12:19:12 +01:00
Michael Stefaniuc 6b21feaec3 gdi32: There is no need to cast NULL to a function pointer. 2007-12-19 12:19:03 +01:00
Michael Stefaniuc 8537c46c93 secur32/tests: InitFunctionPtrs() needs to use the global crypt32dll variable. 2007-12-19 12:19:00 +01:00
James Hawkins b774ffe1d2 msi: Free the ordering information. 2007-12-19 12:18:54 +01:00
Andrew Talbot 650b273361 kernel32: Remove unneeded casts. 2007-12-19 12:18:48 +01:00
Kirill K. Smirnov c9700896fe kernel32: ReadConsoleW should wait for at least one character before returning. 2007-12-18 19:48:36 +01:00
Huw Davies 979a43e49d inetcomm: Unquote parameter values. 2007-12-18 19:48:25 +01:00
Huw Davies e446351d4c inetcomm: Implement IMimeBody_GetParameters. 2007-12-18 19:48:22 +01:00
Rob Shearman 1cb7df8a98 rpcrt4: Implement I_RpcGetCurrentCallHandle. 2007-12-18 19:48:19 +01:00
Rob Shearman 1421c1a447 mscoree: Add a stub for GetVersionFromProcess. 2007-12-18 19:48:16 +01:00
Rico Schüller d8570f7aae kernel32: Fix typo. 2007-12-18 19:48:13 +01:00
Rico Schüller 98093a6edd comdlg32: Fix typo. 2007-12-18 19:48:02 +01:00
Alexandre Julliard e94e942618 user32: Set the WSF_VISIBLE flag on the main window station. 2007-12-18 19:47:31 +01:00
Alexandre Julliard 6f5131e47f ntoskrnl.exe: Allow returning data in ioctls along with a positive non-zero status. 2007-12-18 19:46:39 +01:00
Alexandre Julliard 7ac931acf2 ntoskrnl.exe: Added implementation for IoCreateDriver and IoDeleteDriver. 2007-12-18 19:46:06 +01:00
Andrey Turkin 3afbee5218 server: Store I/O completion information in async structure.
This is to allow completions to be sent on handle close. Also this can
be helpful for AcceptEx/TransmitFile implementation.
2007-12-18 14:25:43 +01:00
Kirill K. Smirnov 01380b0554 ws2_32: Fix flags conversion in getnameinfo() function. 2007-12-18 14:23:23 +01:00
Francois Gouget f1c27eda6b Assorted spelling fixes. 2007-12-18 14:16:11 +01:00
David Adam 796b2dd0a5 d3dx8: Implement D3DXCreateMatrixStack. 2007-12-18 14:16:00 +01:00
David Adam 3175d58ffe d3dx8: Add basic functions and stubs for MatrixStack. 2007-12-18 14:15:14 +01:00
David Adam 303b1a110d d3dx8: Rename d3dx_core_private.h to d3dx8_private.h. 2007-12-18 14:11:23 +01:00
David Adam 9558fd0f32 d3dx8: Add definition for MatrixStack. 2007-12-18 14:10:17 +01:00
Stefan Dösinger 83c0b13c5b wined3d: Split up the render target -> render target blit. 2007-12-18 14:08:28 +01:00
Stefan Dösinger df77e28854 wined3d: Implement D3DFMT_G16R16. 2007-12-18 14:08:18 +01:00
Stefan Dösinger 70868dfa61 kernel32: Add a test for BindIoCompletionCallback. 2007-12-18 14:07:48 +01:00
Stefan Dösinger 88f746ab0e wined3d: Filter out some shader compilation spam. 2007-12-18 14:07:12 +01:00
Dmitry Timoshkov beb2dfec2c gdi32: Add a GdiConvertToDevmodeW test, make it pass under Wine. 2007-12-18 13:30:42 +01:00
Huw Davies 2f83e46015 inetcomm: Fix spelling typo. 2007-12-18 13:30:17 +01:00
Huw Davies 5df59e29c9 inetcomm: Add IMimeAllocator implementation. 2007-12-18 13:30:14 +01:00
Stefan Dösinger 2eab3d5c11 wined3d: Ignore tesselated and unused streams when comparing attribs. 2007-12-18 13:23:16 +01:00
Stefan Dösinger 8e036d6487 wined3d: Correct a pixel shader version comparison. 2007-12-18 13:23:09 +01:00
Stefan Dösinger cd858dfa22 wined3d: Disable the SWAPEFFECT_DISCARD clear. 2007-12-18 13:23:00 +01:00
Stefan Dösinger de6aba11d4 d3d9: Add a note about a breakage in the refrast. 2007-12-18 13:22:27 +01:00
Stefan Dösinger 110facbac4 d3d9: Remove a few more incorrect D3DLOCK_DISCARDs. 2007-12-18 13:22:22 +01:00
Peter Beutner b4a0d47809 d3d9: Add stub for Direct3DShaderValidatorCreate9(). 2007-12-18 12:32:56 +01:00
Francois Gouget 96d6a25fa1 dinput: Make _dump_cooperativelevel_DI() and _dump_EnumDevices_dwFlags() more self-contained. 2007-12-18 12:32:56 +01:00
Francois Gouget 745bd4f233 oleaut32/tests: Avoid SHDeleteKeyW() because shlwapi.dll is missing on Windows 95. 2007-12-18 12:32:56 +01:00
Francois Gouget ca3606f393 shell32/tests: Use GetProcAddress() on SHFileOperationW() because it is missing on Windows 95. 2007-12-18 12:32:56 +01:00
Francois Gouget 46735ae431 shell32/tests: Use GetProcAddress() on Shell_NotifyIconW() because it is missing on Windows 95. 2007-12-18 12:32:56 +01:00
Francois Gouget d22568d094 shell32/tests: Use GetProcAddress() on SHGetPathFromIDListW() because it is missing on Windows 95. 2007-12-18 12:32:56 +01:00
Francois Gouget 3874c55cc4 shell32/tests: Copy the PathRemoveBackslashA() and PathAddBackslashW() implementations because shlwapi.dll is missing on Windows 95. 2007-12-18 12:32:55 +01:00
Francois Gouget 000fd0edc5 shell32/tests: Avoid SHDeleteKeyA() because shlwapi.dll is missing on Windows 95. 2007-12-18 12:32:55 +01:00
Francois Gouget 31bcb3f6f4 secur32/tests: Dynamically load various APIs and don't link with crypt32.dll to make the test run on Windows 95. 2007-12-18 12:32:55 +01:00
Francois Gouget a39ea2e8ba msi: Add a trailing '\n' to Wine traces. 2007-12-18 12:32:55 +01:00
Francois Gouget 69f83a6f9f user32/tests: Use GetProcAddress() on ChangeDisplaySettingsExA() because it is missing on Windows 95. 2007-12-18 12:32:55 +01:00
James Hawkins 91c205e8c0 msi: Sort each table of the join separately. 2007-12-18 12:32:55 +01:00
James Hawkins f93ee6f420 msi: Test sorting a table using a column that is not selected. 2007-12-18 12:32:55 +01:00
Michael Stefaniuc 6210c097a4 rpcrt4: Add missing LeaveCriticalSection. Found by Smatch. 2007-12-18 12:32:55 +01:00
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