Commit Graph

48906 Commits

Author SHA1 Message Date
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
66738fbb87 wined3d: Remove unused enum entry. 2008-08-19 12:20:54 +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
Rob Shearman
24c5df3dc1 include: Remove superfluous semi-colons from wine/wined3d_gl.h. 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