Commit Graph

48294 Commits

Author SHA1 Message Date
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
Alexandre Julliard 7f69436ea8 include: Specify explicit alignment for __int64 types. 2009-11-21 14:31:45 +01:00
Gerald Pfeifer a15f283c7d msvidc32: Guard old code by #ifdef instead of plain #if. 2009-11-21 14:31:45 +01:00
Gerald Pfeifer 5e3f66c211 comdlg32: Simplify CC_WMPaint, CC_WMLButtonUp and CC_WMLButtonDown by shedding unused parameters. 2009-11-21 14:31:45 +01:00
Andrew Eikum d51c096615 mshtml: Also search by node name attribute in IHTMLDocument3::getElementById. 2009-11-21 14:31:45 +01:00
Andrew Eikum 9a9c5f9cdf mshtml: Also get dispid by element name & id in HTMLElementCollection. 2009-11-21 14:31:45 +01:00
Ken Thomases 3921454398 crypt32: Read trusted root certificates from system keychain on Mac OS X. 2009-11-21 14:31:45 +01:00
Juan Lang ff57ba9d7c cryptnet: Check CRL with verify time in CertDllVerifyRevocation. 2009-11-21 14:31:44 +01:00
Juan Lang eee179206e crypt32/tests: Fix tests on Win9x/ME. 2009-11-21 14:31:44 +01:00
Juan Lang 1a392e1a30 crypt32: Support checking the requested usage for a chain. 2009-11-21 14:31:44 +01:00
Juan Lang 30de103485 crypt32: Only trace a usage match if it's not empty. 2009-11-21 14:31:44 +01:00
Juan Lang e611a83962 crypt32: Test verifying the enhanced key usage of a chain. 2009-11-21 14:31:44 +01:00
Rob Shearman d963e97f32 ole32: Objects registered as local servers don't need to support IClassFactory. 2009-11-20 16:38:56 +01:00
Rob Shearman 377159c4a7 ole32: Fix size of memory allocation in FileMonikerImpl_DecomposePath. 2009-11-20 16:38:46 +01:00
Rob Shearman d1db29e801 ole32: Fix buffer overrun in CLIPFORMAT_UserMarshal.
The string in format is nul-terminated so use memcpy to copy it into
the buffer and don't try to nul-terminate it manually which causes a
write outside of the allocated buffer length.

Fix a similar off-by-one error in CLIPFORMAT_UserUnmarshal too. This
time it is only reading from beyond the buffer.
2009-11-20 16:38:39 +01:00
Paul Vriens 50592566d3 comdlg32/tests: Fix some test failures on Win7. 2009-11-20 14:49:19 +01:00
Nikolay Sivov 9cec74f300 comctl32/tab: Reset current selection on negative focus value. 2009-11-20 14:48:40 +01:00
Nikolay Sivov 33a1e827a7 comctl32/tab: Fix selection change when selected item is deleted. 2009-11-20 14:48:35 +01:00
Nikolay Sivov 336a68be54 comctl32/tab: Split tests to several functions not to depend from each other. 2009-11-20 14:48:31 +01:00
Nikolay Sivov 3371ba9f73 comctl32/tab: Fix reading out of array bounds on TCM_SETCURSEL. 2009-11-20 14:48:27 +01:00
Michael Martin d28eabda5c msi: Shedule rename operation also for ERROR_USER_MAPPED_FILE. 2009-11-20 14:37:09 +01:00
Alexandre Julliard 647491418b kernel32/tests: Add more tests for file sharing with mappings, including SEC_IMAGE mappings. 2009-11-20 14:21:31 +01:00
Maarten Lankhorst b0cfbe81fa dsound: Restore old speaker config after tests.
According to the documentation, only audio device vendors are allowed to 
call this function, so make sure we properly restore the old speaker config.
2009-11-20 11:40:47 +01:00
Paul Vriens 0b8ae46836 netapi32/tests: Fix a test failure on Win7. 2009-11-20 11:40:31 +01:00
Paul Vriens f9a931070d shell32/tests: Fix some tests on Win7. 2009-11-20 11:40:12 +01:00
Alexandre Julliard 36efda3d39 advapi32/tests: Add some tests for creation of volatile keys. 2009-11-20 11:40:07 +01:00
Jacek Caban 9adbd8ab21 urlmon: Get rid of gecko_installer_workaround in tests. 2009-11-20 11:16:35 +01:00
Jacek Caban 655e0a0c54 shdocvw: Get rid of Gecko checks in tests. 2009-11-20 11:16:32 +01:00
Jacek Caban 785fb1d2e1 mshtml: Get rid of no longer needed Gecko checks in tests. 2009-11-20 11:16:28 +01:00
Jacek Caban b2ffe78729 mshtml: Check for CATID_SafeForScripting in GUID_CUSTOM_CONFIRMOBJECTSAFETY implementation if IObjectSafety is not available. 2009-11-20 11:16:13 +01:00
Vincent Povirk 669af158da ole32: Invalidate open storage objects that are deleted. 2009-11-20 11:15:53 +01:00
Vincent Povirk 8569d547b9 ole32: Forbid renaming an open storage. 2009-11-20 11:15:44 +01:00
Vincent Povirk c62a4ad841 ole32: Forbid opening the same storage twice. 2009-11-20 11:15:35 +01:00
Vincent Povirk d3c0a3a829 ole32: Invalidate open storage objects that outlive their parent. 2009-11-20 11:15:27 +01:00
Vincent Povirk 3cd2a80eda ole32: Add test for freeing the parent of a storage. 2009-11-20 11:15:21 +01:00
Juan Lang 9d9070ae3c crypt32: CertFindCRLInStore with find type CRL_FIND_ISSUED_FOR shouldn't check whether the CRL is valid for the subject certificate. 2009-11-20 11:15:11 +01:00
Juan Lang f378394acd crypt32: Correct CertIsValidCRLForCertificate for certificates that do not contain a CRL dist points extension. 2009-11-20 11:15:06 +01:00
Juan Lang bcbfddd82a crypt32: Fix tests on older Windows versions. 2009-11-20 11:15:01 +01:00
Juan Lang a3c6bc68c8 crypt32: Assume revocation server is offline if revocation status isn't known. 2009-11-20 11:14:52 +01:00
Juan Lang 9e1d31e5e5 crypt32: Fix a typo. 2009-11-20 11:14:47 +01:00
Juan Lang 8ed5a777de crypt32: Test revocation checking with CertGetCertificateChain. 2009-11-20 11:14:41 +01:00
Juan Lang 27128bb2f8 crypt32: Add more tests for CertVerifyRevocation. 2009-11-20 11:14:00 +01:00
Juan Lang a82678da97 cryptnet: Check number of contexts in CertDllVerifyRevocation. 2009-11-20 11:13:49 +01:00
Juan Lang be1fd9b3f1 cryptnet: Test CertDllVerifyRevocation. 2009-11-20 11:13:44 +01:00
Juan Lang 35dbc201ae cryptnet: Fix memory leaks querying an object. 2009-11-20 11:13:36 +01:00
Juan Lang 320407a174 cryptnet: Fix memory leaks in tests. 2009-11-20 11:13:30 +01:00
Piotr Caban 8700253775 msxml3: Implemented xmlnode_get_nodeTypedValue 'bin.base64' data type handling. 2009-11-20 11:13:23 +01:00
Piotr Caban 3c58b1c418 msxml3: Implemented xmlnode_get_nodeTypedValue 'bin.hex' data type handling. 2009-11-20 11:13:16 +01:00
Piotr Caban 2a9eb6e3bb msxml3: Implemented more data types handling xmlnode_get_nodeTypedValue. 2009-11-20 11:13:09 +01:00
Alexandre Julliard c073ee54c9 kernel32/tests: Add some tests for file sharing against a memory mapping. 2009-11-19 16:16:52 +01:00
Nikolay Sivov c044fa8a59 comctl32/monthcal: Don't pass uninitialized data to MCM_SETTODAY, test isn't about this. 2009-11-19 16:16:52 +01:00
Nikolay Sivov b0861921b2 comctl32/listview: Compare item text on insert depending on A/W message. 2009-11-19 14:24:31 +01:00
Rob Shearman 87c47219ae oleaut32: Fix a reference count leak in NonOleAutomation_GetTypeInfo.
Also enable a test which now works in Wine.
2009-11-19 14:24:19 +01:00
Rob Shearman 2a42f42951 oleaut32: Fix memory leak of name in ITypeLib2_Constructor_MSFT. 2009-11-19 14:24:11 +01:00
Rob Shearman 8a5886efad oleaut32: Fix circular reference counting in typelibs/typeinfos.
Do not rely on the reference count of ITypeInfo's to go to zero to
delete them. Instead only rely on the parent typelib's reference
count, but update the parent typelib's reference count based on
whether each typeinfo has a valid reference.
2009-11-19 14:24:05 +01:00
Maarten Lankhorst 456ad1b1cf avrt: Fix HeapAlloc call in AvSetMmThreadCharacteristicsA. 2009-11-19 14:23:50 +01:00
Paul Vriens 9e73769112 comctl32/tests: Fix some test failures on comctl32 4.70. 2009-11-19 12:29:30 +01:00
Alexandre Julliard 16ddc62405 ntdll: Merge the thread data and thread regs structure, and make sure i386 regs are not available on other platforms. 2009-11-19 12:27:09 +01:00
Alexandre Julliard aced1b82ba ntdll: Move initialization of the debug registers to signal_i386.c. 2009-11-19 12:26:21 +01:00
Alexandre Julliard d4f1fffacc ntdll: Moved the TEB allocation routines to the platform-specific files. 2009-11-19 12:25:52 +01:00
Henri Verbeet d4fc2fd746 kernel32: Also accept STATUS_BUFFER_OVERFLOW as a valid return code in GetFileInformationByHandle().
FileAllInformation is supposed to also return the file name. If it did,
"all_info" would be too small for the returned data, but since it would still
return as much information as fits in the buffer, we don't need a larger
buffer either.
2009-11-19 12:22:51 +01:00
Henri Verbeet 15b6bc6135 dxgi: Add a separate function for device initialization. 2009-11-19 12:22:11 +01:00
Henri Verbeet ccbcf8f291 d3d10core: Add a separate function for device initialization. 2009-11-19 12:22:04 +01:00
Henri Verbeet 893b338268 ntdll/tests: Add a FileNameInformation test with filesystem redirection. 2009-11-19 12:21:57 +01:00
Henri Verbeet 832aacd866 ntdll/tests: Disable filesystem redirection for test_file_name_information().
Otherwise we get the syswow64 directory instead on 64-bit Windows.
2009-11-19 12:21:49 +01:00
Hans Leidekker aeb161f13f secur32: Handle EOF from gnutls_record_recv. 2009-11-19 11:50:40 +01:00
Hans Leidekker 83e7a1214a msi: Sign extend the value when converting from a small integer. 2009-11-19 11:50:36 +01:00
Juan Lang 8fcaa52d5d crypt32: Add support for CRL_FIND_ISSUED_BY_AKI_FLAG to CertFindCRLInStore. 2009-11-19 11:49:59 +01:00
Juan Lang b278155616 crypt32: Add more tests for CertFindCRLInStore. 2009-11-19 11:49:53 +01:00
Juan Lang 4727212e01 crypt32: Add support for CRL_FIND_ISSUED_BY_SIGNATURE_FLAG to CertFindCRLInStore. 2009-11-19 11:49:46 +01:00
Juan Lang 8beed85a2c crypt32: Add basic flags tests flags for CertFindCRLInStore with find type CRL_FIND_ISSUED_BY. 2009-11-19 11:49:40 +01:00
Juan Lang c84c53b1a6 crypt32: More fully implement CertIsValidCRLForCertificate. 2009-11-19 11:49:33 +01:00
Juan Lang e5c56b1798 crypt32: Correct tests for CertIsValidCRLForCertificate. 2009-11-19 11:49:21 +01:00
Juan Lang b16a78baa7 crypt32: Remove a redundant test. 2009-11-19 11:49:14 +01:00
Juan Lang 4fa4f67c79 crypt32: Implement CertFindCRLInStore for find type CRL_FIND_ISSUED_FOR. 2009-11-19 11:49:09 +01:00
Juan Lang a3b462e3ea crypt32: Add tests for CertFindCRLInStore with find type CRL_FIND_ISSUED_FOR. 2009-11-19 11:49:05 +01:00
Owen Rudge 482c454e50 comctl32/tests: Fix imagelist v6 test failures on XP. 2009-11-19 11:48:51 +01:00
Owen Rudge 5ce3af5b37 comctl32/tests: Use SHIL_SYSSMALL instead of LARGE, and compare with system metrics.
This patch fixes a test failure if a user has a non-standard icon size 
set. Windows 7, for instance, offers more variation than previous 
versions of Windows in icon scaling. We should get the system icon 
metric and compare our icon size against that.
2009-11-19 11:48:38 +01:00
Owen Rudge 8d93b9cee8 shell32: Implement support for SHIL_SYSSMALL in SHGetImageList. 2009-11-19 11:48:25 +01:00
Marcus Meissner bc85487496 shell32: Remove useless NULL check (Coverity). 2009-11-19 11:47:55 +01:00
Jeremy White 9145a1cdb2 mshtml: Declare prototype of wine_dos_get_file_name correctly; fixes Gecko install on win64. 2009-11-19 11:47:44 +01:00
Owen Rudge ed5a2992f3 shell32: Don't increase refcount twice in SHGetImageList. 2009-11-19 11:47:38 +01:00
Roderick Colenbrander 19316ff8cb opengl32: Get rid of invalid opengl 0.0 test.
The test passes on windows using AMD and Nvidia but not on AMD on
linux. A close look at the spec shows that behavior of a version lower
than 3.0 is up to the driver.
2009-11-19 11:47:33 +01:00
Roderick Colenbrander 1874f314e2 opengl32: No display driver supports windowless opengl3 rendering and likely no driver will ever will. 2009-11-19 11:47:14 +01:00
Vincent Povirk 52100e9620 ole32: Do not allow renaming streams that are open. 2009-11-19 11:46:57 +01:00
Vincent Povirk 371f6a4818 ole32: Do not allow the same stream to be opened twice. 2009-11-19 11:46:49 +01:00
Vincent Povirk 53128d522b ole32: Use safe list iteration when searching for streams to invalidate. 2009-11-19 11:46:41 +01:00
Vincent Povirk 9d0c4c971d ole32: Always invalidate stream objects when deleting the stream. 2009-11-19 11:46:32 +01:00
Vincent Povirk a2c405fa15 ole32: Add a test for freeing the parent of an open stream. 2009-11-19 11:46:18 +01:00
Vincent Povirk 55604eb36c ole32: Invalidate child streams when a non-top-level storage is freed. 2009-11-19 11:46:07 +01:00
Austin English a3cf7a4e06 winex11.drv: Downgrade an ERR to a WARN. 2009-11-19 11:45:59 +01:00
Paul Vriens 8fe8d61a62 rsaenh/tests: Fix some test failures on W2K. 2009-11-19 11:45:54 +01:00
Piotr Caban 6633001d6e msxml3: Remove test that fails on some systems. 2009-11-19 11:35:45 +01:00
Piotr Caban 1f7a07ebe3 oleaut32: Ignore milliseconds in VarDateFromUdate implementation. 2009-11-19 11:35:40 +01:00
Piotr Caban 5f26c60982 msxml3: Ignore nanoseconds in xmlnode_get_nodeTypedValue. 2009-11-19 11:09:46 +01:00
Piotr Caban f4f7198610 msxml3: Implemented xmlnode_get_nodeTypedValue 'i1' data type handling. 2009-11-19 11:09:40 +01:00
Huw Davies eed649a5e1 wineps.drv: Add support for top-down dibs. 2009-11-19 11:08:24 +01:00
Huw Davies 05472017fe wineps.drv: Rename variable to stride. 2009-11-19 11:08:18 +01:00
Roderick Colenbrander 9a85426389 wgl: Add support for WGL_ARB_create_context_profile which is required for OpenGL 3.2. 2009-11-19 11:04:35 +01:00
Alexandre Julliard 74ae7d358f ntdll: Add support for the different info classes in NtQueryDirectoryFile. 2009-11-18 22:10:05 +01:00
Alexandre Julliard 551ddfe402 ntdll: Make the various directory info size functions depend on the info class. 2009-11-18 22:09:48 +01:00
Alexandre Julliard ee9b19ab5f ntdll: Pass the NtQueryDirectoryFile info class down into the various helper functions. 2009-11-18 22:03:51 +01:00
Alexandre Julliard cfafcc5a6e ntdll: Define a generic file information structure to allow supporting multiple info classes in NtQueryDirectoryFile. 2009-11-18 22:02:53 +01:00
Alexandre Julliard c843665c12 ntdll: Pass the full I/O status block to append_entry and have it set the status code on overflow. 2009-11-18 21:59:02 +01:00
Alexandre Julliard da1df74147 ntdll: Use the common fill_stat_info function from the directory code too. 2009-11-18 21:58:23 +01:00
Alexandre Julliard c3b602aa23 ntdll: Add a common function to compute file information from the stat data. 2009-11-18 21:57:31 +01:00
Paul Vriens 7f5b24ed91 crypt32/tests: Fix a test failure on older crypt32. 2009-11-18 15:34:14 +01:00
Roderick Colenbrander 21bc1ddf93 opengl32: Sync with latest OpenGL extensions. 2009-11-18 15:15:50 +01:00
Austin Lund 5c45c35e4e advapi32/tests: Skip tests for ACL file info if ACL info not stored. 2009-11-18 15:15:45 +01:00
Francois Gouget 1e4412d731 mshtml/tests: Add a trailing '\n' to ok() calls. 2009-11-18 15:15:36 +01:00
Alexandre Julliard 44f520a5b6 include: Add some more definitions for FILE_INFORMATION_CLASS. 2009-11-18 15:15:32 +01:00
Rob Shearman af271255f5 rpcrt4: Add tests for full pointers. 2009-11-18 15:15:21 +01:00
Rob Shearman 37793cd550 rpcrt4: Fix the pointer saved during full pointer unmarshalling.
The pointer address may set by the type unmarshalling function and
therefore will not be base_ptr_val. This value is the value at
*pPointer and is what needs to be retrieved during subsequent
unmarshalling of the same function.
2009-11-18 15:14:10 +01:00
Rob Shearman 51dbc8d06b rpcrt4: Fix the return value of NdrFullPointerQueryRefId for a pointer ID of 0. 2009-11-18 14:13:33 +01:00
Rob Shearman d6f293f7be rpcrt4: Add test for calling NdrFullPointerQueryRefId with a 0 pointer ID. 2009-11-18 14:13:30 +01:00
Piotr Caban 0d78a883c0 msxml3: Implemented xmlnode_get_nodeTypedValue date related data types handling. 2009-11-18 11:51:05 +01:00
Piotr Caban 39f0504c86 msxml3: Implemented xmlnode_get_nodeTypedValue 'boolean' data type handling. 2009-11-18 11:51:05 +01:00
Piotr Caban 47e037d4bb msxml3: Implemented xmlnode_get_nodeTypedValue 'fixed.14.4' data type handling. 2009-11-18 11:51:05 +01:00
Piotr Caban 44980403da msxml3: Implemented xmlnode_get_nodeTypedValue 'int' data type handling. 2009-11-18 11:51:04 +01:00
Piotr Caban 0a6d3a70ca msxml3: Implemented xmlnode_get_nodeTypedValue 'number' data type handling. 2009-11-18 11:51:04 +01:00
Piotr Caban b56031c3a6 msxml3: Implemented xmlnode_get_nodeTypedValue 'string' data type handling. 2009-11-18 11:51:04 +01:00
Roderick Colenbrander 41f061ea1b wgl: Add initial WGL_ARB_create_context support. 2009-11-18 11:39:57 +01:00
Paul Vriens 3323ae9dd6 rsaenh/tests: Fix some test failures on Wow64. 2009-11-18 11:20:52 +01:00
Henri Verbeet 55f3c576d9 wined3d: Remove the effetively unused "state" field from the device. 2009-11-18 11:16:54 +01:00
Henri Verbeet 135e6cea7b wined3d: Add a separate function for device initialization. 2009-11-18 11:16:49 +01:00
Henri Verbeet e4d8a3f309 wined3d: Move the various backend selection utility functions to utils.c. 2009-11-18 11:16:43 +01:00
Henri Verbeet 434a23d90d d3d9: Move D3D9CB_DestroySwapChain() to device.c. 2009-11-18 11:16:35 +01:00
Henri Verbeet b9243b721a d3d9: Add a separate function for device initialization. 2009-11-18 11:16:31 +01:00
Rob Shearman 99d9983b61 oleaut32: Fix memory leaks in ITypeInfo_fnInvoke. 2009-11-18 11:15:39 +01:00
Rob Shearman 6d7572c0e7 oleaut32: Unmarshall byref types correctly in IDispatch_Invoke_Proxy.
Byref arguments should only be passed in the rgVarRef array, not in
arg array. Copy the value into the rgVarRef array before calling the
remote function to ensure that memory isn't allocated for the byref
pointers during unmarshalling.
2009-11-18 11:15:27 +01:00
André Hentschel 762280eab0 gdi32/tests: Simplify testcase. 2009-11-18 11:14:24 +01:00
Eric Pouech d568c2ac56 mscvrt: Fix some undname quirks (space at the end of multi-level templates). 2009-11-18 11:09:34 +01:00
Jacek Caban 60b096f609 shdocvw: Check QueryInterface return codes before using its result. 2009-11-18 11:09:29 +01:00
Juan Lang 96073d5129 crypt32: Remove an unnecessary test for the extended key usage extension in CA certificates. 2009-11-18 11:09:20 +01:00
Juan Lang d6958d7660 crypt32: Trace reasons for name constraint failure. 2009-11-18 11:09:08 +01:00
Juan Lang 1db8a6abda crypt32: Only fail directory name comparison if a directory name constraint is present and doesn't match. 2009-11-18 11:09:02 +01:00
Juan Lang a63affe5e0 crypt32: Don't apply directory name constraints to an empty subject name. 2009-11-18 11:08:55 +01:00
Juan Lang c464875a6d crypt32: Accept a certificate if its name matches any permitted subtree of a name constraint. 2009-11-18 11:08:49 +01:00