Commit Graph

38992 Commits

Author SHA1 Message Date
Hans Leidekker 63aff890d7 janitorial: Remove unneeded user32 imports. 2008-12-17 11:38:36 +01:00
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +01:00
Stefan Dösinger 704f9ea5d1 wined3d: Get rid of IWineD3DPixelShaderImpl_GenerateShader. 2008-12-16 14:36:25 +01:00
Stefan Dösinger 2aa7a7fe16 wined3d: Avoid loading opengl32.dll.
This confuses applications like Steam, which hook d3d9 and opengl
functions. It sees that the application uses opengl32, but it doesn't
realize that d3d9 is wrapped to opengl. Thus it starts messing around
with wined3d's wgl context. It usually tries to draw geometry with the
context, but cannot deal with some of the obscure extensions we have
activated.
2008-12-16 14:36:17 +01:00
Stefan Dösinger 4bc5e760b6 wined3d: Initialize max_combined_samplers properly.
Otherwise it will be 0 if GL_ARB_multitexture is not available.
2008-12-16 14:36:02 +01:00
Stefan Dösinger 5315b7992d wined3d: Correct a stage number. 2008-12-16 14:34:20 +01:00
Stefan Dösinger 31da3c0578 wined3d: Emulate GL_EXT_fog_coord. 2008-12-16 14:34:11 +01:00
Stefan Dösinger d707f018df wined3d: Remove some needless initializations.
They're not needed, they are handled by the state management anyway.
2008-12-16 14:32:43 +01:00
Stefan Dösinger 4b268c79d7 wined3d: Some GL_EXT_fog_coord prototype fixes. 2008-12-16 14:32:29 +01:00
Stefan Dösinger 0dc0444c14 wined3d: Reinstall the G16R16F format surface load fixup.
We cannot remove this because we still have to load the surface as
RGB. The shader may take care of setting the blue channel to 1.0 now,
but we still get the red and green channels loaded incorrectly if we
don't insert a blue channel before loading.
2008-12-16 14:32:11 +01:00
Stefan Dösinger 6ec741e766 wined3d: Set up the shaders when delaying fixed func applying. 2008-12-16 14:31:39 +01:00
Stefan Dösinger 199a3468bf wined3d: Fake GL_ARB_multitexture. 2008-12-16 14:31:25 +01:00
Andrew Talbot b5081dacc0 user32: Sign-compare warnings fix. 2008-12-16 14:27:50 +01:00
Dan Kegel 72ffe1da67 msvcrt: fread: Exhaust buffered data before using unbuffered data in ascii mode. 2008-12-16 14:23:40 +01:00
Alexander Morozov 902443579f ntoskrnl.exe: Add stubs for Io{Allocate,Get}DriverObjectExtension. 2008-12-16 14:10:53 +01:00
Dylan Smith c87ca3d9e8 richedit: Move implementation of WM_CHAR to its own function. 2008-12-16 14:10:25 +01:00
Dylan Smith e5f5dc60a7 richedit: Removed some unnecessary SendMessage calls to itself. 2008-12-16 14:10:19 +01:00
Dylan Smith c7c2ff1fbc richedit: Move implementation of EM_GETTEXTEX to its own function. 2008-12-16 14:09:47 +01:00
Dylan Smith 4f41972b15 richedit: Move implementation of EM_GETTEXTRANGE to its own function.
The RichEditWndProc_common function is big enough already by handling
all the window messages, so moving code to handle a message to its own
function makes the code more readable.
2008-12-16 14:09:40 +01:00
Jeremy Drake 970a500fb4 oleaut32/tests: Fix double GlobalFree in olepicture tests. 2008-12-16 14:08:55 +01:00
Michael Stefaniuc 1825e371b7 d3dxof/tests: Remove redundant NULL check before HeapFree (Smatch). 2008-12-16 14:08:40 +01:00
Hans Leidekker 425fc8def3 pidgen: Add a placeholder BINK resource.
Adds a binary resource that consists of the string "Wine placeholder
BINK resource" padded with zeroes.
2008-12-16 14:07:36 +01:00
Hans Leidekker efa2fcc073 pidgen: Add stub implementation. 2008-12-16 14:06:03 +01:00
Hans Leidekker 152c249254 hal: Add version resource. 2008-12-16 13:59:03 +01:00
Nikolay Sivov e2615cc059 gdiplus: Fix Font test failure on charset mismatch. 2008-12-16 12:52:38 +01:00
Lei Zhang 7e1b714f74 quartz: Enumerate all the pins on filter and check directions when rendering. 2008-12-16 12:52:32 +01:00
Jacek Caban db5d8a2bd0 mshtml: Fixed IHTMLInputTextElement vtbl and QueryInterface implementation.
Spotted by Andrew Talbot.
2008-12-16 12:52:27 +01:00
Jacek Caban 4eb80d8d51 jscript: Delay setting named info if SCRIPTITEM_GLOBALMEMBER flag is not set. 2008-12-16 12:52:22 +01:00
Henri Verbeet dfe41770e7 d3d8: Add a test for GetVertexShader() with a FVF set. 2008-12-16 12:52:16 +01:00
Henri Verbeet 143fb431e0 wined3d: Fix use_vs() usage in vertexdeclaration(). 2008-12-16 12:52:10 +01:00
Henri Verbeet f3743fb402 wined3d: Shaders will never have a NULL function. 2008-12-16 12:52:04 +01:00
Henri Verbeet 46572f682c wined3d: Refuse to create shaders with a NULL function. 2008-12-16 12:51:49 +01:00
Henri Verbeet 62497e8772 d3d8: Remove unused code.
Also corrects some related comments.
2008-12-16 12:51:40 +01:00
Paul Vriens 9bc409cfcb riched20/tests: Fix test failures on Win9x, WinMe and Wine in win9x mode. 2008-12-16 12:51:31 +01:00
Paul Vriens 1a853abecb comctl32/tests: Destroy the window after the tests. 2008-12-16 12:51:26 +01:00
Paul Vriens 017fee4aa0 msi/tests: Run tests again on Win9x and NT4. 2008-12-16 12:51:20 +01:00
Paul Vriens 5021965d2e rpcrt4/tests: Move function pointer initialization to the init function. 2008-12-16 12:51:16 +01:00
Paul Vriens 1aa9e3846c rpcrt4/tests: Use GetModuleHandle instead of LoadLibrary. 2008-12-16 12:51:12 +01:00
Paul Vriens 99eaf51bb7 xinput1_3/tests: Call FreeLibrary() after tests. 2008-12-16 12:51:08 +01:00
Paul Vriens f4da3fd7ac user32/tests: Destroy the windows after the tests. 2008-12-16 12:51:03 +01:00
Alexandre Julliard ccdfa4941e ntdll: Add support for dynamically generated stub entry points.
Based on a patch by Maarten Lankhorst.
2008-12-16 12:25:07 +01:00
Alexandre Julliard 8a658d7d51 msvcrt: Rename _ftime to avoid conflicts. 2008-12-15 20:08:33 +01:00
Alexandre Julliard e2b3ee535f msvcrt: The __p_* functions are only exported on i386. 2008-12-15 16:20:08 +01:00
Alexandre Julliard b19913ac70 msvcrt: Add a few more *_func functions to replace the __p_* ones. 2008-12-15 16:03:32 +01:00
Alexandre Julliard bcfd7dd3ff msvcrt: The _CI* math functions are only exported on i386. 2008-12-15 15:40:45 +01:00
Henri Verbeet 0a47e1beb4 d3d8: Use the wined3d declaration to retrieve the d3d8 shader in IDirect3DDevice8Impl_GetVertexShader().
This makes it no longer necessary to create a wined3d vertex shader
when the d3d8 vertex shader has a NULL function.
2008-12-15 14:00:46 +01:00
Henri Verbeet b9468a89fc d3d8: Create a d3d8 declaration as parent for FVF based declarations. 2008-12-15 14:00:37 +01:00
Henri Verbeet 9011452243 wined3d: Simplify shader_generate_main() a bit. 2008-12-15 14:00:29 +01:00
Henri Verbeet 8553665cb1 wined3d: Move the shader version to reg_maps. 2008-12-15 14:00:26 +01:00
Henri Verbeet dd094fe69d wined3d: Explicitly pass the shader version to some more functions. 2008-12-15 14:00:21 +01:00
Alexandre Julliard b9e10147d9 ntdll: NtCurrentTeb is not exported on x86_64. 2008-12-15 13:32:15 +01:00
Alexandre Julliard f6fa72d770 server: Make async I/O transfer sizes always 32-bit. 2008-12-15 13:30:25 +01:00
Alexander Nicolaysen Sørnes 93488b19dc kernel32: Add stub for GetConsoleAliasW. 2008-12-15 13:27:03 +01:00
Andrew Talbot adb5eb9c11 winmm: Sign-compare warning fix. 2008-12-15 13:25:38 +01:00
Wolfgang Walter d4b72f3e10 wineps.drv: Fix freeing of not allocated memory in type42.c. 2008-12-15 13:20:25 +01:00
Dylan Smith 6fa7b49825 richedit: Missing capitalization on TxGetScrollBars. 2008-12-15 13:20:09 +01:00
Dylan Smith 7e94a230e1 richedit: Removed unused hwndEdit variable for the RTF parser.
There is no reason for the rich text format parser to need a handle to
the window, and even if there were it has a handle to the editor which
contains a handle to the window.  It is better to remove this
considering we need to cut down on the use of window handles to
implement windowless richedit controls.
2008-12-15 13:20:01 +01:00
Dylan Smith 8ab0570d02 richedit: Removed an unnecessary call to GetScrollInfo.
The vertical scrollbar state is stored internally within the control,
so should be used when possible.  This will become more necessary when
windowless richedit controls are implemented, and there will no hWnd
to pass to GetScrollInfo.
2008-12-15 13:16:20 +01:00
Dylan Smith 0c8e4b6d02 richedit: Compare editor rather than hWnd in ME_CalculateClickCount.
Comparing the editor as apposed to the handle to the window will work
just as well right now, but will also work when there is no window
handle to make a comparison with, which will be the case with
windowless richedit controls.
2008-12-15 13:16:08 +01:00
Dylan Smith 6901e0cec7 richedit: Use ME_EnsureVisible to implement EM_SCROLLCARET.
The code for the ME_EnsureVisible function does exactly what
EM_SCROLLCARET does, yet this code is duplicated in order to handle
this message.  It is simpler to just use the existing function to
implement the message, and avoid internally sending the EM_SCROLLCARET
when this function is available.
2008-12-15 13:15:56 +01:00
Paul Vriens 098f2f231d gdi32/tests: Fix a few failures on Win9x. 2008-12-15 12:36:08 +01:00
James Hawkins 0ccb714470 msi: Add tests for MsiGetPatchInfo. 2008-12-15 12:36:00 +01:00
James Hawkins c059ceb5b0 msi: Set the property specified by the Source attribute of the Media table when applying a patch. 2008-12-15 12:34:56 +01:00
James Hawkins 01eb930005 msi: Publish the patch information. 2008-12-15 12:34:52 +01:00
James Hawkins 5aac1ec6e5 msi: Implement MsiGetPatchInfoExW. 2008-12-15 12:34:35 +01:00
James Hawkins b5e3e19a19 msi: Add the ability to query a specific context for install properties. 2008-12-15 12:34:18 +01:00
James Hawkins 880b9199a9 msi: Add the ability to query a specific context for a patch. 2008-12-15 12:34:12 +01:00
James Hawkins 4a9f6995aa msi: Add the ability to query a specific context for a product key. 2008-12-15 12:34:06 +01:00
James Hawkins d195ee3cc4 msi: Forward MsiGetPatchInfoExA to MsiGetPatchInfoExW. 2008-12-15 12:34:00 +01:00
James Hawkins 199a26c81a msi: Add a stub implementation of MsiGetPatchInfoEx. 2008-12-15 12:33:56 +01:00
Nikolay Sivov 7cddc57989 gdiplus: Added GdipAddPathCurve3/GdipAddPathCurve3I with tests. 2008-12-15 12:33:49 +01:00
Christian Costa 48e213b4d8 amstream: Add stubbed implementation of MediaStreamFilter. 2008-12-15 12:32:53 +01:00
Christian Costa c4a8ab069f amstream: Some fixes. 2008-12-15 12:32:35 +01:00
Christian Costa 039c15a60a amstream: Implement IDirectDrawMediaStream. 2008-12-15 12:31:59 +01:00
Christian Costa 53562c7a84 dmime: Check input params in IDirectMusicSegmentState8Impl_QueryInterface. 2008-12-15 12:31:28 +01:00
Christian Costa 7ed6f0a643 dmime: Improve IDirectMusicPerformance8Impl_PlaySegment(Ex) stubs. 2008-12-15 12:31:14 +01:00
Christian Costa 34f6afdf89 dplayx: Fix typo. 2008-12-15 12:31:10 +01:00
Christian Costa 0f840ba98b d3dxof: Increase string buffer size. 2008-12-15 12:31:07 +01:00
Christian Costa 0447013572 d3dxof: Improve error handling. 2008-12-15 12:30:38 +01:00
Christian Costa 32ab7d298f d3dxof: Add a test to dump an X object data (enabled when objects.txt and templates.txt are present). 2008-12-15 12:30:20 +01:00
Christian Costa e6abe0e83e setupx: Add stub for DiInstallClass. 2008-12-15 12:30:12 +01:00
Francois Gouget e9ab244d77 devenum: Explicitly identify the translation as being for SUBLANG_PORTUGUESE_BRAZILIAN. 2008-12-15 12:29:57 +01:00
Francois Gouget 0d7cb11fdf msi/tests: Make enum_stream_names() and package_RegDeleteTreeW() static. 2008-12-15 12:25:48 +01:00
Francois Gouget c597792400 oleaut32/tests: Make the Widget_*() and KindaEnum_*() functions static. 2008-12-15 12:25:46 +01:00
Francois Gouget ab9f028958 ddraw/tests: Make some functions static. 2008-12-15 12:25:41 +01:00
Francois Gouget 0f305929bc kernel32: Make some functions static. 2008-12-15 12:25:39 +01:00
Francois Gouget 52b4c7f26d gdi32: Export three implemented 16bit Engine*() functions. 2008-12-15 12:25:36 +01:00
Francois Gouget cc6e4e955e gdi32: Make [GS]etDCState() static. 2008-12-15 12:25:34 +01:00
Francois Gouget 766c6deaf7 mlang/tests: Make strstrW() static. 2008-12-15 12:25:31 +01:00
Francois Gouget 82f6b6ff41 riched20/tests: Make keep_responsive() and customWordBreakProc() static. 2008-12-15 12:25:28 +01:00
Francois Gouget 8c8c0f7146 setupapi/tests: Make devinst_RegDeleteTreeW() static. 2008-12-15 12:25:25 +01:00
Francois Gouget 234fb77a9c wineaudioio.drv: Export widMessage(). 2008-12-15 12:25:22 +01:00
Francois Gouget d27396980f wineesd.drv: Make some functions static. 2008-12-15 12:25:20 +01:00
Francois Gouget 0c615ef274 winejack.drv: Make some functions static. 2008-12-15 12:25:17 +01:00
Francois Gouget ec7cbc26f5 d3d8: Make D3D8CB_CreateSurface() static. 2008-12-15 12:25:02 +01:00
Francois Gouget e7b3671813 ole32: Use the IStream16_(CreateStream,CreateStorage,Write) implementations. 2008-12-15 12:24:58 +01:00
Stefan Dösinger c0a715977d wined3d: Remove a blank line in state.c. 2008-12-15 12:24:52 +01:00
Stefan Dösinger c937278262 wined3d: Give ATIFS a pixel shader handler. 2008-12-15 12:24:38 +01:00
Mikołaj Zalewski b4467c7351 devenum: Italian, Spanish, Dutch and VERSIONINFO should use SUBLANG_NEUTRAL. 2008-12-15 12:24:33 +01:00
Aric Stewart bd25af9dba user32: Proper handling of WM_INPUTLANGCHANGEREQUEST. 2008-12-12 12:20:53 +01:00