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
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
Andrew Eikum
1563c137fa
mshtml: Add stub implementation of IHTMLFormElement.
2009-12-01 12:58:16 +01:00
Juan Lang
6b8c053218
crypt32: Fix test failures.
2009-12-01 12:24:00 +01:00
Paul Vriens
e5d37c8d4a
shell32/tests: Fix test failure on non-English locale.
2009-12-01 12:23:52 +01:00
Maarten Lankhorst
15adb260b2
winealsa.drv: Remove wrong calls.
...
snd_pcm_prepare is called below, and snd_pcm_sw_params is called before
sw_params is initialized.
2009-12-01 11:45:30 +01:00
Jacek Caban
368edb73cd
mshtml: Added onreadystatechange tests.
2009-12-01 11:39:51 +01:00
Jacek Caban
f91e71d7ce
mshtml: Added onreadystatechange event support.
2009-12-01 11:39:45 +01:00
Jacek Caban
a369d5e733
mshtml: Added IHTMLFrameBase2::get_readyState implementation.
2009-12-01 11:39:40 +01:00
Jacek Caban
f340e637f7
mshtml: Added IHTMLFrameBase2::put_src implementation.
2009-12-01 11:39:36 +01:00
Jacek Caban
bb60430de4
mshtml: Always return fake scheme in nsIURI::GetScheme if use_wine_url is set.
2009-12-01 11:39:31 +01:00
Jacek Caban
050a1372b0
mshtml: Added support for frames in navigate_url.
2009-12-01 11:39:26 +01:00
Jacek Caban
ec13e51087
mshtml: Don't change nsIWineURI in OnStartBinding if it's already marked as document URI.
2009-12-01 11:39:17 +01:00
Jacek Caban
679591ff87
mshtml: Added support for relative URLs in navigate_url.
2009-12-01 11:39:12 +01:00
Jacek Caban
7cb41811b1
mshtml: Use special handling only for main documents in AsyncOpen.
2009-12-01 11:39:07 +01:00
Jacek Caban
fc2306d58c
mshtml: Don't fail in NewChannelFromURI if necko failed to create a channel.
2009-12-01 11:39:02 +01:00
Jacek Caban
d0dbf57c36
mshtml: Always set use_wine_url if there is no necko nsIURI available.
2009-12-01 11:38:55 +01:00
Jacek Caban
a75615640a
mshtml: Added IHTMLElement2::get_readyState test.
2009-12-01 11:34:27 +01:00
Jacek Caban
9881ec35eb
mshtml: Added IHTMLElement2::get_readyState implementation.
2009-12-01 11:34:23 +01:00
Jacek Caban
2c6c00a84f
mshtml: Forward setting window.location to window.location.href.
2009-12-01 11:34:16 +01:00
Jacek Caban
f8d8fbba46
mshtml: Added IHTMLScreen::get_colorDepth implementation.
2009-12-01 11:34:09 +01:00
Jacek Caban
fd24068c8f
mshtml: Added IHTMLScreen::get_height implementation.
2009-12-01 11:31:01 +01:00
Jacek Caban
ca54be2cc6
mshtml: Added IHTMLScreen::get_width implementation.
2009-12-01 11:30:55 +01:00
Jacek Caban
1ddc01c09b
mshtml.idl: Added DispHTMLScreen declaration and use it in HTMLScreen object.
2009-12-01 11:30:42 +01:00
Jacek Caban
06884fb181
mshtml: Added IHTMLWindow2::get_screen implementation.
2009-12-01 11:30:37 +01:00
Paul Vriens
cb5a2bbb02
mshtml/tests: Use the globally available wine_dbgstr_w.
2009-11-30 16:37:50 +01:00
Jörg Höhle
c4faae9412
mciqtz32: Fix open/close omissions.
2009-11-30 16:37:38 +01:00
Paul Chitescu
590cc1ad55
kernel32: Reduce registry access to KEY_READ wherever possible.
2009-11-30 16:33:54 +01:00
Paul Chitescu
77b98c9e65
fwpuclnt: Add initial minimal stub implementation.
2009-11-30 16:33:13 +01:00
Maarten Lankhorst
52400723c9
dsound: Don't use DirectSoundDevice calls directly.
2009-11-30 16:25:11 +01:00
Maarten Lankhorst
26df03d2df
dsound: Use DirectSoundCapture properly in duplex.
2009-11-30 16:25:01 +01:00
Maarten Lankhorst
9123f28e46
dsound: Call DSOUND_FullDuplexCreate instead of creating it directly.
2009-11-30 16:24:28 +01:00
Maarten Lankhorst
c9b70ddf7e
dsound: Remove directsound interface in duplex.
2009-11-30 16:24:14 +01:00
Maarten Lankhorst
9aa5aa3364
dsound: Fix destruction in duplex.
2009-11-30 16:21:38 +01:00
Dan Kegel
0f556bf803
ntdll: Implement RtlGetNtGlobalFlags(), add related defines to winternl.h.
2009-11-30 16:13:08 +01:00
Gerald Pfeifer
5b4fdcc8f1
winspool/tests: Guard debugging code by #ifdef instead of plain #if.
2009-11-30 16:10:18 +01:00
Paul Vriens
a29581ba36
advapi32/tests: Add some EnumServicesStatus*W tests.
2009-11-30 13:13:38 +01:00
Paul Vriens
50cec6e989
include: Add some system parameters.
2009-11-30 13:13:33 +01:00
Juan Lang
90c160c3d8
crypt32: Revert 8ed5a777de
.
...
Ordinarily removing tests seems like a bad idea, but in this case it
seems the only rational response to the test failures the tests
produce. The tests check the state of three bits with a variety of
certificate and CRL combinations. One of these bits is apparently not
set by any version of Windows for any of the tests. Testing its
absence doesn't seem correct, and I'll explain why in more detail in a
second. Every permutation of the remaining two bits appears on at
least one Windows version, and no Windows version is obviously more
correct than the rest, so testing them doesn't seem worthwhile.
The one bit that doesn't appear to be set is the bit saying that a
certificate is revoked. I created CRLs that do in fact revoke some of
the tested certificates, so it appears to me that the bit should be
set. It's possible that Windows doesn't bother checking the
revocation status of a certificate whose anchor isn't trusted, but
it's impossible to test this in an automated regression test suite,
because adding a trusted certificate requires clicking OK (or its
equivalent) in a dialog. The dialog is invoked by the system process,
so I can't use a dialog hook to suppress it. I can test this
hypothesis manually, but it isn't possible to do so in an automated
way.
2009-11-30 12:57:53 +01:00
Juan Lang
f2040b7725
crypt32: Don't copy past end of buffer when removing a string from a multi string.
2009-11-30 12:57:39 +01:00
Nikolay Sivov
916e38f969
user32/tests: Free memory after use.
2009-11-30 12:57:05 +01:00
Nikolay Sivov
c6ff530ad6
riched20/tests: Don't leak string in test.
2009-11-30 12:56:58 +01:00
Nikolay Sivov
d2e169fadd
comctl32/header: Avoid uninitialized memory passed to HDM_INSERTITEM, some fields are always copied.
2009-11-30 12:56:53 +01:00
Nikolay Sivov
1e1c1310f5
comctl32/listview: Get rid of duplicated helper in tests.
2009-11-30 12:56:47 +01:00
Nikolay Sivov
78e7b3cf9c
comctl32/listview: New hover value should be passed using LPARAM.
2009-11-30 12:56:30 +01:00
Nikolay Sivov
ea058d22ba
comctl32/listview: Add NM_HOVER notification.
2009-11-30 12:56:21 +01:00
Nikolay Sivov
5f191553e8
comctl32/listview: Make mouse hover work.
...
Event data was overwritten by TME_QUERY response.
2009-11-30 12:56:05 +01:00
Nikolay Sivov
8eb9e7ebd5
comctl32/listview: Draw LVIS_CUT items with white foreground color.
2009-11-30 12:55:50 +01:00
Nikolay Sivov
999810566b
comctl32/listview: Implement LVS_EX_HEADERINALLVIEWS.
2009-11-30 12:55:43 +01:00
Nikolay Sivov
dcd54f08fc
comctl32/listview: Get rid of helper used once.
2009-11-30 12:55:23 +01:00
Nikolay Sivov
a729e040e6
comctl32/listview: Further winproc simplification.
2009-11-30 12:55:12 +01:00
Nikolay Sivov
60f0f4e8ca
comctl32/listview: Call default procedure directly from handlers if such forwarding needed.
2009-11-30 12:55:00 +01:00
Nikolay Sivov
8d43bdd2ee
comctl32/listview: Remove parameter check from winproc for LVM_SETITEMPOSITION32.
2009-11-30 12:54:37 +01:00
Nikolay Sivov
62c610df3c
comctl32/listview: Collapse some handlers call in winproc.
2009-11-30 12:54:01 +01:00
Nikolay Sivov
fc43895f49
comctl32/listview: Default column width in LVS_LIST to better value.
2009-11-30 12:53:40 +01:00
Nikolay Sivov
dbbd2161ab
ntdll: Call DLL_PROCESS_DETACH if attaching failed.
2009-11-30 12:53:30 +01:00
Dan Kegel
ced19b425a
advpack: fix off-by-one error in AdvInstallFileW that caused buffer overrun.
2009-11-30 12:50:57 +01:00
Paul Chitescu
353339154a
authz: Stub for AuthzInitializeResourceManager.
2009-11-30 12:50:24 +01:00
Henri Verbeet
c369f33893
winecoreaudio.drv: Use wine_dbg_sprintf() in a few debug utility functions.
2009-11-30 12:49:50 +01:00
Henri Verbeet
3be325040c
wineoss.drv: Use wine_dbg_sprintf() in a few debug utility functions.
2009-11-30 12:49:46 +01:00
Henri Verbeet
7151cdc8a2
winealsa.drv: Use wine_dbg_sprintf() in a few debug utility functions.
2009-11-30 12:49:41 +01:00
Henri Verbeet
4adefb689a
winmm: Use wine_dbg_sprintf() in a few debug utility functions.
2009-11-30 12:49:30 +01:00
Henri Verbeet
7209cb89bb
dsound: Use wine_dbg_sprintf() in dumpCooperativeLevel().
2009-11-30 12:49:22 +01:00
Vitaliy Margolen
2665272d6c
dinput: Pass event instance ID to queue_event instead of offset.
2009-11-30 12:49:11 +01:00
Vitaliy Margolen
29561f492e
dinput: Improve dumping of DIACTIONFORMAT.
2009-11-30 12:49:04 +01:00
Vitaliy Margolen
e1d6e3b258
dinput: Fix definitions to match PSDK.
2009-11-30 12:49:00 +01:00