Commit Graph

43104 Commits

Author SHA1 Message Date
Nikolay Sivov 1f43da01c0 comctl32/toolbar: No need to use GetSysColor directly. 2009-05-19 15:41:37 +02:00
Nikolay Sivov 97ecd468c4 comctl32/toolbar: Use already cached control window style. 2009-05-19 15:41:30 +02:00
Nikolay Sivov b97600699a comctl32/toolbar: Remove superfluous forward declarations. 2009-05-19 15:41:24 +02:00
Nikolay Sivov 9a0f600574 comctl32/toolbar: Retrieve control data once at WinProc. 2009-05-19 15:41:09 +02:00
Nikolay Sivov 2b72ae6e01 comctl32/status: Use cached colors instead of GetSysColor for Status. 2009-05-19 15:40:37 +02:00
Nikolay Sivov 109a10c961 comctl32/rebar: Use cached colors instead of GetSysColor for Rebar. 2009-05-19 15:40:31 +02:00
Nikolay Sivov cf67786e40 comctl32/monthcal: Use cached colors instead of GetSysColor for MonthCal. 2009-05-19 15:40:20 +02:00
Nikolay Sivov 8806b1e83e comctl32/ipaddress: Use cached colors instead of GetSysColor for IPAddress control. 2009-05-19 15:40:13 +02:00
Aric Stewart bdd4e0b48b msctf: Implement ITfRange::GetContext. 2009-05-19 15:27:32 +02:00
Aric Stewart d0ef9886c3 msctf: Add stub implementation of ITfRange. 2009-05-19 15:27:27 +02:00
Aric Stewart fe30b79d72 advapi32: Handle well qualified names in LookupAccountNameW for account names. 2009-05-19 15:26:05 +02:00
Paul Vriens 1862826a87 wintrust/tests: Add a basic CryptCATOpen test. 2009-05-19 15:24:56 +02:00
Stefan Dösinger ba35760f9f wined3d: Use CMP instead of SLT and SGE in sRGB correction.
This shortens the code and reduces the amount of temp regs used by 1.
2009-05-19 15:24:48 +02:00
Stefan Dösinger ad217029b0 wined3d: Get rid of TMP accesses in texm3x3* instructions. 2009-05-19 15:24:39 +02:00
Stefan Dösinger ced325f816 wined3d: Get rid of TMP access in texm3x2*.
texm3x2pad knows which register the following texm3x2depth or tex instruction
will use, and it knows that this register is uninitialized. So use it for
temporary storage instead of TMP.
2009-05-19 15:24:31 +02:00
Stefan Dösinger 17b001788f wined3d: Get rid of TMP2 and some easy TMP register uses.
We have 5 temporary registers declared for private use. We can get rid of two
of them.
2009-05-19 15:24:21 +02:00
Stefan Dösinger 4bf980962a wined3d: Only declare TMP_OUT in vertex shaders. 2009-05-19 15:24:13 +02:00
Francois Gouget d9ffbe4e82 msi/tests: Use win_skip() to skip over unimplemented functionality. 2009-05-19 12:01:20 +02:00
Francois Gouget 4d8cf750ff userenv/tests: Replace realloc() with HeapReAlloc(). 2009-05-19 12:01:13 +02:00
Francois Gouget 1ef2f3844f oleaut32/tests: Replace realloc() with HeapReAlloc(). 2009-05-19 12:01:09 +02:00
Francois Gouget 419ecb35e1 mstask/tests: Replace realloc() with HeapReAlloc(). 2009-05-19 12:01:04 +02:00
Michael Stefaniuc 441bc63538 urlmon: Move 'inline' right after the storage specifier. 2009-05-19 12:00:20 +02:00
Hans Leidekker 0eb5893ea6 kernel32: Add tests for FormatMessageA/W. 2009-05-19 11:58:53 +02:00
Hans Leidekker 0f1ecf2819 kernel32: Add support for %ws and %wc format specifiers to FormatMessageA/W. 2009-05-19 11:58:53 +02:00
Andrew Nguyen 786158796b kernel32/tests: Correctly skip when the Unicode communications functions are not available. 2009-05-19 11:58:53 +02:00
Dmitry Timoshkov c293a535c0 user32: Invalidate a being removed listbox item before deleting it as it's been done before d2ecb11941. 2009-05-19 11:58:53 +02:00
Roderick Colenbrander f83b299bd2 wgl: Use local pixel format data for WGL_ACCELERATION_ARB. 2009-05-19 11:58:53 +02:00
Michael Stefaniuc 4fd3d633cb Fix typo in Romanian translation basă => bază.
Thanks to Dimitriu Petru for spotting this.
2009-05-19 11:58:53 +02:00
Jacek Caban 69365793b1 urlmon: Added MIME filter handling in BindProtocol tests. 2009-05-19 11:58:53 +02:00
Jacek Caban 9edd40fdc2 urlmon: Added support for MIME filters. 2009-05-19 11:58:52 +02:00
Jacek Caban e16af65971 urlmon: Use common name for IInternetProtocol and IInternetProtocolSink vtbls. 2009-05-19 11:58:52 +02:00
Jacek Caban 638c7ac802 urlmon: Use protocol_handler in Switch implementation. 2009-05-19 11:58:52 +02:00
Jacek Caban 8ffd262d75 urlmon: Move MIME availability handling to separated function. 2009-05-19 11:58:52 +02:00
Jacek Caban 23c6cd4241 urlmon: Fixed buffer size argument in Read call. 2009-05-19 11:58:52 +02:00
Jacek Caban e5f8427abf urlmon: Use internal IInternetProtocol protocol for communication with pluggable protocol in BindProtocol. 2009-05-19 11:58:52 +02:00
Paul Vriens 37babfcece kernel32/tests: Fix some test failures on Win9x/WinME. 2009-05-19 11:25:23 +02:00
Paul Vriens 756eea7bdd ntdll: Fix a typo. 2009-05-19 11:25:13 +02:00
Aric Stewart 4bb8e9959a msctf: Starting implementation of ITfContext::RequestEditSession and ITextStoreACPSink::OnLockGranted. 2009-05-19 11:25:01 +02:00
Andrew Nguyen 94945af556 kernel32/tests: Use named constants for a drive test. 2009-05-18 14:31:07 +02:00
Andrew Nguyen 7c2c6a575c kernel32: Correct the last error of CreateProcessW with an empty command line string. 2009-05-18 14:31:07 +02:00
Andrew Nguyen 645e59c490 kernel32: Correct the last error of CreateProcessW with an empty application name string. 2009-05-18 14:31:07 +02:00
Andrew Nguyen 6c27fa1038 kernel32: Don't validate the command line parameter of CreateProcessW. 2009-05-18 14:31:07 +02:00
Andrew Nguyen b0abafe70f kernel32/tests: Correctly skip when Unicode thread functions are not available. 2009-05-18 14:31:07 +02:00
Andrew Nguyen fda79ef217 kernel32/tests: Correctly skip when GetTempPathW is not available. 2009-05-18 14:31:07 +02:00
Andrew Nguyen 1e74b21f18 kernel32/tests: Correctly skip when Unicode locale functions are not available. 2009-05-18 14:31:07 +02:00
Andrew Nguyen 38f7d54fe0 kernel32/tests: Correctly skip when the Unicode file functions are not available. 2009-05-18 14:31:07 +02:00
Andrew Nguyen a85dc85960 kernel32/tests: Correctly skip tests when the Unicode drive functions are not available. 2009-05-18 14:31:07 +02:00
Andrew Nguyen 4f7f110c5e kernel32/tests: Correctly skip tests when the Unicode directory functions are not available. 2009-05-18 14:31:06 +02:00
Paul Vriens 77fa32a832 setupapi: Fix passing a NULL parameter (Coverity). 2009-05-18 14:31:06 +02:00
Juan Lang 6a025c5a32 inetmib1: Rename a poorly named variable. 2009-05-18 14:31:06 +02:00
Aric Stewart 8535f8c670 msctf/tests: Test TextService requesting an EditSession. 2009-05-18 14:01:36 +02:00
Aric Stewart 7d4e133624 msctf: TfContext intitalization and uninitialization on Push and Pop. 2009-05-18 14:01:27 +02:00
Stefan Dösinger d7f282f241 WineD3D: Support more constants in ARB shaders.
GL_LIMIT - 1 for vertex programs and the GL limit in fragment programs. The
indirect addressing limitation in GLSL applies here as well.
2009-05-18 13:59:31 +02:00
Stefan Dösinger c7839112c9 wined3d: Avoid declaring helper_const in vertex programs if possible. 2009-05-18 13:59:24 +02:00
Stefan Dösinger 2cb8f42168 wined3d: Support clipplanes with GLSL.
This is the Nth attemt to make clipping work with GLSL shaders. The patch now
uses the GLSL quirk table to handle cards that need a custom varying for
gl_ClipPos, and the code is adapted to the changed state table and shader
backend system.
2009-05-18 13:59:16 +02:00
Stefan Dösinger 45563979bd wined3d: Update the bump constants after a shader change.
Since we're using local constants now, we have to update the constants after a
shader change.
2009-05-18 13:58:57 +02:00
Stefan Dösinger 3372846aa6 wined3d: Use local constants for bump parameters.
This simplifies the loading code a bit. The constants were never
designed to be at the same location in all shaders, so there's no
point in using program.env. This way we don't collide with the d3d
shader constants and its easier to work together with NP2 fixups and
other shaders.
2009-05-18 13:58:47 +02:00
Nikolay Sivov 45b8e6a4f9 comctl32/tests: Don't use magic numbers for ListView exstyles. 2009-05-18 13:38:40 +02:00
Nikolay Sivov d93aab9c2a comctl32/treeview: Use cached colors instead of GetSysColor in TreeView. 2009-05-18 13:38:32 +02:00
Nikolay Sivov 27f3a6d605 comtl32/listview: Cache Header control window GWL_STYLE. 2009-05-18 13:38:24 +02:00
Nikolay Sivov f875314ffe comctl32/header: Use cached colors instead of querying them again. 2009-05-18 13:38:08 +02:00
Nikolay Sivov e6a3807e59 comctl32/header: Move parameter cast to WinProc where possible. 2009-05-18 13:37:57 +02:00
Nikolay Sivov 7a8f52b37c comctl32/header: Retrieve control data only once at WinProc call. 2009-05-18 13:37:20 +02:00
Robert Key 0cea80708f wined3d: Remove HD 4800 "2048MB for X2 versions" comment. 2009-05-18 13:36:23 +02:00
Huw Davies c36826705c ole32: Implement TYMED_ISTORAGE marshalling. 2009-05-18 13:27:53 +02:00
Huw Davies 3b15bbfd37 ole32: Implement TYMED_ISTREAM marshalling. 2009-05-18 13:27:49 +02:00
Huw Davies 10919f7fb9 ole32/tests: Add tests for TYMED_ISTREAM marshalling. 2009-05-18 13:27:43 +02:00
Huw Davies cc68fc4467 ole32: Add support for marshalling pUnkForRelease. 2009-05-18 13:27:37 +02:00
Huw Davies 4581af5863 ole32/tests: Add tests for STGMEDIUM marshalling with a non-NULL pUnkForRelease. 2009-05-18 13:27:34 +02:00
Huw Davies 5b6312f24c ole32: Implement the WdtpInterfacePointer marshal functions. 2009-05-18 13:27:30 +02:00
Huw Davies affe9a1e6e ole32/tests: Show that it's the loword of the separate flag parameter that determines the marshalling context. 2009-05-18 13:27:24 +02:00
Huw Davies fcf86b618a msctf/tests: Fix a compiler warning. 2009-05-18 13:26:46 +02:00
Huw Davies e4d43c1099 ole32: Add proxies and stubs for FillAppend and FillAt. 2009-05-18 13:24:42 +02:00
Huw Davies 069d57502d ole32: Add proxies and stubs for ReadAt and WriteAt. 2009-05-18 13:24:37 +02:00
Huw Davies 5abb393eb7 ole32: Add proxies and stubs for OpenStream and EnumElements. 2009-05-18 13:24:31 +02:00
Huw Davies aa13c7c522 ole32: Add proxies and stubs for Seek and CopyTo. 2009-05-18 13:24:19 +02:00
Huw Davies e8be59b8f8 ole32: Add proxies and stubs for Read and Write. 2009-05-18 13:24:13 +02:00
Huw Davies 374aacdc9f ole32: Add proxies and stubs for GetData and GetDataHere. 2009-05-18 13:24:00 +02:00
Roderick Colenbrander 73546edc9f wgl: Make sure WGL_DRAW_TO_BITMAP_ARB is only seen on our duplicated bitmap-capable formats. 2009-05-18 13:23:34 +02:00
Roderick Colenbrander 2eec8aca02 wgl: Make sure WGL_SUPPORT_GDI_ARB is only seen on formats on which we set it during startup (in get_formats). 2009-05-18 13:22:09 +02:00
Roderick Colenbrander cc96ce438a wgl: Add WGL_SWAP_METHOD_ARB support. 2009-05-18 12:34:48 +02:00
Detlef Riekenberg c4e6018320 wininet/tests: Remove a duplicate test. 2009-05-18 12:34:39 +02:00
Jacek Caban 1912f0f4fd urlmon: Added BINDSTATUS_LOADINGMIMEHANDLER and BINDSTATUS_LOADINGMIMEHANDLER support to Binding object. 2009-05-18 12:34:33 +02:00
Jacek Caban 5b72526052 urlmon: Added GetBindString(BINDSTRING_URL) implementation. 2009-05-18 12:34:28 +02:00
Vitaliy Margolen 806ea86be2 dxdiagn: DirectShowFilters should go under numbered sub-containers. 2009-05-18 12:34:24 +02:00
Vitaliy Margolen 136dc1fcaa dxdiagn: Correct version format property. 2009-05-18 12:34:12 +02:00
Vitaliy Margolen b3375a3fa2 dxdiagn: Rename szClsidCat and szClsidFilter to match native information. 2009-05-18 12:33:57 +02:00
Francois Gouget d0ba18430d gphoto2.ds: Use Win32 APIs instead of strdup(). 2009-05-18 12:33:46 +02:00
Francois Gouget 3d5f1edff5 advapi32/tests: Replace realloc() with HeapReAlloc(). 2009-05-18 12:32:46 +02:00
Francois Gouget 7422611cc9 dplayx: cbDelete{Groups,Player}Elem() are unused so remove them. 2009-05-18 12:32:23 +02:00
Damjan Jovanovic b51d03125d oleaut32: Add a failing VarFormat test showing that wine wrongly truncates decimals with large negative exponents instead of rounding. 2009-05-18 12:32:15 +02:00
Michael Stefaniuc 850f6c7965 msctf: Allocate memory only right before it's needed.
Fixes a memory leak on an error path. Found by Smatch.
2009-05-18 12:32:08 +02:00
Michael Stefaniuc d39dd38346 msvideo.dll16: Add missing unlock on an error path (Smatch). 2009-05-18 12:32:04 +02:00
Vincent Povirk e083dc831c shell32: Handle NULL return icon parameters in SHDefExtractIcon. 2009-05-18 12:31:56 +02:00
Alexandre Julliard 13a33b73c3 ntdll: Free old memory block when reallocating to a large block. 2009-05-18 12:12:12 +02:00
Alexandre Julliard 8c017aafbd ntdll/tests: Added some test cases for RtlVirtualUnwind. 2009-05-18 12:11:53 +02:00
Alexandre Julliard f7b1e94f98 ntdll: Initial implementation of RtlVirtualUnwind on x86_64. 2009-05-15 20:19:28 +02:00
Alexandre Julliard 47d7702522 ntdll: Added a stub for RtlUnwindEx on x86_64. 2009-05-15 20:18:33 +02:00
Paul Vriens 644f57679b setupapi/tests: Fix remaining failures on Win9x. 2009-05-15 14:19:05 +02:00
Alexandre Julliard 713183200b shlwapi: Add a partial stub for IConnectionPoint_InvokeWithCancel. 2009-05-15 14:18:49 +02:00
Robert Key cce62569df wined3d: Fix ATI HD4800 being reported as ATI 9500. 2009-05-15 11:55:20 +02:00
Roderick Colenbrander c315d75dab wgl: Offer PFD_GENERIC_ACCELERATED on bitmap capable formats.
Windows drivers do this as well and some apps rely on this (it might
fix Sketchup but I can't reproduce the issues on this system).
2009-05-15 11:55:12 +02:00
Roderick Colenbrander 2b58d2dc06 wgl: Select bitmap capable formats when PFD_DRAW_TO_BITMAP is requested by the caller. 2009-05-15 11:54:57 +02:00
Roderick Colenbrander b5a62756aa wgl: Duplicate some single buffered pixel formats for bitmap rendering and restrict bitmap rendering to these formats.
The use of direct / indirect rendering is now tied to the bitmapFormat
flag of a pixel format. Indirect is fine for bitmap rendering since on
windows it is only supported using the software gdi renderer and
indirect rendering can also indicate software rendering.
2009-05-15 11:54:05 +02:00
Stefan Dösinger 6fe1a5daa5 wined3d: Don't use TMP_COLOR unless srgb is enabled.
This was needed unconditionally in the past to apply fog, but since we're
using the ARBfp fog defines it is only needed if an sRGB correction is done
at the end of the shader.
2009-05-15 11:45:18 +02:00
Eric Pouech b8aa4e4fc7 msvideo16: Make msvideo16 a separate 16-bit module. 2009-05-15 11:44:59 +02:00
Eric Pouech 33a04dc69c msvfw32: Clearly separate the 16-bit code out of the rest by wrapping 16-bit message functions in thunks. 2009-05-15 11:35:16 +02:00
Francois Gouget aad81e5cea shell32: Make AboutDlgProc() and SHELL_execute() static. 2009-05-15 10:31:43 +02:00
Francois Gouget bce5f731a9 setupapi: VcpFlush() and vsmString{Compare,Find}() are unused so remove them. 2009-05-15 10:31:26 +02:00
Francois Gouget b72954552c setupapi: Remove some dead code: VCP_VirtnodeDelete() and VCP_RenameFiles(). 2009-05-15 10:31:19 +02:00
Francois Gouget ce5bb8b92c comctl32/tests: Make flush_sequence() static. 2009-05-15 10:30:44 +02:00
Francois Gouget 6218238c0c fusion: CompareAssemblyIdentity() and GetAssemblyIdentityFromFile() are unused stubs and don't belong in fusion.dll. So remove them. 2009-05-15 10:30:38 +02:00
Francois Gouget d26d99714c fusion: assembly_get_architecture() is unused so remove it. 2009-05-15 10:30:33 +02:00
Francois Gouget f80187f1f9 dplayx: Reorder the code to avoid forward declarations. 2009-05-15 10:29:15 +02:00
Francois Gouget 6512ed5271 dplayx: NS_GetOtherMagic() is not used, so remove it. 2009-05-15 10:28:29 +02:00
Francois Gouget 61a8b94634 riched20: ME_MakeString() is unused so remove it. 2009-05-15 10:28:20 +02:00
Marcus Meissner bbac7d9fb4 urlmon: Separate NULL ptr check (Coverity 924). 2009-05-15 10:28:03 +02:00
Juan Lang f95324c69e inetmib1: Don't query the same OID twice if it returns SNMP_ERRORSTATUS_NOSUCHNAME the first time. 2009-05-15 10:27:25 +02:00
Juan Lang 9b65338ef9 inetmib1: Make sure the successor to an item doesn't have an identical key as it, to prevent infinite loops in table enumeration. 2009-05-15 10:27:14 +02:00
Henri Verbeet 5d63179404 wined3d: Remove some unused defines. 2009-05-15 10:25:48 +02:00
Henri Verbeet b35e469d9d wined3d: Document functions that depend on the caller to do GL locking. 2009-05-15 10:25:41 +02:00
Henri Verbeet 3022a4a73c wined3d: Add missing GL locking to check_fbo_compat(). 2009-05-15 10:25:32 +02:00
Henri Verbeet 177d883d95 wined3d: Add missing GL locking to ffp_blit_set() and ffp_blit_unset(). 2009-05-15 10:25:27 +02:00
Henri Verbeet 5bc449553b wined3d: Add missing GL locking to d3dfmt_p8_upload_palette(). 2009-05-15 10:25:22 +02:00
Alexandre Julliard 2a48ef1d09 mlang: Return the correct count in IMLangFontLink_GetStrCodePages when aborting early. 2009-05-14 20:09:53 +02:00
Gerald Pfeifer aea6418ff0 msi: Initialize variable in MSI_ApplyPatchW. 2009-05-14 17:39:29 +02:00
Vincent Povirk 0c71d5b3f7 gdiplus: Stub GdipWarpPath. 2009-05-14 17:23:15 +02:00
Vincent Povirk 8d5c833d25 gdiplus: Stub GdipWidenPath. 2009-05-14 17:23:10 +02:00
Vincent Povirk ef4d0d970d gdiplus: Populate the installed font collection. 2009-05-14 17:23:03 +02:00
Damjan Jovanovic 80dfd00530 oleaut32: Strip trailing decimal zeroes when rounding a number in VarFormat. 2009-05-14 17:22:34 +02:00
Alexandre Julliard d1de5f37d0 wininet: Get rid of the SSL-specific read-ahead buffer. 2009-05-14 16:55:29 +02:00
Alexandre Julliard bb5d973127 wininet/tests: Add a test for reading chunked data. 2009-05-14 16:49:19 +02:00
Alexandre Julliard 3d02c42b39 wininet: Add a read-ahead buffer to allow InternetQueryDataAvailable to return the right values in chunked mode. 2009-05-14 16:45:38 +02:00
Alexandre Julliard e531ccd6b0 wininet: Centralize detection of chunked mode and add a flag for it in the http request structure. 2009-05-14 16:42:44 +02:00
Stefan Dösinger 0123f81ce5 wined3d: Centralize WINED3DSPDM_SATURATE handling.
Besides the cleanup this patch will help to implement D3DSPDM_PARTIALPRECISION 
with GL_NV_vertex_program2_option / GL_NV_fragment_program_option.
2009-05-14 14:27:33 +02:00
Stefan Dösinger aeddd2da63 wined3d: Fix remaining incorrect dst register getters. 2009-05-14 14:27:25 +02:00
Stefan Dösinger bcb20ae96c wined3d: Fix a few more hardcoded pixel shader registers. 2009-05-14 14:27:19 +02:00
Stefan Dösinger 2327e316a2 wined3d: Tidy up pshader_hw_texreg2rgb and friends. 2009-05-14 14:27:14 +02:00
Stefan Dösinger 05cc344e7d wined3d: Tidy up pshader_hw_dp2add. 2009-05-14 14:27:07 +02:00
Nikolay Sivov 89da35b1d9 comctl32/treeview: Fix TreeView_* macros. 2009-05-14 14:26:44 +02:00
Paul Vriens e7f4f3b69c inetcomm: Prevent possible dereferences (Coverity). 2009-05-14 11:14:31 +02:00
Jacek Caban 81a9f4a357 urlmon: Use PI_MIMEVERIFICATION in Binding object. 2009-05-14 11:14:11 +02:00
Jacek Caban b23ccb1303 urlmon: Added PI_MIMEVERIFICATION tests. 2009-05-14 11:14:06 +02:00
Jacek Caban 299ce6c18e urlmon: Added PI_MIMEVERIFICATION support. 2009-05-14 11:14:00 +02:00
Aric Stewart daab4e2721 msctf: Map out currently missing interfaces. 2009-05-14 11:13:52 +02:00
Vincent Povirk abae88a825 gdiplus: Add string format traces. 2009-05-14 11:13:44 +02:00
Vincent Povirk 0f80aa8816 gdiplus: Add a trace to GdipMeasureString. 2009-05-14 11:13:35 +02:00
Vincent Povirk 3dd5ce7874 gdiplus: Add a trace to GdipDrawString. 2009-05-14 11:13:29 +02:00
Paul Vriens 82f22bbaee wininet/tests: Fix some test failures on systems with IE6 or older. 2009-05-14 11:13:06 +02:00
Henri Verbeet 318fb7036b wined3d: Add missing GL locking to test_pbo_functionality(). 2009-05-14 11:12:57 +02:00