Commit Graph

42288 Commits

Author SHA1 Message Date
Ken Thomases 1f8d743c76 winecoreaudio: Avoid potential deadlock in wodOpen. 2009-04-13 17:32:50 -05:00
Ken Thomases ff0ff663c3 winecoreaudio: Eliminate some unnecessary code.
The WAVE_DIRECTSOUND bit of dwFlags isn't examined, so no point in correcting
it.
2009-04-13 17:32:35 -05:00
Tobias Jakobi 0c2514bd8f wined3d: Rename some NP2 fixup variables and update comments. 2009-04-13 17:32:11 -05:00
Tobias Jakobi 9657e81429 wined3d: Add newline to fixme. 2009-04-13 17:32:03 -05:00
Alexandre Julliard 287d22eba3 user32/tests: Fix a couple of test failures on Windows. 2009-04-10 20:45:08 +02:00
Paul Vriens a12cc39ca3 usp10/tests: Fix some test failures on Vista and W2K8 (ScriptPlace). 2009-04-10 14:49:39 +02:00
Paul Vriens 277a84a989 usp10/tests: Fix some test failures on Vista and W2K8 (ScriptShape). 2009-04-10 14:49:31 +02:00
Nikolay Sivov b2917cf598 comctl32/updown: Allow ranges with max < min for Up/Down control. 2009-04-10 14:49:23 +02:00
Nicolas Le Cam 112bb084f1 msi/tests: Fix test when content indexing is disabled. 2009-04-10 14:43:57 +02:00
Tobias Jakobi 6e970c5d95 wined3d: glsl: Enable load_np2fixup_constants. 2009-04-10 14:00:58 +02:00
Tobias Jakobi 9b067a6ca5 wined3d: Add load_np2fixup_constants function to shader backend. 2009-04-10 14:00:50 +02:00
Alexandre Julliard 7f9750550a ntdll: Set the exception address to the program counter in RtlRaiseException. 2009-04-10 13:17:12 +02:00
Alexandre Julliard f4eee1c731 ntdll: Move the RtlRaiseException implementation into the respective platform-specific files. 2009-04-10 13:14:05 +02:00
Alexandre Julliard 48199d7074 ntdll: Add a raise_status function and avoid exporting __regs_RtlRaiseException. 2009-04-10 13:09:06 +02:00
Alexandre Julliard c709adcf16 ntdll: Update the context on send_debug_event for any successful status. 2009-04-10 12:37:22 +02:00
Patrick Gauthier 9096368b6a user32: Handle magic font size 0x7fff in dialog templates correctly. 2009-04-10 11:33:46 +02:00
Piotr Caban 2dc78e555b jscript: Added html comments tests. 2009-04-10 11:33:37 +02:00
Piotr Caban 84ef7eced2 jscript: Added html comments handling. 2009-04-10 11:33:35 +02:00
Stefan Dösinger 754b5cf2ad wined3d: Deal with reserved shader constants in the backend.
This moves the GLSL and ARB specific reserved constants out of directx.c into
the get_caps methods of the shader backends. That way the number of reserved
constants remains in the backend.

GL_LIMITS({v/p}shader_constantsF) now contains the real number of constants as
advertised by GL instead of some mixture of GL info and backend implementation
specifics. This makes it easier for backends to decide how many constants to
use.
2009-04-10 11:22:55 +02:00
Paul Vriens 0af0bafd6a usp10: Remove an unneeded check. 2009-04-10 11:21:39 +02:00
Stefan Dösinger 99d88c15ea wined3d: Fix the drawRectPatch vertex count.
DrawPrimitive now accepts the number of vertices, not the number of
primitives. This code was forgotten in the patch that changed this.
We're drawing triangles, so we are drawing num_primitives * 3 vertices.
2009-04-10 11:14:45 +02:00
Stefan Dösinger 014c4bfc70 wined3d: Save some memory in vertex buffers.
In most cases we're fine with the vbo and glMapBuffer and never use the actual
heap memory copy. Try to stick to just the vbo copy and avoid allocating the
extra heap memory. In case it is needed(emulation or vertex conversion), fall
back to the old double buffering mode.
2009-04-10 11:14:32 +02:00
Nicolas Le Cam 7b2a44f257 msi/tests: Fix format test when run on root drive directory. 2009-04-10 11:14:21 +02:00
Nikolay Sivov 13dfb9b3a6 comctl32/listview: State mask should be ignored on LVM_INSERTITEM. 2009-04-10 10:23:44 +02:00
Henri Verbeet 3a5bbe6a0c wined3d: Split vshader_program_add_param() in shader_arb_add_src_param() and shader_arb_add_dst_param(). 2009-04-10 10:23:38 +02:00
Henri Verbeet e6031afdfa wined3d: Merge pshader_get_register_name() and part of vshader_program_add_param(). 2009-04-10 10:23:33 +02:00
Henri Verbeet 9a28d273bc wined3d: Explicitly pass the register type and index to pshader_get_register_name(). 2009-04-10 10:23:24 +02:00
Henri Verbeet 62d9dc2177 wined3d: Store the relative addressing mode in struct wined3d_shader_dst_param. 2009-04-10 10:23:20 +02:00
Henri Verbeet 22e57d025c wined3d: Store the destination shift in struct wined3d_shader_dst_param. 2009-04-10 10:23:15 +02:00
Andreas.Rosenberg f212579ae9 advapi32/tests: Added a test to verify result of LookupAccountSid. 2009-04-09 17:38:33 +02:00
Christian Costa 5ab983e979 mciqtz32: Implement MCI_STATUS. 2009-04-09 17:38:32 +02:00
Stefan Dösinger cb1c9dcda9 d3d: Remove the format from index buffers. 2009-04-09 16:28:25 +02:00
Stefan Dösinger f0efa97413 wined3d: Remove the buffer fvf. 2009-04-09 16:28:10 +02:00
Stefan Dösinger 77e6dcca02 d3d9: Store the FVF in the d3d9 vertex buffer. 2009-04-09 16:27:52 +02:00
Stefan Dösinger ff16f30677 d3d8: Store the fvf in the d3d8 vertex buffer. 2009-04-09 16:27:43 +02:00
Stefan Dösinger fd9b574e4e ddraw: Store the fvf in the ddraw buffer.
WineD3D buffer FVFs will go away soon.
2009-04-09 16:27:35 +02:00
Paul Vriens 825354afe6 secur32/tests: Document some crashes on Windows. 2009-04-09 16:12:59 +02:00
Alexandre Julliard 2a2fe959af ntdll: Remove pthread_data from the ntdll_thread_data structure. Document the offsets for 64-bit. 2009-04-09 14:41:12 +02:00
Nicolas Le Cam fa010ad211 shell32/tests: Fix ITEMIDLIST format test on Win2k and below.
On Win2k SHITEMID only contains FileStructA.
This structure isn't padded like it is on WinXP and contains a
supplementary CHAR* member at its end which contains the 8.3 filename if
needed.
2009-04-09 11:28:45 +02:00
Nicolas Le Cam fbcec1ca56 shell32/tests: Skip FolderShortcut test on Win2k.
Skip this test as it doesn't work on Win2k.
CoCreateInstance is successful but IPersistPropertyBag_Load call fails.
2009-04-09 11:28:30 +02:00
Nicolas Le Cam 1d3edf6377 shell32/tests: Fix PropertyBag test on Win2k. 2009-04-09 11:28:12 +02:00
Nicolas Le Cam eb57396fc6 shell32/tests: Skip interactive part of SetNameOf test on Win2k.
Passing an absolute path to SetNameOf on Win2k display an error
message box about invalid characters in filename, forcing interaction
during test.
2009-04-09 11:28:04 +02:00
Nicolas Le Cam 1f52f12f3c shell32/tests: Completly fix GetAttributesOf test when launched from drive root dir. 2009-04-09 11:27:53 +02:00
Henri Verbeet 3a0eb81cea wined3d: Get rid of a redundant strcat in shader_glsl_get_register_name(). 2009-04-09 11:27:29 +02:00
Henri Verbeet ff58255f4e wined3d: Explicitly pass parameter properties to shader_glsl_get_register_name(). 2009-04-09 11:27:25 +02:00
Henri Verbeet f3e5e92a18 wined3d: Pass a struct wined3d_shader_dst_param to shader_glsl_get_write_mask(). 2009-04-09 11:27:21 +02:00
Henri Verbeet d299f865f7 wined3d: Add a separate function for converting write masks to strings. 2009-04-09 11:27:17 +02:00
Henri Verbeet 877e252681 wined3d: Only update the swizzle and use map for streams that are actually used in device_stream_info_from_strided().
This fixes a regression introduced by d7c7c76850
and exposed by ef2d704183. Unfortunately having
EXT_vertex_array_bgra support masks the problem, which is why the regression
tests didn't catch it.
2009-04-09 11:27:10 +02:00
Rein Klazes f33ce58be8 win87em: Always return that a 8087 coprocessor is present. 2009-04-09 11:19:27 +02:00
Detlef Riekenberg 081576e157 urlmon/tests: Allow BINDSTATUS_COOKIE_SENT in a test. 2009-04-09 11:19:18 +02:00
Detlef Riekenberg be0721d442 winmm/tests: Fix a test on win98. 2009-04-09 11:19:15 +02:00
Detlef Riekenberg 24340287fd wintrust/tests: Do not test GetLastError on success. 2009-04-09 11:19:09 +02:00
Detlef Riekenberg 49ff2be04e wintrust/tests: Fix some tests on win9x. 2009-04-09 11:18:58 +02:00
Nikolay Sivov bc22a89306 comctl32/tab: Simplify hottracked button painting. 2009-04-09 11:18:52 +02:00
Alexandre Julliard 0865c278f2 ntdll: Set the proper context flags in the signal handlers for x86_64. 2009-04-08 20:40:29 +02:00
Alexandre Julliard 5316dd011f server: Define a generic context structure instead of using the platform-specific version. 2009-04-08 19:59:23 +02:00
Hans Leidekker 75857d7d67 wininet: Add tests for asynchronous HttpSendRequestEx/HttpEndRequest. 2009-04-08 16:28:10 +02:00
Hans Leidekker 8077480b0e wininet: Support asynchronous HttpEndRequest. 2009-04-08 16:10:19 +02:00
Hans Leidekker 3a711fb56b wininet: Don't start reading when POST data hasn't been completely written. 2009-04-08 16:10:11 +02:00
Hans Leidekker 85eb438ff7 wininet: Send notifications from InternetWriteFile. 2009-04-08 16:10:05 +02:00
Hans Leidekker 0fabf540e7 wininet: Keep track of the number of bytes written. 2009-04-08 16:10:00 +02:00
Alexandre Julliard c378490d7d ole32/tests: Avoid size_t in traces. 2009-04-08 16:09:52 +02:00
Rob Shearman 324b4d0243 rpcrt4: Add a Win32 implementation of ncacn_ip_tcp transport. 2009-04-08 16:01:42 +02:00
Rob Shearman 06c2982a39 rpcrt4: Factor out non-Win32 compatible parts of the ncacn_ip_tcp client code to allow it to be compiled in. 2009-04-08 16:01:34 +02:00
Alexandre Julliard e2aefee80e fusion: Fix the 32/64 PE image format check on 64-bit platforms. 2009-04-08 12:06:35 +02:00
Alexandre Julliard bbe70550fe fusion/tests: Always use the 32-bit magic in the 32-bit optional header structure. 2009-04-08 12:06:07 +02:00
Alexandre Julliard 0baf5aa000 fusion: Use the correct cache path on Win64. 2009-04-08 11:50:33 +02:00
Henri Verbeet 2df49ea8ef wined3d: Eliminate a useless local variable. 2009-04-08 11:42:24 +02:00
Henri Verbeet 9ec0b09d35 wined3d: Store usage and usage_idx in struct wined3d_shader_semantic.
Instead of the usage token.
2009-04-08 11:42:19 +02:00
Henri Verbeet a1dedbdf58 wined3d: Properly check if input/output varyings are used. 2009-04-08 11:42:12 +02:00
Henri Verbeet 375780a5a8 wined3d: Fix some more 3 space indentation. 2009-04-08 11:42:05 +02:00
Henri Verbeet d12e489272 wined3d: Store a struct wined3d_shader_dst_param in struct wined3d_shader_semantic. 2009-04-08 11:41:59 +02:00
Nikolay Sivov 59148d0bb5 comctl32/listview: Implement delayed header creation for ListView control. 2009-04-08 11:39:25 +02:00
Rein Klazes 89a170ffa1 user32/tests: Avoid a few unneeded test failures in sysparams.c. 2009-04-08 11:37:58 +02:00
Jörg Höhle e7c06ea6ae Perform case-insensitive FOURCC comparison of built-in video codecs. 2009-04-08 11:37:52 +02:00
Stefan Dösinger 513a493f00 wined3d: Merge IWineD3DIndexBuffer and IWineD3DBuffer. 2009-04-08 11:37:29 +02:00
Stefan Dösinger 2a7a237170 wined3d: Merge indexbuffer and buffer implementations. 2009-04-08 11:37:24 +02:00
Stefan Dösinger 3ed94329a3 wined3d: Use Map and Unmap for index buffers.
Just a change in name to prepare for the next patch
2009-04-08 11:36:18 +02:00
Stefan Dösinger dc80a3ede5 d3d: Unify WINED3DVERTEXBUFFER_DESC and WINED3DINDEXBUFFER_DESC. 2009-04-08 11:36:02 +02:00
Stefan Dösinger bc07ad0579 d3d8, d3d9: Don't rely on the wined3d buffer type. 2009-04-08 11:35:29 +02:00
Alexandre Julliard 55fc90220f gdi32: Fix SetEnhMetaFileBits last error handling. 2009-04-07 20:55:59 +02:00
Alexandre Julliard eceed527f6 gdi32: Completely implement RestoreDC in the driver, having it call restore_dc_state if necessary. 2009-04-07 20:55:56 +02:00
Alexandre Julliard e2f888a617 gdi32: Allow the visible region to be zero since this is the case for metafiles. 2009-04-07 20:55:42 +02:00
Alexandre Julliard bbb1626bf8 gdi32: Completely implement SaveDC in the driver, having it call save_dc_state if necessary. 2009-04-07 20:55:28 +02:00
Alexandre Julliard d4c54be272 gdi32: Move the whole DC restoring functionality into set_dc_state, and rename it to restore_dc_state. 2009-04-07 20:28:08 +02:00
Alexandre Julliard a23725785e gdi32: Move the whole DC saving functionality into get_dc_state, and rename it to save_dc_state. 2009-04-07 20:18:58 +02:00
Alexandre Julliard 1380f0ac40 gdi32: Remove Get/SetDCState16 implementation, it should not be used by apps. 2009-04-07 20:13:45 +02:00
Alexandre Julliard 88e01969c2 gdi32: Move freeing of the DC path and regions into free_dc_ptr. 2009-04-07 20:13:08 +02:00
Nicolas Le Cam 4ea0b38265 shell32/tests: Fix wrong comment and update test accordingly. 2009-04-07 15:20:36 +02:00
Nicolas Le Cam a295308c3f shell32/tests: Fix a test on WinNT and some Win95. 2009-04-07 15:20:23 +02:00
Alexandre Julliard 1f1d157237 gdi32/tests: Add some metafile tests. Fix typos. 2009-04-07 15:20:13 +02:00
Ge van Geldorp f4795d5997 urlmon/tests: Handle certificate verification error. 2009-04-07 14:53:58 +02:00
Rob Shearman 47ae95ccce oleaut32: Fix the SAFEARRAY marshalling on 64-bit platforms.
The pointers should be written as NDR 4-byte fields instead of a
platform-dependent size.
2009-04-07 14:53:43 +02:00
Rob Shearman ce747f3fac rpcrt4: Compile in RPC over HTTP support even if HAVE_SOCKETPAIR is not defined. 2009-04-07 14:53:34 +02:00
Rob Shearman b2a5bfdfc9 rpcrt4: Fix context handle test on Vista upwards.
Don't run tests that results in an ERROR_INVALID_HANDLE exception being raised.

Check for the context handle function pointers being non-NULL to
prevent exceptions being raised on platforms without these functions.
2009-04-07 14:22:35 +02:00
Henri Verbeet a4c942f606 wined3d: Simplify shader_glsl_cmp() and shader_glsl_cnd(). 2009-04-07 14:22:00 +02:00
Henri Verbeet a374ba54e5 wined3d: Simplify shader_glsl_color_correction(). 2009-04-07 14:21:54 +02:00
Henri Verbeet 0f92bbc6bc wined3d: Store the register type in struct wined3d_shader_dst_param. 2009-04-07 14:21:49 +02:00
Henri Verbeet f7f61a58f4 wined3d: Explicitly pass register type and index to shader_is_scalar(). 2009-04-07 14:21:44 +02:00
Henri Verbeet 6f66c1ddbd wined3d: Store the write mask in struct wined3d_shader_dst_param. 2009-04-07 14:21:37 +02:00