Commit Graph

49492 Commits

Author SHA1 Message Date
Christian Costa 24d6c0a90d d3dxof: Get rid of cur_subobject. 2009-12-31 12:12:17 +01:00
Jacek Caban b5290bde98 jscript: Added a test using script dispatch after closing engine. 2009-12-31 12:12:17 +01:00
Henri Verbeet 2c0edb94e3 wined3d: Fix WINED3DRS_DEPTHBIAS handling. 2009-12-31 12:12:17 +01:00
Henri Verbeet 14da44aa36 wined3d: Merge vertexshader_set_function() and pixelshader_set_function(). 2009-12-31 12:12:16 +01:00
Henri Verbeet b548e387ae wined3d: Move shader input/output signatures to IWineD3DBaseShaderClass. 2009-12-31 12:12:16 +01:00
Henri Verbeet 736aaf7d09 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.
2009-12-31 12:12:16 +01:00
Henri Verbeet 2b1ee87328 wined3d: Merge pixelshader.c and vertexshader.c. 2009-12-31 12:12:16 +01:00
Andrew Eikum 57a47b0833 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.
2009-12-31 12:12:16 +01:00
Rob Shearman 07183b28eb jscript: Make sure to initialise the string output parameter in run_exec. 2009-12-31 12:12:16 +01:00
Rob Shearman 7db81aeb67 jscript: Make sure retv pointer is initialised in exec_source even if no value needs to be returned. 2009-12-31 12:12:16 +01:00
André Hentschel 1f168cbd6e dbghelp: Fix a typo. 2009-12-31 12:12:16 +01:00
Alexandre Julliard 2bc9ba758e ole32: Fix some pointer cast warnings on 64-bit. 2009-12-31 12:12:16 +01:00
Alexandre Julliard 5da782ac53 dsound: Fix an invalid pointer cast. 2009-12-31 12:12:15 +01:00
Alexandre Julliard dcf1a0c891 msi: Fix some pointer cast warnings on 64-bit. 2009-12-31 12:12:15 +01:00
Alexandre Julliard b387880269 ntoskrnl: Duplicate the necessary part of instruction emulation to avoid importing kernel. 2009-12-31 12:11:59 +01:00
Alexandre Julliard 82f393dda1 ntdll: Move the LDT locking functions to the i386-specific code. 2009-12-30 18:05:02 +01:00
Alexandre Julliard f82ddf5e66 kernel: Get rid of support for loading old style 16-bit files. 2009-12-30 18:04:46 +01:00
Alexandre Julliard a18bbec0f0 kernel: Add an import lib for krnl386, and stop importing 16-bit functions from kernel32. 2009-12-30 18:01:34 +01:00
Alexandre Julliard c6ae9a3c5a makefiles: Get rid of all the rules for building old style 16-bit files. 2009-12-30 17:41:45 +01:00
Alexandre Julliard e7715126eb winedos: Move 16-bit VxD support back into kernel. 2009-12-30 17:40:19 +01:00
Alexandre Julliard 475b7d226c kernel32: Make krnl386.exe into a stand-alone 16-bit module. 2009-12-30 17:36:14 +01:00
Alexandre Julliard 89df78e2c0 shell32: Move the RunDLL_CallEntry16 implementation to shell.dll. 2009-12-30 17:29:06 +01:00
Andrew Nguyen c3e9de0b4c gdi32: Fix a typo in ScaleViewportExtEx.
Spotted by Gregor Schneider.
2009-12-30 17:10:11 +01:00
Alexandre Julliard 8268ed9783 kernel32: Do not include 16-bit headers in 32-bit files. 2009-12-30 16:21:56 +01:00
Christian Costa 4e3b5b872e mciqtz: Improve MCIQTZ_mciSet traces. 2009-12-30 16:19:37 +01:00
Rob Shearman 7da10bca33 shlwapi: Initialise id field of ConPt object in connection point tests. 2009-12-30 16:16:13 +01:00
Rob Shearman 3d0f56fb37 ntdll: Fix typo in RTL_ReportRegistryValue which caused a counted string to be passed into QueryFunction which expects a nul-terminated string. 2009-12-30 16:16:07 +01:00
Christian Costa d0a3ef4f40 mciqtz: Add stub for MCI_SETAUDIO. 2009-12-30 16:15:10 +01:00
Loïc Hoguin 05a258b2c9 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.
2009-12-30 16:14:48 +01:00
Dmitry Timoshkov 2d0b2433c2 user32: Handle virtual key codes only in the WM_KEYDOWN case.
Reported by David Quintana.
2009-12-30 16:14:11 +01:00
Alexander Kochetkov 56bc0515c2 ole32/storage32: Fix return value for invalid access mode in OpenStream. 2009-12-30 16:13:57 +01:00
Michael Stefaniuc 453cf859a8 user.exe: Remove some superfluous WPARAM/LPARAM casts. 2009-12-30 16:13:38 +01:00
Marcus Meissner 36f9248c1a user32: Initialize hICON to NULL (Coverity). 2009-12-30 16:12:24 +01:00
Nikolay Sivov ff12594a15 user32/uitools: Fix FillRect behaviour for invalid brush passed. 2009-12-30 16:11:51 +01:00
Nikolay Sivov 385b8dcb95 user32/sysparams: Return NULL from GetSysColorBrush() for invalid index. 2009-12-30 13:40:43 +01:00
Rob Shearman 697955c922 secur32: Don't allocate context handle in wrapper InitializeSecurityContextA/W if it is the same as the handle passed into the function. 2009-12-30 13:40:35 +01:00
Rob Shearman 1346834605 secur32: Fix memory leaks in ntlm_InitializeSecurityContextW. 2009-12-30 13:40:31 +01:00
Rob Shearman 693433a3f2 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.
2009-12-30 13:40:25 +01:00
Rob Shearman 5f01280edf secur32: Fix memory leaks in tests. 2009-12-30 13:40:17 +01:00
Rob Shearman e4888b0e3c winex11.drv: Empty clipboard cache on process unload to avoid false positives being reported for memory leaks. 2009-12-30 13:39:55 +01:00
Rob Shearman 3547ea011a shell32: Fix a potentially large memory leak in IQueryAssociations_fnGetString. 2009-12-30 13:37:14 +01:00
Rob Shearman 16f4b56345 shell32: Fix memory leaks in autocomplete tests. 2009-12-30 13:37:06 +01:00
Rob Shearman 0fd772be99 shell32: Fix style in autocomplete tests to more match the typical style used in the rest of Wine. 2009-12-30 13:36:57 +01:00
Rob Shearman 88219db8ab ole32: Handle SetClipboardData failing in OLE clipboard functions. 2009-12-30 13:36:50 +01:00
Rob Shearman 36bfaea96d ole32: Fix stream reference leak in test_ReadClassStm. 2009-12-30 13:36:46 +01:00
Rob Shearman b7d86b54d9 ole32: Release the data object and free the cached enum data upon OleUninitialize. 2009-12-30 13:36:42 +01:00
Michael Stefaniuc af302090b2 shdocvw: Remove unneeded \ at the end of a line. 2009-12-30 13:31:46 +01:00
Henri Verbeet 9e886423e7 dxgi: Add a separate function for factory initialization. 2009-12-30 13:31:42 +01:00
Henri Verbeet 2650885cc8 wined3d: Use the element size to create "isStateDirty" bitmap indices. 2009-12-30 13:31:36 +01:00
Henri Verbeet 9ae92661cc ddraw: Remove a redundant return. 2009-12-30 13:31:30 +01:00
Henri Verbeet ea2f7a2739 wined3d: Remove some redundant returns. 2009-12-30 13:31:26 +01:00
Henri Verbeet 67cba48782 wined3d: The FVF parameter to IWineD3DDeviceImpl_CreateVertexBuffer() is unused now. 2009-12-30 13:31:20 +01:00
Kai Blin 9a81b032c4 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.
2009-12-30 13:31:12 +01:00
Alexandre Julliard 2a00c86a98 user.exe: Prepend a valid bitmap header when copying a bitmap resource to a file. 2009-12-30 13:30:56 +01:00
Alexandre Julliard c861c3e42e makefiles: Use winebuild to create the Windows import libraries. 2009-12-30 12:56:16 +01:00
Nikolay Sivov 2a0fca79ae user32/tests: Add tests for invalid index in GetSysColorBrush(). 2009-12-29 15:42:02 +01:00
Eric Pouech 878f287366 dbghelp: Silence a couple of FIXMEs for C++ code.
Reported by Jacek Caban.
2009-12-29 13:28:01 +01:00
Gerald Pfeifer e8158e48cb ntdll: Avoid one warning around assert(0). 2009-12-29 13:17:30 +01:00
Alexandre Julliard e49c54d288 kernel32: Get rid of the support for 16-bit resources in 32-bit resource functions. 2009-12-29 11:44:41 +01:00
Alexandre Julliard 3a04f5abfc kernel32: Don't include kernel_private.h in 16-bit files. 2009-12-29 11:44:25 +01:00
Alexandre Julliard fc5c459d63 kernel32: Move the kernel thread data definitions to kernel16_private.h. 2009-12-29 11:44:13 +01:00
Alexandre Julliard 84e51e73b4 kernel32: Link directly to the thunk functions instead of looking up their entry point. 2009-12-29 11:44:02 +01:00
Alexandre Julliard 9ff8da5499 kernel32: Don't store the current codepage in the thread data. 2009-12-29 11:43:46 +01:00
Stefan Leichter 0190edee7e ntoskrnl.exe: Add stub for KeSetPriorityThread. 2009-12-29 11:17:23 +01:00
Stefan Leichter d8a12d8374 ntoskrnl.exe: Add stub for KeReleaseSemaphore. 2009-12-29 11:17:15 +01:00
Andrew Eikum ff13146e92 hlink/tests: Repair test to work as intended. 2009-12-29 11:08:59 +01:00
Jacek Caban e5574369dd wininet: Fixed tests on older IEs. 2009-12-29 11:07:26 +01:00
Jacek Caban c9e3c27f0d mshtml: Use FindMimeFromData to find MIME if moniker doesn't report it. 2009-12-29 11:07:20 +01:00
Marcus Meissner c39cd4c0ce dbghelp: Initialize ret (Coverity). 2009-12-29 11:07:11 +01:00
Piotr Caban d383e84e21 mshtml: Added IDispatch ConnectionPoint. 2009-12-29 11:06:22 +01:00
Piotr Caban be2a86cbd5 mshtml: Query OleClientSite about services in ServiceProvider_QueryService. 2009-12-29 11:06:17 +01:00
Henri Verbeet 044a989d79 dxgi: Add a separate function for swapchain initialization. 2009-12-29 11:06:06 +01:00
Henri Verbeet d588d2b489 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.
2009-12-29 11:06:01 +01:00
Henri Verbeet d992e77b9c d3d9/tests: Add message tests for windowed devices. 2009-12-29 11:05:52 +01:00
Henri Verbeet d18bbbf09d d3d8/tests: Add message tests for windowed devices. 2009-12-29 11:05:50 +01:00
Henri Verbeet 990c141052 wined3d: Don't touch the window's focus or wndproc for windowed devices. 2009-12-29 11:05:44 +01:00
Aaron Brazener 381fa8931f wined3d: Added ATI Radeon HD 5xxx detection. 2009-12-29 11:05:39 +01:00
Stefan Dösinger 4f594777a2 wined3d: Drop the VBO if too many full buffer conversions occur. 2009-12-29 11:04:03 +01:00
Stefan Dösinger 9750cca9b1 wined3d: Increment the buffer draw count if the buffer was clean. 2009-12-29 11:03:51 +01:00
Stefan Dösinger f90b8b6352 wined3d: Rename conversion_count to something more appropriate. 2009-12-29 11:03:44 +01:00
Stefan Dösinger d6b9732497 wined3d: Remove the d3d7 do-not-convert code. 2009-12-29 11:03:36 +01:00
Stefan Dösinger 1d37ae6f61 wined3d: Use unload instead of duplicating buffer remove code. 2009-12-29 11:03:24 +01:00
Stefan Dösinger 4590dc4806 wined3d: Free buffer conversion info when freeing the buffer. 2009-12-29 11:03:10 +01:00
Alexandre Julliard b4679dc8fd version: Get rid of the 16-bit library loading code for builtins.
We have fake dlls for everything now.
2009-12-29 10:21:06 +01:00
Alexandre Julliard 593b973501 user.exe: Reimplement CopyImage16 for cursors and icons. 2009-12-28 23:50:40 +01:00
Alexandre Julliard 2ced4102d4 user.exe: Reimplement LoadImage16 for bitmaps instead of calling LoadImageA directly. 2009-12-28 23:50:40 +01:00
Alexandre Julliard b96ab35cad user32: Move loading of static icons for 16-bit windows to the 16-bit wrapper. 2009-12-28 23:50:40 +01:00
Alexandre Julliard fadc2cda1c gdi32: Load the 32-bit gdi.exe module wrapper from the 32-bit side.
Get rid of the empty gdi_main.c file.
2009-12-28 23:50:40 +01:00
Alexandre Julliard 9ceda48337 user32: Load the 32-bit user.exe module wrapper from the 32-bit side. 2009-12-28 23:50:40 +01:00
Alexandre Julliard 40a264b0e7 winevdm: Move the loading of the system drivers into their specific 16-bit module. 2009-12-28 23:50:40 +01:00
Alexandre Julliard a3e80956d1 kernel32: Handle the case where the 16-bit module is already loaded also for separated dlls. 2009-12-28 23:50:36 +01:00
Gerald Pfeifer 8b73b131de comctl32: Remove obsolete comment on RB_SETPALETTE from REBAR_WindowProc(). 2009-12-28 14:22:28 +01:00
Alexandre Julliard 91fde2494c ole2: Reimplement OleMetafilePictFromIconAndLabel16 on top of the 32-bit version. 2009-12-28 14:20:37 +01:00
Vincent Povirk 6bb300fa41 gdiplus: Implement GdipBitmapSetResolution. 2009-12-28 12:57:43 +01:00
Vincent Povirk 1aea88cac1 gdiplus: Implement GdipGetImage*Resolution. 2009-12-28 12:57:37 +01:00
Vincent Povirk f71cb580a4 gdiplus: Add test for image resolution functions. 2009-12-28 12:57:31 +01:00
Vincent Povirk c38d334266 gdiplus: Fix typo in GdipCreateMetafileFromWmf. 2009-12-28 12:57:23 +01:00
Vincent Povirk 53a3307983 gdiplus: Add test for GdipCreateMetafileFromWmf. 2009-12-28 12:57:17 +01:00
Vincent Povirk 27480405da gdiplus: Add test for size of metafiles loaded from streams. 2009-12-28 12:57:12 +01:00
Vincent Povirk f87039103f gdiplus: Test the ability to load WMF images. 2009-12-28 12:57:04 +01:00