wine
15 years agod3d8: Simplify GetDevice().
Henri Verbeet [Fri, 4 Dec 2009 10:50:46 +0000 (11:50 +0100)] 
d3d8: Simplify GetDevice().

We already store "parentDevice", so we might as well use it.

15 years agoimagehlp: Implement ImageAddCertificate.
Owen Rudge [Thu, 3 Dec 2009 19:51:02 +0000 (13:51 -0600)] 
imagehlp: Implement ImageAddCertificate.

15 years agoimagehlp: Verify magic numbers and pad certificates to 8 byte boundaries.
Owen Rudge [Thu, 3 Dec 2009 19:50:58 +0000 (13:50 -0600)] 
imagehlp: Verify magic numbers and pad certificates to 8 byte boundaries.

Includes checks for 64-bit file structure and avoids repeating header
checks.

15 years agoole32: Add an internal vtable to StorageBaseImpl objects.
Vincent Povirk [Wed, 25 Nov 2009 21:07:57 +0000 (15:07 -0600)] 
ole32: Add an internal vtable to StorageBaseImpl objects.

15 years agoole32: Unify the logic for overriding the root storage filename in Stat.
Vincent Povirk [Wed, 2 Dec 2009 18:35:53 +0000 (12:35 -0600)] 
ole32: Unify the logic for overriding the root storage filename in Stat.

This is needed so that the new transacted type will be able to easily support
this logic.

15 years agoole32: Move the create attribute from StorageImpl to StorageBaseImpl.
Vincent Povirk [Wed, 2 Dec 2009 17:37:54 +0000 (11:37 -0600)] 
ole32: Move the create attribute from StorageImpl to StorageBaseImpl.

This is to avoid accessing the top-level StorageImpl directly.

15 years agoole32: Check the current storage for STGM_SIMPLE rather than ancestorStorage.
Vincent Povirk [Wed, 2 Dec 2009 17:31:43 +0000 (11:31 -0600)] 
ole32: Check the current storage for STGM_SIMPLE rather than ancestorStorage.

Since simple mode does not support substorages, we know these are the same.

15 years agoole32: Forbid substorages of simple mode storages.
Vincent Povirk [Wed, 2 Dec 2009 17:28:09 +0000 (11:28 -0600)] 
ole32: Forbid substorages of simple mode storages.

15 years agorpcrt4/tests: Skip the get_ranged_enum test on old Windows versions.
Alexandre Julliard [Fri, 4 Dec 2009 11:56:04 +0000 (12:56 +0100)] 
rpcrt4/tests: Skip the get_ranged_enum test on old Windows versions.

15 years agowininet: Make FTP_FtpOpenFileW() static.
Francois Gouget [Fri, 4 Dec 2009 10:43:25 +0000 (11:43 +0100)] 
wininet: Make FTP_FtpOpenFileW() static.

15 years agomshtml: Make nsACString_{Init,Finish}() static.
Francois Gouget [Fri, 4 Dec 2009 10:43:19 +0000 (11:43 +0100)] 
mshtml: Make nsACString_{Init,Finish}() static.

15 years agomciwave: Abort the play loop in case of audio error.
Jörg Höhle [Tue, 17 Nov 2009 08:59:05 +0000 (09:59 +0100)] 
mciwave: Abort the play loop in case of audio error.

15 years agomsvcrt: Remove unnecessary NULL check (Coverity).
Marcus Meissner [Fri, 4 Dec 2009 09:10:48 +0000 (10:10 +0100)] 
msvcrt: Remove unnecessary NULL check (Coverity).

15 years agocmd: Break out of the argument scan loop (Coverity).
Marcus Meissner [Fri, 4 Dec 2009 09:06:13 +0000 (10:06 +0100)] 
cmd: Break out of the argument scan loop (Coverity).

15 years agoshell32: handle corrupt entry in iconcache registry entry (Coverity).
Marcus Meissner [Thu, 3 Dec 2009 22:47:31 +0000 (23:47 +0100)] 
shell32: handle corrupt entry in iconcache registry entry (Coverity).

15 years agowinex11.drv: Handle if cursor not found (Cpverity).
Marcus Meissner [Fri, 4 Dec 2009 08:48:53 +0000 (09:48 +0100)] 
winex11.drv: Handle if cursor not found (Cpverity).

15 years agomsi: MsiSetMode returns a UINT system error code, not a BOOL.
James Hawkins [Fri, 4 Dec 2009 05:11:49 +0000 (21:11 -0800)] 
msi: MsiSetMode returns a UINT system error code, not a BOOL.

15 years agowininet: Correct length of data passed to callback when resolving a name.
Juan Lang [Fri, 4 Dec 2009 02:19:00 +0000 (18:19 -0800)] 
wininet: Correct length of data passed to callback when resolving a name.

15 years agojscript: Correctly handle NaN in to_integer.
Jacek Caban [Fri, 4 Dec 2009 01:56:25 +0000 (02:56 +0100)] 
jscript: Correctly handle NaN in to_integer.

15 years agojscript: Correctly handle NaN and Infinity in to_int32 and to_uint32.
Jacek Caban [Fri, 4 Dec 2009 01:56:04 +0000 (02:56 +0100)] 
jscript: Correctly handle NaN and Infinity in to_int32 and to_uint32.

15 years agokernel32/lcformat: Add support for genitive month names in GetDateFormat().
Nikolay Sivov [Fri, 4 Dec 2009 00:06:58 +0000 (03:06 +0300)] 
kernel32/lcformat: Add support for genitive month names in GetDateFormat().

15 years agokernel32/lcformat: Don't use uneeded string conversion.
Nikolay Sivov [Thu, 3 Dec 2009 20:02:21 +0000 (23:02 +0300)] 
kernel32/lcformat: Don't use uneeded string conversion.

15 years agokernel32/lcformat: Avoid back jumps on failure.
Nikolay Sivov [Thu, 3 Dec 2009 18:23:43 +0000 (21:23 +0300)] 
kernel32/lcformat: Avoid back jumps on failure.

15 years agowintrust: Fix memory leaks in tests.
Juan Lang [Thu, 3 Dec 2009 23:12:57 +0000 (15:12 -0800)] 
wintrust: Fix memory leaks in tests.

15 years agowgl: Add a direct rendering check to new winediag channel.
Roderick Colenbrander [Thu, 3 Dec 2009 20:12:26 +0000 (21:12 +0100)] 
wgl: Add a direct rendering check to new winediag channel.

15 years agontdll/tests: Fix a few test failures on Windows in the open by id test.
Alexandre Julliard [Fri, 4 Dec 2009 11:06:40 +0000 (12:06 +0100)] 
ntdll/tests: Fix a few test failures on Windows in the open by id test.

15 years agontdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable.
Alexandre Julliard [Fri, 4 Dec 2009 11:06:20 +0000 (12:06 +0100)] 
ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable.

15 years agoinclude: Move some 64-bit definitions to winnt.h to match the latest PSDK.
Alexandre Julliard [Fri, 4 Dec 2009 13:29:35 +0000 (14:29 +0100)] 
include: Move some 64-bit definitions to winnt.h to match the latest PSDK.

15 years agocryptnet: Store the bytes actually read, not the bytes available to be read.
Juan Lang [Thu, 3 Dec 2009 20:07:20 +0000 (12:07 -0800)] 
cryptnet: Store the bytes actually read, not the bytes available to be read.

15 years agoshlwapi: Close the correct key in SHRegCloseUSKey.
Aric Stewart [Thu, 3 Dec 2009 20:04:20 +0000 (14:04 -0600)] 
shlwapi: Close the correct key in SHRegCloseUSKey.

15 years agowinhttp: Check the certificate in an https connection using the crypto api.
Juan Lang [Thu, 3 Dec 2009 19:28:40 +0000 (11:28 -0800)] 
winhttp: Check the certificate in an https connection using the crypto api.

15 years agowinhttp: Set callback to verify hostname with peer's certificate.
Juan Lang [Thu, 3 Dec 2009 00:56:40 +0000 (16:56 -0800)] 
winhttp: Set callback to verify hostname with peer's certificate.

15 years agowinhttp: Store hostname for secure connection in its SSL context.
Juan Lang [Thu, 12 Nov 2009 21:33:48 +0000 (13:33 -0800)] 
winhttp: Store hostname for secure connection in its SSL context.

15 years agowinhttp: Pass hostname to netconn_secure_connect.
Juan Lang [Thu, 12 Nov 2009 21:28:23 +0000 (13:28 -0800)] 
winhttp: Pass hostname to netconn_secure_connect.

15 years agocryptnet: Implement getting the certificate issuer URL from a cert's authority info...
Juan Lang [Thu, 3 Dec 2009 18:53:45 +0000 (10:53 -0800)] 
cryptnet: Implement getting the certificate issuer URL from a cert's authority info access extension.

15 years agocryptnet: Add tests for getting the certificate issuer URL from a cert's authority...
Juan Lang [Thu, 3 Dec 2009 18:45:10 +0000 (10:45 -0800)] 
cryptnet: Add tests for getting the certificate issuer URL from a cert's authority info access extension.

15 years agowincrypt.h: Add missing URL OIDs.
Juan Lang [Thu, 3 Dec 2009 19:00:42 +0000 (11:00 -0800)] 
wincrypt.h: Add missing URL OIDs.

15 years agocrypt32: Correct AKI extension used in end certificate and CRL when checking revocation.
Juan Lang [Wed, 2 Dec 2009 23:30:02 +0000 (15:30 -0800)] 
crypt32: Correct AKI extension used in end certificate and CRL when checking revocation.

15 years agocryptnet: Correct AKI extension used in end certificate and CRL when checking revocation.
Juan Lang [Wed, 2 Dec 2009 23:28:14 +0000 (15:28 -0800)] 
cryptnet: Correct AKI extension used in end certificate and CRL when checking revocation.

15 years agowinetest: Remove no longer needed Gecko check.
Jacek Caban [Thu, 3 Dec 2009 14:15:38 +0000 (15:15 +0100)] 
winetest: Remove no longer needed Gecko check.

15 years agomshtml: Disable Gecko installation on unsupported CPU architectures.
Jacek Caban [Thu, 3 Dec 2009 14:08:30 +0000 (15:08 +0100)] 
mshtml: Disable Gecko installation on unsupported CPU architectures.

15 years agowininet: Directly return error status from HTTP_HandleRedirect.
Jacek Caban [Thu, 3 Dec 2009 13:49:56 +0000 (14:49 +0100)] 
wininet: Directly return error status from HTTP_HandleRedirect.

15 years agowininet: Directly return error status fro HTTP_HttpEndRequest.
Jacek Caban [Thu, 3 Dec 2009 13:49:29 +0000 (14:49 +0100)] 
wininet: Directly return error status fro HTTP_HttpEndRequest.

15 years agowininet: Directly return error from HTTP_HttpSendRequest.
Jacek Caban [Thu, 3 Dec 2009 13:48:54 +0000 (14:48 +0100)] 
wininet: Directly return error from HTTP_HttpSendRequest.

15 years agowininet: Remove a few more INTERNET_SetLastError calls.
Jacek Caban [Thu, 3 Dec 2009 13:47:43 +0000 (14:47 +0100)] 
wininet: Remove a few more INTERNET_SetLastError calls.

15 years agod3d9/tests: Destroy the window after we release the device.
Huw Davies [Thu, 3 Dec 2009 13:28:15 +0000 (13:28 +0000)] 
d3d9/tests: Destroy the window after we release the device.

Although either order is supposed to work, the former crashes with Wine.

15 years agoshell32/tests: Don't fill a string with potential garbage.
Paul Vriens [Thu, 3 Dec 2009 12:33:36 +0000 (13:33 +0100)] 
shell32/tests: Don't fill a string with potential garbage.

15 years agocomctl32/updown: Set width to default value on creation.
Nikolay Sivov [Thu, 3 Dec 2009 10:38:27 +0000 (13:38 +0300)] 
comctl32/updown: Set width to default value on creation.

15 years agocomctl32/updown: Specify all styles explicitly in tests.
Nikolay Sivov [Thu, 3 Dec 2009 08:01:45 +0000 (11:01 +0300)] 
comctl32/updown: Specify all styles explicitly in tests.

15 years agod3d8: Directly store a wined3d stateblock in the stateblock handle.
Henri Verbeet [Thu, 3 Dec 2009 10:38:23 +0000 (11:38 +0100)] 
d3d8: Directly store a wined3d stateblock in the stateblock handle.

IDirect3DStateBlock8Impl doesn't actually do anything useful.

15 years agodxgi/tests: Add some tests for IDXGIObject::GetParent().
Henri Verbeet [Thu, 3 Dec 2009 10:38:22 +0000 (11:38 +0100)] 
dxgi/tests: Add some tests for IDXGIObject::GetParent().

15 years agodxgi: Implement IDXGIFactory::GetParent().
Henri Verbeet [Thu, 3 Dec 2009 10:38:21 +0000 (11:38 +0100)] 
dxgi: Implement IDXGIFactory::GetParent().

15 years agodxgi: Implement IDXGIDevice::GetParent().
Henri Verbeet [Thu, 3 Dec 2009 10:38:20 +0000 (11:38 +0100)] 
dxgi: Implement IDXGIDevice::GetParent().

15 years agodxgi: Implement IDXGIOutput::GetParent().
Henri Verbeet [Thu, 3 Dec 2009 10:38:19 +0000 (11:38 +0100)] 
dxgi: Implement IDXGIOutput::GetParent().

15 years agoshlwapi: The third parameter of UrlCombineA/W is an output parameter.
Andrew Nguyen [Thu, 3 Dec 2009 09:20:08 +0000 (03:20 -0600)] 
shlwapi: The third parameter of UrlCombineA/W is an output parameter.

15 years agowinspool.drv: Check ptr for being NULL (Coverity).
Marcus Meissner [Thu, 3 Dec 2009 09:18:19 +0000 (10:18 +0100)] 
winspool.drv: Check ptr for being NULL (Coverity).

15 years agowined3d: Remove needless NULL checks (coverity).
Stefan Dösinger [Wed, 2 Dec 2009 09:44:55 +0000 (10:44 +0100)] 
wined3d: Remove needless NULL checks (coverity).

15 years agomshtml/tests: Run tests again on boxes with older IE.
Paul Vriens [Thu, 3 Dec 2009 07:05:16 +0000 (08:05 +0100)] 
mshtml/tests: Run tests again on boxes with older IE.

15 years agowinecfg: Update Portuguese translation.
Juan Lang [Thu, 3 Dec 2009 04:50:42 +0000 (20:50 -0800)] 
winecfg: Update Portuguese translation.

15 years agomsi: ExpandEnvironmentStringsW returns the required size in characters, so multiply...
James Hawkins [Thu, 3 Dec 2009 01:28:48 +0000 (17:28 -0800)] 
msi: ExpandEnvironmentStringsW returns the required size in characters, so multiply the required size by sizeof(WCHAR) when allocating the buffer.

15 years agojscript: Correctly handle -1 index in regexp match result.
Jacek Caban [Thu, 3 Dec 2009 00:13:27 +0000 (01:13 +0100)] 
jscript: Correctly handle -1 index in regexp match result.

15 years agomshtml: Detach window from frame element on window destruction.
Jacek Caban [Thu, 3 Dec 2009 00:12:46 +0000 (01:12 +0100)] 
mshtml: Detach window from frame element on window destruction.

15 years agomshtml: Fixed dispid lookup in_cp_event.
Jacek Caban [Thu, 3 Dec 2009 00:12:30 +0000 (01:12 +0100)] 
mshtml: Fixed dispid lookup in_cp_event.

15 years agomshtml: Added generic bind_to_tree node notification and use it to set frame's conten...
Jacek Caban [Thu, 3 Dec 2009 00:12:12 +0000 (01:12 +0100)] 
mshtml: Added generic bind_to_tree node notification and use it to set frame's content window.

15 years agomshtml: Fixed tests on older IEs.
Jacek Caban [Thu, 3 Dec 2009 00:09:16 +0000 (01:09 +0100)] 
mshtml: Fixed tests on older IEs.

15 years agowininet: Free the mem unconditionally to prevent a potential leak (Smatch).
Michael Stefaniuc [Wed, 2 Dec 2009 23:41:55 +0000 (00:41 +0100)] 
wininet: Free the mem unconditionally to prevent a potential leak (Smatch).

15 years agoriched20: Check for NULL in rtf reader (Coverity).
Marcus Meissner [Wed, 2 Dec 2009 23:33:02 +0000 (00:33 +0100)] 
riched20: Check for NULL in rtf reader (Coverity).

15 years agommsystem.dll16: Check for NULL ptr in mmioRename (Coverity).
Marcus Meissner [Wed, 2 Dec 2009 23:29:24 +0000 (00:29 +0100)] 
mmsystem.dll16: Check for NULL ptr in mmioRename (Coverity).

15 years agocrypt32: The KeyId member of an authority key identifier is an octet string, not...
Juan Lang [Wed, 2 Dec 2009 21:05:28 +0000 (13:05 -0800)] 
crypt32: The KeyId member of an authority key identifier is an octet string, not an integer.

15 years agouser32/edit: Check for edit window to be here in case of destruction during handler...
Nikolay Sivov [Wed, 2 Dec 2009 20:22:12 +0000 (23:22 +0300)] 
user32/edit: Check for edit window to be here in case of destruction during handler execution.

15 years agouser32/tests: Free window after use.
Nikolay Sivov [Wed, 2 Dec 2009 20:06:59 +0000 (23:06 +0300)] 
user32/tests: Free window after use.

15 years agouser32/tests: Restore original procedure to let control clean up.
Nikolay Sivov [Wed, 2 Dec 2009 20:03:21 +0000 (23:03 +0300)] 
user32/tests: Restore original procedure to let control clean up.

15 years agosetupapi/tests: Use separate directory for SetupGetInfFileListW.
Stefan Leichter [Wed, 2 Dec 2009 21:03:12 +0000 (22:03 +0100)] 
setupapi/tests: Use separate directory for SetupGetInfFileListW.

15 years agomsvcrt: Handle the SIGBREAK signal.
Peter Rosin [Wed, 2 Dec 2009 19:21:21 +0000 (20:21 +0100)] 
msvcrt: Handle the SIGBREAK signal.

15 years agomsvcrt: Add test to check if signal(SIGBREAK, ...) works (todo_wine).
Peter Rosin [Wed, 2 Dec 2009 19:21:14 +0000 (20:21 +0100)] 
msvcrt: Add test to check if signal(SIGBREAK, ...) works (todo_wine).

15 years agouser32/tests: Allocate big enough buffer for UnpackDDElParam test.
Dan Kegel [Wed, 2 Dec 2009 19:02:09 +0000 (11:02 -0800)] 
user32/tests: Allocate big enough buffer for UnpackDDElParam test.

15 years agocryptnet: Check revocation at an appropriate time.
Juan Lang [Wed, 2 Dec 2009 18:26:48 +0000 (10:26 -0800)] 
cryptnet: Check revocation at an appropriate time.

15 years agocrypt32: Fix test failures on Win2k.
Juan Lang [Wed, 2 Dec 2009 18:06:00 +0000 (10:06 -0800)] 
crypt32: Fix test failures on Win2k.

15 years agocrypt32: Fix test failure on Win7.
Juan Lang [Wed, 2 Dec 2009 18:10:43 +0000 (10:10 -0800)] 
crypt32: Fix test failure on Win7.

15 years agocryptnet: Fix test failures on Win2k.
Juan Lang [Wed, 2 Dec 2009 18:04:45 +0000 (10:04 -0800)] 
cryptnet: Fix test failures on Win2k.

15 years agocrypt32: Only check revocation on a chain without other errors.
Juan Lang [Wed, 2 Dec 2009 17:28:51 +0000 (09:28 -0800)] 
crypt32: Only check revocation on a chain without other errors.

15 years agontdll/tests: Add some tests for opening files by file id.
Alexandre Julliard [Wed, 2 Dec 2009 16:36:58 +0000 (17:36 +0100)] 
ntdll/tests: Add some tests for opening files by file id.

15 years agontdll: Add support for the FILE_OPEN_BY_FILE_ID flag in NtCreateFile.
Alexandre Julliard [Wed, 2 Dec 2009 16:35:43 +0000 (17:35 +0100)] 
ntdll: Add support for the FILE_OPEN_BY_FILE_ID flag in NtCreateFile.

15 years agontdll: Don't report a file id for directory entries that are on a different device.
Alexandre Julliard [Wed, 2 Dec 2009 16:33:28 +0000 (17:33 +0100)] 
ntdll: Don't report a file id for directory entries that are on a different device.

15 years agontdll: Remove an unnecessary NULL pointer check.
Alexandre Julliard [Wed, 2 Dec 2009 16:38:05 +0000 (17:38 +0100)] 
ntdll: Remove an unnecessary NULL pointer check.

15 years agontdll: Fix test failure on recent Windows versions.
Alexandre Julliard [Thu, 3 Dec 2009 09:08:56 +0000 (10:08 +0100)] 
ntdll: Fix test failure on recent Windows versions.

15 years agoinetmib1: Fix off-by-one error in findNextOidInTable.
Rob Shearman [Wed, 2 Dec 2009 14:55:10 +0000 (14:55 +0000)] 
inetmib1: Fix off-by-one error in findNextOidInTable.

index is 1-based, so take that into account when calculating the
pointer to pass into the compare function.

15 years agoadvapi32: Fix memory leaks in security tests.
Rob Shearman [Wed, 2 Dec 2009 14:32:07 +0000 (14:32 +0000)] 
advapi32: Fix memory leaks in security tests.

15 years agoadvapi32: Don't test the contents of memory outside of a valid block of memory.
Rob Shearman [Wed, 2 Dec 2009 14:22:11 +0000 (14:22 +0000)] 
advapi32: Don't test the contents of memory outside of a valid block of memory.

15 years agomsxml3: Fix double-free of BSTR in domdoc tests.
Rob Shearman [Wed, 2 Dec 2009 14:21:54 +0000 (14:21 +0000)] 
msxml3: Fix double-free of BSTR in domdoc tests.

Using the _bstr_ allocator adds the returned string to a cache, so the
string shouldn't be freed with SysFreeString. Therefore, just replace
the lone call to _bstr_ in this function by a straight call to
SysAllocString.

15 years agohlink: Fix memory leaks in test.
Rob Shearman [Wed, 2 Dec 2009 14:21:38 +0000 (14:21 +0000)] 
hlink: Fix memory leaks in test.

15 years agokernel32/tests: Add some GetLongPathNameA tests.
Paul Vriens [Wed, 2 Dec 2009 14:18:16 +0000 (15:18 +0100)] 
kernel32/tests: Add some GetLongPathNameA tests.

15 years agocomctl32: Implementation the WM_GETTEXT processing of datetime control.
Ilya Shpigor [Wed, 2 Dec 2009 08:20:05 +0000 (11:20 +0300)] 
comctl32: Implementation the WM_GETTEXT processing of datetime control.

15 years agorsaenh: Fix padding bytes check for 0-byte payload.
Alexandre Julliard [Wed, 2 Dec 2009 13:59:56 +0000 (14:59 +0100)] 
rsaenh: Fix padding bytes check for 0-byte payload.

15 years agogdi32: Fix incorrect initialization of path array.
Huw Davies [Wed, 2 Dec 2009 12:04:08 +0000 (12:04 +0000)] 
gdi32: Fix incorrect initialization of path array.

Found by Valgrind.

15 years agodsound: Make id_to_offset() static.
Francois Gouget [Wed, 2 Dec 2009 11:13:14 +0000 (12:13 +0100)] 
dsound: Make id_to_offset() static.

15 years agodsound: Make DSOUND_PrimarySetFormat() static.
Francois Gouget [Wed, 2 Dec 2009 11:13:08 +0000 (12:13 +0100)] 
dsound: Make DSOUND_PrimarySetFormat() static.

15 years agodsound: Make some capture functions static.
Francois Gouget [Wed, 2 Dec 2009 11:12:47 +0000 (12:12 +0100)] 
dsound: Make some capture functions static.

15 years agodsound: Reorder the capture functions to avoid forward declarations.
Francois Gouget [Wed, 2 Dec 2009 11:12:37 +0000 (12:12 +0100)] 
dsound: Reorder the capture functions to avoid forward declarations.

15 years agomshtml: Check for NULL return from allocations.
Marcus Meissner [Tue, 1 Dec 2009 22:28:50 +0000 (23:28 +0100)] 
mshtml: Check for NULL return from allocations.