Commit Graph

30905 Commits

Author SHA1 Message Date
Aric Stewart a41e77448c gdi32: Japanese Windows had a default fallback Font SystemLink of Microsoft Sans Serif. Implement that for Japanese. 2008-02-19 14:56:22 +01:00
Stefan Dösinger 22f379ccac d3d9: Some Windows drivers do not like reversed fog.
The fog test used start = 0.9 and end = 0.1. This is perfectly ok in
theory, but some Windows drivers do not like it. Since this test tests
how fog is calculated with Vertex and Pixel shaders put the fog range in
the normal order(start = 0.1, end = 0.9), this fixes a number of fog
failures on ATI cards on Windows.
2008-02-19 14:48:34 +01:00
Stefan Dösinger 1a906aace7 d3d9: Do not expect consistent failures.
The drivers for some radeon cards are not prepared for the things the
fixed function type test does and fail inconsistently. Thus skip the
color comparison if one of the two draws fails, and do not write an
extra complaint about the inconsistency
2008-02-19 14:48:20 +01:00
Stefan Dösinger 27dd3428d7 d3d9: Add a stencil+culling test. 2008-02-19 14:48:08 +01:00
Stefan Dösinger f952419651 wined3d: Enable the texcoord init workaround on radeon HD cards on MacOS. 2008-02-19 14:47:59 +01:00
Stefan Dösinger e40bb4a8c3 wined3d: Create a VBO before returning memory.
The state manager calls GetMemory before it calls PreLoad on the VBO,
and PreLoad depends on finding the VBO in the strided vertex structure.
This can cause problems on the first draw which creates the vertex
buffer, because the first PreLoad creates the vbo and attempts to
convert with an incorrect strided structure.
2008-02-19 14:47:51 +01:00
Tony Wasserka 7dec20d84a d3dx9: Implement D3DXGetDriverLevel. 2008-02-19 14:39:56 +01:00
Tony Wasserka df0a694f9e d3dx9: Start implementation of d3dx9_32, d3dx9_33, d3dx9_34 and d3dx9_35. 2008-02-19 14:35:05 +01:00
Tony Wasserka e4866622cb d3dx9: Start implementation of d3dx9_31. 2008-02-19 14:34:17 +01:00
Tony Wasserka 2aa1505ab3 d3dx9: Start implementation of d3dx9_28, d3dx9_29 and d3dx9_30. 2008-02-19 14:32:55 +01:00
Tony Wasserka 409b19b910 d3dx9: Start implementation of d3dx9_26 and d3dx9_27. 2008-02-19 14:32:17 +01:00
Tony Wasserka e9c16391c2 d3dx9: Start implementation of d3dx9_25. 2008-02-19 14:31:25 +01:00
Tony Wasserka 6f834d353c d3dx9: Start implementation of d3dx9_24. 2008-02-19 14:29:37 +01:00
Alistair Leslie-Hughes 72e70a0122 msxml3: Implement IXMLDOMText length property. 2008-02-19 14:17:33 +01:00
Alistair Leslie-Hughes e2ac47a4f1 msxml3: Implemented IDispatch for IXMLDOMDocument2. 2008-02-19 14:16:18 +01:00
Alistair Leslie-Hughes aa284e7e76 msxml3: Implemented IDispatch for IXMLDocument. 2008-02-19 14:15:05 +01:00
Alistair Leslie-Hughes c75df9b842 msxml3: Implemented IDispatch for IXMLElement. 2008-02-19 14:14:57 +01:00
Alistair Leslie-Hughes a6eb94f380 msxml3: Implemented IDispatch for IXMLDOMNodeList. 2008-02-19 14:14:47 +01:00
Alistair Leslie-Hughes 39b2f0fd83 msxml3: Implemented IDispatch for IXMLDOMParseError. 2008-02-19 14:14:37 +01:00
Alistair Leslie-Hughes 5fb8b2f3c1 msxml3: Implemented IDispatch for IXMLDOMNamedNodeMap. 2008-02-19 14:14:25 +01:00
Alistair Leslie-Hughes b0783a3d94 msxml3: Implemented IDispatch for IXMLDOMEntityReference. 2008-02-19 14:14:16 +01:00
Alistair Leslie-Hughes fb08f209e1 msxml3: Implemented IDispatch for IXMLDOMElement. 2008-02-19 14:14:06 +01:00
Alistair Leslie-Hughes f02505ebfb msxml3: Implemented IDispatch for IXMLDOMDocumentFragment. 2008-02-19 14:13:54 +01:00
Alistair Leslie-Hughes 14705ad8f5 msxml3: Implemented IDispatch for IXMLDOMComment. 2008-02-19 14:13:37 +01:00
Alistair Leslie-Hughes 2ad03e8d07 msxml3: Implemented IDispatch for IXMLDOMCDATASection. 2008-02-19 14:13:23 +01:00
Alistair Leslie-Hughes 9fecdccc63 msxml3: Implemented IDispatch for IXMLDOMProcessingInstruction. 2008-02-19 14:13:12 +01:00
Alistair Leslie-Hughes 4a053e66ce msxml3: Implemented IDispatch for IXMLDOMSchemaCollection. 2008-02-19 14:12:56 +01:00
Alistair Leslie-Hughes 003beeafb9 msxml3: Implemented IDispatch for IXMLDOMText. 2008-02-19 14:12:06 +01:00
Jeff Latimer c0700eeff3 pdh: Pass parameters through to PdhLookupPerfIndexByNameW for checking. 2008-02-19 14:11:54 +01:00
Rob Shearman 99bde8b0b4 shdocvw: The WINAPI modifier on function pointers should become before the '*' for portability. 2008-02-19 14:11:45 +01:00
Rob Shearman dfda3c4dc8 d3d9: Fix copy and paste error in reset_enum_callback.
vertex_desc.Pool should obviously be used in the 
WINED3DRTYPE_VERTEXBUFFER case instead of index_desc.Pool.
2008-02-19 14:11:43 +01:00
Rob Shearman c6c205a1d5 avifil32: Simplify a comparison in AVIBuildFilterW. 2008-02-19 14:11:39 +01:00
Roderick Colenbrander 28464f9689 wined3d: Fix lack of indent in PreLoad. 2008-02-19 13:39:25 +01:00
Roderick Colenbrander ef21f1e85e wined3d: The base RealizePalette isn't needed anymore. 2008-02-19 13:39:25 +01:00
Roderick Colenbrander 48275308ee wined3d: Add a GL specific RealizePalette which also updates the drawable. 2008-02-19 13:39:25 +01:00
Roderick Colenbrander 61c82f8069 wined3d: Add a GDI version of RealizePalette.
The base version won't suffice anymore as it is not able to upload
palette changes to the drawable in an efficient way for both GDI and
GL. Further the LoadLocation code in RealizePalette isn't needed for
the GDI version as in all cases it works on system memory.
2008-02-19 13:39:25 +01:00
James Hawkins 123602df78 msi: Remove invalid FIXMEs. 2008-02-19 13:39:25 +01:00
James Hawkins 7cf6be8aeb msi: Return ERROR_INVALID_PARAMETER if the context is machine and szUserSid is non-NULL. 2008-02-19 13:39:25 +01:00
James Hawkins 4ee1745e81 msi: Validate the dwOptions parameter of MsiSourceListSetInfo. 2008-02-19 13:39:25 +01:00
James Hawkins 95ef6a1fbc msi: Simplify the MEDIAPACKAGEPATH and DISKPROMPT cases. 2008-02-19 13:39:25 +01:00
James Hawkins fe987103fb msi: Return the results from OpenSourceKey. 2008-02-19 13:39:25 +01:00
James Hawkins d37ac289db msi: Return ERROR_UNKNOWN_PATCH if dwOptions contains MSICODE_PATCH. 2008-02-19 13:39:25 +01:00
James Hawkins f83d049888 msi: Validate the szProduct parameter of MsiSourceListSetInfo. 2008-02-19 13:39:25 +01:00
James Hawkins 10be16f33a msi: Add tests for MsiSourceListSetInfo. 2008-02-19 13:39:25 +01:00
Francois Gouget 1fa0e443e3 wininet/tests: Don't include the trailing '\0' in dwHeadersLength otherwise HttpSendRequestEx() sends it too which some servers object to. 2008-02-19 13:39:25 +01:00
Francois Gouget abfa73b5c1 wininet: Document HttpAddRequestHeadersW()'s handling of the trailing '\0'. Fix tracing of the corresponding header strings as they may not be '\0' terminated. 2008-02-19 13:39:24 +01:00
Francois Gouget 7a585f3c37 advapi32/tests: Check whether RegGetValue() '\0'-terminates the buffer when retrieving a zero-byte string value. 2008-02-19 13:39:24 +01:00
Francois Gouget 6843da68e7 advapi32/tests: Remove an obsolete comment: Wine's on-disk registry format now supports string values with no trailing '\0'. 2008-02-19 13:39:24 +01:00
Francois Gouget 4a7bedfe75 msi: Use 'HKCU\Software\Microsoft\MS Setup (ACME)' as a source for the default user and company names before falling back to the RegisteredXXX values. Fix the conformance test accordingly. 2008-02-19 13:39:24 +01:00
Michael Stefaniuc e9a8e6a426 gdi32: Move EnumFonts16 and EnumFontFamilies16 to gdi16.c. 2008-02-19 13:39:24 +01:00
Rob Shearman 3055239f69 advpack: Fix buffer overrun in convert_file_list. 2008-02-19 13:39:24 +01:00
Rob Shearman 9b5d3677df msi: Remove some unused functions. 2008-02-19 13:39:24 +01:00
Rob Shearman 3f4eb28bf5 mciwave: Fix the character count passed to GetTempPathW in create_tmp_file. 2008-02-19 13:39:24 +01:00
Rob Shearman 608ac1e828 advapi32: Fix the AccessCheck tests so that the ACCESS_SYSTEM_SECURITY test now runs (when the user has the Security privilege).
Duplicate the token at SecurityImpersonation impersonation level instead
of SecurityIdentification, otherwise the call to RtlAdjustPrivilege
fails on Windows.
2008-02-19 13:39:24 +01:00
Rob Shearman 9ad684b426 comdlg32: Fix the character length passed into GetDlgItemTextW in PRINTDLG_PS_UpdateDlgStructW. 2008-02-19 13:39:24 +01:00
Rob Shearman ff527875d9 comdlg32: Fix potential buffer overrun of lpxx->lfFaceName in CFn_WMCommand. 2008-02-19 13:39:24 +01:00
Rob Shearman e1affcc55e browseui: Fix typo in declaration of empty_string in set_buffer. 2008-02-19 13:39:24 +01:00
Rob Shearman 719cd82f35 wininet: Fix potential buffer overrun in HttpQueryInfoA.
If HTTP_QUERY_CUSTOM is specified then the buffer contains a
null-terminated string on input and data of length len on output. The
code wasn't taking into account that the input len could be less than
the length of the string and thus could result in the allocated buffer
being overrun with the call to WideCharToMultiByte.
2008-02-19 13:39:24 +01:00
Mikołaj Zalewski 39dce04658 devenum: Add Polish translation. 2008-02-19 13:39:24 +01:00
Mikołaj Zalewski b536702b60 devenum: Convert resource file to UTF-8. 2008-02-19 13:39:24 +01:00
Alexander Dorofeyev 5346039d5a wined3d: Take alpha from device palette entry for d3d 8 and later.
Adds support for D3D >= 8 style palettes that contain alpha. This fixes
rendering problems in games like Commandos 3 and Madden NFL 2004.
2008-02-19 13:39:24 +01:00
Alexander Dorofeyev 74c380cb7b ddraw/tests: Add test for palette handling in IDirect3DTexture_Load. 2008-02-19 13:39:24 +01:00
Alexander Dorofeyev cfa40a22c9 ddraw/tests: Split d3d1 initialization and destruction into separate functions.
Slight rewrite to make creating additional D3D1 tests easier.
2008-02-19 13:39:23 +01:00
Alexander Dorofeyev ed44f9d130 ddraw: Fix palette handling in IDirect3DTexture_Load.
This fixes a potential refcounting problem and makes the function fail with NULL
destination texture's palette and non-NULL source palette like it does on native.
2008-02-19 13:39:17 +01:00
Alexander Dorofeyev ddd0ec1670 ddraw/tests: Add test for branch instruction with non-zero offset. 2008-02-19 12:06:50 +01:00
Alexander Dorofeyev 4981eda895 ddraw: Fix executebuffer branching with non-zero offset.
Fixes a crash in Moto Racer 2.
2008-02-19 12:06:38 +01:00
Roderick Colenbrander 1079f37407 wined3d: When DDCAPS_ALLOW256 is set, palette entry 0 and 255 are filled with black and white. 2008-02-19 12:06:25 +01:00
Roderick Colenbrander c937634376 gdi32: GetPaletteEntries should not filter peFlags (test included). 2008-02-19 12:06:10 +01:00
Alexandre Julliard 1fa9e526ff gdi32: Avoid calling GetObject16 from 32-bit code. 2008-02-18 18:07:51 +01:00
Alexandre Julliard 30e2cb1616 gdi32: Move a few more gdiobj functions to gdi16.c. 2008-02-18 17:53:43 +01:00
Alexandre Julliard aa500d266f gdi32: Get rid of the 16-bit GetObject functions. 2008-02-18 17:50:35 +01:00
Alexandre Julliard a306af0c62 gdi32: Reimplemented GetObject16 and moved it to gdi16.c. 2008-02-18 17:46:29 +01:00
Alexandre Julliard 1fdae2b2a5 gdi32: Reimplemented IsGDIObject16 and moved it to gdi16.c. 2008-02-18 17:26:31 +01:00
Alexandre Julliard 125793df0e winex11: Move the raising of windows on SetFocus to the X11 driver where it belongs. 2008-02-18 17:22:51 +01:00
Maarten Lankhorst 2472e81cea dssenh: Add initial stub dll. 2008-02-18 15:26:37 +01:00
Maarten Lankhorst e11826f553 softpub: Add initial stub dll. 2008-02-18 15:26:01 +01:00
Maarten Lankhorst b3a9699ab3 slbcsp: Add initial stub dll. 2008-02-18 15:24:57 +01:00
Maarten Lankhorst 322d4cab1e sccbase: Add initial stub dll. 2008-02-18 15:24:03 +01:00
Maarten Lankhorst c438d23902 mssip32: Add initial stub dll. 2008-02-18 15:22:42 +01:00
Maarten Lankhorst 7c3d24bf5c initpki: Add initial stub dll. 2008-02-18 15:21:33 +01:00
Maarten Lankhorst e4576c807b gpkcsp: Add initial stub dll. 2008-02-18 15:20:42 +01:00
Maarten Lankhorst f930821779 cryptdlg: Add initial stub dll. 2008-02-18 15:06:52 +01:00
Alexandre Julliard 8f15dd4d4e user32: Rewrite SWP_DoOwnedPopups to take into account topmost windows. 2008-02-18 15:00:38 +01:00
Jeff Latimer 75adca5385 pdh: Remove unnecessary test done in PdhLookupPerfNameByIndexW. 2008-02-18 14:22:31 +01:00
Jeff Latimer 33c386f7fe pdh: Check for size > 0 but no buffer. 2008-02-18 14:22:00 +01:00
Jeff Latimer 52f03de951 pdh/tests: Add test for size > 0 but no buffer. 2008-02-18 14:21:46 +01:00
Francois Gouget 84acc6f9c1 inetcomm: Fix compilation on systems that don't support nameless unions. 2008-02-18 14:21:33 +01:00
Roderick Colenbrander c2d978410f wined3d: Add separate alpha blend support. 2008-02-18 14:19:57 +01:00
Roderick Colenbrander a29584b34f wined3d: Add SURFACE_BUSY support to *_BltFast. 2008-02-18 14:19:44 +01:00
Roderick Colenbrander 5437cb01f1 wined3d: Add SURFACE_BUSY support to *_Blt. 2008-02-18 14:19:37 +01:00
Paul Vriens ba4669860e advapi32/tests: Skip tests when our language isn't LANG_ENGLISH. 2008-02-18 14:13:18 +01:00
Maarten Lankhorst c6e61fbf89 user32: Fix a message test that would only pass on wine. 2008-02-18 14:11:17 +01:00
Francois Gouget 331bac4d00 mscms/tests: The presence of an ICM file in the color directory has nothing to do with the presence of a registered RGB profile. 2008-02-18 14:10:44 +01:00
Francois Gouget e681508591 mscms/tests: EnumColorProfiles() should not fail even if there are no ICM files in the 'color directory'. 2008-02-18 14:10:41 +01:00
Rob Shearman c627a81a76 shell32: Fix the logic in Control_LoadApplet determining when to use CPL_INQUIRE and when to use CPL_NEWINQUIRE.
Previously, the code would fail to get the name of an applet that didn't 
return an icon for CPL_NEWINQUIRE and didn't return set either idName or 
idIcon to a non-zero value for CPL_INQUIRE.

Fix this by sending CPL_INQUIRE first and loading any strings or icon 
specified and then only fall back to CPL_NEWINQUIRE if any of the 
required members were zero (i.e. CPL_DYNAMIC_RES) and then only fill in 
these fields.
2008-02-18 14:10:20 +01:00
Divan Burger c8b626fa1d comdlg32: Fix memory leak in colour dialog. 2008-02-18 14:10:12 +01:00
Alexandre Julliard 3d418add04 kernel32: Fixed the active processor mask on Mac OS. 2008-02-18 14:09:49 +01:00
Gerald Pfeifer 8a590e8daa shell32: Adjust a format specifier and remove a redundant range check in ILGetDisplayNameExW(). 2008-02-18 13:37:15 +01:00
Stefan Dösinger 989d283000 wined3d: Detect and work around the MacOS Geforce 8 PBO brokeness. 2008-02-18 13:36:58 +01:00
Stefan Dösinger b8c613196d wined3d: Fix a syntax error in the ARB vertex program offset shader.
As some Mesa developers pointed out, the GL_ARB_vertex_program grammar
does not allow an immediate value as source argument in ARL. Most
compilers accept it, but since it is not the purpose of the test
program to test for this replace it with a proper constant.
2008-02-18 13:34:37 +01:00