Henri Verbeet [Wed, 17 Mar 2010 20:59:54 +0000 (21:59 +0100)]
wined3d: Avoid some common invalid context accesses.
Unfortunately there are plenty of other places left. Perhaps we should
consider creating our own window when the context becomes invalid and making
the context current on that instead.
Henri Verbeet [Wed, 17 Mar 2010 20:59:53 +0000 (21:59 +0100)]
wined3d: Kill VTRACE.
Henri Verbeet [Wed, 17 Mar 2010 20:59:52 +0000 (21:59 +0100)]
wined3d: Replace some VTRACEs with proper TRACEs.
Henri Verbeet [Wed, 17 Mar 2010 20:59:51 +0000 (21:59 +0100)]
wined3d: Add a quirk to rebind FBOs when one of their attached textures is updated.
Updating a texture while it is attached to the currently bound FBO is
something GL implementations tend to get wrong. NVIDIA fails at
glTexSubImage2D(), fglrx and Mesa with glTexImage2D(). I'm afraid to try what
happens on OS X. Fortunately we never use glTexImage2D() while a texture is
attached to an FBO, so we only need to care about glTexSubImage2D().
Henri Verbeet [Wed, 17 Mar 2010 20:59:50 +0000 (21:59 +0100)]
wined3d: Unify GLINFO_LOCATION in surface.c.
Henri Verbeet [Wed, 17 Mar 2010 20:59:49 +0000 (21:59 +0100)]
ddraw: Acquire/release the focus window from the correct location.
Henri Verbeet [Wed, 17 Mar 2010 20:59:48 +0000 (21:59 +0100)]
wined3d: Make the focus window also the foreground window.
Henri Verbeet [Wed, 17 Mar 2010 20:59:47 +0000 (21:59 +0100)]
d3d9/tests: Extend the window proc / focus window tests.
Henri Verbeet [Wed, 17 Mar 2010 20:59:46 +0000 (21:59 +0100)]
d3d8/tests: Extend the window proc / focus window tests.
Henri Verbeet [Wed, 17 Mar 2010 20:59:45 +0000 (21:59 +0100)]
user32/tests: Add a test for foreground windows on a different thread.
What happens is that we get the WM_WINE_SETACTIVEWINDOW message sent by the
other thread after we already changed the foreground window back to our own
window.
Andrew Eikum [Wed, 17 Mar 2010 21:09:09 +0000 (16:09 -0500)]
mshtml: Fix return value interpretation when navigating.
Vincent Povirk [Sat, 13 Mar 2010 18:29:09 +0000 (12:29 -0600)]
windowscodecs: Make component enumerators thread-safe.
This is needed so that ImagingFactory can have a threading model of Both.
Vincent Povirk [Wed, 17 Mar 2010 18:18:43 +0000 (13:18 -0500)]
include: Add definitions for IWICBitmapScaler.
Vincent Povirk [Wed, 17 Mar 2010 17:29:23 +0000 (12:29 -0500)]
winex11.drv: Use CurrentTime to focus windows if we have no timestamp.
Vincent Povirk [Wed, 17 Mar 2010 16:39:35 +0000 (11:39 -0500)]
winex11.drv: ReadSelectionData should fail if the import function fails.
Nikolay Sivov [Wed, 17 Mar 2010 15:21:52 +0000 (18:21 +0300)]
ole32: Remove useless parameter check.
Christian Costa [Wed, 17 Mar 2010 11:21:22 +0000 (12:21 +0100)]
d3dx9_36: Add stub for D3DXCreateTextureFromFileInMemoryEx.
Stefan Dösinger [Thu, 14 Jan 2010 15:54:58 +0000 (07:54 -0800)]
d3d9: Remove old debug messages from the tests.
Stefan Dösinger [Mon, 15 Mar 2010 13:08:23 +0000 (14:08 +0100)]
d3d9: Windows 7 rejects invalid rectangles.
Stefan Dösinger [Mon, 15 Mar 2010 12:42:57 +0000 (13:42 +0100)]
d3d9: Remove the double unlock test.
Stefan Dösinger [Sat, 27 Feb 2010 13:38:18 +0000 (14:38 +0100)]
ddraw: Use a D24X8 depth buffer.
Jörg Höhle [Tue, 16 Mar 2010 18:14:38 +0000 (19:14 +0100)]
msvfw32: MCI Step is like Seek.
Paul Vriens [Wed, 17 Mar 2010 12:20:15 +0000 (13:20 +0100)]
shlwapi/tests: Fix some test failures on Vista+.
Jacek Caban [Wed, 17 Mar 2010 12:19:35 +0000 (13:19 +0100)]
shdocvw: Fixed tests on some Windows.
Maarten Lankhorst [Wed, 17 Mar 2010 09:50:24 +0000 (10:50 +0100)]
midimap: Defer initialisation.
Stefan Dösinger [Thu, 11 Mar 2010 14:41:31 +0000 (15:41 +0100)]
wined3d: Make resources 16 byte aligned.
Stefan Dösinger [Thu, 11 Mar 2010 14:21:40 +0000 (15:21 +0100)]
wined3d: Merge two if conditions in buffer.c.
Maciej Borsz [Tue, 16 Mar 2010 18:58:25 +0000 (19:58 +0100)]
winhttp: Fix invalid behaviour of WinHttpCrackUrl.
Sandijs Ribaks [Tue, 16 Mar 2010 14:09:06 +0000 (16:09 +0200)]
wined3d: Add surface conversion function from WINED3DFMT_YUY2 to WINED3DFMT_B8G8R8X8_UNORM.
Andrew Eikum [Tue, 16 Mar 2010 21:49:23 +0000 (16:49 -0500)]
hlink: Implement IHlinkBrowseContext::GetBrowseWindowInfo.
Andrew Eikum [Tue, 16 Mar 2010 19:52:04 +0000 (14:52 -0500)]
hlink: Split target at hash in HlinkCreateFromString.
Andrew Eikum [Tue, 16 Mar 2010 19:52:01 +0000 (14:52 -0500)]
hlink: Set hlink's location to NULL if the empty string is given.
Michael Stefaniuc [Tue, 16 Mar 2010 22:05:47 +0000 (23:05 +0100)]
oleaut32: Plug some memleaks on error paths (Smatch).
Michael Stefaniuc [Tue, 16 Mar 2010 22:05:39 +0000 (23:05 +0100)]
oleaut32: Remove superfluous NULL check before HeapFree (Smatch).
Vincent Povirk [Tue, 16 Mar 2010 18:32:57 +0000 (13:32 -0500)]
oleaut32: Always use DISPID_PROPERTYPUT to fill in the last argument.
Paul Vriens [Tue, 16 Mar 2010 18:21:08 +0000 (19:21 +0100)]
shlwapi/tests: Fix some test failures on XP/Vista.
Paul Vriens [Tue, 16 Mar 2010 18:17:56 +0000 (19:17 +0100)]
rsaenh/tests: Fix some test failures on XP (pre SP3).
Henri Verbeet [Tue, 16 Mar 2010 18:02:22 +0000 (19:02 +0100)]
ddraw: Fix IDirectDraw4Impl_GetSurfaceFromDC().
Perhaps interesting to note is that this returns an IDirectDrawSurface instead
of an IDirectDrawSurface4.
Henri Verbeet [Tue, 16 Mar 2010 18:02:21 +0000 (19:02 +0100)]
ddraw: Implement IDirectDrawImpl_GetSurfaceFromDC().
This is a pretty naive implementation, should that become a performance
problem it's easy enough to speed up with a search tree of some kind.
Henri Verbeet [Tue, 16 Mar 2010 18:02:20 +0000 (19:02 +0100)]
wined3d: Cleanup IWineD3DDeviceImpl_SetFrontBackBuffers().
Henri Verbeet [Tue, 16 Mar 2010 18:02:19 +0000 (19:02 +0100)]
wined3d: Don't change the draw buffer in IWineD3DDeviceImpl_SetFrontBackBuffers().
This should be handled by the context's draw buffer management.
Henri Verbeet [Tue, 16 Mar 2010 18:02:18 +0000 (19:02 +0100)]
wined3d: Simplify the IWineD3DDeviceImpl_ClearSurface() surface loading code.
Henri Verbeet [Tue, 16 Mar 2010 18:02:17 +0000 (19:02 +0100)]
wined3d: Simplify context_apply_attachment_filter_states() flow a bit.
Henri Verbeet [Tue, 16 Mar 2010 18:02:16 +0000 (19:02 +0100)]
wined3d: Add missing checkGLcall's to buffer_Map().
Henri Verbeet [Tue, 16 Mar 2010 18:02:15 +0000 (19:02 +0100)]
wined3d: Don't use framebuffer blit for backbuffer formats with fixups in swapchain_blit().
Henri Verbeet [Tue, 16 Mar 2010 18:02:14 +0000 (19:02 +0100)]
wined3d: Don't use filtering on textures that need complex fixups in swapchain_blit().
For example, interpolating palette indices doesn't have the desired result.
Should we really want filtering for these cases we could implement it inside
the relevant shaders, after the fixup, but I doubt it's worth the effort.
Henri Verbeet [Tue, 16 Mar 2010 18:02:13 +0000 (19:02 +0100)]
wined3d: Use "gl_filter" in the non-FBO path of swapchain_blit() as well.
Alexandre Julliard [Tue, 16 Mar 2010 21:00:02 +0000 (22:00 +0100)]
makefiles: Add more shell functions to generate the main makefile.
Ilya Basin [Mon, 8 Mar 2010 18:44:57 +0000 (21:44 +0300)]
shell32/tests: Add tests for the parser of SHELLEXECUTEINFO.lpFile.
Jörg Höhle [Sun, 14 Mar 2010 11:49:14 +0000 (12:49 +0100)]
mciseq: MCI Set Port allows to select the MIDI device.
Jörg Höhle [Mon, 15 Mar 2010 07:11:04 +0000 (08:11 +0100)]
mciavi: Stubs should return a success code.
Partly reverts my commit
3e5c704e7a44328e9243e786bd6e37c17e790fa4.
David Hedberg [Tue, 16 Mar 2010 00:32:46 +0000 (01:32 +0100)]
shell32: Initial support for the properties command in the IContextMenu for shellview.
David Hedberg [Tue, 16 Mar 2010 00:32:45 +0000 (01:32 +0100)]
shell32: SHCreatePropSheetExtArrayEx should check if the key itself contains the clsid of the shell extension.
David Hedberg [Tue, 16 Mar 2010 00:32:44 +0000 (01:32 +0100)]
wine.inf: Add key for approved shell extensions.
Nikolay Sivov [Mon, 15 Mar 2010 19:51:56 +0000 (22:51 +0300)]
ole32: Turn FIXME to TRACE for CoGetTreatAsClass.
Paul Vriens [Tue, 16 Mar 2010 10:00:59 +0000 (11:00 +0100)]
gdiplus/tests: Fix a test failure on Win98/WinMe.
Yann Droneaud [Tue, 16 Mar 2010 09:54:26 +0000 (10:54 +0100)]
cmd: Add another expansion test.
Test %VAR%VAR% to check that the second variable is not expanded.
Yann Droneaud [Tue, 16 Mar 2010 09:53:28 +0000 (10:53 +0100)]
cmd: Remove %CD% test.
%CD% seems not supported on Windows NT 4.
Paul Vriens [Tue, 16 Mar 2010 09:42:48 +0000 (10:42 +0100)]
kernel32/tests: Run tests again on Win95.
Paul Vriens [Tue, 16 Mar 2010 09:18:52 +0000 (10:18 +0100)]
mshtml/tests: Fix some test failures on Win9x/WinMe by using a A-function.
Stefan Dösinger [Thu, 11 Mar 2010 12:20:32 +0000 (13:20 +0100)]
wined3d: Check the alignment of mapped buffer pointers.
Windows returns 32 byte aligned pointers when locking vertex and index
buffers, and some applications(Half Life 2, Alpha Prime, possibly others)
rely on this. Check the alignment and fall back to double buffered
buffers with HeapAlloced and aligned pointers if the alignment doesn't
fit.
Stefan Dösinger [Thu, 11 Mar 2010 11:34:22 +0000 (12:34 +0100)]
wined3d: Implement unfenced updates of double buffered buffers.
Stefan Dösinger [Thu, 11 Mar 2010 11:23:19 +0000 (12:23 +0100)]
wined3d: Use glMapBuffer for 1:1 uploads in PreLoad.
This is needed to take advantage of asynchronous uploads with double buffered buffers
Stefan Dösinger [Thu, 11 Mar 2010 11:05:23 +0000 (12:05 +0100)]
wined3d: Don't DISCARD or NOOVERWRITE non-dynamic buffers.
Shaiya locks a non-dynamic buffer with the DISCARD flag and expects
the contents to be retained. The SDK says DISCARD requires dynamic
resources, and Windows 7 returns an error in this situation, crashing
Shaiya. This patch sticks to the Windows XP behavior and allows the
lock, but ignores the DISCARD flag to retain the buffer contents.
Stefan Dösinger [Sun, 14 Mar 2010 11:59:29 +0000 (12:59 +0100)]
d3d9: Fix test failures on Windows 7.
Eric Pouech [Mon, 15 Mar 2010 20:12:37 +0000 (21:12 +0100)]
dbghelp: Store the file map in ELF's module specific data.
Eric Pouech [Mon, 15 Mar 2010 20:12:31 +0000 (21:12 +0100)]
dbghelp: Added helper to free module's specific data (ELF, MSC...) upon removal.
Eric Pouech [Mon, 15 Mar 2010 20:12:22 +0000 (21:12 +0100)]
dbghelp: Added full support for DW_FORM_data8 attributes, as well as primary support for DW_FORM_block* attributes.
Alexandre Julliard [Tue, 16 Mar 2010 12:27:27 +0000 (13:27 +0100)]
makefiles: Remove the no longer needed explicit dependencies for bison files.
Alexandre Julliard [Tue, 16 Mar 2010 12:16:20 +0000 (13:16 +0100)]
makefiles: Remove the no longer needed explicit separators for dependencies.
Alexandre Julliard [Tue, 16 Mar 2010 12:27:51 +0000 (13:27 +0100)]
makedep: Output source dependency for bison files needed for parallel makes.
Alexandre Julliard [Tue, 16 Mar 2010 12:14:21 +0000 (13:14 +0100)]
makedep: Append the separator if not found in an existing makefile.
Ričardas Barkauskas [Mon, 15 Mar 2010 23:10:09 +0000 (01:10 +0200)]
d3d9/tests: Test ATI2N pitch and locking offset behaviour.
Ričardas Barkauskas [Mon, 15 Mar 2010 23:19:23 +0000 (01:19 +0200)]
wined3d: Fix ATI2N pitch and offset calculations.
Justin Chevrier [Mon, 15 Mar 2010 23:14:28 +0000 (19:14 -0400)]
gdiplus: Basic implementation of GdipImageGetFrameCount with updated tests.
Justin Chevrier [Mon, 15 Mar 2010 23:14:27 +0000 (19:14 -0400)]
gdiplus/tests: Expand GdipImageGetFrameCount test coverage.
Michael Stefaniuc [Tue, 16 Mar 2010 00:09:40 +0000 (01:09 +0100)]
iphlpapi: Don't crash when enumerating PtP interfaces.
Piotr Caban [Mon, 15 Mar 2010 22:40:46 +0000 (23:40 +0100)]
oleaut32: Set parameter to NULL in GetMops stub.
Piotr Caban [Mon, 15 Mar 2010 22:40:31 +0000 (23:40 +0100)]
oleaut32: Improve ICreateTypeInfo_LayOut implementation.
Piotr Caban [Mon, 15 Mar 2010 22:40:15 +0000 (23:40 +0100)]
oleaut32: Improved ICreateTypeInfo AddFuncDesc implementation.
Piotr Caban [Mon, 15 Mar 2010 22:40:01 +0000 (23:40 +0100)]
oleaut32: Use QueryPathOfRegTypeLib in ICreateTypeInfo2_AddRefTypeInfo.
Piotr Caban [Mon, 15 Mar 2010 22:39:46 +0000 (23:39 +0100)]
oleaut32: Remove incorrect memid validation.
This code was trying to block negative values of memid (incorrectly).
I have run more tests and found that it's possible to set some negative
values (e.g. on TKIND_INTERFACE: -1, -4..-8, -500..?). Unless we know
what values are allowed it's probably better to not check memid.
Piotr Caban [Mon, 15 Mar 2010 22:39:31 +0000 (23:39 +0100)]
oleaut32: Fix importinfo flags.
Piotr Caban [Mon, 15 Mar 2010 22:39:15 +0000 (23:39 +0100)]
oleaut32: Fix some reference leaks.
Piotr Caban [Mon, 15 Mar 2010 22:38:57 +0000 (23:38 +0100)]
oleaut32: Added ICreateTypeInfo2_SetFuncHelpContext implementation.
Piotr Caban [Mon, 15 Mar 2010 22:38:40 +0000 (23:38 +0100)]
oleaut32: Improve dual interfaces creation in typelib.
Piotr Caban [Mon, 15 Mar 2010 22:38:24 +0000 (23:38 +0100)]
oleaut32: Improve TypeInfos with changed TypeKind handling.
Piotr Caban [Mon, 15 Mar 2010 22:37:48 +0000 (23:37 +0100)]
oleaut32: Simplify ICreateTypeInfo2_SetTypeFlags implementation.
Henri Verbeet [Mon, 15 Mar 2010 20:07:31 +0000 (21:07 +0100)]
wined3d: Implement SetDestWindowOverride() by simply making the context current on a different window.
Henri Verbeet [Mon, 15 Mar 2010 20:07:30 +0000 (21:07 +0100)]
wined3d: Store the device window in the swapchain.
The swapchain's current window might be changed by SetDestWindowOverride().
Henri Verbeet [Mon, 15 Mar 2010 20:07:29 +0000 (21:07 +0100)]
wined3d: Simplify a comparison in IWineD3DDeviceImpl_Reset().
Henri Verbeet [Mon, 15 Mar 2010 20:07:28 +0000 (21:07 +0100)]
wined3d: The swapchain should always have a window handle.
Henri Verbeet [Mon, 15 Mar 2010 20:07:27 +0000 (21:07 +0100)]
wined3d: Use the context's window handle in IWineD3DSurfaceImpl_BltOverride().
Henri Verbeet [Mon, 15 Mar 2010 20:07:26 +0000 (21:07 +0100)]
wined3d: Use the context's window handle in stretch_rect_fbo().
Henri Verbeet [Mon, 15 Mar 2010 20:07:25 +0000 (21:07 +0100)]
wined3d: Store the swapchain instead of the surface in the context.
Henri Verbeet [Mon, 15 Mar 2010 20:07:24 +0000 (21:07 +0100)]
wined3d: Add a separate function to set the pixel format in context_create().
Henri Verbeet [Mon, 15 Mar 2010 20:07:23 +0000 (21:07 +0100)]
wined3d: Use "gl_info" in some more places in context_create().
Rob Shearman [Mon, 15 Mar 2010 21:18:46 +0000 (21:18 +0000)]
rpcrt4: Add support for marshalling/unmarshalling complex arrays of pointers.
Rob Shearman [Mon, 15 Mar 2010 19:31:14 +0000 (19:31 +0000)]
widl: Remove a FIXME comment in write_function_stubs.
Clean valgrind runs of tested types and comparison with MIDL-generated
code suggests that the existing code written in the finally block for
client code is sufficient.
Rob Shearman [Mon, 15 Mar 2010 19:31:10 +0000 (19:31 +0000)]
widl: Simplify write_parameter_conf_or_var_exprs by making use of typegen_detect_type.
Remove the difficult manual walking of the alias tree and make the
code easier to read and less likely to break if a new type is added.