Commit Graph

38401 Commits

Author SHA1 Message Date
Ricardo Filipe 1c55ba0b83 comctl32: Removed dead assignments (llvm/clang). 2008-11-25 13:07:35 +01:00
Stefan Dösinger 2f98fce9cf wined3d: Put the ps compile parameters into the glsl program hashmap.
This avoids the double search for a pixel shader. The pixel shader
compilation parameter structure is recorded in the GLSL program
hashmap, together with the WineD3D pixel shader.
2008-11-25 13:07:23 +01:00
Stefan Dösinger 33482a732e wined3d: Enable blue = 1.0 fixup for D3DFMT_V8U8.
The dx7 sdk demos need this.
2008-11-25 13:07:14 +01:00
Stefan Dösinger 0bf32b12f5 wined3d: Add the ability to duplicate GL pixel shaders.
Some stateblock parameters have to be compiled into the GL pixel
shader code, like lines for pixelformat fixups. This leads to problems
when applications switch those settings, requiring a recompilation of
the shader. This patch enables wined3d to have multiple GL shaders for
a D3D shader(pixel shaders only so far) to handle this more
efficiently.
2008-11-25 13:07:03 +01:00
Stefan Dösinger aed9305c78 wined3d: Store shader IDs in the vs and ps impl structures. 2008-11-25 13:06:45 +01:00
Stefan Dösinger dd8905543b wined3d: Pass some stateblock values around directly.
This was suggested by Ivan quite a while ago, and we need it to better
handle conflicting texture format corrections and similar stateblock
value changes which until now required a recompilation of the entire
shader
2008-11-25 13:06:35 +01:00
Stefan Dösinger ff767f4984 wined3d: Make the shader backend call CompileShader.
A number of considerations contribute to this:

1) The shader backend knows best which shader(s) it needs. GLSL needs
both, arb only one
2) The shader backend may pass some parameters to the compilation
code(e.g. which pixel format fixup to use)
3) The structures used in (2) are different in vs and ps, so a
baseshader::Compile won't work
4) The structures in (2) are wined3d-private structures, so
having a public method in the vtable won't work(its a bad idea
anyway).
2008-11-25 13:06:23 +01:00
Maarten Lankhorst 83045e5cc8 msvcrt: Add CDECL to all cdecl functions. 2008-11-25 12:33:39 +01:00
Maarten Lankhorst 269600bbed ntdll: Make 64-bits wine only able to load amd64 binaries. 2008-11-25 12:33:28 +01:00
Huw Davies 8355eeaa21 ole32: Defer releasing the delegate interfaces until after we return from an OnClose notification. 2008-11-25 12:17:27 +01:00
Huw Davies 8730bf66c9 ole32: Factor out the code to release the delegate interfaces. 2008-11-25 12:17:24 +01:00
Alexandre Julliard af8bb2e922 ntdll: Add support for virtual write watches. 2008-11-25 12:07:35 +01:00
Alexandre Julliard 81b9ca5dbd ntdll: Pass the error code to VIRTUAL_HandleFault, and allow it to ignore the exception.
Also rename it to virtual_handle_fault for consistency.
2008-11-25 12:02:16 +01:00
Alexandre Julliard aece8e0700 ntdll: Check for valid memory view size directly in VIRTUAL_FindView. 2008-11-25 11:58:50 +01:00
Alistair Leslie-Hughes 3c88a2f060 shdocvw: Silence invalid QueryInterface FIXME. 2008-11-25 11:56:17 +01:00
Paul Vriens ee1f1bfb3f advapi32/tests: Fix a test failure on NT4. 2008-11-25 11:56:08 +01:00
Michael Stefaniuc ec1c9492b0 gdi32: Remove some superfluous casts. 2008-11-25 11:56:02 +01:00
Michael Stefaniuc b1a54bf7a3 msi: Remove casts of void pointers. 2008-11-25 11:55:56 +01:00
Francois Gouget 0ee5d57079 version: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:13 +01:00
Francois Gouget ec6f88b5c4 wineoss: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:10 +01:00
Francois Gouget 523679666d wininet: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:08 +01:00
Francois Gouget 8bd8609af8 wintrust: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:06 +01:00
Francois Gouget 848b5092ba msxml3: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:03 +01:00
Francois Gouget 31df4d42b7 user32: Remove WINAPI/CALLBACK on static functions where not needed. 2008-11-25 11:50:00 +01:00
Francois Gouget c0e271c4de wined3d: Remove WINAPI on static functions where not needed. 2008-11-25 11:49:57 +01:00
Francois Gouget a3973e0c47 shlwapi: Remove WINAPI on static functions where not needed. 2008-11-25 11:49:54 +01:00
Ricardo Filipe abe85bcb99 quartz: Removed dead code and variables (llvm/clang). 2008-11-25 11:49:51 +01:00
Vincent Povirk b7fe5e0aa5 setupapi: Implement FLG_PROFITEM_GROUP. 2008-11-24 15:07:11 +01:00
Roderick Colenbrander 273357264a wined3d: Add registry key for overriding the pci vendor id. 2008-11-24 14:52:32 +01:00
Roderick Colenbrander 52d59718c7 wined3d: Add registry key for overriding pci device id. 2008-11-24 14:52:25 +01:00
Vincent Pelletier f442bafb8a wined3d: Add detection for NVIDIA's GTX 280. 2008-11-24 14:41:58 +01:00
Hwang YunSong(황윤성) 04e139a1e6 appwiz.cpl: Updated Korean resource. 2008-11-24 14:41:34 +01:00
Hwang YunSong(황윤성) ca790a6e65 crypt32: Updated Korean resource. 2008-11-24 14:41:24 +01:00
Lei Zhang aacb511da1 advapi32: Allow opening HKEY_CLASSES_ROOT subkeys with backslash prefix on NT. 2008-11-24 14:38:56 +01:00
Ricardo Filipe a76d38d38e advapi32: Removed dead assignments (llvm/clang). 2008-11-24 14:37:32 +01:00
Vincent Povirk f3cad17a9b gdiplus: Implement CachedBitmap based on Image. 2008-11-24 14:36:50 +01:00
Reece Dunn ef0069cbf5 winealsa: Calculate the delay correctly as snd_pcm_delay is not reliable in this context. 2008-11-24 14:36:01 +01:00
Jacek Caban 849c36ba8e jscript: Set script object instead of ctx lcid in SetScriptSite. 2008-11-24 14:34:09 +01:00
Juan Lang 7f246421d1 rsaenh: Fix some test failures on older versions of Windows. 2008-11-24 14:34:02 +01:00
Francois Gouget 1c87e4664f d3d9: Remove WINAPI on static functions where not needed. 2008-11-24 14:33:06 +01:00
Francois Gouget 001288ecae d3d9: Remove IDirect3DDevice9Impl_GetFrontBuffer() as it is unused. 2008-11-24 14:33:02 +01:00
Francois Gouget 9c5e97aa71 Assorted spelling fixes. 2008-11-24 14:25:10 +01:00
Hans Leidekker 8b15fa4b2a gdiplus: Improve GdipGetImageRawFormat stub. 2008-11-24 14:25:10 +01:00
Hans Leidekker 6122c77b9d gdiplus: Add stub implementations of GdipCreateHalftonePalette and GdipImageForceValidation. 2008-11-24 14:25:10 +01:00
Hans Leidekker 5ce729a4eb gdiplus: Add stub implementations of GdipBeginContainer2 and GdipEndContainer. 2008-11-24 14:25:10 +01:00
Hans Leidekker df93d19d3d gdiplus: Return success from the GdipSaveGraphics and GdipRestoreGraphics stubs. 2008-11-24 14:25:10 +01:00
Hans Leidekker 1e170c9b85 gdiplus: Improve GdipMeasureString. 2008-11-24 14:25:10 +01:00
Hans Leidekker 80a54ca53f gdiplus: Implement GdipGetFontCollectionFamilyCount and GdipGetFontCollectionFamilyList. 2008-11-24 14:25:10 +01:00
Hans Leidekker 2b8c6fe4db gdiplus: Add a stub implementation of GdipPrivateAddMemoryFont. 2008-11-24 14:25:10 +01:00
Hans Leidekker ea323d1349 gdiplus: Implement GdipNewPrivateFontCollection and GdipDeletePrivateFontCollection. 2008-11-24 14:25:10 +01:00
Hans Leidekker c04b7c5b0f gdiplus: Implement GdipGetLineSpacing. 2008-11-24 14:25:10 +01:00
Hans Leidekker 67a9170aca gdiplus: Add a stub implementation of GdiplusNotificationHook and GdiplusNotificationUnhook. 2008-11-24 14:25:10 +01:00
Francois Gouget fcfe436de5 ddraw: Remove WINAPI on static functions where not needed. 2008-11-24 14:25:09 +01:00
Francois Gouget d3c7b2f7cc d3d8: Remove WINAPI on static functions where not needed. 2008-11-24 14:18:42 +01:00
Francois Gouget 451f642e16 crypt32: Remove WINAPI on static functions where not needed. 2008-11-24 14:18:42 +01:00
Francois Gouget 7e4aa49387 comdlg32: Remove WINAPI on static functions where not needed. 2008-11-24 14:18:42 +01:00
Francois Gouget 0a9c529072 atl: Remove WINAPI on static functions where not needed. 2008-11-24 14:18:42 +01:00
Andrew Nguyen 3909672f59 jscript: Implement the String.toUpperCase() method. 2008-11-24 14:18:41 +01:00
Andrew Nguyen c4148203c6 jscript: Implement the String.toLowerCase() method. 2008-11-24 14:18:41 +01:00
Peter Dons Tychsen e83b62f3d0 winedos: Fixed memory resize function which returned paragraphs in some cases instead of bytes. 2008-11-24 14:18:41 +01:00
Alexandre Julliard a488ee8e7a kernel32: Fix the base DOS memory address when the low 64K are not accessible. 2008-11-24 14:18:41 +01:00
Kai Blin 4dedbd404c dbghelp: Upgrade FIXME to ERR. 2008-11-24 14:18:41 +01:00
Christian Costa 632d34651f wined3d: Implement CONVERT_CK_RGB24 in d3dfmt_convert_surface. 2008-11-24 14:18:41 +01:00
Christian Costa 40fff317ea d3dxof: Finish support for multi-dimensional array. 2008-11-24 14:18:41 +01:00
Christian Costa eaaced6cc5 d3dxof: Small clean-up. 2008-11-24 14:18:41 +01:00
Christian Costa 607062f3c3 d3dxof: Support multi-dimentional array in templates. 2008-11-24 14:18:41 +01:00
Jacek Caban cc8511678d mshtml: Skip tests on old IE as soon as possible. 2008-11-24 13:43:43 +01:00
Jacek Caban 60d12a3adb mshtml: Skip tests on old IE as soon as possible. 2008-11-24 13:43:40 +01:00
Jacek Caban 3dbeb15eac mshtml: Call necko's SetUploadStream from wrapper's SetUploadStream. 2008-11-24 13:43:38 +01:00
Juan Lang afc7a79897 crypt32: Implement CryptFormatObject for the Netscape string OIDs. 2008-11-24 13:43:32 +01:00
Alexandre Julliard e37f8f23f1 shdocvw: Fix the computation of the default extents. 2008-11-21 17:07:21 +01:00
Alexandre Julliard bd8e14bedd user32/tests: Only test the window caption status if there is a foreground window. 2008-11-21 15:53:25 +01:00
Alistair Leslie-Hughes 9643411c32 version: VerQueryValueA/W allow blank and NULL strings. 2008-11-21 13:53:12 +01:00
Alistair Leslie-Hughes 01536b5003 mshtml: Implement IHTMLDocument2_get_images. 2008-11-21 12:50:30 +01:00
Alistair Leslie-Hughes 8745dd26d6 mshtml: Implement IDispatch for IHTMLCurrentStyle. 2008-11-21 11:54:22 +01:00
Alistair Leslie-Hughes 71eac71e16 mshtml: Implement IHTMLStyle get/put posTop. 2008-11-21 11:54:18 +01:00
Andrew Riedi 1425b1b9ef user32: Fix the loading of stretched cursors.
Based on patches by Henri Verbeet.
2008-11-21 11:53:22 +01:00
Andrew Talbot fdba8b8593 wined3d: Sign-compare warnings fix. 2008-11-21 11:29:12 +01:00
Juan Lang cf9f9af6d0 crypt32: Pass next data pointer when decoding a CRL dist point. 2008-11-21 11:29:08 +01:00
Ricardo Filipe d27fa4fcae atl: Remove dead store (llvm/clang). 2008-11-21 11:28:58 +01:00
Ricardo Filipe 66019452f4 comctl32: Remove dead stores (llvm/clang). 2008-11-21 11:28:51 +01:00
Ricardo Filipe 6c24fb1ca8 comctl32: Removed dead increment (llvm/clang). 2008-11-21 11:28:45 +01:00
Ricardo Filipe 422cd0bc3a comctl32: Removed dead increment (llvm/clang). 2008-11-21 11:28:40 +01:00
Ricardo Filipe 5630124896 comctl32: Removed dead store (llvm/clang). 2008-11-21 11:28:36 +01:00
Ricardo Filipe 66b732e4f8 sane.ds: Check dead stored status (llvm/clang). 2008-11-21 11:28:28 +01:00
Austin English 8efc3fec1d msvcrt: Fix a compiler warning. 2008-11-21 10:04:03 +01:00
Paul Vriens a413c38a7c user32/tests: Fix a few test failures on Win9x. 2008-11-21 10:03:17 +01:00
Paul Vriens cac3cb9036 comdlg32/tests 2/2: Fix a test failure on Win9x. 2008-11-21 10:02:20 +01:00
Paul Vriens c9b8260056 comdlg32/tests 1/2: Fix a test failure on XP and W2K3. 2008-11-21 10:02:13 +01:00
Francois Gouget b700a1b11a advapi32/tests: Check how the registry APIs handle non-terminated strings. 2008-11-21 10:01:35 +01:00
Francois Gouget ece65a4828 advapi32/tests: Fix the line number reported by test_hkey_main_Value_[AW](). 2008-11-21 10:01:25 +01:00
Francois Gouget 9ce2bd20e4 advapi32/tests: Cleanup test_hkey_main_Value_[AW]().
Fix a byte vs. WCHAR count issue in test_hkey_main_Value_W().
Check that RegQueryValueEx[AW]() did not write more data than expected.
2008-11-21 10:01:18 +01:00
Francois Gouget b0cf129c98 ntdll/tests: Remove a redundant 'if'. 2008-11-21 10:01:07 +01:00
Juan Lang 9d4ab48750 crypt32: Formatted bits are always in a single line, regardless of dwFormatStrType. 2008-11-21 10:00:01 +01:00
Juan Lang 57fde4e8a2 crypt32: Check registered CryptFormatObject functions before using default hex format. 2008-11-21 09:59:57 +01:00
Juan Lang 2ca48d072e crypt32: Decoded unicode name value strings should be NULL-terminated. 2008-11-21 09:59:13 +01:00
Alexandre Julliard 075d24526f urlmon/tests: Don't expect IHttpNegotiate2 queries if the interface is not supported. 2008-11-20 23:06:27 +01:00
Alexandre Julliard c369759cc5 shell32/tests: Fix the systray tests on Win9x and NT4. 2008-11-20 22:56:52 +01:00
Alexandre Julliard f1d0f81d26 rpcrt4/tests: Fix test failures on Win9x. 2008-11-20 22:44:46 +01:00
Alexandre Julliard 58def9653e mshtml/tests: Avoid crashing on test failure. 2008-11-20 22:35:33 +01:00
Alexandre Julliard 752416f7c4 kernel32/tests: Fix the mailslot tests on Win9x. 2008-11-20 21:59:26 +01:00
Alexandre Julliard d523c86a1b kernel32/tests: Fix test failures on Win9x and NT4.
Get rid of most of the macros that make it hard to handle special cases.
2008-11-20 21:39:48 +01:00
Alexandre Julliard 424b5e61f0 user32/tests: Allow the foreground window to be null in the window tests. 2008-11-20 20:51:06 +01:00
Alexandre Julliard 3359f4d4e5 user32/tests: Fix some of the sysparams tests on Win9x and NT4. 2008-11-20 20:46:54 +01:00
Alexandre Julliard dcd8cf7214 user32/tests: Fix the monitor tests on NT4. 2008-11-20 20:06:46 +01:00
Alexandre Julliard bda507fb58 user32/tests: Fix wildcard directory lists handling for Win9x. 2008-11-20 19:52:03 +01:00
Alexandre Julliard 2032da7d42 user32/tests: Fix the edit margins tests on Win9x. 2008-11-20 18:21:38 +01:00
Alexandre Julliard 4afb1c54c0 user32/tests: Fix the cursor tests on Win9x. 2008-11-20 18:09:10 +01:00
Alexandre Julliard 43a70a68bc user32/tests: The BSF_SENDNOTIFYMESSAGE flag is not supported on NT4. 2008-11-20 18:01:23 +01:00
Hans Leidekker e4f7809cc9 winhttp: Prefer builtin over native. 2008-11-20 15:02:07 +01:00
Ricardo Filipe e5e301b7a5 msxml3: Check some dead store results (llvm/clang). 2008-11-20 14:28:25 +01:00
Alexandre Julliard 8772c5f150 kernel32/tests: Add a couple of tests for write watches. 2008-11-20 14:27:35 +01:00
Henri Verbeet 5ee7536448 dxgi: Implement IDXGIAdapter::GetParent(). 2008-11-20 14:25:18 +01:00
Henri Verbeet ba532a3edb dxgi: Implement IDXGIDevice::GetAdapter(). 2008-11-20 14:25:15 +01:00
Henri Verbeet ba78f072e2 wined3d: Remove some unused code. 2008-11-20 14:25:11 +01:00
Henri Verbeet 8899f3412b wined3d: wined3d_gl.h should be internal to wined3d. 2008-11-20 14:24:56 +01:00
Alistair Leslie-Hughes 4defc2b50a ntoskrnl.exe: Implement MmGetSystemRoutineAddress. 2008-11-20 12:20:50 +01:00
Andrew Talbot bf92d68330 usp10: Sign-compare warnings fix. 2008-11-20 12:18:29 +01:00
Stefan Dösinger 5c79a9f437 wined3d: Rename the fragment ffp desc structures.
This reflects the fact that they describe the fragment pipeline.
The vertex pipeline will use its own structures.
2008-11-20 12:17:45 +01:00
Stefan Dösinger cd011661e6 d3d9: Test psize_min vs psize_max vs psize behavior.
Add a test that checks what happens if D3DRS_POINTSIZE, D3DRS_POINTSIZE_MIN
and POINTSIZE_MAX have conflicting values. D3DRS_POINTSIZE_MAX trumps
D3DRS_POINTSIZE_MIN, and both MIN and MAX clamp the D3DRS_POINTSIZE value if it is
outside of their range.
2008-11-20 12:17:18 +01:00
Stefan Dösinger 234e995bdc wined3d: Make sure the arbfp pipeline replacement constants are loaded.
The code here skipped constant loading when a pixel shader was in use,
and only reloaded them on ffp use if the shader implementation used
ARB too. This way a e.g. texfactor change could get lost if GLSL
shaders are used, and the texfactor changed while a pixel shader was
in use.
2008-11-20 12:16:57 +01:00
A C Hurst ad335b7e7f ntdll: wine_nt_to_unix_file_name() parse string to int instead of cast char, where string may be passed. 2008-11-20 12:16:42 +01:00
Aric Stewart 6c551744ef imm32: Implement ImmInstallIME(W/A). 2008-11-20 12:16:31 +01:00
Paul Vriens bc3484bc20 user32/tests: Don't crash on Win95. 2008-11-20 12:01:27 +01:00
Juan Lang 4f14b030a6 crypt32: Fix failing tests on Win9x/NT4. 2008-11-20 12:01:04 +01:00
Juan Lang 76d2537094 crypt32: Implement CryptFormatObject for szOID_NETSCAPE_CERT_TYPE. 2008-11-20 12:00:57 +01:00
Juan Lang 5eb2a83189 crypt32: Implement CryptFormatObject for szOID_KEY_USAGE. 2008-11-20 12:00:50 +01:00
Alexandre Julliard 80e163eba9 user32/tests: Fix a few more failures in the window test. 2008-11-20 11:57:32 +01:00
Alexandre Julliard 88154cf166 make_makefiles: Add a target to build only the test directories. 2008-11-19 15:31:44 +01:00
Florian Köberle c6adf31841 user32/tests: Test size and minmax of WS_THICKFRAME child. 2008-11-19 15:02:37 +01:00
Florian Köberle b422c4b874 user32/tests: Capture tests should not require no active window. 2008-11-19 14:57:50 +01:00
Henri Verbeet 495fcc72a6 wined3d: Avoid using a stack buffer in a few places in shader_hw_map2gl(). 2008-11-19 14:22:49 +01:00
Henri Verbeet 9b118cc345 wined3d: Give mov & mova their own handler. 2008-11-19 14:22:41 +01:00
Henri Verbeet bd427f58a0 wined3d: Make it more obvious the pshader path in shader_hw_map2gl() doesn't handle opcodes without parameters. 2008-11-19 14:22:34 +01:00
Henri Verbeet 29f2fefc2b wined3d: Fix the cube map coordinates in surface_blt_to_drawable().
I don't see how this can ever have worked properly.
2008-11-19 14:22:29 +01:00
Juan Lang 9f8ae26c13 netapi32: Fix dead stores. 2008-11-19 14:22:11 +01:00
Dmitry Timoshkov 5dfcadd7a3 user32: Do not change focus if the window is no longer active. 2008-11-19 12:16:28 +01:00
Ricardo Filipe 16920c1da7 rpcrt4: Fixed dead increments (llvm/clang). 2008-11-19 12:15:37 +01:00
Ricardo Filipe 68d76db6d4 ntdll: Fixed dead store (llvm/clang). 2008-11-19 12:15:19 +01:00
Ricardo Filipe 50c2cafea9 oleaut32: Fixed dead increment (llvm/clang). 2008-11-19 12:14:58 +01:00
Francois Gouget 681d375136 msxml3: Fix compilation on systems that don't have xsltInit().
Reduce the scope of xsltInit().
Remove an include that was needed only for xsltInit().
2008-11-19 12:09:24 +01:00
Detlef Riekenberg a815677d93 shdocvw/tests: Make the webbrowser test dpi aware, make it pass in wine. 2008-11-19 12:09:17 +01:00
Francois Gouget 0a66633ce3 kernel32: Simplify and optimize create_(system,env)_registry_keys(). 2008-11-19 12:08:22 +01:00
Francois Gouget 24eb38bdd4 kernel32: Fix create_scsi_entry() so it puts properly '\0'-terminated strings in the registry. 2008-11-19 12:08:19 +01:00
Francois Gouget 500be1e8db ntdll/tests: Test how NT(Set, Query)ValueKey() handle non-terminated strings. 2008-11-19 12:08:13 +01:00
Francois Gouget d7d95ca27c ntdll/tests: Fix typos in test_NtQueryValueKey(). 2008-11-19 12:08:04 +01:00
Alexandre Julliard f3e70ee00e ntdll: Get rid of the Wine-specific MEM_SYSTEM flag. 2008-11-18 20:14:46 +01:00
Alexandre Julliard f4eaa15aec kernel32: Moved allocation of the DOS memory area to ntdll. 2008-11-18 20:11:49 +01:00
Damjan Jovanovic 1603a51d4e user32: Handle NULL rectangles in WM_NCCALCSIZE. 2008-11-18 15:52:00 +01:00
Juan Lang 0aca97a247 cryptdlg: Register/unregister the OID functions exported by cryptdlg. 2008-11-18 15:48:49 +01:00