Commit Graph

39012 Commits

Author SHA1 Message Date
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
Alexander Morozov 7443e7ded7 hal: Add missing WINAPI. 2008-12-12 12:18:33 +01:00
Alistair Leslie-Hughes de5bbbc2ff mshtml: Implement IHTMLScriptElement get/put Defer. 2008-12-12 12:01:36 +01:00
Alistair Leslie-Hughes 8e984bcc61 mshtml: Implement IHTMLStyle get/put fontVariant. 2008-12-12 11:59:46 +01:00
Francois Gouget 5a8e31a386 devenum: French and German should use SUBLANG_NEUTRAL. 2008-12-12 11:46:55 +01:00
Francois Gouget a6c07ffba4 wininet & winhttp: Remove the MSG_WAITALL definition as it is not needed. 2008-12-12 11:46:50 +01:00
Francois Gouget 7271ed5532 kernel32: Remove _hread16() as it is not used. Move _hwrite16() next to the other related functions. 2008-12-12 11:46:25 +01:00
Francois Gouget 8dbc8d3b9d userenv/tests: Make userenv_dbgstr_w() static. 2008-12-12 11:44:36 +01:00
Francois Gouget f5bc44322c wineoss.drv: Make widOpen() and wodOpen() static. 2008-12-12 11:44:30 +01:00
Francois Gouget 05c0822707 msvcrt: Point the set_new_handler() entrypoint to the right implementation. 2008-12-12 11:44:23 +01:00
Francois Gouget 803555927c user32/tests: Make some functions static. 2008-12-12 11:42:34 +01:00
Francois Gouget 0b1d8be037 ole32/tests: Make test_runnable() static. 2008-12-12 11:42:31 +01:00
Francois Gouget 596311cd5d shell32/tests: Make test_cbsize() static. 2008-12-12 11:42:28 +01:00
Francois Gouget e9e8fbd0ef ntdll/tests: Make rtlraiseexception_vectored_handler() static. 2008-12-12 11:42:23 +01:00
Francois Gouget b455d319f9 msvcrt/tests: Make void test_cp_table() static. 2008-12-12 11:42:13 +01:00
Francois Gouget f5657080c7 gdi32/tests: Make test_GdiAlphaBlend() static. 2008-12-12 11:42:07 +01:00
Francois Gouget 287dee6e78 d3d9/tests: Make some functions static. 2008-12-12 11:41:53 +01:00
Francois Gouget 897af57deb cabinet/tests: Make CopyProgress() static. 2008-12-12 11:41:45 +01:00
Francois Gouget ec4d74baef ole32: Fix the STORAGE_dump_pps_entry() description. 2008-12-12 11:41:37 +01:00
Francois Gouget ae3a8e1da2 shell32: Add a couple of spaces in the spec file. 2008-12-12 11:41:32 +01:00
Francois Gouget ade1326480 msvcrt: Remove _adjust_fdiv() as it is unused. 2008-12-12 11:41:24 +01:00
Francois Gouget 33dd86d05c msvcrt/tests: Add a trailing '\n' to ok() calls. 2008-12-12 11:40:53 +01:00
Henri Verbeet 3e035ddf05 wined3d: Don't leak memory on failure in allocate_shader_constants(). 2008-12-12 11:40:44 +01:00
Henri Verbeet 7d29aecd6f wined3d: Use a simpler way to calculate the number of texture levels.
It's probably slightly faster too.
2008-12-12 11:40:39 +01:00
Henri Verbeet 70ed814b95 wined3d: Get rid of the textureDimensions field in the state block. 2008-12-12 11:40:32 +01:00
Henri Verbeet f36c377d0e wined3d: We only care is a sampler is sampled at all in device_map_vsamplers(), not the specific type. 2008-12-12 11:40:26 +01:00
Henri Verbeet fb475c7c29 wined3d: Don't reparse the entire shader just to update the sampler types. 2008-12-12 11:40:20 +01:00
Juan Lang 8777a83467 crypt32: Support wide character base64-encoded PKCS messages in CryptQueryObject. 2008-12-12 11:40:15 +01:00
Juan Lang a104479da1 crypt32: Implement CryptStringToBinaryW. 2008-12-12 11:40:11 +01:00
Juan Lang 909a81839b crypt32: Support base64-encoded PKCS messages in CryptQueryObject. 2008-12-12 11:39:30 +01:00
Juan Lang 62cbf42689 crypt32: Split querying PKCS messages into helper functions. 2008-12-12 11:39:24 +01:00
Juan Lang 626a6fe15d crypt32: Support base64-encoded context objects in CryptQueryObject. 2008-12-12 11:39:17 +01:00
Juan Lang 33f0655e2a crypt32: Downgrade a fixme to a warn. 2008-12-12 11:39:11 +01:00
Juan Lang 86e2f94e68 crypt32: Don't claim to have queried an object as a serialized context when reading it has failed. 2008-12-12 11:39:05 +01:00
Juan Lang 2b384cb0e9 crypt32: Validate input arguments to CryptQueryObject. 2008-12-12 11:38:53 +01:00
Juan Lang 351ebcae25 crypt32: Add tests for CryptQueryObject. 2008-12-12 11:38:47 +01:00
Paul Vriens ed4444dae5 gdi32/tests: Fix some test failures on Win9x. 2008-12-12 11:38:31 +01:00
Paul Vriens 76b24fd970 ddraw/tests: Fix a test failure on a Win98 VMware box. 2008-12-12 11:38:26 +01:00
Hans Leidekker b6d703b057 wininet: Adapt tests to winehq changes. 2008-12-12 11:37:48 +01:00
Alexandre Julliard 1e8290ded3 msvcrt: Avoid truncated relocations on 64-bit. 2008-12-12 10:20:53 +01:00
Alexandre Julliard 82bd6f1e10 msvcrt/tests: Load __mb_cur_max and _mbctype dynamically since they may not be available to link against. 2008-12-12 10:19:55 +01:00
Alexandre Julliard 4305e6d119 msvcrt: Use iob_func instead of p__iob on non-x86. 2008-12-12 10:19:55 +01:00
Alexandre Julliard d8ab5a14aa msvcrt: Use intptr_t or size_t instead of long where appropriate. 2008-12-12 10:19:55 +01:00
Alexandre Julliard 7a6c6747a9 msvcrt: Don't include msvcrt headers, instead duplicate the definitions in msvcrt.h. 2008-12-12 10:19:55 +01:00
Alexandre Julliard a537aadd14 setupapi: Don't include msvcrt headers. 2008-12-12 10:19:55 +01:00
Alexandre Julliard 0b99af82b2 msi: Don't include msvcrt headers. 2008-12-12 10:19:54 +01:00
Alexandre Julliard 324a803532 ntdll: Fix heap management for 64-bit. 2008-12-12 10:18:41 +01:00
Alexandre Julliard e81d453f63 ntdll: Convert the handles to server handles in NTDLL_wait_for_multiple_objects. 2008-12-11 20:38:21 +01:00
Hans Leidekker 0719b6ed86 winhttp: Resolve host port at the latest possible moment. 2008-12-11 14:32:18 +01:00
Hans Leidekker b527d9905c winhttp: Validate parameters per component in WinHttpCrackUrl. 2008-12-11 14:32:15 +01:00
Andrew Talbot 8ee1634f41 ws2_32: Sign-compare warnings fix. 2008-12-11 14:32:06 +01:00
Andrew Talbot 79ab433946 wintrust: Sign-compare warnings fix. 2008-12-11 14:29:14 +01:00
Nikolay Sivov b6d50aed41 oleaut32: Added PICTYPE_NONE and PICTYPE_UNINITIALIZED to IPicture::Render. 2008-12-11 14:28:35 +01:00
Ricardo Filipe a19051b9ae advapi32: Add stub for UnregisterTraceGuids. 2008-12-11 14:28:14 +01:00
Ricardo Filipe bad677d58a hal: Add stubs for ExAcquireFastMutex and ExReleaseFastMutex. 2008-12-11 14:28:07 +01:00
Stefan Dösinger f2f90b6965 wined3d: Fix ARG_UNUSED and use it properly.
That bug was uncovered by Henri's change of the bitfield sizes.
2008-12-11 14:07:31 +01:00
Stefan Dösinger fef73782ce WineD3D: Abstract some ATIfs op debug TRACEs.
It makes the code more readable and will help us to merge the ALPHAOP
and COLOROP code.
2008-12-11 14:07:21 +01:00
Stefan Dösinger 4916cd5478 wined3d: Don't load INT and BOOL constants needlessly. 2008-12-11 14:06:04 +01:00
Alexandre Julliard a2089abd94 ntdll: Enforce correct protection values in virtual memory functions. 2008-12-11 14:05:42 +01:00
Jacek Caban 06050f86d5 jscript: Added Math.LOG10E implementation. 2008-12-11 12:45:47 +01:00
Jacek Caban 0c6b427aaa jscript: Added Math.LOG2E implementation. 2008-12-11 12:45:44 +01:00
Jacek Caban da03e6779d jscript: Added Math.E implementation. 2008-12-11 12:45:40 +01:00
Jacek Caban 0e8bcbd9de jscript: Added Math.PI implementation. 2008-12-11 12:45:36 +01:00
Alistair Leslie-Hughes f82df0ac63 mshtml: Implement IHTMLStyle put_fontStyle. 2008-12-11 12:45:33 +01:00
Alexandre Julliard 16fb8fd843 cabinet: Don't allocate a huge buffer on the stack. 2008-12-11 12:24:33 +01:00
ByeongSik Jeon 5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
ByeongSik Jeon 1b0297a7f9 *Zh.rc: Update the Chinese resource font name to "MS Shell Dlg". 2008-12-11 12:20:48 +01:00
ByeongSik Jeon d1ca64b3f5 gdi32: Unify Chinese and Japanese default font name. 2008-12-11 12:20:27 +01:00
Alexandre Julliard b8e8cb6621 ntdll: Add a heuristic to detect dlls that are wrongly marked as using native subsystem. 2008-12-11 12:18:35 +01:00
Henri Verbeet 441f515d08 wined3d: Don't trace the shader if nobody's looking. 2008-12-11 12:14:55 +01:00
Henri Verbeet 8124f5e14a wined3d: shader_trace_init() shouldn't have side effects.
This moves setting baseShader.hex_version and baseShader.functionLength to
shader_get_registers_used(), where it's more appropriate.
2008-12-11 12:14:50 +01:00
Henri Verbeet 9541c346b3 wined3d: Remove some more unused code. 2008-12-11 12:14:40 +01:00
Henri Verbeet 15d497cb26 wined3d: baseShader.functionLength should be 0 when a NULL pFunction is passed. 2008-12-11 12:14:36 +01:00
Henri Verbeet a2f259afff wined3d: Get rid of the "len" variable in shader_trace_init(). 2008-12-11 12:14:30 +01:00
Nikolay Sivov 63ae714fc6 gdiplus: Stub for GdipGetNearestColor. 2008-12-11 11:50:42 +01:00
Lei Zhang 0537a122c7 qcap: Don't clip intermediate values in YUV to RGB conversion code. 2008-12-11 11:50:29 +01:00
Paul Vriens e755a96fc8 setupapi/tests: Fix a test failure on Vista/W2K8. 2008-12-11 11:50:22 +01:00
Paul Vriens a3daf27b7e rsaenh/tests: Fix a test failure on NT4. 2008-12-11 11:50:19 +01:00
Paul Vriens 52a914db83 gdi32/tests: Remove the todo_wine logic where appropriate. 2008-12-11 11:50:15 +01:00
Paul Vriens 194c053021 msi/tests: Skip tests on win9x due to different registry keys. 2008-12-11 11:50:12 +01:00
Aric Stewart cb69bd6349 user32: Implement handling of WM_INPUTLANGCHANGE. 2008-12-11 11:50:07 +01:00