Commit Graph

76459 Commits

Author SHA1 Message Date
Henri Verbeet aea8d5c11e wined3d: Get rid of the render target / overlay check in wined3d_surface_flip().
The surface needs to be part of a swapchain to be flipped, but that doesn't
have much to do with WINED3DUSAGE_RENDERTARGET. We can just remove the check
here, because ddraw_surface7_Flip() already has the correct check.
2013-09-11 09:58:50 +02:00
Nikolay Sivov 8ae6b43bc8 shell32: Fix getting a command string when root key default value doesn't point to a key. 2013-09-10 19:07:31 +02:00
Andrew Eikum 6b4f43e8e6 oleaut32: Don't crash on NULL string arguments. 2013-09-10 17:31:49 +02:00
Huw Davies 5bfabee8cd iphlpapi: Don't set the dns server list if there are no servers. 2013-09-10 17:31:48 +02:00
Stefan Dösinger c0a14564d3 d3d9/tests: Actually accept r500 results. 2013-09-10 17:00:59 +02:00
Stefan Dösinger ff14c24dd2 d3d9/tests: Use a plain depth stencil instead of a texture.
r500 does not support anything but AMD's extension depth texture formats
on Windows 7. Plain surfaces work OK with the builtin formats.
2013-09-10 17:00:55 +02:00
Stefan Dösinger 5b48335ce2 d3d8/tests: Mark YUY2 and UYVY broken. 2013-09-10 17:00:50 +02:00
Stefan Dösinger b59418d75d d3d9/tests: Test the behavior of failing surface creation calls. 2013-09-10 17:00:46 +02:00
Stefan Dösinger 99da74fea4 d3d8/tests: Test the behavior of failing surface creation calls. 2013-09-10 17:00:41 +02:00
Jactry Zeng 1cbdb2aff7 riched20: Add a length return parameter to ME_ToUnicode. 2013-09-10 12:27:37 +02:00
Bruno Jesus dea4f7bc02 ws2_32: Implement get socket option SO_PROTOCOL_INFO. 2013-09-10 12:27:35 +02:00
Dmitry Timoshkov f031c676c1 server: Add a serial event mask change counter. 2013-09-10 11:18:57 +02:00
Henri Verbeet 4b772c2cf2 d3drm: Avoid LPRECT. 2013-09-10 11:10:17 +02:00
Henri Verbeet 39991e759a d3drm: Avoid LPDWORD. 2013-09-10 11:10:14 +02:00
Henri Verbeet d21c26e4f6 wined3d: Get rid of surface_modify_location(). 2013-09-10 11:09:53 +02:00
Henri Verbeet b62915dabb wined3d: Replace surface_modify_location(surface, location, FALSE) calls with surface_invalidate_location(). 2013-09-10 11:09:51 +02:00
Henri Verbeet c6ce5486c0 wined3d: Get rid of the special SFLAG_INTEXTURE / SFLAG_INSRGBTEX code in surface_modify_location().
It turns out this is already safe for all callers.
2013-09-10 11:09:48 +02:00
Ken Thomases ae2ce18fd6 winemac: Don't allow dead-key state to repeat after characters are generated.
It's fairly common in Mac keyboard layouts that, if you type a dead key twice,
the second key press will both produce a non-dead character and also
perpetuate the dead-key state.  For example, with the U.S. layout, Option-E,
E will produce "" and Option-E, Option-E, E will produce "".  Windows
keyboard layouts don't tend to do this.  The second key press produces the
non-dead character and clears the dead-key state.
2013-09-10 11:07:41 +02:00
André Hentschel fa6b058070 kernel32: Add partial CreateFile2 implementation. 2013-09-10 11:06:31 +02:00
Nikolay Sivov 26d42b9d5c msxml3: Added ISupportErrorInfo support for schema cache. 2013-09-09 22:10:01 +02:00
Stefan Dösinger 20ce6bd102 ddraw/tests: Don't test transformed vertices with normals.
They crash the GPU driver of my r200 WinXP laptop, causing anything from
a BSOD to a frozen or black screen and sometimes incorrectly set
resolutions.
2013-09-09 22:10:01 +02:00
Stefan Dösinger cd203b38a6 wined3d: Pass the context to the main buffer preload function. 2013-09-09 22:10:01 +02:00
Stefan Dösinger 87f931dc64 wined3d: Only invalidate STATE_INDEXBUFFER for the current context in buffer_get_sysmem(). 2013-09-09 22:10:00 +02:00
Stefan Dösinger 1cf192172e wined3d: Only invalidate STATE_INDEXBUFFER for the current context in buffer_create_buffer_object(). 2013-09-09 22:10:00 +02:00
Andrew Eikum c5be905bf7 oleaut32: Fix TRACE. 2013-09-09 22:10:00 +02:00
Andrew Eikum 808c47cecb oleaut32: Typelib strings of size -1 are NULL. 2013-09-09 22:10:00 +02:00
Detlef Riekenberg 6cb2156976 d3dx11_42: Add stub dll. 2013-09-09 22:10:00 +02:00
Detlef Riekenberg e10b687dbf d3dx11_43: Add stub dll. 2013-09-09 22:10:00 +02:00
Sylvain Petreolle 4a1d4acd29 wbemprox: Implement Win32_OperatingSystem.LocalDateTime. 2013-09-09 22:09:59 +02:00
Bruno Jesus 3465646d44 kernel32: Fix parameters checking for GetVolumePathName(). 2013-09-09 22:09:59 +02:00
Nikolay Sivov 1c13e6221a shell32: Remove asserts on invalid parameters. 2013-09-09 22:09:59 +02:00
Nikolay Sivov f0d17b5c17 shell32: Fix handle leak on consecutive Init() calls. 2013-09-09 22:09:59 +02:00
Nikolay Sivov 891cf2ac54 shell32: Added support for ASSOCF_NOTRUNCATE flag in GetString(). 2013-09-09 22:09:59 +02:00
Nikolay Sivov 4f6230d5c4 shell32: Fix search for a command string to cover more cases (like protocol associations). 2013-09-09 22:09:59 +02:00
Bruno Jesus 0816f85b6b ws2_32: Implement WSADuplicateSocket[A|W] using a helper function. 2013-09-09 22:09:59 +02:00
Bruno Jesus d77522988b ws2_32/tests: Mark WinNT result as broken. 2013-09-09 22:09:59 +02:00
Vincent Povirk ac5faea093 winsta: Stub WinStationGetAllProcesses. 2013-09-09 22:09:58 +02:00
Vincent Povirk 7c215d5a25 winsta: Stub WinStationRegisterConsoleNotification. 2013-09-09 22:09:58 +02:00
Aric Stewart 5aa1f6b7a5 Unicode Private Use Area is also rotated by tategaki. 2013-09-09 22:09:58 +02:00
Henri Verbeet 16c48f9d84 d3drm: Avoid LPVOID. 2013-09-09 22:09:58 +02:00
Henri Verbeet a9f3bc43e5 d3drm: Avoid LPSTR. 2013-09-09 22:09:58 +02:00
Henri Verbeet e2f4ab4607 wined3d: Rewrite surface_modify_location() on top of surface_validate_location() and surface_invalidate_location(). 2013-09-09 22:09:58 +02:00
Henri Verbeet 59e2f52ff8 wined3d: Replace the "dirty" field in struct gl_texture with WINED3D_TEXTURE_ flags. 2013-09-09 22:09:58 +02:00
Henri Verbeet c44012f0c1 wined3d: Get rid of the "dirty" flag to wined3d_texture_set_dirty(). 2013-09-09 22:09:57 +02:00
Nikolay Sivov bcbd13b70c ntdll: Added compatible sections for clrClass data. 2013-09-09 22:09:56 +02:00
Nikolay Sivov 88d5cab5e9 comctl32/tests: Manually load comctl32.dll with newly activated context. 2013-09-09 11:27:59 +02:00
Nikolay Sivov f13d8cc373 comctl32: Fix LVS_OWNERDRAWFIXED handling in hittesting. 2013-09-09 11:27:54 +02:00
Nikolay Sivov 88c2a189fe kernel32/tests: Added some activation context tests for SearchPath(). 2013-09-06 17:28:48 +02:00
Bruno Jesus 4981b5b446 ws2_32: Remove a FIXME message. 2013-09-06 17:25:21 +02:00
Bruno Jesus b2170d845d ws2_32: Fix SO_ACCEPTCONN on BSD systems. 2013-09-06 17:25:17 +02:00
Bruno Jesus 0b03dc93e9 ws2_32: Add parameters TRACE for WS_EnumProtocols. 2013-09-06 17:25:15 +02:00
Andrew Eikum 52b1adcd6e oleaut32: Correct TRACE statement. 2013-09-06 17:25:08 +02:00
Andrew Eikum cb1f4c5387 oleaut32: Apply TKIND_DISPATCH changes to FUNCDESC results from ITypeComp::Bind. 2013-09-06 17:25:08 +02:00
Andrew Eikum 664e7938cb oleaut32: Improve TYPEDESC encoding for unknown VARTYPEs.
It's not worth printing a FIXME for every VARTYPE we don't happen to
list in the switch statement.
2013-09-06 17:25:08 +02:00
Stefan Dösinger b92928333b ddraw/tests: Test unsupported texture formats. 2013-09-06 17:25:08 +02:00
Stefan Dösinger f69ba15a92 ddraw/tests: Test blocked texture creation restrictions. 2013-09-06 17:25:08 +02:00
Stefan Dösinger 36c15d92e9 d3d8/tests: Test blocked texture creation restrictions. 2013-09-06 17:25:08 +02:00
Stefan Dösinger b7b028ca4b d3d9/tests: Test blocked texture creation restrictions. 2013-09-06 17:25:08 +02:00
Stefan Dösinger df5a0976e9 wined3d: Check the format block size before creating textures.
Sizes of textures and stand-alone surfaces must be multiples of the
format's block size for DXTN formats. Since we create a texture for
everything (except in ddraw), this check also takes care of stand-alone
surfaces.
2013-09-06 17:25:08 +02:00
Stefan Dösinger 80638b6d2f wined3d: Enforce texturing capability format restrictions on resource creation. 2013-09-06 17:25:08 +02:00
Stefan Dösinger b464067313 ddraw: Create a sysmem surface if the format is not supported. 2013-09-06 17:25:08 +02:00
Jacek Caban ba4278a735 crypt32: Added support for retrieving certs by URL. 2013-09-06 17:25:08 +02:00
Jacek Caban 9dd32ba67d crypt32: Added support for retrieving issuers from URL cache. 2013-09-06 17:25:08 +02:00
Jacek Caban 0e0d51ae85 crypt32: Search world collection when looking for issuer. 2013-09-06 17:25:08 +02:00
Nikolay Sivov 47650c3320 user32/tests: Test to show that SendMessage/PostMessage don't force caller activation context on window thread. 2013-09-06 17:25:08 +02:00
Andrew Cook fef18a4267 kernel32: Fix argument order for NtIsProcessInJob. 2013-09-06 12:08:10 +02:00
Dmitry Timoshkov a4ec059354 ntdll/tests: Add some tests for negative file offsets. 2013-09-06 12:03:55 +02:00
Henri Verbeet 75deeb4589 d3drm: Avoid LPCSTR. 2013-09-06 12:00:26 +02:00
Henri Verbeet 5daf5e80fb d3dcompiler: Avoid LPVOID. 2013-09-06 12:00:24 +02:00
Henri Verbeet 4735690dc2 ddraw: Introduce a helper function for initializing a D3DDEVICEDESC structure from a D3DDEVICEDESC7 structure. 2013-09-06 12:00:22 +02:00
Henri Verbeet 7859509f5b wined3d: Get rid of the SFLAG_INTEXTURE / SFLAG_INSRGBTEX check in surface_set_texture_name(). 2013-09-06 12:00:12 +02:00
Henri Verbeet 137590be31 wined3d: Return 1 instead of 0 for max_vertex_blend_matrices in glsl_vertex_pipe_vp_get_caps().
It's not necessarily clear to me that one is better than the other here, but
this is what we returned in the old GL fixed function implementation of the
D3D fixed function vertex pipe, and apparently EverQuest depends on this.

This fixes a regression introduced by commit 2014141a25.
2013-09-06 12:00:09 +02:00
Ken Thomases 7ed00f6d97 winemac: Add support for mouse-move and right- and middle-click events on systray icons in the Mac status bar. 2013-09-06 11:59:13 +02:00
Marcus Meissner c6761b8b9d mciqtz32: Do not print uninitialized variables (Coverity). 2013-09-06 11:46:52 +02:00
Ralf Habacker 39629a3d35 gdi32: Fixed Rectangle() rotation with GM_ADVANCED graphics mode in dib driver. 2013-09-05 20:58:24 +02:00
Stefan Dösinger 22fc22d28b ddraw: Enumerate DXT2 and DXT4. 2013-09-05 17:56:24 +02:00
Stefan Dösinger b88daee3bc ddraw: Create managed pool textures.
The surfaces are already in WINED3D_POOL_MANAGED.
2013-09-05 17:56:17 +02:00
Stefan Dösinger 8da09ba196 ddraw/tests: Test DDCAPS2_TEXTUREMANAGE compatibility, with other flags. 2013-09-05 17:56:06 +02:00
Stefan Dösinger b73464a413 wined3d: Use the ftoa helper function in the ARB shader backend.
This is the ARB equivalent to e0494afa00.
2013-09-05 17:55:48 +02:00
Stefan Dösinger 37c4f3a88c wined3d: Don't clamp texture lookups in the ARB fixed function fragment pipe. 2013-09-05 17:55:11 +02:00
Bruno Jesus 1d1faa0283 ws2_32: Cope with invalid protocols in WSAEnumProtocols. 2013-09-05 16:21:48 +02:00
Jacek Caban 533730de7f cryptnet: Removed unused typedefs. 2013-09-05 15:56:46 +02:00
Hans Leidekker 9ea95f4105 rpcrt4: Add support for NTLM and Negotiate. 2013-09-05 13:26:15 +02:00
Jactry Zeng a8d87afe1c riched20/tests: Add tests of ITextDocument_Open. 2013-09-05 13:25:34 +02:00
Nikolay Sivov 93c59714c0 ntdll: Inherit default activation context from creation thread. 2013-09-05 13:23:50 +02:00
Nikolay Sivov ab08d2a5ba kernel32/tests: Some tests for initial thread activation context. 2013-09-05 13:23:42 +02:00
Rafał Mużyło bb50d6fd95 configure: Don't use X_PRE_LIBS. 2013-09-05 13:21:58 +02:00
Michael Stefaniuc 74b191a605 ntdll: Avoid TRUE FALSE conditional expressions. 2013-09-05 13:18:24 +02:00
Henri Verbeet 1046aa6e48 d3dcompiler: Avoid LPCVOID. 2013-09-05 13:18:24 +02:00
Henri Verbeet 36190dd5e6 d3dcompiler: Avoid LPCSTR. 2013-09-05 13:18:24 +02:00
Henri Verbeet ad178a5b55 wined3d: Enforce WINED3DUSAGE_DEPTHSTENCIL format restrictions on resource creation. 2013-09-05 13:18:24 +02:00
Henri Verbeet b28e9f6482 wined3d: Enforce WINED3DUSAGE_RENDERTARGET format restrictions on resource creation. 2013-09-05 13:18:23 +02:00
Henri Verbeet 6f321ff2f9 ddraw: Don't imply WINED3DUSAGE_RENDERTARGET on primary surfaces.
If the application actually wants to do 3D rendering on the primary surface,
it should set DDSCAPS_3DDEVICE as well.
2013-09-05 13:18:23 +02:00
Michael Stefaniuc b80ab33571 dplayx: Simplify the creation of an IDirectPlaySPImpl object. 2013-09-05 13:18:23 +02:00
Michael Stefaniuc a3ba1b8ff0 dplayx: Finish the COM cleanup for IDirectPlaySP. 2013-09-05 13:18:23 +02:00
Michael Stefaniuc 11756086b4 dplayx: Merge the extra struct into IDirectPlaySPImpl. 2013-09-05 13:18:23 +02:00
Michael Stefaniuc 95fcb49503 dplayx: Remove the unused lock from IDirectPlaySPImpl. 2013-09-05 13:18:23 +02:00
Michael Stefaniuc 07e5975797 dplayx: Remove commented out TRACEs that mimic +tid functionality. 2013-09-05 13:18:23 +02:00
Michael Stefaniuc 744f94be4a dplayx: Simplify ref-counting for IDirectPlaySP. 2013-09-05 13:18:23 +02:00
Michael Stefaniuc 008cc60821 dplayx: Introduce impl_from_IDirectPlaySP(). 2013-09-05 13:18:23 +02:00