Commit Graph

29734 Commits

Author SHA1 Message Date
Alexandre Julliard 16aadb2785 kernel32: Yet another workaround for broken apps in GlobalMemoryStatus. 2007-12-21 14:27:40 +01:00
Kirill K. Smirnov b7f617c916 kernel32: Invalidate local copy of console input event handle while reallocating console. 2007-12-21 14:27:10 +01:00
Lei Zhang 99a193ce7e quartz: Make filtergraph aggregatable. 2007-12-21 13:58:33 +01:00
Lei Zhang 5ddb13381e quartz: Move aggregation tests into separate file. 2007-12-21 13:58:27 +01:00
Alexander Dorofeyev eb3fb4bf28 wined3d: Use IWineD3DDeviceImpl_ClearSurface in IWineD3DDeviceImpl_Clear. 2007-12-21 13:58:19 +01:00
Alexander Dorofeyev f5aaabd1f2 wined3d: Rewrite IWineD3DSurfaceImpl_BltOverride colorfill codepath. 2007-12-21 13:58:13 +01:00
Andrey Turkin 343f2c1b30 ntdll: Implement BindIoCompletionCallback. 2007-12-21 13:52:34 +01:00
Zhangrong Huang 26bc15a811 secur32: Fix possible crash while loading SSP providers from registry. 2007-12-21 13:46:15 +01:00
Zhangrong Huang 0e4f8d1e2c gdi32, winex11.drv: Correct default Chinese font name. 2007-12-21 13:46:10 +01:00
Stefan Dösinger 998426e6b7 d3d9: Accept D3DDEVTYPE_REF devices in the vertex declaration test. 2007-12-21 13:44:21 +01:00
Stefan Dösinger 47a8a6bd44 wined3d: Implement and test vertex fixups with per stream offsets. 2007-12-21 13:44:16 +01:00
Stefan Dösinger e27cf6ff8f wined3d: Per stream offsets are 4 byte aligned. 2007-12-21 13:44:06 +01:00
Stefan Dösinger 8ff517eeb9 wined3d: Vertex attributes are 4 byte aligned. 2007-12-21 13:43:58 +01:00
Stefan Dösinger a0b81e1c44 wined3d: Add a test for POSITIONT vertex fixups. 2007-12-21 13:15:09 +01:00
Stefan Dösinger b475047cc0 wined3d: Improve some traces. 2007-12-21 13:14:58 +01:00
Stefan Dösinger d8209b5de3 d3d9: Extend the fixed function vertex declaration test. 2007-12-21 13:14:49 +01:00
Stefan Dösinger 6d575ec301 wined3d: Change the vertex buffer declaration's data format.
This hopefully makes the vertex attribute detection simpler, more solid, 
readable and flexible.
2007-12-21 13:14:36 +01:00
Stefan Dösinger b5f925cae0 wined3d: Implement half float vertex buffer conversion. 2007-12-21 13:13:56 +01:00
Michael Jung 6598589ebd ole32: Avoid leaving a critical section twice. 2007-12-21 13:13:10 +01:00
Alexandre Julliard a4269c8eed kernel32: Store the initial directory as a full path in the process parameters. 2007-12-21 12:42:28 +01:00
Rob Shearman e55854ddc5 kernel32: Add a test for calling VirtualAlloc on a view of a SEC_RESERVE file mapping. 2007-12-21 12:41:24 +01:00
Rob Shearman 366fd6e3af rpcrt4: Fix a memory leak from the get_filename call in the server tests. 2007-12-21 12:41:21 +01:00
Rob Shearman 17eb6f44ad rpcrt4: Print an error if stub buffer pointer is passed into safe_copy_from_buffer.
Also print an error message if there was an overflow.
2007-12-21 12:41:18 +01:00
Alex Villacís Lasso c06cfa85c2 comdlg32: Fix another regression in 3.1-style file dialog from LB_DIR fix. 2007-12-21 12:41:07 +01:00
Andrew Talbot b98bfac4cc mciseq: Remove unneeded casts. 2007-12-21 12:40:58 +01:00
Andrew Talbot 22f43db863 mciavi32: Remove unneeded casts. 2007-12-21 12:40:55 +01:00
Andrew Talbot 4a35f62deb kernel32: Revert the removal of a cast from a macro. 2007-12-21 12:40:50 +01:00
Andrew Talbot d05a511d0b mapi32: Remove unneeded casts. 2007-12-21 12:40:38 +01:00
Andrew Talbot ca6003b8f0 kernel32: Remove unneeded casts. 2007-12-21 12:40:32 +01:00
Huw Davies 3fa10f79f4 inetcomm: Implement IMimeBody_GetOffsets. 2007-12-21 12:40:24 +01:00
Alexandre Julliard 2835dc9fc9 ntdll: Increase the buffer size dynamically for relay debug lists. 2007-12-20 16:59:07 +01:00
Alexandre Julliard 7593fac632 advapi32: Start non-interactive services in a separate window station. 2007-12-20 16:44:36 +01:00
Alexandre Julliard eb2d8458a3 advapi32: Move the EnumDependentServicesA/W stubs in service.c where they belong.
Make the stubs return success.
2007-12-20 15:00:42 +01:00
Roy Shea 702e6d8d15 qmgr: AddRef, QueryInterface, and stub functions for queue manager interface. 2007-12-20 12:29:08 +01:00
Alexandre Julliard 3b244b95b2 server: Use SIGQUIT instead of SIGTERM to terminate a thread.
This allows keeping the default SIGTERM behavior of killing the whole
process.
2007-12-20 12:19:35 +01:00
Alexandre Julliard e2a366ce33 kernel32: Forward interrupts in 32-bit code to winedos too. 2007-12-20 12:18:19 +01:00
Dmitry Timoshkov 5a6e0ea46f riched20: Remove a redundant parameter from trace. 2007-12-20 12:17:26 +01:00
James Hawkins f4eea10bed msi: The BS_GROUPBOX style should only be used if the HasBorder attribute is set. 2007-12-20 12:17:21 +01:00
Rob Shearman 93df1675f1 ole32: Fix RPC_GetLocalClassObject to wait for 30 seconds, even if messages arrive while we are waiting. 2007-12-20 12:10:35 +01:00
Rob Shearman 9a888e6465 rpcrt4: Fix NdrConformantStringUnmarshall to always increment the buffer during unmarshalling.
safe_copy_from_buffer has the side-effect of incrementing the buffer and 
this still needs to be done when we point the memory into the buffer.

(Thanks to Maarten Lankhorst for finding the mistake and suggesting a fix.)
2007-12-20 12:10:30 +01:00
Stefan Dösinger aaa0e5090a wined3d: Add a test for 16 bit floats. 2007-12-20 12:10:16 +01:00
Stefan Dösinger b83dc6bbf6 wined3d: Move the GL info structure into the adapter. 2007-12-20 12:10:08 +01:00
Stefan Dösinger 6ac59b96ed wined3d: Fix vertex buffers based on type, not semantic. 2007-12-20 12:09:56 +01:00
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