Commit Graph

48507 Commits

Author SHA1 Message Date
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
Henri Verbeet 212ee15bd7 d3d8: Return D3DERR_INVALIDCALL when trying to delete an invalid pixel shader.
It appears this is fixed on Vista/Win7 to be consistent with
DeleteVertexShader(). Match the more consistent behaviour of Vista/Win7 and
mark the previous behaviour as broken.
2009-12-01 13:16:18 +01:00
Henri Verbeet 64e6e956e5 ntdll/tests: Add some tests for FileAllInformation name information.
This is essentially a copy of test_file_name_information().
2009-12-01 13:15:36 +01:00
Henri Verbeet 0eac2ce19b ntdll: Also return name information for FileAllInformation. 2009-12-01 13:15:20 +01:00
Henri Verbeet c99abc651b ntdll: Fix the FileAllInformation info size. 2009-12-01 13:14:45 +01:00
Marcus Meissner d6f78e4014 dbghelp: Check wImageName for NULL (Coverity). 2009-12-01 13:14:40 +01:00
Marcus Meissner 28c6c44df4 cryptnet: Added a potentially missing NULL ptr check (Coverity). 2009-12-01 13:14:31 +01:00
Nikolay Sivov 1804941797 comctl32/treeview: Simplify WM_CHAR handler. 2009-12-01 13:14:11 +01:00
Nikolay Sivov 277c5139d2 comctl32/treeview: Clean up winproc a bit, move parameter check to handlers. 2009-12-01 13:14:06 +01:00
Jeremy White 0506d3cdc0 winspool: Add a test which shows the flaws in the current all enumeration. 2009-12-01 13:11:43 +01:00
Jeremy White 6994b721de winspool: Implement GetPrinterDriverA with GetPrinterDriverW, notably using the larger sizes, which fixes a bug in printing with Acrobat Reader 9.2. 2009-12-01 13:11:37 +01:00
Jeremy White c445761b56 winspool: Add a test to show size required for EnumPrinterDriversA is the same as W. 2009-12-01 13:11:28 +01:00
Jeremy White c5a0f9316d winspool: When retrieving PRINTER_INFO_7, the lack of a directory service print queue object is represented with a NULL pointer and a successful return, not an error return. 2009-12-01 13:11:20 +01:00
Jeremy White eae3c3cacc winspool: Implement GetPrinterA via GetPrinterW, largely to support the eccentricity that GetPrinterA allocates buffers as large as those required by GetPrinterW. 2009-12-01 13:10:39 +01:00
Jeremy White 91678ff9e9 winspool: Add modest tests for GetPrinter. 2009-12-01 13:07:46 +01:00
Jeremy White 4c136a5df3 winspool: Remove unvarying unicode parameter from WINSPOOL_EnumPrinters. 2009-12-01 13:07:30 +01:00
Jeremy White 602d9058fb winspool: Remove unvarying unicode parameter from WINSPOOL_OpenDriverReg. 2009-12-01 13:05:54 +01:00
Michael Stefaniuc 4376ccf3fc comctl32: Use FAILED instead of !SUCCEEDED. 2009-12-01 13:04:36 +01:00
Jacek Caban 35b2ca947c jscript: Added lastIndex tests. 2009-12-01 12:59:48 +01:00
Jacek Caban d0062198b6 jscript: Added lastIndex setter implementation. 2009-12-01 12:59:44 +01:00
Jacek Caban 34fcbb5f75 wininet: Make HTTP_HttpSendRequestW static and avoid its forward declaration. 2009-12-01 12:59:36 +01:00
Jacek Caban e974965185 wininet: Directly return error status from HTTP_HttpAddRequestHeadersW. 2009-12-01 12:59:23 +01:00
Jacek Caban 85a057e186 wininet: Directly return error status from HTTP_HttpOpenRequestW. 2009-12-01 12:59:16 +01:00
Jacek Caban 47c71fcd0a wininet: Make HTTP_HttpOpenRequestW static and avoid forward its declaration. 2009-12-01 12:59:07 +01:00
Jacek Caban b01d58428b wininet: Directly return error status from NETCON_init. 2009-12-01 12:58:58 +01:00
Jacek Caban 1d96e20e8a wininet: Directly return error status from refill_buffer. 2009-12-01 12:58:52 +01:00
Jacek Caban 358e7b7c8a wininet: Directly return error status from NETCON_recv. 2009-12-01 12:58:34 +01:00