Commit Graph

34875 Commits

Author SHA1 Message Date
Huw Davies bce23d7edb user32: Don't access pConv after it's been freed. 2008-07-21 15:05:01 +02:00
Alexandre Julliard 9c29dbd987 Avoid exporting common symbols since that's broken on Mac OS X. 2008-07-21 14:47:55 +02:00
Detlef Riekenberg b4f2c50687 oleaut32/tests: Run more typelib tests on win9x. 2008-07-21 14:45:48 +02:00
Detlef Riekenberg c81b2b2c74 oleaut32/tests: Fix tmarshal tests on win9x. 2008-07-21 14:45:45 +02:00
Reece Dunn a7794bcb50 comctl32: Fixed the MRU tests on Vista. 2008-07-21 14:45:40 +02:00
Reece Dunn de08ba8332 shell32/tests: Vista returns E_INVALIDARG if the path sent to SetPath is invalid. 2008-07-21 14:45:01 +02:00
Reece Dunn 4140801e2d oleaut32: Fix the vartype tests on Vista. 2008-07-21 14:44:53 +02:00
Reece Dunn 811a809b0a shell32: Make the tests build with the Vista SDK. 2008-07-21 14:44:43 +02:00
Reece Dunn 29c66b3a9e shell32: Do not use a fixed path in the shelllink tests. 2008-07-21 14:44:33 +02:00
Reece Dunn 0feda920ba uxtheme/tests: Use HRESULT_FROM_WIN32 to check the error codes, not LOWORD. 2008-07-21 14:44:27 +02:00
Mathias Kosch 9a7dc15979 advapi32: Fix RegGetValue when dwFlags includes RRF_RT_ANY. 2008-07-21 14:37:54 +02:00
Detlef Riekenberg 07eeb4e406 crypt32/tests: Make the msg tests usable on win9x (avoid crash). 2008-07-21 14:37:22 +02:00
Lei Zhang ce552d4451 gdi32: CreateDIBitmap should check for SetDIBits failure. 2008-07-21 14:36:55 +02:00
Lei Zhang e031ef4807 winex11: X11DRV_DIB_[GS]etImageBits should return 0 on failure. 2008-07-21 14:36:48 +02:00
Lei Zhang 4fe68a9e1e oleaut32: Check return values in several functions. 2008-07-21 14:36:39 +02:00
Vincent Povirk a0249babcd ole32: Always return false when asked if NULL is the current clipboard. 2008-07-21 14:36:29 +02:00
Vincent Povirk 38c5185d2e ole32: Add tests for OleIsCurrentClipboard(NULL). 2008-07-21 14:36:21 +02:00
Maarten Lankhorst 271ee48301 quartz: Fix bugs that occur during connection. 2008-07-21 14:36:14 +02:00
Maarten Lankhorst 0f9356eb16 quartz: Fix handling of zero byte samples and endofstreams. 2008-07-21 14:36:04 +02:00
Kirill K. Smirnov de3afabf08 shell32: Avoid usage of undefined xdg_results variable, since XDG_UserDirLookup() always corrupts it. 2008-07-21 14:35:56 +02:00
Dmitry Timoshkov 02631adc8a Revert "gdi32: Reselect objects into the DC only if scaling factors change.".
This reverts commit 3cbd9639da.
2008-07-21 13:00:48 +02:00
Dmitry Timoshkov 7976d993f5 gdi32: Relax the gm.gmCellIncX comparison. 2008-07-21 13:00:42 +02:00
Francois Gouget bc5ce27947 Assorted spelling fixes. 2008-07-21 13:00:01 +02:00
Francois Gouget 32974e25a2 wintrust/tests: Fix compilation on systems that don't support nameless unions. 2008-07-21 12:57:42 +02:00
Luis Busquets e42d932c85 d3dx9: Add a test for D3DXGetShaderVersion(). 2008-07-21 12:57:36 +02:00
Luis Busquets fb70f818b7 d3dx9: Implement D3DXGetShaderVersion(). 2008-07-21 12:57:24 +02:00
Piotr Caban 0a8b284010 msxml3/tests: Added test for ISAXXMLReader_parse with SafeArray as argument. 2008-07-21 12:57:09 +02:00
Piotr Caban 75681ef314 msxml3: Added support for SafeArrays in ISAXXMLReader_parse. 2008-07-21 12:57:02 +02:00
Piotr Caban bba7eb5825 msxml3: Add error handling. 2008-07-21 12:56:52 +02:00
Piotr Caban 918a46ce2c msxml3/tests: Added tests for ISAXXMLReader_putErrorHandler and ISAXXMLReader_getErrorHandler. 2008-07-21 12:56:44 +02:00
Piotr Caban 2cb215b51f msxml3: Do not invoke ISAXXMLReader_endDocument when parser was stopped. 2008-07-21 12:56:37 +02:00
Hans Leidekker 216d4c0834 wininet: Fix cookie buffer overflow.
Spotted by Yann Droneaud.
2008-07-21 12:22:05 +02:00
Hans Leidekker 572b0bab88 wininet: Move insertion of cookie header from HttpOpenRequest to HttpSendRequest.
Based on a patch by Yann Droneaud.
2008-07-21 12:21:58 +02:00
Hans Leidekker b311cca552 wininet: Delete local file on error in FtpGetFile. 2008-07-21 12:21:40 +02:00
Hans Leidekker a5c6455193 wininet: Make another test pass on IE6. 2008-07-21 12:21:33 +02:00
Hans Leidekker e3e2622e41 wininet: Fix a memory leak. 2008-07-21 12:21:27 +02:00
Hans Leidekker da5e4f16d8 setupapi: Fix two memory leaks in the test. 2008-07-21 12:21:20 +02:00
Hans Leidekker 42506c94f2 cabinet: Fix a memory leak. 2008-07-21 12:21:17 +02:00
Hans Leidekker b72d636062 snmpapi: Fix a memory leak in the test. 2008-07-21 12:21:14 +02:00
Hans Leidekker 73d0e7fda3 dnsapi: Fix a number of memory leaks. 2008-07-21 12:21:11 +02:00
Jacek Caban 97e5728d7a hhctrl.ocx: Fixed ref count handling in IOleClientSiteImpl. 2008-07-21 12:21:04 +02:00
Jacek Caban 9f5748e6b4 wininet: Move remeining InternetQueryOption implementation to vtbl. 2008-07-21 12:19:12 +02:00
Jacek Caban 46f2628448 wininet: Moved InternetQueryOption(INTERNET_OPTION_PROXY) implementation to vtbl. 2008-07-21 12:18:57 +02:00
Jacek Caban 7426e7e055 wininet: Moved more InternetQueryOption implementation to vtbl. 2008-07-21 12:18:48 +02:00
Jacek Caban 13a95f1648 wininet: Move InternetQueryOption(INTERNET_OPTION_USER_AGENT) to vtbl. 2008-07-21 12:18:41 +02:00
Andrew Talbot a7d06e7430 advpack: Fix sign-compare warnings. 2008-07-21 12:18:34 +02:00
Andrew Talbot c230736bbe advpack: Remove a useless test. 2008-07-21 12:18:28 +02:00
Mikołaj Zalewski 9907387b7e oleaut32: Use custom file version in VERSIONINFO. 2008-07-21 12:18:21 +02:00
Mikołaj Zalewski e016078fdf comctl32: Fix the file version string declaration. 2008-07-21 12:18:18 +02:00
Huw Davies 5798b95a51 winmm: Only fill in the MIXERLINEA struct if the call to mixerGetLineInfoW succeeds. 2008-07-18 13:41:19 +02:00
Zac Brown b2be840e47 winhttp/tests: Add test for opening request. 2008-07-18 12:48:47 +02:00
Stefan Leichter 67201a145f rasapi32: RasEnumDevicesA test: initialize the input parameters before each call, make sure the return buffer is big enough. 2008-07-18 12:30:45 +02:00
Daniel Santos b54b282a4f ws2_32: WSASendTo() should clear last error on success. 2008-07-18 12:30:31 +02:00
Stefan Dösinger cafec08516 wined3d: Use the nofilter mipmap lookup for np2 textures.
This is cleaner than the if statements in the code. Also np2 textures
should in theory support linear filtering, but fglrx doesn't seem to
like it. This needs further investigation. So far we've never used
linear filtering on np2 textures, so there should not be a
regression. Furthermore I think shader support is more important than
filtering, since NP2 textures are mostly used for 1:1 copying to the
screen.
2008-07-18 11:41:21 +02:00
Stefan Dösinger c088edeae7 wined3d: Use GL_ARB_texture_non_power_of_two emulation.
ATI cards prior to the radeon HD series did not have unconditional non
power of two support. So far we've used texture_rectangle for that, or
created a bigger power of two texture with padding. This had the
disadvantage that we had to correct the coordinates, which causes
extreme problems with shaders(doesn't work, pretty much).

Both the MacOS and the fglrx driver have support for
GL_ARB_texture_non_power_of_two, and run it on the hardware as long as
we stay within the texture_rectangle limitations. This allows us to
have conditional non power of two textures with normalized
coordinates. This patch adds an internal extension, and the code
creates a regular GL_TEXTURE_2D texture with NP2 size, but refuses
mipmapping, filtering and texture_rectangle incompatible
operations. This makes np2 textures work with shaders on fglrx and
macos.
2008-07-18 11:41:09 +02:00
Stefan Dösinger a0cc79f0bf wined3d: Correct the D3DTOP_LERP parameter order. 2008-07-18 11:40:40 +02:00
Stefan Dösinger 5b846adffd wined3d: Fix the MULTIPLYADD parameter orders in atifs. 2008-07-18 11:40:33 +02:00
Stefan Dösinger 3a224fe289 d3d9: Unset the vertex shader in the compare_instructions test. 2008-07-18 11:40:26 +02:00
Stefan Dösinger 55ab14a4ed wined3d: Move an VBO support check to the state template. 2008-07-18 11:40:19 +02:00
Stefan Dösinger dc203d36c9 wined3d: Remove more dead code.
The opengl extension mentioned in that code was never finished, and as
far as I know there is no way to make use of tangent data in the d3d
fixed function pipeline as well.
2008-07-18 11:40:12 +02:00
Stefan Dösinger e5f42f91b6 wined3d: Remove GL_EXT_vertex_weighting stubs. 2008-07-18 11:40:00 +02:00
Stefan Dösinger ebc77732c1 wined3d: Move the vertexblend support check to the template. 2008-07-18 11:39:44 +02:00
Stefan Dösinger f981afd7d3 wined3d: Check for ATI_ENVMAP_BUMPMAP in the template.
Note that GL_ATI_envmap_bumpmap is not the same as
GL_ATI_fragment_shader. envmap_bumpmap is used together with the
regular opengl ffp pipeline and is not used (other than for
pixelformats) if GL_ATI_fragment_shader is used.
2008-07-18 11:39:38 +02:00
Stefan Dösinger 8bb11dad76 wined3d: Only register the np2 texture fixup if needed. 2008-07-18 11:39:18 +02:00
Dylan Smith e86a1d623a richedit: Fixed regression that caused endless loop. 2008-07-18 11:32:38 +02:00
Mathias Kosch f296f27e96 winex11: Fix typo in X11DRV_SetDIBits optimization. 2008-07-18 11:32:28 +02:00
James Hawkins 978a931781 kernel32: Don't get the profile string if the buffer length is zero. 2008-07-18 11:31:59 +02:00
Alexandre Julliard 97429b32f8 dbghelp: Always initialize section pointer in ImageDirectoryEntryToDataEx. 2008-07-18 11:16:02 +02:00
James Hawkins 4cacdc7dba msi: Initialize the update function pointer when creating the control. 2008-07-18 11:15:38 +02:00
Alexander Dorofeyev bca80e1a64 quartz: Fix interface leak in FilterGraph2_Render. 2008-07-18 11:15:30 +02:00
Alexander Dorofeyev 1656f6b7cc quartz: Add missing VariantClear after GetFilterInfo calls. 2008-07-18 11:15:24 +02:00
Alexander Dorofeyev 1cd83afda3 quartz: Fix variant handling in GetFilterInfo.
Removes unnecessary and unsafe type assignment, adds a missing VariantClear.
2008-07-18 11:15:17 +02:00
Alexander Dorofeyev 7c5a4481b1 quartz/tests: Fix interface leaks in filtergraph test. 2008-07-18 11:15:08 +02:00
Alexander Dorofeyev 6645999337 quartz: Fix interface leak in FilterGraph2_RemoveFilter. 2008-07-18 11:15:01 +02:00
Alexander Dorofeyev 4afad0a413 quartz/tests: Fix interface leaks in aggregation test. 2008-07-18 11:14:52 +02:00
Alexander Dorofeyev 33c6eeb9e3 quartz/tests: Add filtermapper aggregation tests. 2008-07-18 11:13:33 +02:00
Alexander Dorofeyev 4bc76025ba quartz/tests: Test querying IFilterMapper2 from FilterGraph. 2008-07-18 11:13:24 +02:00
Alexander Dorofeyev 0bea470dfc quartz: Aggregate filtermapper in filtergraph. 2008-07-18 11:13:14 +02:00
Alexander Dorofeyev d39ee67019 quartz: Make Filtermapper aggregatable. 2008-07-18 11:12:16 +02:00
Zac Brown 38f6dbc55a ntdll: Remove byte reversed U+3000 (CJK space) from being checked in RtlIsTextUnicode. 2008-07-18 11:12:07 +02:00
Michael Stefaniuc 5330f7171d msxml3: Remove redundant NULL check before HeapFree (Smatch). 2008-07-18 11:12:00 +02:00
H. Verbeet c876c929a2 d3d9: Correct some shader comments. 2008-07-18 11:11:53 +02:00
H. Verbeet 0bebad66f7 d3d9: Replace color_near() with color_match(). 2008-07-18 11:11:49 +02:00
Alexandre Julliard b4bc3f26a0 icmp: The import library is not needed. 2008-07-18 11:11:29 +02:00
Juan Lang 8c4953f05a iphlpapi: Partially implement IcmpSendEcho2 using IcmpSendEcho. 2008-07-18 11:10:57 +02:00
Juan Lang 65549c5e58 iphlpapi: Move Icmp* functions from icmp to iphlpapi. 2008-07-18 11:10:44 +02:00
Huw Davies 5aa90f375c gdiplus: Skip some tests if certain fonts are not installed. 2008-07-18 11:05:41 +02:00
Huw Davies bf89330d14 user32: Don't read past the end of a global memory block. 2008-07-18 11:05:37 +02:00
Lei Zhang b3f4091b47 user32: Clamp newly created windows to the minimum window size. 2008-07-17 13:31:40 +02:00
Lei Zhang ffd66dc6ab user32: Add a test for SetWindowPos. 2008-07-17 13:31:39 +02:00
Dan Hipschman fc325c7674 kernel32/tests: Add tests for timer queues. 2008-07-17 13:15:29 +02:00
Gal Topper a675c0168d comdlg32: PrintDlgEx: Add support for RETURNDEFAULT. 2008-07-17 13:06:25 +02:00
Gal Topper ef397a5607 comdlg32: PrintDlgEx: Change scope of strings for later reuse. 2008-07-17 13:05:32 +02:00
Piotr Caban 1547a9de47 msxml3/tests: Added more tests for ISAXXMLReader_parse and ISAXLocator. 2008-07-17 13:03:51 +02:00
Piotr Caban 3196f7801c msxml3: Added ISAXLocator_getSystemId. 2008-07-17 13:03:26 +02:00
Piotr Caban 60ca0a7b53 msxml3: Added ISAXLocator_getPublicId. 2008-07-17 13:03:20 +02:00
Piotr Caban e47cbd1e5d msxml3: Added ISAXContentHandler_putDocumentLocator event. 2008-07-17 13:03:15 +02:00
Piotr Caban 40388631f8 msxml3: Added ISAXContentHandler_characters event. 2008-07-17 13:03:11 +02:00
Piotr Caban 669326344f msxml3: Added ISAXContentHandler_endElement event. 2008-07-17 13:03:04 +02:00
Piotr Caban 965a2ea5dd msxml3: Added ISAXContentHandler_startElement event. 2008-07-17 13:02:54 +02:00
Piotr Caban c58b24b374 msxml3: Added ISAXContentHandler_endDocument event. 2008-07-17 13:02:46 +02:00
Piotr Caban 4cdcc02562 msxml3: Added ISAXLocator_getLineNumber and ISAXLocator_getColumnNumber partial implementation. 2008-07-17 13:02:39 +02:00
Piotr Caban 072383e05b msxml3: Added ISAXContentHandler_startDocument event. 2008-07-17 13:02:30 +02:00
Piotr Caban 51c952767c msxml3: Added partial implementation of ISAXXMLReader_parse. 2008-07-17 13:02:21 +02:00
Piotr Caban d3e9ca7d0a msxml3: Added stub implementation of ISAXLocator. 2008-07-17 13:02:09 +02:00
Alexandre Julliard 17b436890b mstask: Add stubs for the duplicate stdcall entry points. 2008-07-17 13:01:40 +02:00
Aric Stewart 0d7d5ebf3b mlang: Stub implementation of IMLangFontLink2. 2008-07-17 12:30:00 +02:00
Aric Stewart 36a1ee762f mlang: Basic implementation of fnIMultiLanguage2_GetCodePageDescription. 2008-07-17 12:27:29 +02:00
Mikołaj Zalewski 9aee00e8fa comctl32: statusbar: WM_SETFONT should change the bar height. 2008-07-17 12:24:52 +02:00
Mikołaj Zalewski f7cda904cd comctl32: statusbar: Don't issue a WM_PAINT during a WM_CREATE. 2008-07-17 12:24:45 +02:00
Stefan Dösinger d247953687 wined3d: Test for multisampling in the template. 2008-07-17 11:45:00 +02:00
Stefan Dösinger 9c1b6581c6 wined3d: Move the point sprite support test into the template. 2008-07-17 11:44:54 +02:00
Stefan Dösinger 94e455343d wined3d: Split the psizemax state handler. 2008-07-17 11:44:48 +02:00
Stefan Dösinger 7740dda1da wined3d: Split the psizemin handler. 2008-07-17 11:44:42 +02:00
Stefan Dösinger 710b9a76b3 wined3d: Move the range fog support test to the template. 2008-07-17 11:44:34 +02:00
Stefan Dösinger df4dcc34aa wined3d: Move a few extension checks into the state template. 2008-07-17 11:44:28 +02:00
Stefan Dösinger 3ee9de462e wined3d: Move an extension check into the state template. 2008-07-17 11:44:21 +02:00
Stefan Dösinger ed49f9a848 wined3d: Coalesce the nvrc and nvts+nvrc state template. 2008-07-17 11:44:15 +02:00
Stefan Dösinger 35f33ef409 wined3d: Add extension information to the states.
This patch adds a new field to the state templates. If this extension
field is != 0, then the line is only applied to the final state table
if the extension is supported. Once a line is applied to the final
table, all further templates for this state from the same pipeline
part are ignored. This allows removing some extension checks from the
state handlers, which cleans them up and saves a few CPU cycles when
applying the states.
2008-07-17 11:44:08 +02:00
James Hawkins 3fb196fb57 kernel32: Return the default value if lpKeyName is empty. 2008-07-17 11:38:19 +02:00
James Hawkins 7e9df53f38 kernel32: Fix removing trailing spaces from lpDefault for GetPrivateProfileString. 2008-07-17 11:37:55 +02:00
James Hawkins e5705eae84 kernel32: Add tests for GetPrivateProfileString. 2008-07-17 11:37:02 +02:00
James Hawkins 9dfd90fb98 fusion: The cases are tokens, not table indices. 2008-07-17 11:36:57 +02:00
H. Verbeet f902b044d3 d3d9: Use color_match() in vshader_version_varying_test().
Also fixes the range on the test, 0x19 plus 1 equals 0x1a, and
0x003c0000 should've been 0x004c0000.
2008-07-17 11:36:51 +02:00
H. Verbeet c72c70d609 wined3d: Store the texture in a local variable in sampler_texmatrix().
Slightly improves readability.
2008-07-17 11:36:42 +02:00
Juan Lang 5fff29cded crypt32: Reorganize root store creation code. 2008-07-17 11:36:31 +02:00
Jacek Caban 014b96ef15 msi: Added Session::Message implementation. 2008-07-17 11:36:22 +02:00
Alexander Dorofeyev 2be93ce6b0 ddraw/tests: Add tests for surface caps memory flags. 2008-07-17 11:21:48 +02:00
Alexander Dorofeyev 59fc5a75e0 ddraw: Force surfaces without memory flags to video memory on creation.
Also removes now redundant setting of vidmem flag on rendertargets, prevents 
adding vidmem flag when sysmem flag is present. Fixes missing textures in Forsaken.
2008-07-17 11:21:39 +02:00
Nikolay Sivov 3a1e2a304e gdiplus: Make GdipInvertMatrix test pass on native switching to matrix with determinant 16. 2008-07-17 11:21:13 +02:00
Nikolay Sivov a53b9b95b8 gdiplus: Fix for GdipPathIterNextMarker to handle path without markers. Fix tests. 2008-07-17 11:20:45 +02:00
Nikolay Sivov dcfbe58ef7 gdiplus: Fix GdipCreatePathIter to handle NULL as path. Fix tests. 2008-07-17 11:20:22 +02:00
Eric Pouech 6ef6f7167d richedit: Add an assert to point out what we're expecting. 2008-07-17 10:53:41 +02:00
Nikolay Sivov d8a25fc26c gdiplus: Implemented GdipCreateBitmapFromResource. 2008-07-17 10:53:31 +02:00
Vincent Povirk fd5b97bc4d wininet: Always respect Proxy-Connection: or Connection: if it exists. 2008-07-17 10:51:26 +02:00
Aric Stewart 11f09f3aa0 comctl32: rebar: Prevent unnecessary triggering of RBBIM_CHILDSIZE changes. 2008-07-17 10:51:18 +02:00
Aric Stewart 1c2ad72b47 comctl32: rebar: Record what changes and only redo the Layout if something of relevance changes. 2008-07-17 10:51:00 +02:00
Roy Shea 80ee225f23 mstask: Skeleton implementation of Task Scheduler Service. 2008-07-16 20:14:30 +02:00
Jon Griffiths 2da98052d9 mswsock: Implement 3 functions by calling through SIO_GET_EXTENSION_FUNCTION_POINTER. 2008-07-16 20:11:52 +02:00
Jon Griffiths 8e86162be5 msvcrt: Fix exponents in *printf family. 2008-07-16 20:10:28 +02:00
Gerald Pfeifer a44771c925 ntdll/tests: Use NTSTATUS instead of DWORD for status variables. 2008-07-16 20:09:59 +02:00
Gerald Pfeifer 17f28f85d8 comctl32: rebar: Simplify by shedding off unused parameters. 2008-07-16 20:09:21 +02:00
James Hawkins 2a51df3b7a fusion: Handle DWORD-sized string indices when loading the assembly name. 2008-07-16 19:56:25 +02:00
James Hawkins 0edab123aa fusion: Add handling for alternate-sized table indices in the metadata. 2008-07-16 19:56:25 +02:00
James Hawkins b2888e1e56 fusion: Add the CorTokenType and use those constants in the assembly code. 2008-07-16 19:56:25 +02:00
James Hawkins 8f985a338a fusion: The VersionLength member is not constant, so dynamically load the metadata header. 2008-07-16 19:56:25 +02:00
James Hawkins 378fde9acf fusion: Load the table row numbers before calculating the table offsets. 2008-07-16 19:56:24 +02:00
James Hawkins 8a7b76fefa fusion: Allow parsing the blob stream without a #. 2008-07-16 19:56:24 +02:00
Zhangrong Huang c4ac69b755 msxml3: Add support for accessing CDATASection node. 2008-07-16 19:56:24 +02:00
Zhangrong Huang 89f1bfabe3 msxml3: Add support for accessing document node. 2008-07-16 19:56:24 +02:00