Rob Shearman
b676309db3
rpcrt4: Improve PointerUnmarshall to cope with keeping the non-NULL source pointer of a client unmarshall.
...
This will enable various types with embedded pointers to handle [in,out]
parameters correctly by keeping the existing memory.
2007-11-30 11:56:21 +01:00
Rob Shearman
4e8f69ac2d
rpcrt4: Move forcing of fMustAlloc to NULL to the callers of EmbeddedPointerUnmarshall.
...
This will enable them to be individually fixed up to use memory if it
was provided by the caller.
2007-11-30 11:56:11 +01:00
Rob Shearman
43e0c67fe2
rpcrt4: EmbeddedPointerUnmarshall doesn't need to change the address of the allocated memory, so reduce the level of indirection of the memory parameter by one.
2007-11-30 11:56:04 +01:00
Rob Shearman
34522de870
rpcrt4: Errors in sending or receiving packets should result in RPC_S_CALL_FAILED being returned, not RPC_S_PROTOCOL_ERROR.
2007-11-30 11:55:50 +01:00
Louis Lenders
defbdf76e5
advapi32: Add stub for CreateProcessWithLogonW.
2007-11-29 15:46:50 +01:00
Gerald Pfeifer
24186d42da
gdi32: Fix the type of two loop variables.
2007-11-29 15:36:49 +01:00
Gerald Pfeifer
2ff2d88510
user32: Reduce scope of variable in ICO_ExtractIconExW() and initialize it.
2007-11-29 15:35:09 +01:00
Gerald Pfeifer
3ce295a1ef
kernel32: Handle default case in Local32_FromHandle().
2007-11-29 15:33:15 +01:00
Aric Stewart
b314f13219
coreaudio: Verify valid lineId in MIXER_GETLINECONTROLSF_ONEBYTYPE.
2007-11-29 15:32:09 +01:00
Aric Stewart
35ecb1b6ee
winmm: Correct check for MIXER_GETLINECONTROLSF_ONEBYTYPE in mixerGetLineControlsA.
2007-11-29 15:32:03 +01:00
Marco Schuster
15e1c57141
wined3d: Added a card ID for a 8600 Mobile GT.
2007-11-29 15:31:54 +01:00
Andrew Talbot
fd03f4ae86
advapi32: Fix a typo.
2007-11-29 13:39:16 +01:00
James Hawkins
33a4fe19de
msi: Don't check for the media or cabinet if the cabinet is internal.
2007-11-29 13:37:13 +01:00
James Hawkins
32d3ffc5c5
msi: Make sure attr is valid before checking for the directory bit.
2007-11-29 13:37:07 +01:00
Stefan Dösinger
d09cbcec91
wined3d: Activate GL_ARB_texture_rectangle.
2007-11-29 13:36:55 +01:00
Stefan Dösinger
8964336b37
wined3d: Refuse to create a mipmapped conditional np2 texture.
2007-11-29 13:36:47 +01:00
Stefan Dösinger
3fd0916654
wined3d: Make the code aware of GL_ARB_texture_rectangle.
2007-11-29 13:36:37 +01:00
Stefan Dösinger
0cfa7f99e6
wined3d: Add GL_ARB_texture_rectangles to our opengl extensions.
2007-11-29 13:36:16 +01:00
Stefan Dösinger
7925ef35cd
wined3d: Avoid hardcoding GL_TEXTURE_2D.
2007-11-29 13:36:05 +01:00
Stefan Dösinger
4dbee07ff5
wined3d: Disable GL_TEXTURE_2D in the standard blit setup.
2007-11-29 13:35:53 +01:00
Rob Shearman
5c53b52c5a
ole32: Fix a test in the WdtpInterfacePointer tests.
2007-11-29 13:35:14 +01:00
Rob Shearman
95b6167244
ole32: Fix description of what is being test in ok calls in the WdtpInterfacePointer tests.
2007-11-29 13:35:10 +01:00
Juan Lang
83f74fef2c
crypt32: Support setting the salt value through KP_SALT_EX.
2007-11-29 13:34:56 +01:00
Juan Lang
c9e0fa442a
crypt32: Support getting and setting the KP_PADDING key param.
2007-11-29 13:34:50 +01:00
Rob Shearman
8668369b4f
rpcrt4: Fix an integer overflow in NdrConformantStructMarshall and NdrConformantStructUnmarshall.
2007-11-29 13:31:05 +01:00
Rob Shearman
074898ba2b
rpcrt4: Fix some more potential buffer overflows.
2007-11-29 13:30:58 +01:00
Rob Shearman
5a3c34eb89
rpcrt4: Check there is enough space in the buffer and that the size doesn't cause an overflow when copying data to it.
2007-11-29 13:30:21 +01:00
Rob Shearman
d0223ecc0e
rpcrt4: Check for integer overflows when increasing the buffer length.
...
Rename safe_buffer_copy to safe_copy_from_buffer.
2007-11-29 13:30:04 +01:00
Lionel Debroux
51d6a08d57
msvcrt: Test more offsets for _aligned_offset_realloc (especially offset > alignment).
2007-11-28 13:52:22 +01:00
Lionel Debroux
3e9fbd89d2
msvcrt: Fix _Aligned_offset_realloc (move correct block of memory); add a comment to explain why.
2007-11-28 13:52:07 +01:00
Divan Burger
1aff3528cf
user32, wine.inf: Enable title bar gradients and match colours with win2k.
2007-11-28 13:41:06 +01:00
Alistair Leslie-Hughes
9c6fca1ff7
urlmon: The callback parameter can be null, check pointer before using.
2007-11-28 13:40:29 +01:00
Aric Stewart
fd812bdc1a
winecoreaudio: Implement WIDM_GETPOS.
2007-11-28 13:40:29 +01:00
Alexandre Julliard
57d1548b51
wined3d: Add printf format checking to the shader_addline function and fix resulting warnings.
2007-11-28 13:40:29 +01:00
Stefan Dösinger
218de935d1
wined3d: Fix a sign mistake in the code creating the sorted attrib.
2007-11-28 13:40:29 +01:00
Stefan Dösinger
a0127f2e1f
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.
2007-11-28 13:40:29 +01:00
Stefan Dösinger
28170c1440
wined3d: Report some more geforce 7 cards as geforce 7.
2007-11-28 13:40:29 +01:00
Stefan Dösinger
3f32847494
wined3d: Do not try to disable unsupported texture units.
2007-11-28 13:40:28 +01:00
Stefan Dösinger
0353d031bc
wined3d: Add some missing checkGLcall calls.
2007-11-28 13:40:28 +01:00
Stefan Dösinger
c66a3be49b
wined3d: Work around nvidia beta driver bug.
2007-11-28 13:40:28 +01:00
Stefan Dösinger
b91c19af87
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.
2007-11-28 13:40:28 +01:00
Rob Shearman
f96ff7d46e
advapi32: Make the credential registry key stay around if a persist value longer than session is specified.
2007-11-28 11:23:56 +01:00
Rob Shearman
c251100685
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.
2007-11-28 11:23:54 +01:00
Juan Lang
749a7adaf4
rsaenh: Empty container names are allowed for CRYPT_VERIFYCONTEXT contexts.
2007-11-28 11:20:20 +01:00
Juan Lang
fa6b64d6fc
crypt32: Add CERT_STORE_ADD_NEWER support to CertAddCertificateContextToStore.
2007-11-28 11:20:11 +01:00
Juan Lang
ab55435ef1
crypt32: Implement finding an existing certificate in a store.
2007-11-28 11:20:06 +01:00
Michael Stefaniuc
b3ff6803c0
dnsapi: Rename the wrappers around HeapAlloc() &Co to use the new standard naming.
2007-11-28 11:19:58 +01:00
Michael Stefaniuc
ac527f1e6c
shdocvw: Rename the wrappers around HeapAlloc() &Co to use the new standard naming.
2007-11-28 11:19:46 +01:00
Rob Shearman
241b25b5bd
oleaut32: Handle integer overflow of len in SysReAllocStringLen and SysAllocStringByteLen.
2007-11-28 11:19:10 +01:00
Lionel Debroux
ec80b544e1
ntdll: Trace arena magics (may help debugging some heap corruptions).
2007-11-28 11:17:56 +01:00
Stefan Leichter
d12793a2b5
d3dx8: Add WINAPI to the prototypes of D3DXMatrixTransformation.
2007-11-28 11:16:25 +01:00
Anatoly Lyutin
704c399237
msi: Fix invalid SQL query.
2007-11-28 11:14:42 +01:00
Rob Shearman
e68371040f
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.
2007-11-28 11:14:13 +01:00
Rob Shearman
aaa6c4007f
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.
2007-11-28 11:14:07 +01:00
Rob Shearman
01826e0c98
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.
2007-11-27 16:42:26 +01:00
Rob Shearman
4171309731
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.
2007-11-27 16:42:17 +01:00
Rob Shearman
0f9e568933
credui: Fix a test failure on Windows XP.
2007-11-27 16:42:13 +01:00
Stefan Dösinger
f2c19fbc0b
wined3d: Correctly handle the y offset with offscreen rendering.
...
This fixes a regression introduced with the MAD patch.
2007-11-27 16:02:34 +01:00
Stefan Dösinger
46647e58fa
wined3d: Downgrade an ERR to a WARN.
2007-11-27 16:02:28 +01:00
Stefan Dösinger
ba5c61ba20
wined3d: Fog is applied after sRGB correction.
2007-11-27 16:01:44 +01:00
Stefan Dösinger
d2ac521cd3
wined3d: Make SRGB write correction working with 1.x shaders in arb.
2007-11-27 15:18:36 +01:00
Stefan Dösinger
02ebbd1fe5
d3d9: Add a test for vertex shader input matching.
2007-11-27 15:18:28 +01:00
Lauris Kaplinski
49ea085f11
wined3d: Fixed potential reference of freed backBuffer array in IWineD3DDeviceImpl_SetFrontBackBuffers.
2007-11-27 15:18:16 +01:00
Andrew Talbot
03bba1e6d4
gdi32: Fix a typo.
2007-11-27 12:29:57 +01:00
Andrew Talbot
1067f56ca5
dinput: Use bitwise NOT not logical NOT.
2007-11-27 12:29:52 +01:00
Michael Stefaniuc
61ed0c99e6
rpcrt4: socket() returns -1 on error so check the return value against that.
2007-11-27 12:29:45 +01:00
Michael Stefaniuc
6d8c2d744b
wininet/tests: Do not compare the return value of socket() with 0. Use INVALID_SOCKET instead.
2007-11-27 12:29:42 +01:00
Rob Shearman
312a1db3ec
advapi32: Add support for using the Mac Keychain services as a backend for the credential functions instead of the registry.
2007-11-27 12:29:34 +01:00
Rob Shearman
c111c2d685
ole32: Add tests for WdtpInterfacePointer_* functions.
...
Add stubs for these so that the tests link.
2007-11-27 11:40:19 +01:00
Rob Shearman
ddf59f50f7
ole32: Clean up properly in ClientRpcChannelBuffer_SendReceive in the case where PostMessageW fails.
2007-11-27 11:40:12 +01:00
Rob Shearman
6262230a4b
ole32: Store the dispatch parameters in the message state structure to allow them to be initialised earlier in the sequence of IRpcChannelBuffer calls.
2007-11-27 11:40:07 +01:00
Rob Shearman
50532d8b4d
advapi32: Fix a typo in CredEnumerateW.
2007-11-27 11:38:28 +01:00
Rob Shearman
ca83f61d2e
advapi32: Move credential registry reading code to separate functions.
2007-11-27 11:38:22 +01:00
Huw Davies
ef59756ace
inetcomm: Implement IMimeBody:SetData.
2007-11-27 11:37:16 +01:00
Huw Davies
dd66f04c21
inetcomm: Implement IMimeBody:[G|S]etCurrentEncoding.
2007-11-27 11:37:01 +01:00
Huw Davies
19cb4bcd36
inetcomm: Implement IMimeBody:IsContentType.
2007-11-27 11:36:55 +01:00
Huw Davies
0bcd30773e
inetcomm: Store a header's parameters as a list.
2007-11-27 11:36:37 +01:00
Huw Davies
03ca389550
inetcomm: Unfold headers.
2007-11-27 11:36:19 +01:00
Huw Davies
31297b6a3b
inetcomm: Parse headers into a list.
2007-11-27 11:35:55 +01:00
Huw Davies
98dfca50bb
inetcomm: Copy RFC822 headers into a memory block for later parsing.
2007-11-27 11:35:13 +01:00
Marcus Meissner
08aa50ec2b
shell32: GetModuleFileNameW gets number of WCHARs not bytes.
2007-11-26 14:02:50 +01:00
Gerald Pfeifer
15f8b80ba7
ntdll: Fix computation in enumerate_key().
2007-11-26 14:01:50 +01:00
Gerald Pfeifer
173a8bb224
inetcomm: Fix error check in InternetTransport_Connect().
2007-11-26 13:58:28 +01:00
Gerald Pfeifer
7670393508
wined3d: Rewrite condition in vshader_program_add_param() to actually distinguish between two cases.
2007-11-26 13:58:13 +01:00
Gerald Pfeifer
b1c951b60d
itss: Avoid checking an unsigned value for < 0.
2007-11-26 13:57:40 +01:00
Gerald Pfeifer
6b7957f4db
winedos: Use DWORD instead of long for return values of SetFilePointer.
...
Adjust type of loop variable in INT21_Ioctl_Char().
2007-11-26 13:57:20 +01:00
Gerald Pfeifer
7b80410646
netapi32: Remove one tests and simplify another based on the limited range of unsigned.
2007-11-26 13:57:09 +01:00
Gerald Pfeifer
3cf116d4e9
ntdll: Simplify condition in RtlGetAce() based on variable (un)signedness.
2007-11-26 13:56:05 +01:00
Gerald Pfeifer
48d839822b
oleaut32: Simplify two conditions based on the fact that unsigned variables cannot be negative.
2007-11-26 13:55:18 +01:00
Gerald Pfeifer
1d62064748
oleaut32: Simplify two conditions based on the fact that unsigned variables cannot be negative.
2007-11-26 13:55:09 +01:00
Gerald Pfeifer
56af18f223
user32: Fix variable type in SCROLL_HandleScrollEvent(). Remove useless check in SCROLL_SetScrollInfo().
2007-11-26 13:54:44 +01:00
Lionel Debroux
68b1f2cde2
msvcrt: Fix memory leak (found by Smatch).
2007-11-26 13:07:30 +01:00
David Adam
cf443380ba
d3dx8: Implement D3DXMatrixTransformation.
2007-11-26 12:53:34 +01:00
David Adam
f1bc484947
d3dx8: Implement D3DXQuaternionExp.
2007-11-26 12:53:26 +01:00
David Adam
41029cc88c
d3dx8: Implement D3DXQuaternionLn.
2007-11-26 12:53:17 +01:00
David Adam
16a8efa410
d3dx8: Implement D3DXQuaternionRotationYawPitchRoll.
2007-11-26 12:52:58 +01:00
David Adam
eee8dd17d8
d3dx8: Implement D3DXQuaternionRotationMatrix.
2007-11-26 12:52:49 +01:00
David Adam
345994fbce
d3dx8: Implement D3DXQuaternionRotationAxis.
2007-11-26 12:52:39 +01:00
David Adam
7a4490c062
d3dx8: Implement D3DXQuaternionToAxisAngle.
2007-11-26 12:52:27 +01:00
Jacek Caban
aa30f442b1
shdocvw: Silence common invalid QueryInterface FIXMEs.
2007-11-26 12:36:02 +01:00
Jacek Caban
8c2b994c46
kernel32: Terminate child process in virtual tests.
2007-11-26 12:35:55 +01:00
Jacek Caban
0ea1bfc2ac
mshtml: Added IOleCommandTarget implementation to HTMLTxtRange.
2007-11-26 12:35:39 +01:00
Jacek Caban
c5953bec63
mshtml: Added IHTMLStyleSheetsCollection::item implementation.
2007-11-26 12:35:36 +01:00
Jacek Caban
4b302f9c89
mshtml: Store nsIDOMCSSStyleSheet in HTMLStyleSheet object if available.
2007-11-26 12:35:33 +01:00
Jacek Caban
03218d6d2c
urlmon: Wrap heap functions.
2007-11-26 12:35:28 +01:00
James Hawkins
63fe32a8bb
msi: Downgrade an ERR to a WARN.
2007-11-26 12:28:49 +01:00
James Hawkins
6dd927a265
msi: Fix the condition of a FIXME.
2007-11-26 12:28:44 +01:00
James Hawkins
0a05a87436
msi: Downgrade an ERR to a WARN.
2007-11-26 12:28:37 +01:00
James Hawkins
8912798fb5
msi: Downgrade a FIXME to a WARN.
2007-11-26 12:28:31 +01:00
James Hawkins
ca9a4dc0d9
msi: Only check the volume label if it's different than the first media's volume label.
2007-11-26 12:28:24 +01:00
James Hawkins
4160722b07
msi: Check the destination file's hash and skip that file if the hash matches.
2007-11-26 12:28:15 +01:00
James Hawkins
6a6a218548
msi: Set the file contents of the file hash test file explicitly.
2007-11-26 12:28:03 +01:00
James Hawkins
e100288934
msi: Verify the szFilePath parameter of MsiGetFileHash.
2007-11-26 12:27:53 +01:00
James Hawkins
ef7d16c816
msi: Add tests for MsiGetFileHash and clean up the existing tests.
2007-11-26 12:27:45 +01:00
Vitaliy Margolen
1ed3a815ed
dinput: Fix dead zone handling.
2007-11-26 12:27:39 +01:00
Andrew Talbot
3d5cc3b2e2
comdlg32: Use logical OR not bitwise OR.
2007-11-26 12:27:29 +01:00
Andrew Talbot
1818d3a208
user32: Fix a typo.
2007-11-26 12:27:25 +01:00
Andrew Talbot
04ff9664fd
comctl32: Fix a typo.
2007-11-26 12:27:20 +01:00
Andrew Talbot
f394970edb
user32: Constify some variables.
2007-11-26 12:27:14 +01:00
Rob Shearman
361a98c561
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.
2007-11-26 12:27:06 +01:00
Rob Shearman
542e10e44e
ntdll: Shared manifests should have a less-strict version check performed when loading them as dependencies.
2007-11-26 12:27:01 +01:00
Rob Shearman
f2efcf5f59
comctl32: Update the version in the created version to the highest current version present on XP.
...
We don't need to create more than one because application dependencies
can be resolved using shared assemblies with higher build and revision
numbers.
2007-11-26 12:26:54 +01:00
Rob Shearman
6f917d49c1
ole32: Fix a race in find_proxy_manager.
2007-11-26 12:26:46 +01:00
Andrew Talbot
7a8eb4c599
user32: Constify some variables.
2007-11-21 13:23:50 +01:00
Alexandre Julliard
029a74e56e
wsock32: Forward AcceptEx and GetAcceptExSockaddrs to mswsock.
2007-11-21 13:23:04 +01:00
Alexandre Julliard
d4e1debee7
winex11.drv: Make sure to erase the dragging frame before moving the window.
2007-11-21 13:22:42 +01:00
Divan Burger
113f573b25
user32: Change the desktop colour and pattern to match win2k.
2007-11-21 13:22:18 +01:00
Divan Burger
91d2b609c3
user32: Fix colours to match exactly with Windows 2000.
2007-11-21 13:22:14 +01:00
Vijay Kiran Kamuju
1dbaa8c619
rsaenh: Add implementation of Enhanced RSA AES Provider.
2007-11-21 13:07:41 +01:00
Vijay Kiran Kamuju
ea1f8c7ad8
rsaenh: Add tests for RSA_AES provider.
2007-11-21 13:02:26 +01:00
Alistair Leslie-Hughes
f35673e9e9
msxml: Tests for createTextNode.
2007-11-21 12:55:35 +01:00
Alistair Leslie-Hughes
43d92f4d76
msxml: Implement createTextNode.
2007-11-21 12:55:31 +01:00
Alistair Leslie-Hughes
c443674d13
msxml: Always return a string in get_text.
2007-11-21 12:54:31 +01:00
Alistair Leslie-Hughes
9845a9ced4
msxml: Added test for get_text.
2007-11-21 12:54:25 +01:00
Jacek Caban
54d5fd079b
hlink: Added HlinkCreateExtensionServices tests.
2007-11-21 12:39:01 +01:00
Jacek Caban
8208e81d46
hlink: Added HlinkCreateExtensionServices implementation.
2007-11-21 12:38:53 +01:00
Jacek Caban
593023663b
hlink: Wrap heap functions.
2007-11-21 12:38:33 +01:00
Jacek Caban
59873a3748
hlink: Move common includes and function declarations to header file.
2007-11-21 12:37:38 +01:00
Jacek Caban
12d856e100
hlink: Added HlinkUpdateStackItem stub.
2007-11-21 12:37:22 +01:00
Stefan Dösinger
afb06a1184
wined3d: Bool constants aren't vectors.
2007-11-21 12:18:09 +01:00
Stefan Dösinger
959212304d
wined3d: Track vertex declaration changes on vertex shaders.
...
If an attribute has type D3DDECLTYPE_D3DCOLOR, the red and blue channels
are swizzled in the shader. Since the attribute is stored in the vertex
declaration and not the vertex shader, it can change by setting a new
vertex declaration. If this happens, we have to recompile the shader
with the swizzling of that specific attribute turned on or off.
2007-11-21 12:18:02 +01:00
Stefan Dösinger
cfc5725760
wined3d: Move glsl shader destruction to the glsl shader backend.
2007-11-21 12:06:27 +01:00
Stefan Dösinger
af4edef5e1
wined3d: Move destroying the glsl vshader into a separate function.
2007-11-21 12:06:15 +01:00
Stefan Dösinger
bf03075b5e
wined3d: Do not cap fragment samplers to 8.
2007-11-21 12:06:04 +01:00
Lei Zhang
cb99cd331d
shell32: Only notify immediate parent.
2007-11-21 12:05:27 +01:00
Lei Zhang
fa057686bb
shell32: Perform copy in UnixFolder_ISFHelper_CopyItems.
2007-11-21 12:05:18 +01:00
Rob Shearman
046f24a0e7
rpcrt4: Raise an exception if a NULL ref-pointer is passed in to PointerMarshall or PointerBufferSize.
2007-11-21 12:03:35 +01:00
Jonathan Ernst
b95bab9b56
credui: Updated French translation.
2007-11-21 12:03:21 +01:00
Alexandre Julliard
58b85bba3e
kernel32/tests: Don't crash the test if GetThreadContext fails.
2007-11-20 17:53:43 +01:00
Alexander Nicolaysen Sørnes
1f8ba96128
user32: Change to modern Windows colours.
2007-11-20 16:59:20 +01:00