Commit Graph

48431 Commits

Author SHA1 Message Date
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
Jacek Caban 75c71b4b9c shdocvw: Use CoTaskMemFree to free url.
Pointed out by Dan Kegel.
2009-11-30 12:48:57 +01:00
Jacek Caban 4e3eabd6fa wininet: Don't use INTERNET_SetLastError in HttpSendRequestW. 2009-11-30 12:48:52 +01:00
Jacek Caban c55d0a8516 wininet: Directly return error status from NETCON_close. 2009-11-30 12:48:46 +01:00
Jacek Caban 36cb1ef3d3 wininet: Directly return error status from HTTP_OpenConnection. 2009-11-30 12:48:40 +01:00
Jacek Caban 1ee3ad476e wininet: Directly return error status from WriteFile implementations. 2009-11-30 12:48:33 +01:00
Jacek Caban b77868cbfd wininet: Dorectly return error status from NETCON_secure_connect and NETCON_send. 2009-11-30 12:48:27 +01:00
Jacek Caban bf1da4c857 wininet: Directly return error status from NETCON_connect. 2009-11-30 12:48:20 +01:00
Jacek Caban cff77d602c wininet: Directly return error status from NETCON_create. 2009-11-30 12:48:09 +01:00
Rob Shearman 510ed24f9a ole32: Cope with double quotes in paths for libraries to be loaded from the registry. 2009-11-30 12:48:05 +01:00
Dan Kegel f3560ece31 gdi32: Fix minor read buffer overrun in CombineRgn. 2009-11-30 12:47:59 +01:00
John Klehm bc95ef3cbc winex11.drv: Report correctly when wintab is disabled. 2009-11-30 12:47:46 +01:00
Alexandre Julliard a045122754 kernel32: Pass the exe name as argument to FormatMessage. 2009-11-29 16:42:50 +01:00
Rob Shearman 4f73fe3a09 oleaut32: Free the correct pointer on error in TLB_AllocAndInitVarDesc. 2009-11-29 16:42:20 +01:00
Rob Shearman cd453f453f rpcrt4: Fix memory leak in test_conf_complex_struct. 2009-11-29 16:42:15 +01:00
Rob Shearman 47acaeaea8 kernel32: Fix uninitialised memory read in GetPrivateProfileStringA if GetPrivateProfileStringW returns 0.
The buffer that was passed into the function will remain
uninitialised. Fix reading from this by only reading retW characters
from bufferW and manually nul-terminating the string.
2009-11-29 16:42:10 +01:00
Rob Shearman 2226b678e3 ole32: Fix the length of data written and read for VT_CF types in property storage code. 2009-11-29 16:40:26 +01:00
Rob Shearman c8f9df7f1e rpcrt4: Fix uninitialised memory read in ndr_marshall tests.
The memory needs to be initialised since NDR will look at the memory
to see if it needs to allocate memory for embedded pointers.
2009-11-29 16:40:20 +01:00
Rob Shearman add909a021 ole32: Release the storage object in DataCache_Destroy. 2009-11-29 16:40:12 +01:00
Rob Shearman f2f50f18dc ntdll: Don't read beyond the end of the array on the last ace iteration in RtlValidAcl. 2009-11-29 16:40:06 +01:00
Rob Shearman a94265e5a9 oleaut32: Fix accessing beyond end of buffer and memory leak in test_DispCallFunc.
The parameter isn't automatically converted by DispCallFunc, so make
sure we pass in the correct size of memory for the function to store
its BSTR in.
2009-11-29 16:39:53 +01:00
Rob Shearman db33e8fdd9 ole32: Fix off-by-one error in FileMonikerImpl_DecomposePath.
strgtable needs to be an array of the same size as str, including the
nul-terminator.
2009-11-29 16:39:45 +01:00
Eric Pouech db077e11ad dbghelp: In dwarf parsing, allow 64 bit wide values. 2009-11-29 16:39:35 +01:00
Paul Vriens 404dcbcd65 shell32/tests: Change a trace into a skip for skipped tests. 2009-11-29 16:39:22 +01:00
Paul Vriens e5d83ac625 shell32/tests: Remove an unneeded HeapAlloc. 2009-11-29 16:39:08 +01:00
Paul Vriens 1c6f813bc7 shell32/tests: Fix test failures on Vista and higher. 2009-11-29 16:39:03 +01:00
Paul Vriens 98fef79f2d shell32/tests: Use ReadCabinetState to check title logic. 2009-11-29 16:38:53 +01:00
Paul Vriens f8134cee10 shell32/tests: Cope with systems lacking SHGetSpecialFolderPath. 2009-11-29 16:38:34 +01:00
Paul Vriens d5dac6c43d shell32/tests: Only fetch some special folders once. 2009-11-29 16:38:26 +01:00
Paul Vriens 17089d0c2e shell32/tests: Run tests on NT4 again. 2009-11-29 16:38:13 +01:00
Paul Vriens 868d492cf7 kernel32/tests: Fix some intermittent crashes/failures on Vista+. 2009-11-29 16:37:59 +01:00
Maarten Lankhorst 49b39a8815 openal32: Add alBufferDataStatic. 2009-11-29 16:37:22 +01:00
Paul Vriens 1da30597e4 shell32/tests: Fix some test failures on Windows 7. 2009-11-29 16:37:17 +01:00
Rob Shearman 489b73dd9e oleaut32: Fix size of memory allocated for byrefs in VARIANT_UserMarshal. 2009-11-29 16:37:10 +01:00
Marcus Meissner ed26bb09c5 msxml3: Move element usage into element!=NULL check (Coverity). 2009-11-29 16:36:59 +01:00
Jacek Caban 1fccc1b4fa mshtml: Added [i]frame elements content document tests. 2009-11-29 16:36:50 +01:00
Jacek Caban 999371724a mshtml: Return content document in get_document for frame elements. 2009-11-29 16:36:42 +01:00
Jacek Caban 7c64ab1e83 mshtml: Moved IHTMLFrameBase2 implementation to HTMLFrameBase object. 2009-11-29 16:36:35 +01:00
Jacek Caban 5dd4248ff3 mshtml: Fixed ref count leak and code clean up. 2009-11-29 16:36:28 +01:00
Paul Vriens ac85305c95 shell32/tests: Fix test failures on several platforms. 2009-11-24 18:13:58 +01:00
Rob Shearman 6592c25bc7 ole32: Fix circular reference count in default handler objects.
This is caused by caching a pointer and reference to the data cache's
IPersistStorage interface without managing reference counts
appropriately.
2009-11-24 15:54:56 +01:00
Rob Shearman 4b1d527b15 ole32: Fix a typo in PropertyStorage_WritePropertyToStream that caused the wrong data to be written to the stream.
The field pClipData is a pointer to the data to be written, not the start of it.
2009-11-24 15:54:41 +01:00
Jeremy White 2feb43f573 winspool: Add a test showing Windows behavior wrt size and GetPrinterDriverA.
This behavior was discovered by Huw Davies.
2009-11-24 15:54:33 +01:00
Nathan Gallaher abb23d8bd5 msi: Support _Streams, _Storages tablename prefixes in SELECT. 2009-11-24 15:54:06 +01:00
Nathan Gallaher f7ba4b2ec0 msi/tests: Test for SELECT table.column FROM table.
Make sure that mixing table columns returns the expected
data. eg:  SELECT t1.action, t2.action FROM t1, t2
should return distinct data.
2009-11-24 15:54:00 +01:00
Nathan Gallaher 5c56e1f440 msi: Add support for table names in select statements.
Propagate tablename from 'SELECT tablename.column from tablename' queries
into VIEW_find_column(). Previously, the tablename had been dropped.
2009-11-24 15:53:53 +01:00
Paul Vriens 2cde604211 snmpapi/tests: Fix a crash on some 64bit systems. 2009-11-24 15:53:37 +01:00
Alexandre Julliard a3fbb39299 quartz: Implemented a number of the MediaPosition methods. 2009-11-24 15:53:37 +01:00
Andrew Nguyen be21b3dfa7 msvcrt: Forward _ftol2_sse to ntdll._ftol. 2009-11-24 15:53:37 +01:00
Andrew Nguyen 663cef29f8 msvcr71: Forward more exports to msvcrt. 2009-11-24 15:53:37 +01:00
Alexandre Julliard ac572be030 kernel32/tests: Specify the correct machine for the fake dll file. 2009-11-24 15:53:37 +01:00
Francois Gouget 4874d84ac1 gdi32: Make wglCreateContextAttribsARB() static. 2009-11-24 15:53:36 +01:00
Francois Gouget d442a48e2a gdi32/tests: Make test_CreateFontIndirect() static. 2009-11-24 15:53:36 +01:00
Francois Gouget e98719f79e msxml3: Make some functions static in node.c. 2009-11-24 15:53:36 +01:00
Gregor Schneider 2043035e17 msvcrt: Calculate floating point decimals in internally used long double precision. 2009-11-24 15:53:36 +01:00
Damjan Jovanovic b585b24397 shell32: Deal better with spaces in ASSOCSTR_COMMAND values. 2009-11-24 15:53:36 +01:00
Roderick Colenbrander c89fb41f80 opengl32: Fix wglCreateContextAttribsARB test on nvidia. 2009-11-24 15:53:36 +01:00
Paul Vriens da92afa3e1 advapi32/tests: Fix a test failure on W2K3 without a service pack. 2009-11-24 15:53:36 +01:00
Paul Vriens 91648ff4be advapi32/tests: Fix an intermittent crash on NT4. 2009-11-24 15:53:36 +01:00
Alexandre Julliard 92cd5a5c6b wing: Reimplement support for WinGGetDIBPointer16. 2009-11-24 15:53:36 +01:00
Vincent Povirk 9da3365e84 ole32: Allocate the StorageImpl in StorageImpl_Construct.
This makes cleanup after errors much easier, as we can just use the regular
destructor.
2009-11-24 10:55:59 +01:00
Vincent Povirk 6c3961f0c4 ole32: Copy the storage filename at stat time, not read time. 2009-11-24 10:55:45 +01:00
Rob Shearman 9943facb26 ole32: Fix error code returned by CoGetClassObject/CoCreateInstance in CLSCTX_REMOTE_SERVER case. 2009-11-24 10:52:07 +01:00
Rob Shearman 8554ce5b18 ole32: Add tests for errors returned by CoCreateInstance for classes that are not registered. 2009-11-24 10:52:02 +01:00
Marcus Meissner a7e599db45 wined3d: Handle NULL ptrs (Coverity). 2009-11-24 10:51:46 +01:00
Marcus Meissner 000e1e0ce0 ole32: Some missing error checking in FileMonikerImpl_CommonPrefixWith (Coverity). 2009-11-24 10:51:42 +01:00
Marcus Meissner 1667a2469e user32: Fixed NULL ptr checks (Coverity). 2009-11-24 10:51:34 +01:00
Jacek Caban 9718e04775 mshtml: Added connection point notification test. 2009-11-24 10:47:42 +01:00
Jacek Caban 1c5c822b07 mshtml: Added support for connection point HTML notification. 2009-11-24 10:47:21 +01:00
Jacek Caban 19415addec mshtml: Share connection points between HTMLDocumentObj and its main HTMLDocumentNode. 2009-11-24 10:47:12 +01:00
Rob Shearman 24cccbf4d1 ole32: Add inproc handler object creation support for CoCreateInstance. 2009-11-24 10:46:12 +01:00
Rob Shearman a7b621bd9b ole32: Fix behaviour of CoLockObjectExternal with fLastUnlockReleases as FALSE.
The parameter controls whether weak references are ignored, not
whether the last stub_manager_int_release should be called when the
total reference count goes to zero.
2009-11-24 10:46:06 +01:00
Rob Shearman bcf0be6a99 ole32: Add test for CoLockObjectExternal with fLastUnlockReleases as FALSE. 2009-11-24 10:46:00 +01:00
Jacek Caban 2f0373d265 mshtml: Forward common function from IHTMLAnchorElement to IHTMLElement2 implementation. 2009-11-24 10:45:51 +01:00
Alexandre Julliard 181b3cf07f server: Implement the file sharing check for delete on close with an existing image mapping. 2009-11-23 17:29:22 +01:00
Alexandre Julliard 923d582f07 server: Implement the file sharing check when truncating a file that has an existing mapping. 2009-11-23 17:24:45 +01:00
Alexandre Julliard fd504b6289 server: Implement the special file sharing rules for memory mappings. 2009-11-23 17:10:28 +01:00
Roderick Colenbrander ddaf23842b opengl32: Fix another wglCreateContextAttribsARB test on Nvidia. 2009-11-23 15:25:39 +01:00
Roderick Colenbrander ca1d79b26c opengl32: Fix wglCreateContextAttribsARB test on vista/win7 where Nvidia drivers return hresults instead of win32 errors. 2009-11-23 15:25:39 +01:00
Louis Lenders 5edac26628 advapi32: Don't delay import rpcrt4. 2009-11-23 15:25:39 +01:00
Charles Davis 3f1281cc44 gdi32/tests: Test BitBlt() to an enhanced metafile. 2009-11-23 15:25:33 +01:00
Charles Davis b6f841eaca gdi32/enhmfdrv: When blitting, don't crash if the source is NULL. 2009-11-23 15:25:33 +01:00
Charles Davis 5e17b04df7 gdi32/enhmfdrv: Get the source transformation from the source DC. 2009-11-23 14:35:29 +01:00
Charles Davis d456f99a04 gdi32/enhmfdrv: Don't fill in the PelsPerMeter fields in the BITMAPINFOHEADER when blitting. 2009-11-23 14:35:22 +01:00
Vincent Povirk 1bd13dec61 winex11.drv: Generate text/html clipboard data from HTML Format. 2009-11-23 13:34:15 +01:00
Vincent Povirk 56b8536336 winex11.drv: Remove the HTML Format -> text/html clipboard mapping.
The two formats do not match exactly.
2009-11-23 13:34:09 +01:00
Alexandre Julliard d19e2ada9c mountmgr: Move creation of the DEVICEMAP registry keys to mountmgr. 2009-11-23 13:21:22 +01:00
Jörg Höhle e36db94c7c winmm: Don't stop parsing after MCI's alias keyword. 2009-11-23 13:09:53 +01:00
Jörg Höhle 11f07c6f6b winmm/tests: Introduce coherence tests among parts that may fail. 2009-11-23 13:09:50 +01:00
Paul Vriens b5446ea525 advapi32/tests: Fix test failures on Vista and higher for multiple runs. 2009-11-23 13:09:45 +01:00
Marcus Meissner 88bd52daaf uxtheme: Handle malformed keys a bit better (Coverity). 2009-11-23 13:09:39 +01:00
Marcus Meissner 0dca1ebecf winspool.drv: Remove useless assignments without NULL ptr check (Coverity). 2009-11-23 13:09:36 +01:00
Marcus Meissner 80995b684b msxml3: Fix NULL ptr checking in domdoc test (Coverity). 2009-11-23 13:09:31 +01:00
Sergey Khodych fa7c2b5c5f comctl32/toolbar: Use proper button index when freeing a string in TOOLBAR_DeleteButton. 2009-11-23 13:09:25 +01:00
Austin English 12da91b8dc pdh: Add stubs for PdhExpandWildCardPathA/W. 2009-11-23 13:09:17 +01:00
Juan Lang 51eee4e7c9 cryptnet: Improve CryptGetObjectUrl stub for URL_OID_CERTIFICATE_ISSUER. 2009-11-23 10:38:33 +01:00
Nikolay Sivov 850ea2a711 comctl32/listview: Add support for LVFI_SUBSTRING. 2009-11-23 10:38:13 +01:00
Nikolay Sivov b7b7b7113e comctl32/listview: Fix find using partial string logic. 2009-11-23 10:38:00 +01:00
Nikolay Sivov 90c4abe86f comctl32/listview: Add LVSIL_GROUPHEADER definition. 2009-11-23 10:37:44 +01:00
Nikolay Sivov 79c55c5dd1 comctl32/listview: Group control data members, there's no reasonable structure here. 2009-11-23 10:37:23 +01:00
Nikolay Sivov 899a53eda5 comctl32/listview: Send LVN_ENDLABELEDIT in any case, but with null text if it's the same. 2009-11-23 10:37:03 +01:00
Nikolay Sivov f5f0763827 comctl32/listview: Don't forward WM_COMMAND (EN_KILLFOCUS) from Edit to parent window. 2009-11-23 10:36:51 +01:00
Nikolay Sivov c39268967d comctl32/listview: Do nothing on LVM_CANCELEDITLABEL if there's no label. 2009-11-23 10:36:41 +01:00
Eric Pouech ed786fbae4 dbghelp: Correctly compute offsets in line number information. 2009-11-23 10:36:09 +01:00
Eric Pouech 9d80b19e83 dbghelp: Revisit array len description for debug format parsers.
One can now pass -1 as array len so that its size will be computed
later on (useful for dealing with forward declarations where size is
not known at array definition).
2009-11-23 10:36:02 +01:00
Hans Leidekker d974a4b29f usp10: Add a stub implementation of ScriptJustify. 2009-11-23 10:35:35 +01:00
Hans Leidekker 7714a3f798 usp10: Add a stub implementation of ScriptApplyLogicalWidth. 2009-11-23 10:35:31 +01:00
Juan Lang b2ab45b78b crypt32: Only match RDN attributes whose lengths are identical. 2009-11-21 14:31:46 +01:00
Juan Lang 8e51a866b7 crypt32: When searching for a CRL by the AKI extension, the extension has to be decoded to match. 2009-11-21 14:31:46 +01:00
Juan Lang 7dee971809 crypt32/tests: Fix a typo. 2009-11-21 14:31:46 +01:00
Juan Lang 8646c39bdb crypt32: Finding a CRL issued by a cert should compare the cert's subject, not its issuer. 2009-11-21 14:31:46 +01:00
Juan Lang 6bc8237c63 crypt32/tests: Test one more certificate against the Verisign CRL. 2009-11-21 14:31:46 +01:00
Juan Lang 22206b909a crypt32/tests: Fix a typo. 2009-11-21 14:31:46 +01:00