Commit Graph

42300 Commits

Author SHA1 Message Date
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
Paul Vriens 22a48d6740 shell32/tests: Fix a test failure on Vista and higher. 2009-04-02 16:28:30 +02:00
Paul Vriens 9a10234ef2 kernel32: Fix creation of empty sections in ini files. 2009-04-02 16:28:30 +02:00
Michael Stefaniuc 1513dd2073 comctl32/tests: Use LONG instead of long. 2009-04-02 16:28:30 +02:00
Vincent Povirk 9c02fda4a9 ole32: When renaming a storage element, delete from the current iface. 2009-04-02 16:28:30 +02:00
Rein Klazes ebbf99abce user32/tests: In sysparams fix another case where a test changes a users desktop setting.
Made several tests pass on NT4 (no SP), Vista and Win2k8.
2009-04-02 16:28:30 +02:00
Henri Verbeet 7bde2792c2 wined3d: Store the source and destination parameter count in struct wined3d_shader_instruction. 2009-04-02 16:28:29 +02:00
Henri Verbeet d633b6d47e wined3d: Avoid comparing against WINED3DSIO_* in the ARB shader backend. 2009-04-02 16:28:29 +02:00
Henri Verbeet 44648b2b91 wined3d: Store the instruction handler index in struct wined3d_shader_instruction.
This allows us to avoid comparing against WINED3DSIO_*, which is specific to
the bytecode.
2009-04-02 16:28:29 +02:00
Henri Verbeet fb6547a3e1 wined3d: Compare num_params against 1 in shader_glsl_map2gl().
num_params includes the destination parameter, while we're only interested in
source parameters. This doesn't cause problems for any of the instrctions
currently handled by shader_glsl_map2gl() though, since they all happen to
have at least 1 source parameter.
2009-04-02 16:28:29 +02:00
Henri Verbeet c697bdc3a1 wined3d: Remove some code that doesn't make a whole lot of sense.
The "instr" parameter to shader_glsl_gen_modifier() is actually a source
parameter, so comparing against WINED3DSIO_TEXKILL is just silly.
2009-04-02 16:28:29 +02:00
Nikolay Sivov 4902dd9801 comctl32: Enable selection overwriting in IP Address control. 2009-04-02 15:09:55 +02:00
Nikolay Sivov a2b7aafdae user32: Implemented GetWindowRgnBox with some tests. 2009-04-02 15:09:55 +02:00
Jacek Caban eb32e9ec1a urlmon: Register CLSID_DeCompMimeFilter. 2009-04-02 15:09:55 +02:00
Vincent Povirk 0879b767ae gdiplus: GdipDrawString: Handle either a width or height of 0 sanely.
Based on Aric's recent patch.
2009-04-02 15:09:55 +02:00
Alexandre Julliard fc87182d19 kernel32: Set argv[0] to the full path of the binary when starting from Unix. 2009-04-02 12:59:32 +02:00
Alexandre Julliard 7b7f35aee5 kernel32: Use __wine_main_environ by default, environ is broken on FreeBSD too. 2009-04-02 12:03:35 +02:00
Alexandre Julliard 0ed1041c63 oleaut32: Don't use 16-bit headers. 2009-04-01 18:20:21 +02:00
Alexandre Julliard 129ba5ade0 shell32: Make shell.dll into a stand-alone 16-bit module. 2009-04-01 18:20:13 +02:00
Alexandre Julliard b1d96f6ffa shell32: Add implementation of WOWShellExecute.
The callback is probably not fully compatible, but apps are not
supposed to use that function anyway.
2009-04-01 18:19:42 +02:00
Alexandre Julliard b2d35c3620 winecrt0: Disable the delay import destructor on Mac OS, it cannot be made to work. 2009-04-01 18:13:42 +02:00
Nikolay Sivov 276c7a3bc6 comctl32: listview: Some tests showed delayed header creation in ListView control. 2009-04-01 17:10:21 +02:00
Huw Davies 628332aee1 ole32: Change the global memory duplicator to return HRESULT. 2009-04-01 15:23:20 +02:00
Huw Davies 3cb4ab588d ole32: Rename a few variables and remove a couple of meaningless comments. 2009-04-01 15:23:14 +02:00
Huw Davies f2ba37e5b9 ole32: Move the embed source hack to a separate function. 2009-04-01 15:23:09 +02:00
Huw Davies 126ec0181f ole32/tests: Set tymed in GetData and AddRef the interfaces (ReleaseStgMedium releases them even if pUnkForRelease is non-NULL). 2009-04-01 15:23:03 +02:00
Ge van Geldorp af5ce0d249 mshtml/tests: Fix tests on Windows. 2009-04-01 15:22:54 +02:00