Commit Graph

48833 Commits

Author SHA1 Message Date
Alexandre Julliard 019e404938 ntdll: Get rid of a line break in a trace. 2009-12-07 21:25:20 +01:00
Paul Vriens 8da7a00e67 mshtml/tests: Skip some tests on older IE. 2009-12-07 16:51:36 +01:00
Piotr Caban 2efb829845 mshtml: Added more OleDocumentView_UIActivate tests. 2009-12-07 15:41:34 +01:00
Piotr Caban 8c06ed96ae mshtml: Improved OleDocumentView_UIActivate implementation. 2009-12-07 15:41:18 +01:00
Piotr Caban 24601ed1db mshtml: Added Advise handling to OleObject_Close. 2009-12-07 15:41:13 +01:00
Piotr Caban 91dd9bbb71 mshtml: Added OleObject_Advise tests. 2009-12-07 15:41:07 +01:00
Piotr Caban 7372a6dd12 mshtml: Added OleObject_EnumAdvise implementation. 2009-12-07 15:41:01 +01:00
Piotr Caban 0aca61c5c3 mshtml: Added OleObject_Unadvise implementation. 2009-12-07 15:40:57 +01:00
Piotr Caban bbfa604dc0 mshtml: Added OleObject_Advise implementation. 2009-12-07 15:40:53 +01:00
Piotr Caban 45e0dd9d1f mshtml: Added PersistStreamInit_InitNew implementation. 2009-12-07 15:40:47 +01:00
Nathan Gallaher de239d86fd ole32: Fix invalid memory access in storage32. 2009-12-07 14:53:31 +01:00
Paul Chitescu 7fea0e332f advapi32: Reduce registry access to MAXIMUM_ALLOWED wherever possible. 2009-12-07 14:50:20 +01:00
Maarten Lankhorst 7326586517 dsound: Move buffer property sets to buffer.c. 2009-12-07 14:46:03 +01:00
Huw Davies 7c1deca74c xinput1_3: Don't print the contents of [out] parameters.
Found by Valgrind.
2009-12-07 14:45:54 +01:00
Nikolay Sivov fc7d6b39be windowscodecs/tests: Release decoder after use. 2009-12-07 14:45:49 +01:00
Henri Verbeet bf1255e2cd dxgi: Implement IDXGISurface::GetParent(). 2009-12-07 14:34:23 +01:00
Henri Verbeet a6b9a637e2 dxgi: Implement IDXGISurface::GetDevice(). 2009-12-07 14:34:19 +01:00
Henri Verbeet 4e29ade658 dxgi: Add a separate function for surface initialization. 2009-12-07 14:34:15 +01:00
Henri Verbeet 89c96ca31e d3d9: Fix GetDevice() for surfaces that are part of a texture.
If the surface is part of a texture it doesn't keep its own reference to the
device, but instead relies on the reference the texture has. This fixes a
regression introduced by ff92e6eb6a.
2009-12-07 14:34:08 +01:00
Henri Verbeet 179cee08b0 d3d8: Fix GetDevice() for surfaces that are part of a texture.
If the surface is part of a texture it doesn't keep its own reference to the
device, but instead relies on the reference the texture has. This fixes a
regression introduced by 3cedef2ffe.
2009-12-07 14:34:04 +01:00
Stefan Dösinger 740e2d403e Render to fbo when the size mismatches at creation time.
This is needed because the window(and thus the GL drawable) might be
smaller than the D3D backbuffer. If we waited for the FBO switch until
Present is called we'd lose data in the first frame.
2009-12-07 14:33:56 +01:00
Stefan Dösinger 548b0bcda5 wined3d: Render to a FBO if the window size is changed. 2009-12-07 14:33:32 +01:00
Stefan Dösinger 817714912b wined3d: Infrastructure to render swapchains to a FBO. 2009-12-07 14:33:24 +01:00
Stefan Dösinger 2b0271b185 wined3d: Use GL_COLOR_ATTACHMENT0 as offscreen buffer with FBOs.
This is used by the offscreen render target->texture blit code if
FBOs are enabled, but FBO_blit is not supported
2009-12-07 14:33:04 +01:00
Stefan Dösinger 64291c60cb wined3d: A function for checking if a surface is offscreen. 2009-12-07 14:32:54 +01:00
Stefan Dösinger 54f0d3f785 wined3d: Add a function for initializing surface sysmem. 2009-12-07 14:32:29 +01:00
Hans Leidekker 72e7e399d5 ntdll/tests: Fix a memory leak.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker d81f9006de netapi32/tests: Fix a memory leak.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker 67963a76b4 fusion: Fix some memory leaks.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker 952cd1d36a userenv/tests: Fix some memory leaks.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker 7d3f37fcbd usp10: Fix a memory leak.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker 3840de5b1e msi/tests: Loosen check on kernel32 language version. 2009-12-07 14:18:29 +01:00
Hans Leidekker 4a22c88b37 wininet: Cleanup any existing cache file before creating a new one.
Otherwise we leak the file name and handle when a request is sent again.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Alexandre Julliard 13608c8b18 gdi32: Avoid use of some 16-bit types. 2009-12-07 14:18:29 +01:00
Alexandre Julliard 1ac23b9b0f gdi32: Don't include wingdi16.h by default. 2009-12-07 14:18:29 +01:00
Alexandre Julliard 4edcf1caa5 gdi32: Make gdi.exe into a stand-alone 16-bit module. 2009-12-07 14:18:29 +01:00
Alexandre Julliard fc55cdcd59 gdi32: Stop exporting the 16-bit print job functions. 2009-12-07 14:18:28 +01:00
Alexandre Julliard cc2d6f330f wineps.drv: Don't include 16-bit headers in psdrv.h. 2009-12-07 14:18:28 +01:00
Alexandre Julliard 9a05f3143f wineps.drv: Duplicate the print job support from 16-bit GDI. 2009-12-07 14:18:28 +01:00
Alexandre Julliard 7f6b6eb344 wineps.drv: Add a wrapper function for WriteSpool16. 2009-12-07 14:18:28 +01:00
Vincent Povirk 8b154a590e gdiplus: Fix cleanup after errors in GdipCloneImage. 2009-12-07 14:18:28 +01:00
Vincent Povirk bf04d3fa69 gdiplus: Implement GdipCloneBitmapArea. 2009-12-07 14:18:28 +01:00
Marcus Meissner 4c36f79964 rpcrt4: Fixed array_compute_and_size_conformance on strings (Coverity). 2009-12-07 14:18:28 +01:00
Jacek Caban 8d44d63849 jscript: Don't pass EXPR_NEWREF flag to evaluate member expression in array_expression_eval. 2009-12-07 14:18:28 +01:00
Jacek Caban f1a543d546 mshtml: Added test for setting VT_EMPTY event handler. 2009-12-07 14:18:28 +01:00
Jacek Caban f3d805862a mshtml: Don't pass fdexNameEnsure flag to script engines in find_global_prop. 2009-12-07 14:18:28 +01:00
Paul Vriens 19f4c42f99 advapi32/tests: Fix some test failures when the computername is fully qualified. 2009-12-07 14:18:27 +01:00
Huw Davies 63231be804 setupapi: Fix memory leak.
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Nikolay Sivov e5e17ca438 msvcrt/tests: Free temporary file name after test. 2009-12-07 14:18:27 +01:00
Huw Davies 1cc0dd5c57 ntdll: Fix a few memory leaks in tests.
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Huw Davies 0099431f08 oleaut32: Fix several memory leaks in tests.
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Nikolay Sivov 5b7fae2ea8 gdiplus/tests: Delete Pen object after use. 2009-12-07 14:18:27 +01:00
Nikolay Sivov f9af62e36d gdiplus/tests: Free created iterator in tests. 2009-12-07 14:18:27 +01:00
Nikolay Sivov 25260e601c gdiplus/tests: Additional test to show that custom cap isn't created without stroke path. 2009-12-07 14:18:26 +01:00
Nikolay Sivov db5e3f4a05 gdiplus/tests: Free brush pointer after test. 2009-12-07 14:18:26 +01:00
Nikolay Sivov 7d6412c82d comctl32/datetime: Free internal data completely on control destruction. 2009-12-07 14:18:26 +01:00
Nikolay Sivov bd8fc9c474 comctl32/tests: Don't forget to free array after tests. 2009-12-07 14:18:26 +01:00
Nikolay Sivov 0f003ef48d comctl32/tests: Free imagelist after use. 2009-12-07 14:18:26 +01:00
Nikolay Sivov 6d989feff9 comctl32/treeview: Free items pointer array and root item on control destruction.
Two issues here: item pointers array wasn't freed, root item data wasn't freed.
Found by Valgrind.
2009-12-07 14:18:26 +01:00
Nikolay Sivov 59d250c4a4 kernel32/tests: Fix test failures on NT4. 2009-12-07 14:18:25 +01:00
Piotr Caban 9ede36aa2b msxml3: Fix VARIANT_from_xmlChar implementation. 2009-12-07 14:18:25 +01:00
Francois Gouget 060934c557 wined3d: Don't define nameless structs or unions.
Fixes compilation on systems that don't support nameless unions or structs.
2009-12-07 14:18:25 +01:00
Francois Gouget 6fced4d1c7 mshtml/tests: Fix the get_event_src() macro declaration. 2009-12-07 14:18:24 +01:00
Francois Gouget 0b9a4ae341 winhttp: Fix compilation on systems that don't support nameless unions. 2009-12-07 14:18:24 +01:00
Huw Davies 6f4ad21b9d oleaut32: Fix a couple of memory leaks in the tests.
Found by Valgrind.
2009-12-07 14:18:24 +01:00
Huw Davies bf93519a39 inetcomm: Fix memory leak.
Found by Valgrind.
2009-12-07 14:18:24 +01:00
Huw Davies 55bf97bba7 gdiplus: Fix a couple of memory leaks.
Found by Valgrind.
2009-12-07 14:18:24 +01:00
Juan Lang 497b67dbf6 wintrust: Fail to load a certificate from a PE file if the certificate entry isn't a known type. 2009-12-07 09:49:18 +01:00
Juan Lang d69b00d630 rsaenh/tests: Fix memory leaks. 2009-12-07 09:49:07 +01:00
Juan Lang bab1c652ae crypt32/tests: Fix memory leak in test. 2009-12-07 09:49:07 +01:00
Juan Lang 035c323054 rsaenh: Fix memory leak in CPSignHash. 2009-12-07 09:49:07 +01:00
Juan Lang cdbf6e8614 crypt32/tests: Don't pass as a parameter a variable that could be local. 2009-12-07 09:49:07 +01:00
Juan Lang a5facc9bda winhttp: Use sk_ functions rather than accessing an OpenSSL stack type directly. 2009-12-07 09:49:07 +01:00
Huw Davies 24b437942e winhttp: Load X509_STORE_CTX_get_ex_data from libcrypto not libssl. 2009-12-07 09:49:07 +01:00
James Hawkins 25ab693008 msi: The second parameter to Installer.OpenPackage is optional, so set a default value of 0 if the parameter is not provided. 2009-12-07 09:49:06 +01:00
James Hawkins 1ff6c08621 msi: Verify that the first parameter to Installer.OpenPackage is a VT_BSTR.
It seems ugly to open up the parameters in pDispParams, but
DispGetParam will happily convert a VT_EMPTY to a VT_BSTR and not
return an error.
2009-12-07 09:49:06 +01:00
James Hawkins 4687604356 msi: It's possible to send in more than two parameters to Installer.OpenPackage, but sending in zero parameters should return DISP_E_TYPEMISMATCH. 2009-12-07 09:49:06 +01:00
James Hawkins b614052895 msi: Add more tests for the Installer.OpenPackage method.
The following series fixes a few leaks reported by valgrind.  We were
leaking exception info caused by Installer.OpenPackage failing when we
didn't expected it.
2009-12-07 09:49:06 +01:00
James Hawkins 89b2cde891 oleaut32: Report the parameter index for any failure in DispGetParam. 2009-12-07 09:49:06 +01:00
James Hawkins 02dcc19854 oleaut32: Add tests for DispGetParam. Fix two issues that crashed the tests. 2009-12-07 09:49:06 +01:00
Vincent Povirk f3d194b391 ole32: Add ReadDirEntry to the storage vtable. 2009-12-07 09:49:05 +01:00
Vincent Povirk 176cdfc75e ole32: Add WriteDirEntry to the storage vtable. 2009-12-07 09:49:05 +01:00
Vincent Povirk 8a332db2c5 ole32: Change ReadDirEntry return type to HRESULT. 2009-12-07 09:49:05 +01:00
Vincent Povirk df13a1d1fe ole32: Change WriteDirEntry return type to HRESULT. 2009-12-07 09:49:05 +01:00
Vincent Povirk 382ffed003 ole32: Make CreateDirEntry a virtual method. 2009-12-07 09:49:05 +01:00
Vincent Povirk f1405ca0d2 windowscodecs: Accept GIF files with no trailer. 2009-12-07 09:33:35 +01:00
Owen Rudge b49cc56614 imagehlp: Recalculate PE checksum after file modification. 2009-12-07 09:33:29 +01:00
Owen Rudge ba5a86e349 imagehlp: Check for 64-bit PE files in CheckSumMappedFile. 2009-12-07 09:33:07 +01:00
Owen Rudge b277012765 imagehlp/tests: Add tests for adding/removing multiple certificates. 2009-12-07 09:32:40 +01:00
Owen Rudge 5bcc37a9fd imagehlp: Implement ImageRemoveCertificate. 2009-12-07 09:32:29 +01:00
Rob Shearman 74e5e0b33f hlink: Fix more memory leaks in tests. 2009-12-07 09:32:22 +01:00
Rob Shearman 0450235db4 netapi32: Fix off-by-one errors in ACCESS_QueryAdminDisplayInformation and ACCESS_QueryGuestDisplayInformation. 2009-12-07 09:32:17 +01:00
Rob Shearman 2b74e774f9 ole32: Add tests for HGLOBAL stream ignoring the HighPart of the offset for seeks. 2009-12-07 09:32:11 +01:00
Rob Shearman 4ad631286a ole32: Initialise all of position variables in test_save_load_filemoniker.
Initialise all 8-bytes instead of just the lower 4-bytes. This test
isn't designed to be testing whether the Seek method of the object
return by CreateStreamOnHGlobal uses the high part of the positions
passed in.
2009-12-07 09:32:08 +01:00
Huw Davies 6b8c9aee4f user32: Pad lfFaceName so we don't write uninitialised data to the registry.
Found by Valgrind.
2009-12-04 15:49:26 +01:00
Huw Davies 6fc8234300 user32: Pad lfFaceName so we don't write uninitialised data to the registry.
Found by Valgrind.
2009-12-04 15:48:19 +01:00
Wolfram Sang a7326271e0 ntdll: Silence RtlNtStatusToDosErrorNoTeb() a bit. 2009-12-04 15:48:09 +01:00
Paul Vriens c2f5442f2a kernel32/tests: Skip some tests if needed (WinXP Home). 2009-12-04 14:44:11 +01:00
Paul Vriens 0c67d1bddb kernel32/tests: Skip some tests on Win98/WinMe. 2009-12-04 14:44:03 +01:00
Paul Vriens 3b43c4e585 kernel32/tests: Correct some ok() statements. 2009-12-04 14:43:48 +01:00
Hans Leidekker e018a5e25b wininet: Add a test for status callbacks on ftp connections. 2009-12-04 14:42:44 +01:00
Hans Leidekker 5f08249831 wininet: Fix some status callbacks to return a string instead of a sockaddr structure.
Spotted by Juan Lang.
2009-12-04 14:42:37 +01:00
Alistair Leslie-Hughes e7906026bb shdocvw: Implement IWebBrowser2_get_Name. 2009-12-04 14:42:28 +01:00
Dmitry Timoshkov 2536bfd1d8 kernel32: Explicitly treat the current working directory name as a unix one. 2009-12-04 14:42:05 +01:00
Henri Verbeet 2800970d1a dxgi/tests: Add a small test for IDXGIAdapter::GetDesc(). 2009-12-04 14:34:59 +01:00
Henri Verbeet 0491fcce30 dxgi: Implement IDXGIAdapter::GetDesc(). 2009-12-04 14:34:59 +01:00
Henri Verbeet dd5fc79f56 wined3d: The stateblock doesn't really need a parent. 2009-12-04 14:34:59 +01:00
Henri Verbeet ff92e6eb6a d3d9: Simplify GetDevice(). 2009-12-04 14:34:59 +01:00
Henri Verbeet 3cedef2ffe d3d8: Simplify GetDevice().
We already store "parentDevice", so we might as well use it.
2009-12-04 14:34:59 +01:00
Owen Rudge 1f6d24565c imagehlp: Implement ImageAddCertificate. 2009-12-04 14:34:59 +01:00
Owen Rudge f5ebe032b0 imagehlp: Verify magic numbers and pad certificates to 8 byte boundaries.
Includes checks for 64-bit file structure and avoids repeating header 
checks.
2009-12-04 14:34:59 +01:00
Vincent Povirk cc98619ca4 ole32: Add an internal vtable to StorageBaseImpl objects. 2009-12-04 14:34:59 +01:00
Vincent Povirk f434ab1f2a 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.
2009-12-04 14:34:59 +01:00
Vincent Povirk 5456724fd7 ole32: Move the create attribute from StorageImpl to StorageBaseImpl.
This is to avoid accessing the top-level StorageImpl directly.
2009-12-04 14:34:58 +01:00
Vincent Povirk b6dc718c44 ole32: Check the current storage for STGM_SIMPLE rather than ancestorStorage.
Since simple mode does not support substorages, we know these are the same.
2009-12-04 14:34:58 +01:00
Vincent Povirk cf5e6c571a ole32: Forbid substorages of simple mode storages. 2009-12-04 14:34:58 +01:00
Alexandre Julliard e48f4253a4 rpcrt4/tests: Skip the get_ranged_enum test on old Windows versions. 2009-12-04 14:34:58 +01:00
Francois Gouget f3b738f63c wininet: Make FTP_FtpOpenFileW() static. 2009-12-04 14:34:58 +01:00
Francois Gouget 661208f088 mshtml: Make nsACString_{Init,Finish}() static. 2009-12-04 14:34:58 +01:00
Jörg Höhle ee3c8794ea mciwave: Abort the play loop in case of audio error. 2009-12-04 14:34:58 +01:00
Marcus Meissner 4da51e087d msvcrt: Remove unnecessary NULL check (Coverity). 2009-12-04 14:34:58 +01:00
Marcus Meissner 265c959ed9 shell32: handle corrupt entry in iconcache registry entry (Coverity). 2009-12-04 14:34:58 +01:00
Marcus Meissner 478592cd3d winex11.drv: Handle if cursor not found (Cpverity). 2009-12-04 14:34:57 +01:00
James Hawkins 7d3e664312 msi: MsiSetMode returns a UINT system error code, not a BOOL. 2009-12-04 14:34:57 +01:00
Juan Lang b967fde0a8 wininet: Correct length of data passed to callback when resolving a name. 2009-12-04 14:34:57 +01:00
Jacek Caban ec769d2d95 jscript: Correctly handle NaN in to_integer. 2009-12-04 14:34:57 +01:00
Jacek Caban efda5561d0 jscript: Correctly handle NaN and Infinity in to_int32 and to_uint32. 2009-12-04 14:34:57 +01:00
Nikolay Sivov 8ea4102a6c kernel32/lcformat: Add support for genitive month names in GetDateFormat(). 2009-12-04 14:34:57 +01:00
Nikolay Sivov 8e4f283e2d kernel32/lcformat: Don't use uneeded string conversion. 2009-12-04 14:34:56 +01:00
Nikolay Sivov 1a2609189f kernel32/lcformat: Avoid back jumps on failure. 2009-12-04 14:34:56 +01:00
Juan Lang ba9ccc51e2 wintrust: Fix memory leaks in tests. 2009-12-04 14:34:56 +01:00
Roderick Colenbrander a191184ae9 wgl: Add a direct rendering check to new winediag channel. 2009-12-04 14:34:56 +01:00
Alexandre Julliard 3dd6c9a6fe ntdll/tests: Fix a few test failures on Windows in the open by id test. 2009-12-04 14:34:56 +01:00
Alexandre Julliard 866db819b8 ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable. 2009-12-04 14:34:45 +01:00
Juan Lang 9072050906 cryptnet: Store the bytes actually read, not the bytes available to be read. 2009-12-04 12:05:38 +01:00
Aric Stewart 3a55f964b9 shlwapi: Close the correct key in SHRegCloseUSKey. 2009-12-04 12:05:24 +01:00
Juan Lang 82d07c4051 winhttp: Check the certificate in an https connection using the crypto api. 2009-12-04 12:04:59 +01:00
Juan Lang 48a7580135 winhttp: Set callback to verify hostname with peer's certificate. 2009-12-04 12:03:55 +01:00
Juan Lang be8f2ae98e winhttp: Store hostname for secure connection in its SSL context. 2009-12-04 12:03:47 +01:00
Juan Lang a33c4bfd0b winhttp: Pass hostname to netconn_secure_connect. 2009-12-04 12:02:50 +01:00
Juan Lang 59820c2e5c cryptnet: Implement getting the certificate issuer URL from a cert's authority info access extension. 2009-12-04 12:01:53 +01:00
Juan Lang a7c236a066 cryptnet: Add tests for getting the certificate issuer URL from a cert's authority info access extension. 2009-12-04 12:01:48 +01:00
Juan Lang 6acd82fa79 crypt32: Correct AKI extension used in end certificate and CRL when checking revocation. 2009-12-04 12:01:16 +01:00
Juan Lang f7e7f09a4b cryptnet: Correct AKI extension used in end certificate and CRL when checking revocation. 2009-12-04 12:01:12 +01:00
Jacek Caban 412f4a6091 mshtml: Disable Gecko installation on unsupported CPU architectures. 2009-12-03 15:27:49 +01:00
Jacek Caban a9ecdc6024 wininet: Directly return error status from HTTP_HandleRedirect. 2009-12-03 15:27:22 +01:00
Jacek Caban 741b6611fb wininet: Directly return error status fro HTTP_HttpEndRequest. 2009-12-03 15:27:14 +01:00
Jacek Caban c952e81a89 wininet: Directly return error from HTTP_HttpSendRequest. 2009-12-03 15:27:08 +01:00
Jacek Caban 903d9c460d wininet: Remove a few more INTERNET_SetLastError calls. 2009-12-03 15:27:02 +01:00
Huw Davies 14b343fcd0 d3d9/tests: Destroy the window after we release the device.
Although either order is supposed to work, the former crashes with Wine.
2009-12-03 15:26:52 +01:00
Paul Vriens 1c582d2ac5 shell32/tests: Don't fill a string with potential garbage. 2009-12-03 15:26:41 +01:00
Nikolay Sivov eaee84f4db comctl32/updown: Set width to default value on creation. 2009-12-03 14:02:54 +01:00
Nikolay Sivov b2d89f4823 comctl32/updown: Specify all styles explicitly in tests. 2009-12-03 14:02:54 +01:00
Henri Verbeet 8151963f4e d3d8: Directly store a wined3d stateblock in the stateblock handle.
IDirect3DStateBlock8Impl doesn't actually do anything useful.
2009-12-03 12:09:12 +01:00
Henri Verbeet 09dd10e7f5 dxgi/tests: Add some tests for IDXGIObject::GetParent(). 2009-12-03 12:08:56 +01:00
Henri Verbeet 3543e3d8cc dxgi: Implement IDXGIFactory::GetParent(). 2009-12-03 12:08:51 +01:00
Henri Verbeet bfdd5df7f0 dxgi: Implement IDXGIDevice::GetParent(). 2009-12-03 12:08:46 +01:00
Henri Verbeet aa85b4c61d dxgi: Implement IDXGIOutput::GetParent(). 2009-12-03 12:08:41 +01:00
Andrew Nguyen 77933a925b shlwapi: The third parameter of UrlCombineA/W is an output parameter. 2009-12-03 12:06:27 +01:00
Marcus Meissner faf1485e4e winspool.drv: Check ptr for being NULL (Coverity). 2009-12-03 12:05:52 +01:00
Stefan Dösinger 6a19339207 wined3d: Remove needless NULL checks (coverity). 2009-12-03 11:45:15 +01:00
Paul Vriens 5bc0dd711a mshtml/tests: Run tests again on boxes with older IE. 2009-12-03 10:23:05 +01:00
James Hawkins 6b8b82ef13 msi: ExpandEnvironmentStringsW returns the required size in characters, so multiply the required size by sizeof(WCHAR) when allocating the buffer. 2009-12-03 10:22:40 +01:00
Jacek Caban 9ac7949810 jscript: Correctly handle -1 index in regexp match result. 2009-12-03 10:22:20 +01:00
Jacek Caban bd715dc8e4 mshtml: Detach window from frame element on window destruction. 2009-12-03 10:22:13 +01:00
Jacek Caban bfec9c619b mshtml: Fixed dispid lookup in_cp_event. 2009-12-03 10:22:09 +01:00
Jacek Caban 451f5b4ad6 mshtml: Added generic bind_to_tree node notification and use it to set frame's content window. 2009-12-03 10:22:04 +01:00
Jacek Caban 2b04973e09 mshtml: Fixed tests on older IEs. 2009-12-03 10:21:55 +01:00
Michael Stefaniuc b8a087d6a8 wininet: Free the mem unconditionally to prevent a potential leak (Smatch). 2009-12-03 10:21:48 +01:00
Marcus Meissner c848e4ee86 riched20: Check for NULL in rtf reader (Coverity). 2009-12-03 10:21:44 +01:00
Marcus Meissner 40026a7eb7 mmsystem.dll16: Check for NULL ptr in mmioRename (Coverity). 2009-12-03 10:21:39 +01:00
Juan Lang 91fbdb561a crypt32: The KeyId member of an authority key identifier is an octet string, not an integer. 2009-12-03 10:16:53 +01:00
Nikolay Sivov aa737174f0 user32/edit: Check for edit window to be here in case of destruction during handler execution. 2009-12-03 10:16:39 +01:00
Nikolay Sivov 0e16d4cd5b user32/tests: Free window after use. 2009-12-03 10:15:33 +01:00
Nikolay Sivov 48cb3a30b5 user32/tests: Restore original procedure to let control clean up. 2009-12-03 10:15:24 +01:00
Stefan Leichter 941d69e544 setupapi/tests: Use separate directory for SetupGetInfFileListW. 2009-12-03 10:15:06 +01:00
Peter Rosin f79cd33fc4 msvcrt: Handle the SIGBREAK signal. 2009-12-03 10:14:44 +01:00
Peter Rosin 83ec2f4f04 msvcrt: Add test to check if signal(SIGBREAK, ...) works (todo_wine). 2009-12-03 10:14:31 +01:00
Dan Kegel 3e28e4ab0f user32/tests: Allocate big enough buffer for UnpackDDElParam test. 2009-12-03 10:12:30 +01:00
Juan Lang 1860d2a8d3 cryptnet: Check revocation at an appropriate time. 2009-12-03 10:12:06 +01:00
Juan Lang 865669eeb3 crypt32: Fix test failures on Win2k. 2009-12-03 10:11:54 +01:00
Juan Lang 63383baed4 crypt32: Fix test failure on Win7. 2009-12-03 10:11:46 +01:00
Juan Lang 052aea2476 cryptnet: Fix test failures on Win2k. 2009-12-03 10:11:39 +01:00
Juan Lang 596cd16fc4 crypt32: Only check revocation on a chain without other errors. 2009-12-03 10:11:33 +01:00
Alexandre Julliard 8115c6243b ntdll/tests: Add some tests for opening files by file id. 2009-12-03 10:10:06 +01:00
Alexandre Julliard 9c789f4025 ntdll: Add support for the FILE_OPEN_BY_FILE_ID flag in NtCreateFile. 2009-12-03 10:10:06 +01:00
Alexandre Julliard 6677565f34 ntdll: Don't report a file id for directory entries that are on a different device. 2009-12-03 10:10:06 +01:00
Alexandre Julliard d189ed6fdd ntdll: Remove an unnecessary NULL pointer check. 2009-12-03 10:10:03 +01:00
Alexandre Julliard 7dc1c2af52 ntdll: Fix test failure on recent Windows versions. 2009-12-03 10:08:56 +01:00
Rob Shearman d0f93223b1 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.
2009-12-02 16:31:22 +01:00
Rob Shearman 190a11ddb6 advapi32: Fix memory leaks in security tests. 2009-12-02 16:08:53 +01:00
Rob Shearman 8bfc736561 advapi32: Don't test the contents of memory outside of a valid block of memory. 2009-12-02 16:08:52 +01:00
Rob Shearman 211e4fc0fe 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.
2009-12-02 16:08:52 +01:00
Rob Shearman b84201dca5 hlink: Fix memory leaks in test. 2009-12-02 16:08:52 +01:00
Paul Vriens be3c97437f kernel32/tests: Add some GetLongPathNameA tests. 2009-12-02 16:08:52 +01:00
Ilya Shpigor fa92edfa48 comctl32: Implementation the WM_GETTEXT processing of datetime control. 2009-12-02 16:08:45 +01:00
Alexandre Julliard b402b78780 rsaenh: Fix padding bytes check for 0-byte payload. 2009-12-02 14:59:56 +01:00
Huw Davies b5ca0a9c2a gdi32: Fix incorrect initialization of path array.
Found by Valgrind.
2009-12-02 14:19:54 +01:00
Francois Gouget c5b346440f dsound: Make id_to_offset() static. 2009-12-02 14:19:50 +01:00
Francois Gouget ff0717766c dsound: Make DSOUND_PrimarySetFormat() static. 2009-12-02 14:19:47 +01:00
Francois Gouget 5b5f00d552 dsound: Make some capture functions static. 2009-12-02 14:19:44 +01:00
Francois Gouget 5ab62a5c88 dsound: Reorder the capture functions to avoid forward declarations. 2009-12-02 14:19:41 +01:00
Marcus Meissner 5013c4d96e mshtml: Check for NULL return from allocations. 2009-12-02 13:16:45 +01:00
Marcus Meissner 8a06bd9e1c winex11.drv: Check NULL before calling (Coverity). 2009-12-02 13:14:47 +01:00
Marcus Meissner 482354bdf7 shell32: Check for NULL lpText (Coverity). 2009-12-02 13:14:42 +01:00
Huw Davies 8dd5c04c32 iphlpapi: Provide statistics on non-ethernet based interfaces too. 2009-12-02 13:06:08 +01:00
Henri Verbeet b644d11333 d3d9/tests: Add a small test for IDirect3D9Ex::GetAdapterLUID(). 2009-12-02 13:06:08 +01:00
Henri Verbeet ed73f0a1b0 d3d9: Implement IDirect3D9Ex::GetAdapterLUID(). 2009-12-02 13:06:08 +01:00
Henri Verbeet 03f61decc9 d3d10core: Allow a NULL vertex buffer to be set in IASetVertexBuffers(). 2009-12-02 13:06:07 +01:00
Henri Verbeet ee396dda28 d3d10core: Allow a NULL input layout to be set in IASetInputLayout(). 2009-12-02 13:06:07 +01:00
Henri Verbeet 36823dd96b wined3d: Set appropriate error codes in IWineD3DDeviceImpl_Init3D() on out of memory. 2009-12-02 13:06:07 +01:00
Dan Kegel 1cd395153d kernel32: Fix write buffer overrun in format_insertW. 2009-12-02 13:06:07 +01:00
Jacek Caban 0909e8b18c mshtml: Added IHTMLDocument::cookie tests. 2009-12-02 13:06:01 +01:00
Jacek Caban 8ddcbd00eb mshtml: Added IHTMLDocument2::put_cookie implementation. 2009-12-02 12:19:49 +01:00
Jacek Caban 614c66a418 mshtml: Added IHTMLDocument2::get_cookie implementation. 2009-12-02 12:19:45 +01:00
Jacek Caban 28677ea87d mshtml: Don't depend on necko channel in nsChannel::QueryInterface implementation. 2009-12-02 12:19:38 +01:00
Jacek Caban dc3818e707 mshtml: Don't wrap URIs related to Gecko special URIs. 2009-12-02 12:19:30 +01:00
Andrew Eikum d97b4d260e mshtml: Implement IHTMLStyle::{get, put}_border{Top, Bottom, Right}. 2009-12-02 12:19:24 +01:00
Andrew Eikum 3007b73cc9 mshtml: Support get_dispid and invoke methods in HTMLFormElement. 2009-12-02 12:18:23 +01:00
Andrew Eikum e5948590ee mshtml: Add get_dispid and invoke methods to HTMLNode vtbl. 2009-12-02 12:18:19 +01:00
Juan Lang a2420c85f4 cryptnet: Correct AKI extension used in end certificate and CRL when checking revocation. 2009-12-02 12:18:08 +01:00
Juan Lang 9f5a554de0 crypt32: Correct AKI extension used in end certificate and CRL when checking revocation. 2009-12-02 12:18:02 +01:00
Luke Benstead 7fc8aed47f user32: Implement PrintWindow. 2009-12-02 12:16:03 +01:00
Jeremy White fa63234b52 winspool: Remove unvarying unicode parameter from WINSPOOL_GetDevModeFromReg. 2009-12-02 12:14:47 +01:00
Jeremy White 9d549a9c13 winspool: Remove unvarying unicode parameter from WINSPOOL_GetDefaultDevMode. 2009-12-02 12:14:42 +01:00
Jeremy White c0238d96b4 winspool: Remove unvarying unicode parameter from WINSPOOL_GetStringFromReg. 2009-12-02 12:14:15 +01:00
Jeremy White b378e0a3d4 winspool: Remove unvarying unicode parameter from WINSPOOL_GetPrinter_[1-9]. 2009-12-02 12:14:01 +01:00
Jeremy White 108230c19e winspool: Remove unvarying unicode parameter from WINSPOOL_GetDriverInfoFromReg. 2009-12-02 12:13:52 +01:00
Jeremy White 10e70fbd18 winspool: Revise EnumPrinterDriversW to fix the incorrect handling of 'all'. EnumPrinterDriversA is similarly fixed by using EnumPrinterDriversW. 2009-12-02 12:13:31 +01:00
Juan Lang 9c56314e3d crypt32: Further fix test failures. 2009-12-02 12:12:50 +01:00
Hans Leidekker be86c2976b wininet: Implement InternetQueryOption(INTERNET_OPTION_DATAFILE_NAME) for ftp file objects. 2009-12-02 12:12:39 +01:00
Hans Leidekker 6f6ee2e712 wininet: Also cache files transferred over ftp. 2009-12-02 12:12:33 +01:00
Alexandre Julliard 84b309f309 ntdll/tests: Add tests for opening files with a root directory handle. 2009-12-01 17:38:44 +01:00
Alexandre Julliard d97149b708 ntdll: Add support for converting file names to Unix when a root directory is specified. 2009-12-01 17:24:26 +01:00
Alexandre Julliard a420a207e3 ntdll: Move the directory lookup part of wine_nt_to_unix_file_name to a separate helper. 2009-12-01 16:30:52 +01:00
Jacek Caban 77d58529f5 jscript: Pass NULL as retv to exec_source in exec_global_code. 2009-12-01 16:11:48 +01:00
Owen Rudge 8c8b0ebbda imagehlp/tests: Add tests of Image[Add|Get|Remove]Certificate functions. 2009-12-01 15:15:08 +01:00
Jörg Höhle f47ea4681f mciavi: Simplify play loop. 2009-12-01 15:13:41 +01:00
Rob Shearman 552c91106d ole32: Fix test failure on win2000+.
These OSs have different behaviour w.r.t. quotes in path names and
don't ignore the rest of the path outside of the quotes.
2009-12-01 15:10:37 +01:00
Rob Shearman b894925b0e winex11.drv: Make sure that the selectionAcquired flag has been set before returning from X11DRV_AcquireClipboard.
X11DRV_CLIPBOARD_UpdateCache depends on selectionAcquired being set if
the current process is the selection owner, otherwise it will defer to
getting the clipformats from X, manufacturing extra formats that the
app may not be expecting, having just set the formats itself. Worse
still, since selectionAcquired is set in another thread this behaviour
is not predicatable and it may sometimes use the clipformats already
set and other times defer to X.
2009-12-01 15:10:37 +01:00
Rob Shearman 0d10ddd4d5 ws2_32: Initialise buffer eventually passed into send to zero in test_write_events. 2009-12-01 15:10:37 +01:00
Rob Shearman f7624cbfbc oleaut32: Remove LPVOID variables in olefont tests and pass IFont pointers into OleCreateFontIndirect directly.
In many places the assignment of the LPVOID variable into the
corresponding IFont * variable has been forgotten.
2009-12-01 15:10:37 +01:00
Maarten Lankhorst 58c7aa4691 ntdll: Silence a common warning. 2009-12-01 15:10:37 +01:00
Alexandre Julliard cc973b0cdc gdi32: Avoid calling get_dc_ptr on a null handle. 2009-12-01 15:10:37 +01:00
Ilya Shpigor e4e55ed8b4 comctl32: Test the WM_GETTEXT processing of datetime control. 2009-12-01 15:10:37 +01:00
Austin Lund 487a51b52f shell32/tests: Fix ITEMIDLIST_format test when running on FAT filesystems. 2009-12-01 13:40:17 +01:00
Hans Leidekker c0d79c475b advapi32: Improve the stub for GetEffectiveRightsFromAclA. 2009-12-01 13:16:39 +01:00
Hans Leidekker c4d12bde2b wininet/tests: Trace extended errors in a couple of places. 2009-12-01 13:16:34 +01:00
Hans Leidekker fd8620f6c0 msi/tests: Don't check more bytes than written to the file. 2009-12-01 13:16:30 +01:00
Henri Verbeet bdad5ace2a d3d9/tests: Trace the viewport in clear_test().
There are some failures in this test on Win7 that appear to be related to the
initial viewport. Perhaps this trace will help narrow it down.
2009-12-01 13:16:22 +01:00