Rob Shearman [Wed, 28 Nov 2007 15:02:21 +0000 (15:02 +0000)]
rpcrt4: Fix some more potential buffer overflows.
Rob Shearman [Wed, 28 Nov 2007 15:02:06 +0000 (15:02 +0000)]
rpcrt4: Check there is enough space in the buffer and that the size doesn't cause an overflow when copying data to it.
Rob Shearman [Wed, 28 Nov 2007 15:01:53 +0000 (15:01 +0000)]
rpcrt4: Check for integer overflows when increasing the buffer length.
Rename safe_buffer_copy to safe_copy_from_buffer.
Lionel Debroux [Sun, 25 Nov 2007 08:56:22 +0000 (09:56 +0100)]
msvcrt: Test more offsets for _aligned_offset_realloc (especially offset > alignment).
Lionel Debroux [Wed, 28 Nov 2007 10:47:18 +0000 (11:47 +0100)]
msvcrt: Fix _Aligned_offset_realloc (move correct block of memory); add a comment to explain why.
Divan Burger [Thu, 22 Nov 2007 05:13:08 +0000 (07:13 +0200)]
user32, wine.inf: Enable title bar gradients and match colours with win2k.
Alistair Leslie-Hughes [Wed, 28 Nov 2007 11:20:14 +0000 (22:20 +1100)]
urlmon: The callback parameter can be null, check pointer before using.
Aric Stewart [Wed, 28 Nov 2007 10:37:58 +0000 (19:37 +0900)]
winecoreaudio: Implement WIDM_GETPOS.
Alexandre Julliard [Wed, 28 Nov 2007 11:55:11 +0000 (12:55 +0100)]
wined3d: Add printf format checking to the shader_addline function and fix resulting warnings.
Stefan Dösinger [Mon, 26 Nov 2007 19:01:40 +0000 (20:01 +0100)]
wined3d: Fix a sign mistake in the code creating the sorted attrib.
Stefan Dösinger [Fri, 23 Nov 2007 13:17:21 +0000 (14:17 +0100)]
wined3d: Allow using a different internal format for fbos.
OpenGL drivers do not support some low precision internal formats
like GL_RGB5 for fbo color targets. Direct3D application depend on them,
so provide a fallback format for render targets if the requested format
itself is not supported.
Stefan Dösinger [Fri, 23 Nov 2007 00:53:02 +0000 (01:53 +0100)]
wined3d: Report some more geforce 7 cards as geforce 7.
Stefan Dösinger [Wed, 28 Nov 2007 11:13:08 +0000 (12:13 +0100)]
wined3d: Do not try to disable unsupported texture units.
Stefan Dösinger [Thu, 22 Nov 2007 23:22:00 +0000 (00:22 +0100)]
wined3d: Add some missing checkGLcall calls.
Stefan Dösinger [Thu, 22 Nov 2007 21:18:53 +0000 (22:18 +0100)]
wined3d: Work around nvidia beta driver bug.
Stefan Dösinger [Tue, 27 Nov 2007 22:43:11 +0000 (23:43 +0100)]
wined3d: Inform the texture about filtering changes.
The surface_blt_to_drawable function changes the filtering settings of
the texture object, but without informing the container about this
change. This patch makes sure that the basetexture knows about this and
reapplies the changed states to the settings chosen by the app.
Rob Shearman [Wed, 28 Nov 2007 05:48:09 +0000 (05:48 +0000)]
advapi32: Make the credential registry key stay around if a persist value longer than session is specified.
Rob Shearman [Wed, 28 Nov 2007 05:47:57 +0000 (05:47 +0000)]
advapi32: Use the open_for_write parameter to open_cred_mgr_key and fix get_cred_mgr_encryption_key to not need KEY_WRITE access to the key passed in.
Juan Lang [Tue, 27 Nov 2007 22:38:08 +0000 (14:38 -0800)]
rsaenh: Empty container names are allowed for CRYPT_VERIFYCONTEXT contexts.
Juan Lang [Mon, 26 Nov 2007 19:59:51 +0000 (11:59 -0800)]
crypt32: Add CERT_STORE_ADD_NEWER support to CertAddCertificateContextToStore.
Juan Lang [Mon, 26 Nov 2007 19:49:36 +0000 (11:49 -0800)]
crypt32: Implement finding an existing certificate in a store.
Michael Stefaniuc [Tue, 27 Nov 2007 23:11:14 +0000 (00:11 +0100)]
dnsapi: Rename the wrappers around HeapAlloc() &Co to use the new standard naming.
Michael Stefaniuc [Tue, 27 Nov 2007 23:09:35 +0000 (00:09 +0100)]
shdocvw: Rename the wrappers around HeapAlloc() &Co to use the new standard naming.
Rob Shearman [Tue, 27 Nov 2007 22:43:00 +0000 (22:43 +0000)]
oleaut32: Handle integer overflow of len in SysReAllocStringLen and SysAllocStringByteLen.
Lionel Debroux [Sun, 25 Nov 2007 08:56:31 +0000 (09:56 +0100)]
ntdll: Trace arena magics (may help debugging some heap corruptions).
Stefan Leichter [Tue, 27 Nov 2007 19:31:15 +0000 (20:31 +0100)]
d3dx8: Add WINAPI to the prototypes of D3DXMatrixTransformation.
Anatoly Lyutin [Tue, 27 Nov 2007 19:21:58 +0000 (22:21 +0300)]
msi: Fix invalid SQL query.
Rob Shearman [Tue, 27 Nov 2007 19:16:35 +0000 (19:16 +0000)]
oleaut32: Introduce a new helper function, TLB_FreeCustData, for freeing custom data.
Fix memory leaks caused by the variable and interface custom data not
being freed properly.
Rob Shearman [Tue, 27 Nov 2007 19:16:19 +0000 (19:16 +0000)]
oleaut32: Free the correct custom data inside ITypeInfo_fnRelease.
Since the code is inside the loop for function data, it should be
freeing the function's custom data, not the interface's.
Alexandre Julliard [Tue, 27 Nov 2007 15:43:00 +0000 (16:43 +0100)]
server: When merging mouse messages ignore the window if it isn't set.
Rob Shearman [Tue, 27 Nov 2007 14:19:50 +0000 (14:19 +0000)]
wininet: Don't clear the auth data for Basic authentication in HTTP_InsertAuthorizationForHeader.
It isn't tracked per connection, unlike NTLM authentication, and so the
server will return a 401 error and try to get us to authenticate again.
However, this doesn't work as the authentication information is assumed
by the code to be valid for the whole connection.
Rob Shearman [Tue, 27 Nov 2007 12:32:48 +0000 (12:32 +0000)]
rpcrt4: Fix the tests for up_enum16.
It is different to the other base types as it has a different size on
the wire to in memory, so it can't just be set to the buffer when
unmarshalling.
Rob Shearman [Tue, 27 Nov 2007 12:32:39 +0000 (12:32 +0000)]
credui: Fix a test failure on Windows XP.
David Adam [Mon, 26 Nov 2007 23:36:20 +0000 (00:36 +0100)]
include: Header files for d3dx9_xx.
Stefan Dösinger [Wed, 21 Nov 2007 22:46:15 +0000 (23:46 +0100)]
wined3d: Correctly handle the y offset with offscreen rendering.
This fixes a regression introduced with the MAD patch.
Stefan Dösinger [Tue, 20 Nov 2007 20:16:25 +0000 (21:16 +0100)]
wined3d: Downgrade an ERR to a WARN.
Stefan Dösinger [Tue, 20 Nov 2007 16:58:59 +0000 (17:58 +0100)]
wined3d: Fog is applied after sRGB correction.
Stefan Dösinger [Tue, 20 Nov 2007 14:29:18 +0000 (15:29 +0100)]
wined3d: Make SRGB write correction working with 1.x shaders in arb.
Stefan Dösinger [Wed, 21 Nov 2007 21:16:12 +0000 (22:16 +0100)]
d3d9: Add a test for vertex shader input matching.
Lauris Kaplinski [Sun, 25 Nov 2007 21:07:24 +0000 (23:07 +0200)]
wined3d: Fixed potential reference of freed backBuffer array in IWineD3DDeviceImpl_SetFrontBackBuffers.
Andrew Talbot [Mon, 26 Nov 2007 15:09:59 +0000 (15:09 +0000)]
gdi32: Fix a typo.
Andrew Talbot [Mon, 26 Nov 2007 15:09:55 +0000 (15:09 +0000)]
dinput: Use bitwise NOT not logical NOT.
Michael Stefaniuc [Mon, 26 Nov 2007 22:09:28 +0000 (23:09 +0100)]
rpcrt4: socket() returns -1 on error so check the return value against that.
Michael Stefaniuc [Mon, 26 Nov 2007 22:07:34 +0000 (23:07 +0100)]
wininet/tests: Do not compare the return value of socket() with 0. Use INVALID_SOCKET instead.
Rob Shearman [Mon, 26 Nov 2007 22:57:35 +0000 (22:57 +0000)]
advapi32: Add support for using the Mac Keychain services as a backend for the credential functions instead of the registry.
Rob Shearman [Mon, 26 Nov 2007 22:52:07 +0000 (22:52 +0000)]
ole32: Add tests for WdtpInterfacePointer_* functions.
Add stubs for these so that the tests link.
Rob Shearman [Mon, 26 Nov 2007 22:50:48 +0000 (22:50 +0000)]
ole32: Clean up properly in ClientRpcChannelBuffer_SendReceive in the case where PostMessageW fails.
Rob Shearman [Mon, 26 Nov 2007 22:50:32 +0000 (22:50 +0000)]
ole32: Store the dispatch parameters in the message state structure to allow them to be initialised earlier in the sequence of IRpcChannelBuffer calls.
Rob Shearman [Mon, 26 Nov 2007 19:41:00 +0000 (19:41 +0000)]
advapi32: Fix a typo in CredEnumerateW.
Rob Shearman [Mon, 26 Nov 2007 19:40:51 +0000 (19:40 +0000)]
advapi32: Move credential registry reading code to separate functions.
Huw Davies [Mon, 26 Nov 2007 12:04:51 +0000 (12:04 +0000)]
inetcomm: Implement IMimeBody:SetData.
Huw Davies [Mon, 26 Nov 2007 12:04:08 +0000 (12:04 +0000)]
inetcomm: Implement IMimeBody:[G|S]etCurrentEncoding.
Huw Davies [Mon, 26 Nov 2007 12:03:35 +0000 (12:03 +0000)]
inetcomm: Implement IMimeBody:IsContentType.
Huw Davies [Mon, 26 Nov 2007 12:03:08 +0000 (12:03 +0000)]
inetcomm: Store a header's parameters as a list.
Huw Davies [Mon, 26 Nov 2007 12:02:35 +0000 (12:02 +0000)]
inetcomm: Unfold headers.
Huw Davies [Mon, 26 Nov 2007 12:01:52 +0000 (12:01 +0000)]
inetcomm: Parse headers into a list.
Huw Davies [Mon, 26 Nov 2007 12:01:12 +0000 (12:01 +0000)]
inetcomm: Copy RFC822 headers into a memory block for later parsing.
Vijay Kiran Kamuju [Wed, 21 Nov 2007 21:19:41 +0000 (15:19 -0600)]
include: Add missing definitions for DSS in wincrypt.h.
Marcus Meissner [Thu, 22 Nov 2007 07:24:17 +0000 (08:24 +0100)]
shell32: GetModuleFileNameW gets number of WCHARs not bytes.
Gerald Pfeifer [Thu, 22 Nov 2007 20:41:29 +0000 (21:41 +0100)]
ntdll: Fix computation in enumerate_key().
Gerald Pfeifer [Fri, 23 Nov 2007 19:57:58 +0000 (20:57 +0100)]
inetcomm: Fix error check in InternetTransport_Connect().
Gerald Pfeifer [Thu, 22 Nov 2007 21:42:51 +0000 (22:42 +0100)]
wined3d: Rewrite condition in vshader_program_add_param() to actually distinguish between two cases.
Gerald Pfeifer [Thu, 22 Nov 2007 21:36:13 +0000 (22:36 +0100)]
itss: Avoid checking an unsigned value for < 0.
Gerald Pfeifer [Thu, 22 Nov 2007 15:48:12 +0000 (16:48 +0100)]
winedos: Use DWORD instead of long for return values of SetFilePointer.
Adjust type of loop variable in INT21_Ioctl_Char().
Gerald Pfeifer [Thu, 22 Nov 2007 00:10:33 +0000 (01:10 +0100)]
netapi32: Remove one tests and simplify another based on the limited range of unsigned.
Gerald Pfeifer [Thu, 22 Nov 2007 00:07:29 +0000 (01:07 +0100)]
ntdll: Simplify condition in RtlGetAce() based on variable (un)signedness.
Gerald Pfeifer [Thu, 22 Nov 2007 20:49:37 +0000 (21:49 +0100)]
oleaut32: Simplify two conditions based on the fact that unsigned variables cannot be negative.
Gerald Pfeifer [Thu, 22 Nov 2007 00:06:32 +0000 (01:06 +0100)]
oleaut32: Simplify two conditions based on the fact that unsigned variables cannot be negative.
Gerald Pfeifer [Wed, 21 Nov 2007 10:25:09 +0000 (11:25 +0100)]
user32: Fix variable type in SCROLL_HandleScrollEvent(). Remove useless check in SCROLL_SetScrollInfo().
Patrick Moran [Sun, 25 Nov 2007 07:35:27 +0000 (02:35 -0500)]
msiexec: Fix atou() return value mistake.
Lionel Debroux [Wed, 21 Nov 2007 16:34:10 +0000 (17:34 +0100)]
msvcrt: Fix memory leak (found by Smatch).
David Adam [Wed, 21 Nov 2007 16:23:13 +0000 (17:23 +0100)]
d3dx8: Implement D3DXMatrixTransformation.
David Adam [Wed, 21 Nov 2007 13:59:21 +0000 (14:59 +0100)]
d3dx8: Implement D3DXQuaternionExp.
David Adam [Wed, 21 Nov 2007 13:34:32 +0000 (14:34 +0100)]
d3dx8: Implement D3DXQuaternionLn.
David Adam [Tue, 20 Nov 2007 14:23:36 +0000 (15:23 +0100)]
d3dx8: Implement D3DXQuaternionRotationYawPitchRoll.
David Adam [Tue, 20 Nov 2007 13:56:15 +0000 (14:56 +0100)]
d3dx8: Implement D3DXQuaternionRotationMatrix.
David Adam [Tue, 20 Nov 2007 12:04:16 +0000 (13:04 +0100)]
d3dx8: Implement D3DXQuaternionRotationAxis.
David Adam [Tue, 20 Nov 2007 11:49:38 +0000 (12:49 +0100)]
d3dx8: Implement D3DXQuaternionToAxisAngle.
Jacek Caban [Sun, 25 Nov 2007 18:10:03 +0000 (19:10 +0100)]
shdocvw: Silence common invalid QueryInterface FIXMEs.
Jacek Caban [Sun, 25 Nov 2007 18:09:50 +0000 (19:09 +0100)]
kernel32: Terminate child process in virtual tests.
Jacek Caban [Sun, 25 Nov 2007 18:16:04 +0000 (19:16 +0100)]
mshtml: Added IOleCommandTarget implementation to HTMLTxtRange.
Jacek Caban [Sun, 25 Nov 2007 18:09:20 +0000 (19:09 +0100)]
mshtml: Added IHTMLStyleSheetsCollection::item implementation.
Jacek Caban [Sun, 25 Nov 2007 18:08:40 +0000 (19:08 +0100)]
mshtml: Store nsIDOMCSSStyleSheet in HTMLStyleSheet object if available.
Jacek Caban [Sun, 25 Nov 2007 18:07:54 +0000 (19:07 +0100)]
urlmon: Wrap heap functions.
James Hawkins [Mon, 26 Nov 2007 00:09:01 +0000 (18:09 -0600)]
msi: Downgrade an ERR to a WARN.
James Hawkins [Mon, 26 Nov 2007 00:07:52 +0000 (18:07 -0600)]
msi: Fix the condition of a FIXME.
James Hawkins [Mon, 26 Nov 2007 00:05:43 +0000 (18:05 -0600)]
msi: Downgrade an ERR to a WARN.
James Hawkins [Mon, 26 Nov 2007 00:04:25 +0000 (18:04 -0600)]
msi: Downgrade a FIXME to a WARN.
James Hawkins [Mon, 26 Nov 2007 00:02:55 +0000 (18:02 -0600)]
msi: Only check the volume label if it's different than the first media's volume label.
James Hawkins [Mon, 26 Nov 2007 00:01:19 +0000 (18:01 -0600)]
msi: Check the destination file's hash and skip that file if the hash matches.
James Hawkins [Mon, 26 Nov 2007 00:00:14 +0000 (18:00 -0600)]
msi: Set the file contents of the file hash test file explicitly.
James Hawkins [Sun, 25 Nov 2007 23:58:57 +0000 (17:58 -0600)]
msi: Verify the szFilePath parameter of MsiGetFileHash.
James Hawkins [Sun, 25 Nov 2007 23:57:37 +0000 (17:57 -0600)]
msi: Add tests for MsiGetFileHash and clean up the existing tests.
Vitaliy Margolen [Sun, 25 Nov 2007 18:17:28 +0000 (11:17 -0700)]
dinput: Fix dead zone handling.
Andrew Talbot [Thu, 22 Nov 2007 21:34:55 +0000 (21:34 +0000)]
comdlg32: Use logical OR not bitwise OR.
Andrew Talbot [Thu, 22 Nov 2007 20:07:56 +0000 (20:07 +0000)]
user32: Fix a typo.
Andrew Talbot [Thu, 22 Nov 2007 20:07:53 +0000 (20:07 +0000)]
comctl32: Fix a typo.
Andrew Talbot [Wed, 21 Nov 2007 16:19:58 +0000 (16:19 +0000)]
user32: Constify some variables.
Rob Shearman [Thu, 22 Nov 2007 19:10:56 +0000 (19:10 +0000)]
kernel32: Change the shared manifest test to depend on a build number that isn't currently published on at least XP, showing that assemblies with higher build numbers can be used.
Rob Shearman [Tue, 20 Nov 2007 13:46:43 +0000 (13:46 +0000)]
ntdll: Shared manifests should have a less-strict version check performed when loading them as dependencies.