Commit Graph

35482 Commits

Author SHA1 Message Date
H. Verbeet af96a43ce9 secur32: Reserved3 / Reserved4 are actually EncryptMessage / DecryptMessage. 2008-08-20 10:26:56 +02:00
H. Verbeet 898c2c9778 d3d8: Don't store shader_handle's.
They're not stable across table resizes.
2008-08-20 10:26:51 +02:00
H. Verbeet f71fdecdc7 wined3d: Move creating a texture id from PreLoad to BindTexture.
This is consistent with BindTexture in basetexture/texture/etc. and has the
added benefit that it makes LoadLocation work properly.
2008-08-20 10:26:19 +02:00
Juan Lang 4ccaaa896f crypt32: Always set *pcbStructInfo. 2008-08-20 10:25:53 +02:00
Juan Lang 4fa4e5a793 crypt32: Allow CMS fields to be set when opening a signed message to encode. 2008-08-20 10:24:21 +02:00
Juan Lang 3297080045 crypt32: Allow messages to be opened when compiled with CMSG_SIGNED_ENCODE_INFO_HAS_CMS_FIELDS if CMS fields aren't actually used. 2008-08-20 10:24:15 +02:00
Juan Lang 427b3fbd5d crypt32: Allow messages to be opened when compiled with CMSG_SIGNER_ENCODE_INFO_HAS_CMS_FIELDS if CMS fields aren't actually used. 2008-08-20 10:24:08 +02:00
Juan Lang 9b953c5f1e crypt32: Implement decoding CMSG_CMS_SIGNER_INFO. 2008-08-20 10:23:57 +02:00
Juan Lang 817adc5599 crypt32: Implement CMSG_CMS_SIGNER_INFO encoding. 2008-08-20 10:23:50 +02:00
Juan Lang d71e6e96dd crypt32: Add tests for encoding/decoding CMSG_CMS_SIGNER_INFO. 2008-08-20 10:23:42 +02:00
Alexander Morozov ea1e7555a9 kernel32: Fix a typo. 2008-08-20 10:23:17 +02:00
Roy Shea 77ea6ef814 mstask: Stub implementation of Activate. 2008-08-19 15:32:02 +02:00
Roy Shea 75e043ee5f mstask: Activate conformance test. 2008-08-19 15:31:55 +02:00
Christian Costa dd5908224e d3dxof: Add text format support to RegisterTemplates and fix corresponding test. 2008-08-19 15:30:32 +02:00
Christian Costa 04d72cdd6f d3dxof: Add basic tests. 2008-08-19 15:30:32 +02:00
Christian Costa c6b2529fd2 d3dxof: Create FileData object using its constructor. Fix return value of CreateEnumObject. 2008-08-19 15:30:32 +02:00
Christian Costa 1b1f8aa891 d3dxof: Create FileEnumObject using its constructor. 2008-08-19 15:30:32 +02:00
Christian Costa 2bc401ef89 d3dxof: Implement some parsing in RegisterTemplates. 2008-08-19 15:30:32 +02:00
Alexandre Julliard 3842ab09f1 makefiles: Add missing entries for mstask tests. 2008-08-19 15:30:25 +02:00
Michael Karcher c2a26cee16 kernel32/tests: Fix profile crash on NT and up. 2008-08-19 15:19:29 +02:00
Detlef Riekenberg f4a9919304 spoolss/tests: Fix a test on vista/w2k8. 2008-08-19 15:16:21 +02:00
Hans Leidekker 250cac32ca winhttp: Implement WinHttpTimeFromSystemTime and WinHttpTimeToSystemTime. 2008-08-19 15:05:01 +02:00
Hans Leidekker 877d6c95c6 winhttp: Forward WinHttpCrackUrl and WinHttpCreateUrl to wininet for the time being. 2008-08-19 15:04:53 +02:00
Hans Leidekker 587162c3b6 winhttp: Add stub implementations for WinHttpGetDefaultProxyConfiguration, WinHttpGetProxyForUrl and WinHttpSetDefaultProxyConfiguration. 2008-08-19 15:03:45 +02:00
Hans Leidekker a3d9df7d4d winhttp: Implement WinHttpSetStatusCallback. Start sending notifications. 2008-08-19 15:03:37 +02:00
Hans Leidekker ce00aa019f winhttp: Implement WinHttpOpenRequest. 2008-08-19 15:03:29 +02:00
Hans Leidekker 770ee20461 winhttp: Implement WinHttpConnect. 2008-08-19 15:03:19 +02:00
Hans Leidekker 405e8cda41 winhttp: Implement WinHttpOpen and WinHttpCloseHandle. 2008-08-19 15:02:53 +02:00
Hans Leidekker d5c0ccf93a winhttp: Add a handle management implementation. 2008-08-19 15:02:29 +02:00
Zac Brown dfd9681fab winhttp: Add test for adding/querying headers. 2008-08-19 14:57:39 +02:00
Zac Brown db0b7beffa winhttp: Add stub implementation for WinHttpAddRequestHeaders. 2008-08-19 14:57:23 +02:00
Zac Brown 9dd04bfc32 winhttp: Add stub implementation for WinHttpQueryHeaders. 2008-08-19 14:57:11 +02:00
Zac Brown 525037d758 winhttp: Add test for WinHttpTimeToSystemTime. 2008-08-19 14:57:01 +02:00
Zac Brown 59397fab02 winhttp: Add stub implementation for WinHttpTimeToSystemTime. 2008-08-19 14:56:52 +02:00
Zac Brown 5706b84513 winhttp: Add test for WinHttpTimeFromSystemTime. 2008-08-19 14:56:37 +02:00
Zac Brown 6858aa4a0f winhttp: Add stub implementation for WinHttpTimeFromSystemTime. 2008-08-19 14:56:20 +02:00
Vincent Povirk 17c0c0a54b wininet: Default to keep-alive when the server is HTTP/1.1, not when it isn't. 2008-08-19 14:56:06 +02:00
James Hawkins 5a3c3b6a12 msi: Use MsiQueryFeatureState to determine the feature's state. 2008-08-19 13:56:08 +02:00
James Hawkins 42115638c8 msi: Use MsiQueryComponent state to determine the component's state. 2008-08-19 13:56:04 +02:00
James Hawkins 10a2a5effe msi: Base removal of a file on the component's action, not the file's state. 2008-08-19 13:56:01 +02:00
James Hawkins 7fbce31ef7 msi: Add more tests for feature and component states. 2008-08-19 13:55:58 +02:00
James Hawkins 5ea0d9d807 ole32: Storage sharing should be implemented in ole32, not the lower-level file API. 2008-08-19 13:55:53 +02:00
James Hawkins 0e6bfb3b43 msi: Test the file access and share modes of MsiOpenDatabase. 2008-08-19 13:39:51 +02:00
James Hawkins e64a699b07 msi: Remove misc files from the RemoveFile table. 2008-08-19 13:39:40 +02:00
James Hawkins a00bdc1178 msi: A file's component's state does not determine file removal. 2008-08-19 13:39:30 +02:00
James Hawkins f33ef6ac3b msi: Don't remove a file if the old file is strictly newer than the version to be installed. 2008-08-19 13:39:19 +02:00
James Hawkins ca4b17efe8 msi: Don't check for a NULL component, as the component is guaranteed to exist. 2008-08-19 13:39:11 +02:00
James Hawkins 9a8d2f3f5c msi: Ignore a file that has a missing component. 2008-08-19 13:39:02 +02:00
James Hawkins 74239fcd91 msi: Factor out media handling and use the new interface to efficiently extract assemblies. 2008-08-19 13:37:51 +02:00
James Hawkins bf51518449 msi: Perform costing again for the InstallExecute sequence. 2008-08-19 13:36:32 +02:00
James Hawkins d9f2120f14 msi: Ignore all non-stream elements when filling the _Streams table. 2008-08-19 13:36:25 +02:00
Maarten Lankhorst 6a7127bfc2 winmm: Test opening the same device twice.
Behavioral test to show that wine winmm needs fixing.
2008-08-19 13:36:16 +02:00
Maarten Lankhorst 179990ac36 dsound: Remove int24_struct from conversion routines. 2008-08-19 13:36:10 +02:00
Maarten Lankhorst 3995627de2 winealsa.drv: Fix compiler warnings and remove deprecated calls.
Fixes wine build on lsb compliant systems and some warnings.
2008-08-19 13:30:48 +02:00
James Hawkins 236147b568 fusion: Ignore the case of the assembly filename extension. 2008-08-19 13:30:48 +02:00
James Hawkins cfc68a96c7 fusion: Align the metadata header pointer on a DWORD boundary. 2008-08-19 13:30:48 +02:00
James Hawkins dd9b0edb6f fusion: Handle loading 64-bit .NET assemblies. 2008-08-19 13:30:48 +02:00
James Hawkins 48524c9b92 ole32: Test the file access and share modes of StgCreateDocFile. 2008-08-19 13:30:47 +02:00
Michael Karcher 5f2159e806 msvcrt/file: stdio should clamp characters to 8 bits. 2008-08-19 13:04:44 +02:00
Nikolay Sivov af4562c34d gdiplus: Implemented GdipPathIterNextMarkerPath with tests. 2008-08-19 12:55:13 +02:00
Michael Stefaniuc 9c62181a38 riched20: Remove redundant NULL check before HeapFree (Smatch). 2008-08-19 12:55:00 +02:00
Michael Stefaniuc 3b8aeb913b advapi/tests: CreateFile returns INVALID_HANDLE_VALUE on error (Smatch). 2008-08-19 12:54:57 +02:00
Rob Shearman 739d89369b rpcrt4: Implement RpcBindingReset. 2008-08-19 12:54:31 +02:00
Rob Shearman e98539520d rpcrt4: Don't get or create an association for bindings with incomplete endpoints.
It's inefficient since the association will have to be replaced before
the binding can be used to connect to a server.
2008-08-19 12:54:26 +02:00
Rob Shearman 6ed020d813 rpcrt4: Check for previous association being NULL in RPCRT4_ResolveBinding.
bind->Assoc could be NULL if the binding hasn't been resolved.
2008-08-19 12:54:21 +02:00
Rob Shearman c5dd3f079c rpcrt4: Test the endpoint mapper for the ncalrpc protseq as well as the ncacn_np protseq. 2008-08-19 12:25:42 +02:00
Stefan Dösinger e10302d952 ddraw: Implement IDirectDraw7::GetFourCCCodes. 2008-08-19 12:25:37 +02:00
Stefan Dösinger c1bbab7c54 ddraw: Send the ddraw output to the clipper window, if any. 2008-08-19 12:25:31 +02:00
Stefan Dösinger 3d49e8cd5e wined3d: Add a swapchain method to set the dest override.
DDraw can draw to the front buffer only, thus there's never a Present
call which could pass this window. Due to that a drawing-independent
method is needed.
2008-08-19 12:25:20 +02:00
Stefan Dösinger 25c07dc86c wined3d: Remove the ddraw_window device member. 2008-08-19 12:25:05 +02:00
Stefan Dösinger 376944ebe4 wined3d: Remove the device-global fullscreen flag. 2008-08-19 12:24:57 +02:00
Stefan Dösinger 34b37fe241 d3d: Remove IWineD3DDevice::SetHwnd. 2008-08-19 12:22:05 +02:00
Stefan Dösinger 7f2b8f9bba wined3d: Support redirecting the primary context. 2008-08-19 12:21:49 +02:00
Stefan Dösinger e178ddd9e1 wined3d: Use a swapchain for GDI surfaces.
This is a long-needed cleanup aimed at removing the ddraw_primary,
ddraw_window, ddraw_width and ddraw_height members from
IWineD3DDeviceImpl, which just do not belong there.  Destination
window and screen handling is supposed to be done by swapchains.
2008-08-19 12:21:32 +02:00
Stefan Dösinger e5de2fc82c wined3d: Move some swapchain code into a base class. 2008-08-19 12:20:47 +02:00
Juan Lang 1799ceb8c1 crypt32: Free memory using the correct function on failure. 2008-08-19 12:20:40 +02:00
Juan Lang 9423f836ac crypt32: Fix length calculation for decoding CRL_DIST_POINT_NAME. 2008-08-19 12:20:35 +02:00
Juan Lang 802770299d crypt32: Set *pcbStructInfo on more success paths. 2008-08-19 12:20:30 +02:00
Juan Lang a1e14feeac crypt32: Implement CertFindCertificateInStore for CERT_FIND_SIGNATURE_HASH. 2008-08-19 12:20:23 +02:00
Juan Lang e763923b07 crypt32: Implement CERT_SIGNATURE_HASH_PROP_ID. 2008-08-19 12:20:18 +02:00
Juan Lang d8da3e83ff crypt32: Implement CryptHashToBeSigned. 2008-08-19 12:20:09 +02:00
Juan Lang b18919bef7 crypt32: Add tests for CryptHashToBeSigned. 2008-08-19 12:20:04 +02:00
Juan Lang f5eb6caf05 crypt32: Add stub for CryptHashToBeSigned. 2008-08-19 12:19:58 +02:00
Juan Lang 8f74b60f87 crypt32: Add stub for CryptMsgVerifyCountersignatureEncodedEx. 2008-08-19 12:19:50 +02:00
Christian Costa 9a82c8071d winealsa.drv: Improve midi port names. 2008-08-19 12:16:00 +02:00
Jacek Caban 984bff499e mshtml: Use heap_alloc_zero for HTMLWindow allocation.
It's needed by DispatchEx implementation.
2008-08-19 12:15:56 +02:00
Rob Shearman e1e6caf81c kernel32: Fix a typo in the leadin check in WaitNamedPipeW. 2008-08-18 17:34:13 +02:00
Rob Shearman 23bb94c005 ole32: Remove dead code in StorageImpl_LoadFileHeader. 2008-08-18 17:34:13 +02:00
Rob Shearman 27ae234b04 rpcrt4: Remove unreachable code in EmbeddedComplexSize.
RPC_FC_ERROR_STATUS_T has a value of 0x10 and therefore isn't a
possible value of "flags_type & 0xf" in the switch statement.
2008-08-18 17:34:13 +02:00
Rob Shearman a35431a194 quartz: Use memcmp instead of strncmp in MPEGSplitter_pre_connect.
header isn't a string and therefore using strncmp doesn't make sense.
2008-08-18 17:34:13 +02:00
Rob Shearman 89b479c8ec hhctrl.ocx: Nul-terminate url_indicator constant in NavigateToUrl. 2008-08-18 17:34:13 +02:00
Rob Shearman b234173b1f oleaut32: Fix buffer length passed to VARIANT_DI_tostringW in VarBstrFromCy.
It's the number of elements, not the number of bytes.
2008-08-18 17:34:12 +02:00
Rob Shearman 3261814e08 shell32: Don't assign a result from a function that returns a BOOL to an HRESULT in shellex_get_dataobj.
Otherwise there could be confusion as to what type GetFullPathNameW is
returning.
2008-08-18 17:34:12 +02:00
Rob Shearman 5dd6d798a4 urlmon: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Rob Shearman 9dd75ea093 shlwapi: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Rob Shearman 03a25b487f quartz: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Rob Shearman e57697a04b oleaut32: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Rob Shearman 064b6fce0c ole32: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Rob Shearman cda469c890 msi: Fix handle leak in ITERATE_SelfRegModules. 2008-08-18 17:34:12 +02:00
Rob Shearman 88a97daa71 msrle32: Fix uses of arithmetic operators on Boolean types in MSRLE32_CompressRLE4Line and MSRLE32_CompressRLE8Line.
The "extra_byte" variable is used as though it contains an integer
rather than a TRUE/FALSE value so make it into an integer.
2008-08-18 17:34:12 +02:00
Rob Shearman 6181419b64 comctl32: Fix use of arithmetic operator on Boolean type in TREEVIEW_ComputeItemInternalMetrics.
Use a conditional operator to get the same result, but improving
readability of the code.
2008-08-18 17:34:12 +02:00
Rob Shearman 602b58ba73 hhctl.ocx: Fix reference count leak in InPlace_OnPosRectChange.
Also compare the result of IOleObject_QueryInterface with S_OK instead
of using not operator so it is more clear what the code is doing.
2008-08-18 17:34:12 +02:00
Nikolay Sivov 169e87d879 gdiplus: Implemented GdipResetWorldTransform. 2008-08-18 17:27:59 +02:00
Nikolay Sivov ef889d94a3 gdiplus: Implemented GdipPathIterNextSubpathPath with tests. 2008-08-18 17:27:16 +02:00
Nikolay Sivov 09950e3ab5 gdiplus: Implemented GdipPathIterIsValid with tests. 2008-08-18 17:27:06 +02:00
Jeff Latimer b7e81d3e54 user32: Check for invalid conversation and return the correct error. 2008-08-18 17:26:46 +02:00
Jeff Latimer 544c1e5cd1 user32/tests: Add tests for for invalid DDE conditions. 2008-08-18 17:26:39 +02:00
Jeff Latimer 70ebae341d user32: DdeClientTransaction should check that pData is not NULL for XTYP_REQUEST. 2008-08-18 17:26:19 +02:00
Jeff Latimer 04a59014f8 user32: DdeQueryString returns a NULL str if there is no handle. 2008-08-18 17:26:01 +02:00
Jeff Latimer ec49e4179b user32: DdeClientTransaction should return 0 in the last param for DDE_DATA. 2008-08-18 17:25:37 +02:00
Vladimir Pankratov fe0d5b5578 shell32: Update Russian translation. 2008-08-18 17:24:26 +02:00
Lei Zhang 215f6c47ca shell32: Handle directories in ShellExecute. 2008-08-18 17:24:22 +02:00
Alistair Leslie-Hughes 164e264a41 mshtml: Implement IDispatch for IHTMLAnchorElement. 2008-08-18 17:15:57 +02:00
Alistair Leslie-Hughes e867fa253d mshtml: Implement IDispatch for IHTMLElement2. 2008-08-18 17:15:57 +02:00
Dylan Smith ddc107bd26 richedit: Added support for changing cell border colours. 2008-08-18 17:15:57 +02:00
Dylan Smith 421c5b0e02 richedit: Borders are now drawn for tables and nested tables. 2008-08-18 17:15:57 +02:00
Dylan Smith 967c148a68 richedit: Borders are drawn for simple tables. 2008-08-18 17:15:57 +02:00
Dylan Smith a47d4a4c3a richedit: Adjust table spacing with horizontal gap and left edge. 2008-08-18 17:15:57 +02:00
Dylan Smith b628482d68 richedit: Removed an unused local variable and assignments to it. 2008-08-18 17:15:57 +02:00
Dylan Smith fe1a24ff88 richedit: Substitute space for \tab and \par control words for simple tables.
For simple tables cells are represented with tabs, and a table row is
ended at the end of the paragraph, so native richedit controls
substitute spaces for \tab and \par rich text format control words.
2008-08-18 17:15:57 +02:00
Dylan Smith a382e35600 richedit: EM_[SG]ETPARAFORMAT returned the wrong value.
The values returned by EM_SETPARAFORMAT and EM_GETPARAFORMAT previously
indicated an error, and the included tests shows that Windows behaves as
documented.
2008-08-18 17:15:57 +02:00
Rob Shearman 30cd9b473e d3d9: Remove unneeded local variable in IDirect3DDevice9Impl_SetFVF. 2008-08-18 17:15:57 +02:00
Rob Shearman 320aac97e4 d3d9: Fix variable type in IDirect3DDevice9Impl_GetSoftwareVertexProcessing.
IWineD3DDevice_GetSoftwareVertexProcessing returns a BOOL, not an HRESULT.
2008-08-18 17:15:56 +02:00
Rob Shearman 0427cf087b appwiz.cpl: Fix leak of thread and process handles in UninstallProgram. 2008-08-18 17:15:56 +02:00
Rob Shearman b0e8143db6 cryptnet: Fix mismatch between sizeof and countof quantities in CRYPT_GetUrlFromCertificateCRLDistPoint.
nextUrl is of type "WCHAR *" so don't multiply the length by
"sizeof(WCHAR)" when incrementing the pointer.
2008-08-18 17:15:56 +02:00
Michael Karcher 33ca67dcab kernel32: Fix profile sharing mode.
Based on a patch from Austin English.
2008-08-18 17:15:56 +02:00
Jeff Zaroyko 4603c87351 winmm: Remove misleading message. 2008-08-18 17:15:56 +02:00
Michael Karcher 3843d5beee winex11: Fix GetDIBits with monochrome pixmaps. 2008-08-18 17:15:56 +02:00
Christian Costa 48b459afff winmm: Implement stub for midiConnect and midiDisconnect. 2008-08-18 17:15:56 +02:00
Alistair Leslie-Hughes 666378f4fe mshtml: Implement IDispatch for IHTMLElement. 2008-08-18 17:15:56 +02:00
Alistair Leslie-Hughes 6d9e79a45f mshtml: Implement IDispatch for IHTMLStyle. 2008-08-18 17:15:56 +02:00
Alistair Leslie-Hughes 059c3ab650 mshtml: Implement HTMLStyle get_background. 2008-08-18 17:15:56 +02:00
Alistair Leslie-Hughes 373a43f0af msxml3: Added and corrected trace string. 2008-08-18 17:15:56 +02:00
Lei Zhang fc6553973f comctl32: Add a test for TTM_GETTEXT. 2008-08-18 17:15:56 +02:00
Will Tipton accb5f8faf comctl32: Added input validation to TOOLTIPS_GetTextW() in order to handle gracefully the case where it is called with an empty tooltip. 2008-08-18 17:15:56 +02:00
Frans Kool 497377ec39 appwiz.cpl: Added Dutch resources. 2008-08-18 17:15:55 +02:00
Alistair Leslie-Hughes 905817a589 advapi32: Fix test under w2k8. 2008-08-18 17:15:55 +02:00
Alistair Leslie-Hughes 4d6d09553b advapi32: Fix two tests for w2k8. 2008-08-18 17:15:55 +02:00
Juan Lang fc8545b43a crypt32: Implement CryptMsgGetAndVerifySigner. 2008-08-18 17:15:55 +02:00
Juan Lang d677f6084d crypt32: Add tests for CryptMsgGetAndVerifySigner. 2008-08-18 17:15:55 +02:00
Juan Lang 35b126a033 crypt32: Add stub for CryptMsgGetAndVerifySigner. 2008-08-18 17:15:55 +02:00
Andrew Talbot 3bf289aecc dmime: Indirection levels fix. 2008-08-18 17:15:55 +02:00
James Hawkins 6e63953b4c msi: Also check the LocalPackage install property when searching for the product package. 2008-08-18 17:15:46 +02:00
James Hawkins d500dc4f31 msi: Test how MsiConfigureProductEx locates the source package. 2008-08-18 17:04:53 +02:00
Paul Vriens d46f93669d ole32/tests: Fix a test on win98 and W2K. 2008-08-18 17:04:48 +02:00
Huw Davies 67a5f256c4 gdi32: Don't use biSizeImage for a BI_BITFIELDS dib. 2008-08-18 17:04:44 +02:00
Huw Davies d84ea74ec8 wineps.drv: Make sure we call CreateFontIndirect with zero width, otherwise we'll get a scaled-width font. 2008-08-18 17:04:41 +02:00
Rob Shearman fc269433ce oleaut32: Fix invalid free of import library entry name with SLTG typelibs.
Use TLB_MultiByteToBSTR to allocate import library entry name in
ITypeLib2_Constructor_MSFT as BSTR instead of a normal block of memory
to make the allocator the same as for SLTG typelibs. Free the name
with SysFreeString instead of TLB_Free.
2008-08-18 14:36:58 +02:00
Rob Shearman 2fab79955f oleaut32: Avoid unnecessary allocations in TLB_MultiByteToBSTR and SLTG_ReadString. 2008-08-18 14:36:51 +02:00
Rob Shearman ef5a5a4490 rpcrt4: Fix RpcStringBindingComposeA/W and RpcStringBindingParseA/W to escape and unescape delimiters in the string binding.
This behaviour is stated by the DCE/RPC specification and is also
shown in the rpcrt4 conformance tests.
2008-08-18 14:36:45 +02:00