Commit Graph

42326 Commits

Author SHA1 Message Date
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
Ge van Geldorp 215fd0b813 msi/tests: Handle running the tests as a domain user. 2009-04-07 14:21:25 +02:00
Ge van Geldorp c98513f9c8 secur32/tests: Add simple tests for GetUserNameExA/W(). 2009-04-07 14:21:08 +02:00
Ge van Geldorp dcb3e52e2d secur32: Implement GetUserNameEx(NameSamCompatible). 2009-04-07 14:21:01 +02:00
Ken Thomases 905ab99815 dbghelp/stabs: For Mach-O, line offset is relative to original function address. 2009-04-07 11:21:40 +02:00
Jacek Caban 9988cbce0c urlmon: Remove unneeded includes. 2009-04-07 11:21:31 +02:00
Jacek Caban c41bcd89f3 urlmon: Added IInternetProtocolSink interface stub implementation to MimeFilter object. 2009-04-07 11:21:26 +02:00
Jacek Caban 11a6f3539f urlmon: Added DeCompMimeFilter stub implementation. 2009-04-07 11:21:18 +02:00
Nikolay Sivov 5ebc7ba72d comctl32/tab: Fix filled rectangle calculation for selected button on TCS_BUTTONS. 2009-04-07 11:21:13 +02:00
Nikolay Sivov 59ae274ac3 comctl32/tab: Fix hottracked button size. 2009-04-07 11:21:03 +02:00
Mikołaj Zalewski 666c0a57cc psapi: Implement GetProcessImageNameW. 2009-04-07 11:20:58 +02:00
Alexandre Julliard 3a195139c2 msvcrt: Fix scanf to correctly parse pointers on 64-bit. 2009-04-06 20:58:10 +02:00
Alexandre Julliard 4b9bba163e kernel32/tests: Use the appropriate processor architecture in generated manifests. 2009-04-06 20:57:47 +02:00
Marcus Meissner a9c0c247ed oleaut32: IPropertyBag_Read_Proxy return on unknown type (Coverity 892). 2009-04-06 15:35:57 +02:00
Paul Vriens 7c8d07bc10 urlmon/tests: Fix a test by using a better default registry key. 2009-04-06 15:30:27 +02:00
Stefano Guidoni 697a64595a winemp3: Rounding block count up in mpeg3_streamsize. 2009-04-06 15:30:22 +02:00
Aric Stewart cac6b96de4 gdi32/tests: Demonstrate issues in wine with SaveDC and RestoreDC in metafiles and enhmetafiles. 2009-04-06 13:52:14 +02:00
Alexandre Julliard b4a962bbb2 ntdll/tests: Add a missing \n. 2009-04-06 13:52:08 +02:00
Alexandre Julliard f702885e63 shlwapi/tests: Don't test uninitialized parts of the variant. 2009-04-06 13:52:01 +02:00
Henri Verbeet f0de1622d0 wined3d: Store the destination modifiers in struct wined3d_shader_dst_param. 2009-04-06 12:57:52 +02:00
Henri Verbeet decc1cec9d wined3d: Pass a pointer to struct wined3d_shader_dst_param to shader_glsl_add_dst_param(). 2009-04-06 12:57:44 +02:00
Henri Verbeet 72aff27e0e wined3d: Pass a pointer to struct wined3d_shader_dst_param to shader_glsl_append_dst_ext(). 2009-04-06 12:57:37 +02:00
Henri Verbeet 91305b1f49 wined3d: Use a more appropriate mask for masking out the write mask. 2009-04-06 12:57:32 +02:00
Henri Verbeet 1120f0f585 wined3d: Unset the current GLSL program when it's destroyed. 2009-04-06 12:57:27 +02:00
Dmitry Timoshkov 95156d1b5f gdi32: Use GdiGetCodePage() instead of duplicating its functionality. 2009-04-06 12:57:21 +02:00
Dmitry Timoshkov 4bb8d9c1c2 gdi32: Cache current font code page in the DC structure. 2009-04-06 12:57:11 +02:00
Dmitry Timoshkov 301b5d2772 gdi32: Add a couple of SetGraphicsMode/SetWorldTransform tests, make them pass under Wine. 2009-04-06 12:56:50 +02:00
Marcus Meissner 5fdf50f76d quartz: Make sure cookie* are not uninitialized (Coverity 760). 2009-04-06 12:56:30 +02:00
Alexandre Julliard 61dcca5dbf ntdll: Don't pretend that the whole address space is reserved on non-i386. 2009-04-06 12:07:33 +02:00
Detlef Riekenberg a558365ac3 wininet/tests: Fix a test with IE8. 2009-04-06 11:16:59 +02:00
Nicolas Le Cam 4955fabbd4 shell32/tests: Fix crash when launched from drive root dir. 2009-04-06 11:16:55 +02:00
Nicolas Le Cam bf7fa5b690 shell32/tests: Fix GetAttributesOf tests on Win2k and below. 2009-04-06 11:16:49 +02:00
Aurimas Fischer 4645cfb9af msacm32: Add Lithuanian translation. 2009-04-06 11:16:36 +02:00
Nikolay Sivov 483083e306 comctl32/tab: Draw hottracked tab button properly. 2009-04-06 11:16:32 +02:00
Roderick Colenbrander a932fdcb2f wined3d: Update NVidia pci ids. 2009-04-06 11:16:24 +02:00
Roderick Colenbrander ef385d2e7a opengl32: Update with the latest OpenGL extensions. 2009-04-06 11:16:20 +02:00
Marcus Meissner cb80692cf8 wininet: Fixed memory corruption in urlcache. 2009-04-06 11:16:11 +02:00
Marcus Meissner e28c28b461 comctl32: Avoid potential overflow in Search Param (Coverity 903). 2009-04-06 11:16:05 +02:00
Marcus Meissner 088790e8e4 mciqtz32: Fixed boolean condition for null string check (Coverity 913). 2009-04-06 11:15:56 +02:00
Nicolas Le Cam b4923a32b8 shell32: Define PT_FOLDERW. 2009-04-06 11:15:48 +02:00
Nicolas Le Cam 69cd386b90 shell32/tests: Fix tests on localized platforms. 2009-04-06 11:15:45 +02:00
Paul Vriens 30041c283a riched20/tests: Remove the todo_wine logic where appropriate. 2009-04-03 17:06:41 +02:00
Alexandre Julliard 7e47d19d9a ntdll: Set the WOW64 flag according to the server supported CPUs. 2009-04-03 17:05:29 +02:00
Alexandre Julliard 279defe66e server: Verify that the client is using a supported CPU type. 2009-04-03 14:59:12 +02:00
Alexandre Julliard 653d2c4a8d server: Store the type of CPU that the client is running on. 2009-04-03 14:49:10 +02:00
Alexandre Julliard b06a919c3c server: Use the thread entry point field to pass the PEB in the initial thread. 2009-04-03 14:30:34 +02:00
Rein Klazes e861d8be43 user32: Fix for the ending of menu tracking in the default handler of WM_CANCELMODE message with test. 2009-04-03 13:25:31 +02:00
Paul Vriens 8955d7c233 advapi32/tests: Fix test failures on W2K. 2009-04-03 13:01:54 +02:00
Henri Verbeet 6660978b44 wined3d: Use register_idx in the ARB shader backend. 2009-04-03 13:01:50 +02:00
Henri Verbeet 7b62165546 wined3d: Store the register index in struct wined3d_shader_dst_param. 2009-04-03 13:01:44 +02:00
Henri Verbeet 7245cd2b81 wined3d: Add a struct wined3d_shader_dst_param for storing destination parameter information. 2009-04-03 13:01:38 +02:00
Henri Verbeet 04b2e0b19b wined3d: Remove the opcode field from struct wined3d_shader_instruction. 2009-04-03 13:01:30 +02:00
Henri Verbeet 29c9dc989d wined3d: Use the source and destination parameter count in the ARB shader backend. 2009-04-03 13:01:20 +02:00
Rein Klazes 8ac8957a36 user32: In COMBO_WindowPosChanging() do not change the height of the the dropped rectangle, if the new height is too small. 2009-04-03 13:01:14 +02:00
Nikolay Sivov d7439c0b75 comctl32/updown: Don't pass VK_[UP|DOWN] to original Up/Don control buddy's winproc. 2009-04-03 13:01:07 +02:00
Piotr Caban 49ce878de7 jscript: Added Math_cos tests. 2009-04-03 13:01:01 +02:00
Piotr Caban fe5785af09 jscript: Added Math_cos implementation. 2009-04-03 13:00:56 +02:00
Piotr Caban 885a9e9c0c jscript: Added Math_LN2 tests. 2009-04-03 13:00:53 +02:00
Piotr Caban d2aed1b752 jscript: Added Math_LN2 implementation. 2009-04-03 13:00:48 +02:00
Paul Chitescu de66f257d6 ntdll: Print desired version of missing dependent assemblies. 2009-04-03 12:58:30 +02:00
Nikolay Sivov 6b6d18d766 comctl32: Additional tests for ListView header creation. 2009-04-02 16:28:42 +02:00
Aric Stewart 7e8e9c41e9 winmm: SND_ALIAS and SND_ALIAS_ID overlap so when checking for SND_ALIAS_ID make sure it is SND_ALIAS_ID and not SND_ALIAS. 2009-04-02 16:28:30 +02:00
Aric Stewart c08b0a0a9d winmm: Properly cleanup in return from proc_PlaySound if system sound is not found.
Prevents hanging in Outlook 2000 on sound cleanup.
2009-04-02 16:28:30 +02:00