Commit Graph

30571 Commits

Author SHA1 Message Date
Alexandre Julliard 1e3c47eae9 gdi32: Get rid of DC_GetDCPtr in the palette functions. 2008-02-05 21:57:35 +01:00
Alexandre Julliard 608b2a94ec winex11: Add a critical section for the palette global variables instead of relying on the GDI lock. 2008-02-05 21:57:23 +01:00
Alexandre Julliard 8815e63835 gdi32: Get rid of DC_GetDCPtr in the GDI object functions. 2008-02-05 21:17:28 +01:00
Alexandre Julliard 4b14a080fe gdi32: Get rid of DC_GetDCPtr in font functions. 2008-02-05 21:16:27 +01:00
Alexandre Julliard 35c09c01b2 gdi32: Use a separate critical section for freetype locking instead of relying on the GDI lock. 2008-02-05 21:16:06 +01:00
Alexandre Julliard 31576d408e gdi32: Avoid locking in BITMAP_CopyBitmap. 2008-02-05 18:26:25 +01:00
Alexandre Julliard 630c976f88 gdi32: Don't hold the GDI lock when calling DC_InitDC. 2008-02-05 18:26:18 +01:00
Alexandre Julliard 67a9edbdf4 gdi32: Get rid of a few more uses of DC_GetDCPtr. 2008-02-05 17:35:40 +01:00
Alexandre Julliard b962fca75c gdi32: Avoid locking in CreateCompatibleBitmap. 2008-02-05 17:34:56 +01:00
Francois Gouget e5b4c0f84b comctl32/tests: Call InitCommonControlsEx() if available, fall back to InitCommonControls() for the older controls, and skip the tests altogether for the newer ones. 2008-02-05 13:26:48 +01:00
Reece H. Dunn fb36abaee9 msxml3: Fix the domdoc test failures. 2008-02-05 12:44:26 +01:00
Stefan Dösinger dcf08f01ed wined3d: Recreate the contexts on _Reset. 2008-02-05 12:42:39 +01:00
Stefan Dösinger e7393a8a11 wined3d: Move vertex buffer vbo creation to PreLoad. 2008-02-05 12:42:30 +01:00
Stefan Dösinger b813398467 wined3d: Move the float format check to the big switch statement. 2008-02-05 12:42:20 +01:00
Stefan Dösinger bbeedca67e wined3d: Fix dxtn format check.
We can't return WINED3D_OK straight away because we have yet to check
the other flags, like sRGB correction.
2008-02-05 12:42:12 +01:00
Stefan Dösinger 9d9a640127 wined3d: Correct the srgb reading check. 2008-02-05 12:41:59 +01:00
Stefan Dösinger b6ecb56eef d3d9/tests: Accept the rejection of non-standard fixed function attrib types. 2008-02-05 12:41:48 +01:00
Stefan Dösinger 334e1600f2 d3d9/tests: Be less picky about X8L8V8U8 precision. 2008-02-05 12:41:39 +01:00
Stefan Dösinger 8daf8322ba wined3d: Some texture transform test corrections. 2008-02-05 12:38:06 +01:00
Stefan Dösinger 635daf8b5d wined3d: D3DTADDRESS_WRAP on conditional NP2 textures clamps to edge.
Conditional NP2 textures in Direct3D do not support D3DTADDRESS_WRAP
texture addressing. Similarly, GL_ARB_texture_rectangle textures do
not support GL_REPEAT. This patch adds a test which shows that _WRAP
clamps to the texture edge and implements that.
2008-02-05 12:37:49 +01:00
Stefan Dösinger 08391b82c1 wined3d: Update the gl rectangle when adjusting surface sizes. 2008-02-05 12:37:28 +01:00
Stefan Dösinger 1424e7fd09 wined3d: Make Clear aware of the depth stencil sharing. 2008-02-05 12:37:01 +01:00
Stefan Dösinger 451d85a71c d3d9: Some drivers allow non-aligned offsets. 2008-02-05 12:33:28 +01:00
Stefan Dösinger 3d2aa7afa0 wined3d: De-Statify depth blit opengl resources. 2008-02-05 12:33:15 +01:00
Stefan Dösinger 093d7d00c5 wined3d: Mark textures dirty on UnLoad. 2008-02-05 12:33:05 +01:00
Stefan Dösinger a0f2e6e55e wined3d: Move some UnLoad code to the base texture class. 2008-02-05 12:32:58 +01:00
Stefan Dösinger 4c99bd5f87 wined3d: Destroy FBOs and reset pointers on Reset. 2008-02-05 12:32:49 +01:00
Stefan Dösinger 33d012efcb wined3d: Unload implicit depth stencil buffers correctly.
We have to destroy potential fbo renderbuffers, and make sure the
texture is gone
2008-02-05 12:32:42 +01:00
Stefan Dösinger c1538f8048 wined3d: Update the auto depth stencil buffer size on reset. 2008-02-05 12:32:30 +01:00
Stefan Dösinger b706a62aff wined3d: Beware of texture_rectangle NP2 support in Reset. 2008-02-05 12:32:22 +01:00
James Hawkins 2f658cb337 msi: Fix handling of the NULL separator when writing registry values. 2008-02-05 12:21:23 +01:00
Aric Stewart 1ce79f87dd gdi32: Child fonts need to be scaled like their parent. With input from Dmitry Timoshkov. 2008-02-05 12:19:50 +01:00
Francois Gouget 3d962e27ed d3dx8: Fix the D3DXAssembleShaderFromFileA/W() prototypes. 2008-02-05 12:19:38 +01:00
Francois Gouget 0894bf25dc d3dx8: Fix the D3DXMatrixAffineTransformation() prototype. 2008-02-05 12:19:38 +01:00
Francois Gouget fb1b0a1c32 msvcrt: __CxxDetectRethrow() and __CxxQueryExceptionSize() are implemented now so export them. 2008-02-05 12:19:38 +01:00
Francois Gouget f11713aa58 winex11.drv: Add some API documentation stubs to make winapi_check happy. 2008-02-05 12:19:37 +01:00
Francois Gouget afaa4d63b6 ntdsapi: Add an API documentation stub to make winapi_check happy. 2008-02-05 12:19:37 +01:00
Francois Gouget 1f2d708766 mapi32: Add an API documentation stub to make winapi_check happy. 2008-02-05 12:19:37 +01:00
Francois Gouget 20b41af9f1 ddraw/tests: Fix compilation on systems that don't support nameless unions. 2008-02-05 12:19:37 +01:00
James Hawkins 5a0d459cc4 msi: Reimplement MsiFormatRecord. 2008-02-05 12:19:37 +01:00
James Hawkins e618c6d115 msi: Add more tests for MsiFormatRecord. 2008-02-05 12:19:37 +01:00
Rob Shearman 1ceef1e149 rpcrt4: Fix potential memory leaks on error paths in RPCRT4_io_thread. 2008-02-05 12:19:37 +01:00
Rob Shearman 8e667fd89c rpcrt4: Fix potential memory leaks in RPCRT4_Receive. 2008-02-05 12:19:37 +01:00
Andrew Talbot 45481db078 wininet: Remove unneeded casts. 2008-02-05 12:19:37 +01:00
Andrew Talbot 6436dd6169 winex11.drv: Remove unneeded casts. 2008-02-05 12:19:37 +01:00
Rob Shearman dfce00677d ws2_32: Add a FIXME for WS_SIO_GET_EXTENSION_FUNCTION_POINTER in WSAIoctl. 2008-02-05 12:19:37 +01:00
Rob Shearman e70848ed01 ntdll: The FileMailslotSetInformation and FileCompletionInformation cases of NtSetInformationFile don't need the fd.
So don't do an extra server call to get the fd to avoid a performance
penalty and to make these cases work when an fd isn't available.
2008-02-05 12:19:37 +01:00
James Hawkins ffc251f5dd msi: Return ERROR_MORE_DATA if the size is too small. 2008-02-05 12:19:37 +01:00
James Hawkins dc8f714ade msi: Return the string length even if the string is NULL. 2008-02-05 12:19:37 +01:00
James Hawkins 40841946f5 msi: Leave room for the NULL terminator. 2008-02-05 12:19:37 +01:00
James Hawkins d165435048 msi: Return ERROR_FILE_INVALID if the file has no version information. 2008-02-05 12:19:37 +01:00
James Hawkins 03335de8d0 msi: Return ERROR_INVALID_PARAMETER if a string pointer is non-NULL and the size pointer is NULL. 2008-02-05 12:19:37 +01:00
James Hawkins 856800c84b msi: Translate ERROR_BAD_PATHNAME into ERROR_FILE_NOT_FOUND. 2008-02-05 12:19:37 +01:00
James Hawkins 5d46eeac75 msi: Only convert output strings if the call succeeded. 2008-02-05 12:19:36 +01:00
James Hawkins 8079d9f2ab msi: Add tests for MsiGetFileVersion. 2008-02-05 12:19:36 +01:00
James Hawkins 146e34e662 msi: Implement the MSIMODIFY_ASSIGN action of MsiViewModify for the streams table. 2008-02-05 12:19:36 +01:00
James Hawkins 56574c7c6e msi: Add tests for using single quotes in an INSERT query. 2008-02-05 12:19:36 +01:00
James Hawkins 972c61d311 version: Return ERROR_RESOURCE_DATA_NOT_FOUND if the file does not have version information. 2008-02-05 12:19:36 +01:00
James Hawkins ea41e863ad kernel32: Factor out the VerifyVersionInfo tests into their own function. 2008-02-05 12:19:36 +01:00
Reece H. Dunn 571a383d7e gdiplus: Fix the bezier arc path test on all Windows platforms. 2008-02-05 12:19:36 +01:00
Reece H. Dunn af9c736f6b comctl32: Proper fix redrawing the trackbar background with themes enabled. 2008-02-05 12:19:36 +01:00
Michael Stefaniuc 0b5ebcf2fd olecli: Remove duplicated typedefs/enums.
Use a local header file for them.
2008-02-05 12:19:36 +01:00
Stefan Leichter f3f64c7939 advapi32: Fix the failing QueryServiceConfig2 test on platforms win2k3 and vista. 2008-02-05 12:19:36 +01:00
Alistair Leslie-Hughes 277817aad3 gdiplus: Add GdipSetStringFormatFlags stub. 2008-02-05 12:06:31 +01:00
Alistair Leslie-Hughes 9f0f97706d gdiplus: Add GdipSetPenMode stub. 2008-02-05 12:06:21 +01:00
Alistair Leslie-Hughes 9d36b416a7 kernel32: Add RegisterApplicationRestart stub. 2008-02-05 12:06:09 +01:00
Eric Pouech 8b7039d894 dbghelp: Fixed the types we want to load at first. 2008-02-05 11:13:47 +01:00
Eric Pouech 9c20cdfea8 riched20: Make use of the size info in REOBJECT if present. 2008-02-05 11:13:33 +01:00
Eric Pouech bcbf9eeb2d riched20: Start implementing object reading out RTF stream. 2008-02-05 11:13:17 +01:00
Eric Pouech e5f91bab15 riched20: Added support for image reading from RTF stream. 2008-02-05 11:13:00 +01:00
Eric Pouech 1e62b0e3b0 riched20: Support a couple of paragraphs attributes out of RTF stream reading. 2008-02-05 11:12:43 +01:00
Eric Pouech 251153806d riched20: Invert graphics when they are under the selection. 2008-02-05 11:12:23 +01:00
Eric Pouech d014db68d4 riched20: Correctly handle the wrapping when graphics are used.
Get rid of infinite loops when run's width was larger than the global
available width.
2008-02-05 11:12:18 +01:00
Eric Pouech 00b48f1d21 riched20: Handle the zoom in OLE objects. 2008-02-05 11:11:44 +01:00
Eric Pouech 00de77517a riched20: Start handling OLE objects inside richedit. 2008-02-05 11:11:32 +01:00
Alexandre Julliard fb6ea6764c shell32: Fix permissions of newly-created directories. 2008-02-04 15:25:18 +01:00
Alexandre Julliard cef1f21624 winex11: Remove unneeded check on bitmap depth, screen bpp cannot be 15. 2008-02-04 14:37:00 +01:00
Alexandre Julliard 0d30daa8e4 winex11: Abstract the depth->bpp conversion and use it in X11DRV_DIB_CreateDIBFromPixmap. 2008-02-04 14:36:18 +01:00
Andrew Talbot 68feed7e77 winex11.drv: Remove unneeded casts. 2008-02-04 14:20:45 +01:00
Andrew Talbot f44d2eddcb wineps.drv: Remove unneeded casts. 2008-02-04 14:19:29 +01:00
Andrew Talbot b286289180 winemp3.acm: Remove unneeded casts. 2008-02-04 14:19:22 +01:00
Hans Leidekker b0912d1151 wininet: Add zero value content length header to POST requests only. 2008-02-04 14:18:51 +01:00
Hans Leidekker c132dd9360 wininet: Send HTTP/1.1 requests by default. 2008-02-04 14:18:20 +01:00
Hans Leidekker b069ef4268 wininet: Make sure not to overwrite any caller supplied authorization header. 2008-02-04 14:18:20 +01:00
Alistair Leslie-Hughes c9f5f2c6a2 msxml3: Correct createElement return value for an invalid type. 2008-02-04 14:18:20 +01:00
Alistair Leslie-Hughes d4a4b12a43 msxml3: Corrected Entity Reference Test. 2008-02-04 14:18:20 +01:00
Alistair Leslie-Hughes b7e6906c2d msxml3: Validated attribute name. 2008-02-04 14:18:20 +01:00
Bang Jun-young 8e57a41913 riched20: Include wine/port.h for vsnprintf(). 2008-02-04 14:18:20 +01:00
Bang Jun-young 9fcebb0055 user32: Fix EndMenu() to match the PSDK. 2008-02-04 14:18:20 +01:00
Bang Jun-young dee7722b07 crypt32: Include wine/port.h for snprintf(). 2008-02-04 14:18:20 +01:00
Jacek Caban 814e07d8e8 mshtml: Update wine_url in nsIURI::SetPath. 2008-02-04 13:17:48 +01:00
Jacek Caban 684307f43f urlmon: Added more tests. 2008-02-04 13:17:26 +01:00
Jacek Caban 9577c4cb74 itss: Added BINDF_NEEDFILE test. 2008-02-04 13:17:17 +01:00
Jacek Caban 210854edf2 urlmon: Added more protocol tests. 2008-02-04 13:17:12 +01:00
Jacek Caban f2aef4cbb9 urlmon: Correctly handle BINDF_NEEDFILE flag in http protocol. 2008-02-04 13:17:06 +01:00
Jacek Caban 2b3c115ad1 urlmon: Added support for binding to IID_IUnknown storage (cache file). 2008-02-04 13:17:00 +01:00
Jacek Caban 458d27fa46 urlmon: Added BINDSTATUS_CACHEFILENAMEAVAILABLE support. 2008-02-04 13:16:54 +01:00
Jacek Caban e9189df9a6 urlmon: Don't create stgmed_obj for binding to object. 2008-02-04 13:16:49 +01:00
Jacek Caban 4985ca0e1c urlmon: Abstract ProtocolStream object. 2008-02-04 13:16:43 +01:00
Jacek Caban 6b854ff480 urlmon: Separate buffer from stream object. 2008-02-04 13:16:35 +01:00
Jacek Caban e7885cf221 mshtml: Added more about protocol tests. 2008-02-04 13:15:52 +01:00
Jacek Caban bf5487bfc1 urlmon: Return better error results. 2008-02-04 13:15:42 +01:00
Jacek Caban 21dbe9d6ad urlmon: Fixed tests. 2008-02-04 13:15:36 +01:00
Jacek Caban fd0d1d0765 urlmon: Added CopyStgMedium implementation. 2008-02-04 13:15:28 +01:00
Rob Shearman 53c6cdf918 comctl32: Get the background colour in ANIMATE_PaintFrame, instead of just in WM_PAINT.
This fixes the rendering of transparent animations when using a 
background thread.
2008-02-04 13:04:40 +01:00
Rob Shearman 7bc9e425f1 rpcrt4: Fix memory leaks in the rpc tests. 2008-02-04 13:04:37 +01:00
Rob Shearman 59ab0cf362 wininet: HTTP_Connect should fail if a NULL or empty hostname is passed in.
Add tests for these circumstances.
2008-02-04 13:04:34 +01:00
Rob Shearman b7f3ee51b1 ole32: Add pointer moniker implementation. 2008-02-04 13:04:21 +01:00
Rob Shearman c647bb4691 ole32: Add tests for CreatePointerMoniker. 2008-02-04 13:04:04 +01:00
Rob Shearman 1b93676913 oleaut32: Fix some memory leaks in the safearray tests. 2008-02-04 13:03:58 +01:00
Rob Shearman b2f4c7737b advapi32: Fix the size calculation in StartServiceW.
Calculating an open-ended structure using sizeof doesn't yield an 
accurate size because of alignment.
2008-02-04 13:03:16 +01:00
Rob Shearman 8cda4a8d90 comctl32: In certain circumstances, native comctl32's animation control accepts negative start positions for the ACM_PLAY message.
These circumstances seems to be after a seek is performed, but we play
it safe and allow negative start positions to be treated as zero always.
2008-02-04 13:03:05 +01:00
Rob Shearman 51e2e1cc4b oleaut32: Fix a leak of bmi in OLEPictureImpl_LoadGif. 2008-02-04 13:02:59 +01:00
Rob Shearman 4d08815173 oleaut32: Fix some reference count leaks in the tmarshal test. 2008-02-04 13:02:55 +01:00
Rob Shearman 3024b530c9 rpcrt4: Fix some incorrect checks in RPCRT4_Receive. 2008-02-04 13:02:49 +01:00
Rob Shearman 2746baf8f0 oleaut32: Fix a memory leak in the olefont tests. 2008-02-04 13:02:44 +01:00
Rob Shearman 05f75b9ff9 oleaut32: Fix a leak of a typelib object in OLEFontImpl_GetTypeInfo. 2008-02-04 13:02:39 +01:00
Rob Shearman a7234c07c4 ole32: Add a stub implementation of CreatePointerMoniker. 2008-02-04 13:02:35 +01:00
Rob Shearman 0eaab1add2 mapi32: Add a stub implementation of HrQueryAllRows@24. 2008-02-04 13:02:22 +01:00
Eric Pouech 7b81ea47c6 dbghelp: Store the PE version information in module block. 2008-02-04 12:46:12 +01:00
Eric Pouech 8e45b07483 dbghelp: Removed double assignment of checksum. 2008-02-04 12:45:44 +01:00
Eric Pouech 04c0ffdc47 dbghelp: Fixed the suspend count when creating a minidump in the middle of an exception. 2008-02-04 12:45:37 +01:00
Eric Pouech ecdbae7ceb dbghelp: Return the size of each directory instead of passing a pointer to it. 2008-02-04 12:45:27 +01:00
Michael Stefaniuc 4715dbec24 user32: Remove duplicated get_hook_proc() function. 2008-02-04 12:36:11 +01:00
Dmitry Timoshkov 21204f579e kernel32: LOADPARAMS16->showCmd can be NULL, do not crash in that case. 2008-02-04 11:49:37 +01:00
Jacek Caban 10563d5c8e urlmon: Added comments about missing MIME filters. 2008-02-04 11:29:57 +01:00
Jacek Caban 8ad3252d80 hlink: Don't prefer native version.
It's no longer a stub DLL.
2008-02-04 11:29:48 +01:00
Jacek Caban 7bfab2a482 hlink: Added standard comments. 2008-02-04 11:29:43 +01:00
Jacek Caban 5a03ea8914 hlink: Added HlinkResolveMonikerForData tests. 2008-02-04 11:29:33 +01:00
Jacek Caban 9d6cf488b6 hlink: Added HlinkResolveMonikerForData implementation. 2008-02-04 11:29:18 +01:00
Jacek Caban 13c4b62a64 hlink: Added HlinkParseDisplayName tests. 2008-02-04 11:29:11 +01:00
Jacek Caban 24853242a8 hlink: Added HlinkParseDisplayName implementation. 2008-02-04 11:29:06 +01:00
Jacek Caban 485d8362f3 hlink: Call AddRef of correct interface in ExtServUnk_QueryInterface. 2008-02-04 11:28:19 +01:00
Jacek Caban 2c15913180 urlmon: Added MkParseDisplayNameEx tests. 2008-02-04 11:28:14 +01:00
Jacek Caban 60b0539c87 urlmon: Added HlinkParseDisplayNameEx implementation. 2008-02-04 11:28:02 +01:00
Marcus Meissner 22aed3267b pdh: Fixed wrong condition. 2008-02-04 11:14:44 +01:00
Marcus Meissner c46327b40c atl: Check for NULL. 2008-02-04 11:13:34 +01:00
Francois Gouget 5caa63cae1 user32: Fix a typo in the StretchDIBits stub name. 2008-02-04 11:11:52 +01:00
Francois Gouget d491335eb7 shell32/tests: Fix a couple of copy/paste errors. 2008-02-04 11:11:27 +01:00
Gerald Pfeifer 450c634ab8 d3d9: Fix the type of three loop variables. 2008-02-04 11:11:20 +01:00
Rob Shearman 29c06dff20 oleaut32: Fix big memory leak in xCall.
Call IRpcChannelBuffer_FreeBuffer to free the buffer and other resources 
allocated by IRpcChannelBuffer_GetBuffer and IRpcChannelBuffer_SendReceive.
2008-02-04 11:11:04 +01:00
Rob Shearman 0d2a623150 secur32: Initialise more pointers in helper to NULL.
This is to avoid calling HeapFree on random pointers when 
DeleteSecurityContext is called on a context that hasn't had a second 
InitializeSecurityContext called on it, which would otherwise intialise 
those pointers.
2008-02-04 11:10:54 +01:00
Rob Shearman 8a2125f932 secur32: Try to retrive credentials by using the credential manager to retrieve credentials saved for the target server in InitializeContextHandleW, if possible. 2008-02-04 11:10:50 +01:00
Rob Shearman 506ba701bb secur32: If using cached credentials failed in InitializeSecurityContext then fail with SEC_E_NO_CREDENTIALS instead of carrying on with a blank password. 2008-02-04 11:10:05 +01:00
Rob Shearman 72ffc3fad9 secur32: Move the detection of NULL credentials from AcquireCredentialsHandle to InitializeSecurityContext.
Only use cached credentials if the credentials were NULL. Don't pass a 
domain into ntlm_auth when using cached credentials as 
ntlm_auth/winbindd should be able to figure that out.
2008-02-04 11:10:01 +01:00
Dmitry Timoshkov 27d3c09a39 winex11.drv: Remove an incorrect FIXME. 2008-01-25 13:44:35 +01:00
Ken Thomases a30327afef winex11.drv: Accomodate XGetWindowProperty returning an actual format of something other than 32 for the TARGETS property.
We shouldn't care what format the property was set with, as long as we
trust that the property is an atom type.
2008-01-25 13:44:24 +01:00
Reece H. Dunn d4c48db4b0 advapi32: Fix some cred test failures on Vista and prevent it crashing. 2008-01-25 12:30:32 +01:00
Reece H. Dunn e3a5167ffe gdi32: Vista returns UNICODE_NOCHAR if a character does not exist. 2008-01-25 12:30:24 +01:00
Reece H. Dunn 37c56f8946 user32: Make the edit tests pass on Vista. 2008-01-25 12:30:18 +01:00