Henri Verbeet [Wed, 30 Dec 2009 18:33:43 +0000 (19:33 +0100)]
wined3d: Fix WINED3DRS_DEPTHBIAS handling.
Henri Verbeet [Wed, 30 Dec 2009 18:33:42 +0000 (19:33 +0100)]
wined3d: Merge vertexshader_set_function() and pixelshader_set_function().
Henri Verbeet [Wed, 30 Dec 2009 18:33:41 +0000 (19:33 +0100)]
wined3d: Move shader input/output signatures to IWineD3DBaseShaderClass.
Henri Verbeet [Wed, 30 Dec 2009 18:33:40 +0000 (19:33 +0100)]
wined3d: Always handle WINED3DSPR_INPUT registers as input registers in shader_get_registers_used().
The "attributes" vertexshader field is now derived from the input signature,
and only used to speed up matching D3D9 vertex declaration elements to shader
inputs. D3D8 and D3D10 both explicitly specify input registers.
Henri Verbeet [Wed, 30 Dec 2009 18:33:39 +0000 (19:33 +0100)]
wined3d: Merge pixelshader.c and vertexshader.c.
Andrew Eikum [Wed, 30 Dec 2009 17:43:05 +0000 (11:43 -0600)]
hlink: String target reference is actually moniker target's display name.
The original implementation treated the string target in IHlink as a
separate entity from the moniker target. In reality, the string target
is just the moniker target's display name and setting one reference also
sets the other.
Rob Shearman [Wed, 30 Dec 2009 17:33:52 +0000 (17:33 +0000)]
jscript: Make sure to initialise the string output parameter in run_exec.
Rob Shearman [Wed, 30 Dec 2009 17:33:48 +0000 (17:33 +0000)]
jscript: Make sure retv pointer is initialised in exec_source even if no value needs to be returned.
André Hentschel [Wed, 30 Dec 2009 16:32:20 +0000 (17:32 +0100)]
dbghelp: Fix a typo.
Alexandre Julliard [Wed, 30 Dec 2009 20:24:43 +0000 (21:24 +0100)]
ole32: Fix some pointer cast warnings on 64-bit.
Alexandre Julliard [Wed, 30 Dec 2009 20:24:35 +0000 (21:24 +0100)]
dsound: Fix an invalid pointer cast.
Alexandre Julliard [Wed, 30 Dec 2009 20:24:27 +0000 (21:24 +0100)]
msi: Fix some pointer cast warnings on 64-bit.
Alexandre Julliard [Wed, 30 Dec 2009 19:39:47 +0000 (20:39 +0100)]
ntoskrnl: Duplicate the necessary part of instruction emulation to avoid importing kernel.
Alexandre Julliard [Tue, 29 Dec 2009 21:18:01 +0000 (22:18 +0100)]
libwine: Do not export any of the LDT support on non-i386 platforms.
Alexandre Julliard [Tue, 29 Dec 2009 21:10:50 +0000 (22:10 +0100)]
ntdll: Move the LDT locking functions to the i386-specific code.
Alexandre Julliard [Tue, 29 Dec 2009 20:36:43 +0000 (21:36 +0100)]
winebuild: Get rid of the support for building old style 16-bit modules.
Alexandre Julliard [Tue, 29 Dec 2009 12:13:53 +0000 (13:13 +0100)]
kernel: Get rid of support for loading old style 16-bit files.
Alexandre Julliard [Mon, 28 Dec 2009 22:27:48 +0000 (23:27 +0100)]
kernel: Add an import lib for krnl386, and stop importing 16-bit functions from kernel32.
Alexandre Julliard [Tue, 29 Dec 2009 11:45:37 +0000 (12:45 +0100)]
makefiles: Get rid of all the rules for building old style 16-bit files.
Alexandre Julliard [Tue, 29 Dec 2009 11:32:36 +0000 (12:32 +0100)]
winedos: Move 16-bit VxD support back into kernel.
Alexandre Julliard [Tue, 29 Dec 2009 15:24:00 +0000 (16:24 +0100)]
kernel32: Make krnl386.exe into a stand-alone 16-bit module.
Alexandre Julliard [Wed, 30 Dec 2009 16:29:06 +0000 (17:29 +0100)]
shell32: Move the RunDLL_CallEntry16 implementation to shell.dll.
Andrew Nguyen [Wed, 30 Dec 2009 15:42:33 +0000 (09:42 -0600)]
gdi32: Fix a typo in ScaleViewportExtEx.
Spotted by Gregor Schneider.
Steven Edwards [Mon, 28 Dec 2009 16:44:20 +0000 (11:44 -0500)]
winefile: Replace builtin execute dialog with standard RunFile dialog.
Alexandre Julliard [Mon, 28 Dec 2009 21:19:31 +0000 (22:19 +0100)]
kernel32: Do not include 16-bit headers in 32-bit files.
Christian Costa [Wed, 30 Dec 2009 10:38:30 +0000 (11:38 +0100)]
mciqtz: Improve MCIQTZ_mciSet traces.
Rob Shearman [Wed, 30 Dec 2009 13:15:08 +0000 (13:15 +0000)]
shlwapi: Initialise id field of ConPt object in connection point tests.
Rob Shearman [Wed, 30 Dec 2009 13:14:56 +0000 (13:14 +0000)]
ntdll: Fix typo in RTL_ReportRegistryValue which caused a counted string to be passed into QueryFunction which expects a nul-terminated string.
Eric Pouech [Wed, 30 Dec 2009 08:43:38 +0000 (09:43 +0100)]
winedbg: In "info threads" commands, also show the name of the processes even if not debugged.
Christian Costa [Wed, 30 Dec 2009 08:40:29 +0000 (09:40 +0100)]
mciqtz: Add stub for MCI_SETAUDIO.
Loïc Hoguin [Mon, 28 Dec 2009 17:17:24 +0000 (18:17 +0100)]
winemp3.acm: mpg123_getformat must be called on MPG123_NEW_FORMAT errors for libmpg123 < 1.8.0.
The documentation for libmpg123 clearly state that mpg123_getformat MUST
be called if an error MPG123_NEW_FORMAT is returned, for libmpg123 < 1.8.0.
On versions above that, the call is optional. The patch make sure to call
that function all the time (instead of just when trace is activated) so
that mp3 works in Morrowind and others.
Dmitry Timoshkov [Wed, 30 Dec 2009 05:25:45 +0000 (13:25 +0800)]
user32: Handle virtual key codes only in the WM_KEYDOWN case.
Reported by David Quintana.
Alexander Kochetkov [Wed, 30 Dec 2009 00:54:20 +0000 (03:54 +0300)]
ole32/storage32: Fix return value for invalid access mode in OpenStream.
Michael Stefaniuc [Tue, 29 Dec 2009 22:16:17 +0000 (23:16 +0100)]
winetest: Remove superfluous WPARAM casts.
Michael Stefaniuc [Tue, 29 Dec 2009 22:16:10 +0000 (23:16 +0100)]
user.exe: Remove some superfluous WPARAM/LPARAM casts.
Marcus Meissner [Tue, 29 Dec 2009 22:04:46 +0000 (23:04 +0100)]
user32: Initialize hICON to NULL (Coverity).
Nikolay Sivov [Wed, 30 Dec 2009 14:33:05 +0000 (17:33 +0300)]
user32/uitools: Fix FillRect behaviour for invalid brush passed.
Nikolay Sivov [Tue, 29 Dec 2009 16:27:14 +0000 (19:27 +0300)]
user32/sysparams: Return NULL from GetSysColorBrush() for invalid index.
Rob Shearman [Tue, 29 Dec 2009 19:06:43 +0000 (19:06 +0000)]
secur32: Don't allocate context handle in wrapper InitializeSecurityContextA/W if it is the same as the handle passed into the function.
Rob Shearman [Tue, 29 Dec 2009 19:06:23 +0000 (19:06 +0000)]
secur32: Fix memory leaks in ntlm_InitializeSecurityContextW.
Rob Shearman [Tue, 29 Dec 2009 19:05:54 +0000 (19:05 +0000)]
secur32: Simplify memory management by not allocating memory for the CredHandle and CtxtHandle pointers.
Instead store the handles directly in the SspiData structure and pass
the addresses of these into SSPI functions.
Rob Shearman [Tue, 29 Dec 2009 19:04:29 +0000 (19:04 +0000)]
secur32: Fix memory leaks in tests.
Rob Shearman [Tue, 29 Dec 2009 19:03:40 +0000 (19:03 +0000)]
winex11.drv: Empty clipboard cache on process unload to avoid false positives being reported for memory leaks.
Rob Shearman [Tue, 29 Dec 2009 19:02:54 +0000 (19:02 +0000)]
shell32: Fix a potentially large memory leak in IQueryAssociations_fnGetString.
Rob Shearman [Tue, 29 Dec 2009 19:02:16 +0000 (19:02 +0000)]
shell32: Fix memory leaks in autocomplete tests.
Rob Shearman [Tue, 29 Dec 2009 19:01:29 +0000 (19:01 +0000)]
shell32: Fix style in autocomplete tests to more match the typical style used in the rest of Wine.
Rob Shearman [Tue, 29 Dec 2009 19:00:53 +0000 (19:00 +0000)]
ole32: Handle SetClipboardData failing in OLE clipboard functions.
Rob Shearman [Tue, 29 Dec 2009 19:00:22 +0000 (19:00 +0000)]
ole32: Fix stream reference leak in test_ReadClassStm.
Rob Shearman [Tue, 29 Dec 2009 18:59:37 +0000 (18:59 +0000)]
ole32: Release the data object and free the cached enum data upon OleUninitialize.
Michael Stefaniuc [Tue, 29 Dec 2009 17:07:44 +0000 (18:07 +0100)]
Revert "Revert "wpp: config.h and wine/port.h should be included first."".
This reverts commit
8e729245412e6b1e24b9871a0252b7e660fd24ec.
Wine now requires a new enough flex version.
Michael Stefaniuc [Tue, 29 Dec 2009 17:07:22 +0000 (18:07 +0100)]
Revert "wrc: Use an EOF rule instead of lex_destroy for compatibility with prediluvian flex versions.".
This reverts commit
1405c00ecbcf5509c9475759b8230c019070b663.
Wine now requires a new enough flex version.
Michael Stefaniuc [Tue, 29 Dec 2009 17:07:02 +0000 (18:07 +0100)]
configure: Require a new enough flex version.
Wine needs a newer flex version than the prediluvian 2.5.4a.
Michael Stefaniuc [Tue, 29 Dec 2009 17:06:06 +0000 (18:06 +0100)]
shdocvw: Remove unneeded \ at the end of a line.
Henri Verbeet [Tue, 29 Dec 2009 16:10:23 +0000 (17:10 +0100)]
dxgi: Add a separate function for factory initialization.
Henri Verbeet [Tue, 29 Dec 2009 16:10:22 +0000 (17:10 +0100)]
wined3d: Use the element size to create "isStateDirty" bitmap indices.
Henri Verbeet [Tue, 29 Dec 2009 16:10:21 +0000 (17:10 +0100)]
ddraw: Remove a redundant return.
Henri Verbeet [Tue, 29 Dec 2009 16:10:20 +0000 (17:10 +0100)]
wined3d: Remove some redundant returns.
Henri Verbeet [Tue, 29 Dec 2009 16:10:19 +0000 (17:10 +0100)]
wined3d: The FVF parameter to IWineD3DDeviceImpl_CreateVertexBuffer() is unused now.
Kai Blin [Tue, 29 Dec 2009 15:36:18 +0000 (16:36 +0100)]
secur32: Pretend the NTLM provider also does Negotiate.
We had to enable the Negotiate provider a while back so programs that expected
that provider to be present would be happy. This broke programs that expect a
Negotiate provider to actually do something if it is present. This fix works
around that new issue by thunking all calls to Negotiate to NTLM.
Alexandre Julliard [Tue, 29 Dec 2009 20:55:59 +0000 (21:55 +0100)]
user.exe: Prepend a valid bitmap header when copying a bitmap resource to a file.
Alexandre Julliard [Wed, 30 Dec 2009 11:56:16 +0000 (12:56 +0100)]
makefiles: Use winebuild to create the Windows import libraries.
Alexandre Julliard [Wed, 30 Dec 2009 11:50:17 +0000 (12:50 +0100)]
winebuild: Don't output private symbols at all when building an import library.
Alexandre Julliard [Wed, 30 Dec 2009 10:51:19 +0000 (11:51 +0100)]
winebuild: Add support for building Windows import libraries.
Alexandre Julliard [Wed, 30 Dec 2009 11:43:31 +0000 (12:43 +0100)]
winebuild: Recognize mingw32 as a Windows platform.
Alexandre Julliard [Wed, 30 Dec 2009 11:42:25 +0000 (12:42 +0100)]
winebuild: Simplify the code for finding the various build tools.
Alexandre Julliard [Wed, 30 Dec 2009 11:32:17 +0000 (12:32 +0100)]
winebuild: Add support for generating import libs for 16-bit dlls.
Alexandre Julliard [Wed, 30 Dec 2009 11:12:13 +0000 (12:12 +0100)]
winebuild: Always initialize the dll name at startup.
Alexandre Julliard [Mon, 28 Dec 2009 21:42:58 +0000 (22:42 +0100)]
winebuild: Support for adding 32-bit exports in 16-bit spec files.
Alexandre Julliard [Mon, 28 Dec 2009 22:23:54 +0000 (23:23 +0100)]
winebuild: Allow optional keywords to be in any order in a .def file.
Alexandre Julliard [Mon, 28 Dec 2009 20:42:37 +0000 (21:42 +0100)]
winebuild: Don't check variables for undefined exports.
Nikolay Sivov [Tue, 29 Dec 2009 12:48:24 +0000 (15:48 +0300)]
user32/tests: Add tests for invalid index in GetSysColorBrush().
Eric Pouech [Tue, 29 Dec 2009 12:02:39 +0000 (13:02 +0100)]
dbghelp: Silence a couple of FIXMEs for C++ code.
Reported by Jacek Caban.
Eric Pouech [Tue, 29 Dec 2009 12:02:33 +0000 (13:02 +0100)]
winedump: Manage the string table size in PE file format.
Gerald Pfeifer [Fri, 25 Dec 2009 10:14:07 +0000 (11:14 +0100)]
ntdll: Avoid one warning around assert(0).
Alexandre Julliard [Mon, 28 Dec 2009 19:27:50 +0000 (20:27 +0100)]
kernel32: Get rid of the support for 16-bit resources in 32-bit resource functions.
Alexandre Julliard [Mon, 28 Dec 2009 21:59:24 +0000 (22:59 +0100)]
kernel32: Don't include kernel_private.h in 16-bit files.
Alexandre Julliard [Mon, 28 Dec 2009 16:26:55 +0000 (17:26 +0100)]
kernel32: Move the kernel thread data definitions to kernel16_private.h.
Alexandre Julliard [Mon, 28 Dec 2009 16:37:44 +0000 (17:37 +0100)]
kernel32: Link directly to the thunk functions instead of looking up their entry point.
Alexandre Julliard [Mon, 28 Dec 2009 16:24:50 +0000 (17:24 +0100)]
kernel32: Don't store the current codepage in the thread data.
Stefan Leichter [Tue, 29 Dec 2009 09:13:37 +0000 (10:13 +0100)]
ntoskrnl.exe: Add stub for KeSetPriorityThread.
Stefan Leichter [Tue, 29 Dec 2009 09:13:16 +0000 (10:13 +0100)]
ntoskrnl.exe: Add stub for KeReleaseSemaphore.
Matteo Bruni [Sat, 26 Dec 2009 15:19:06 +0000 (16:19 +0100)]
wpp: Clean state on error path.
Matteo Bruni [Sat, 26 Dec 2009 15:18:18 +0000 (16:18 +0100)]
d3d9: Add D3DSHADER_COMPARISON definition.
Andrew Eikum [Mon, 28 Dec 2009 23:40:52 +0000 (17:40 -0600)]
hlink/tests: Repair test to work as intended.
Michael Stefaniuc [Tue, 29 Dec 2009 00:16:26 +0000 (01:16 +0100)]
winapi: Remove the special handling of GDI_AllocObject().
That function doesn't exist anymore in Wine.
Jacek Caban [Mon, 28 Dec 2009 20:21:53 +0000 (21:21 +0100)]
wininet: Fixed tests on older IEs.
Jacek Caban [Mon, 28 Dec 2009 20:19:29 +0000 (21:19 +0100)]
mshtml: Use FindMimeFromData to find MIME if moniker doesn't report it.
Marcus Meissner [Mon, 28 Dec 2009 20:13:10 +0000 (21:13 +0100)]
dbghelp: Initialize ret (Coverity).
Piotr Caban [Mon, 28 Dec 2009 19:09:16 +0000 (20:09 +0100)]
mshtml: Added IDispatch ConnectionPoint.
Piotr Caban [Mon, 28 Dec 2009 19:08:46 +0000 (20:08 +0100)]
mshtml: Query OleClientSite about services in ServiceProvider_QueryService.
Henri Verbeet [Mon, 28 Dec 2009 16:38:05 +0000 (17:38 +0100)]
dxgi: Add a separate function for swapchain initialization.
Henri Verbeet [Mon, 28 Dec 2009 16:38:04 +0000 (17:38 +0100)]
wined3d: Clear the device's focus_window field when the window is destroyed.
This will prevent the device from trying to unregister the window again on
release.
Henri Verbeet [Mon, 28 Dec 2009 16:38:03 +0000 (17:38 +0100)]
d3d9/tests: Add message tests for windowed devices.
Henri Verbeet [Mon, 28 Dec 2009 16:38:02 +0000 (17:38 +0100)]
d3d8/tests: Add message tests for windowed devices.
Henri Verbeet [Mon, 28 Dec 2009 16:38:01 +0000 (17:38 +0100)]
wined3d: Don't touch the window's focus or wndproc for windowed devices.
Aaron Brazener [Mon, 28 Dec 2009 12:00:48 +0000 (12:00 +0000)]
wined3d: Added ATI Radeon HD 5xxx detection.
Stefan Dösinger [Thu, 24 Dec 2009 15:35:07 +0000 (16:35 +0100)]
wined3d: Drop the VBO if too many full buffer conversions occur.
Stefan Dösinger [Wed, 23 Dec 2009 14:41:53 +0000 (15:41 +0100)]
wined3d: Increment the buffer draw count if the buffer was clean.
Stefan Dösinger [Wed, 23 Dec 2009 14:37:42 +0000 (15:37 +0100)]
wined3d: Rename conversion_count to something more appropriate.
Stefan Dösinger [Wed, 23 Dec 2009 13:23:27 +0000 (14:23 +0100)]
wined3d: Remove the d3d7 do-not-convert code.