Commit Graph

42028 Commits

Author SHA1 Message Date
Henri Verbeet 8ce2506aa8 wined3d: Try to make Coverity shut up (CID 863, 905).
Comparing gl_shaders against NULL after potentially dereferencing it a few
lines earlier probably confuses Coverity. Checking num_gl_shaders instead
should avoid this.
2009-03-24 12:56:19 +01:00
Nikolay Sivov bdd1206ca5 comctl32/listview: Some tests for LVM_GETSUBITEMRECT. 2009-03-24 12:43:05 +01:00
Nikolay Sivov 85c03a5a31 comctl32/ipaddress: Store current IP address text as a window text for IP Address control. 2009-03-24 12:42:56 +01:00
Nikolay Sivov b7d7d58978 comctl32/trackbar: Fix reverting to default value for TBM_SETPAGESIZE with lParam = -1. 2009-03-24 12:42:19 +01:00
Nikolay Sivov 92b0ad98e1 comctl32/tab: Implement TCM_[G,S]ETEXTENDEDSTYLE and TCS_EX_FLATSEPARATORS style. 2009-03-24 12:40:15 +01:00
Nikolay Sivov b896b92061 comctl32/tab: Fix button background filling on TCS_BUTTONS. 2009-03-24 12:39:17 +01:00
Nikolay Sivov 4585148547 comctl32/tab: Implement TCM_REMOVEIMAGE. 2009-03-24 12:38:37 +01:00
James Hawkins 87847b47cd kernel32: Don't try to load an empty initialization file. 2009-03-24 11:37:01 +01:00
James Hawkins 7c3529f1cc kernel32: Handle writing empty sections and keys in WritePrivateProfileString. 2009-03-24 11:36:52 +01:00
James Hawkins f1308f9b40 kernel32: Set last error to ERROR_FILE_NOT_FOUND if lpAppName is NULL. 2009-03-24 11:36:03 +01:00
James Hawkins 287b07fddc kernel32: Add tests for WritePrivateProfileString. 2009-03-24 11:35:52 +01:00
Andrew Talbot 92bfdeb591 wineps.drv: Remove order-of-evaluation dependencies. 2009-03-24 11:35:42 +01:00
Andrew Talbot 2024592b41 winex11.drv: Remove order-of-evaluation dependencies. 2009-03-24 11:35:39 +01:00
Andrew Talbot d2e4bcf531 shell32: Remove uninitialized and superfluous struct. 2009-03-24 10:28:28 +01:00
Jacek Caban 781faa1b9d urlmon: Fixed handling NULL URLName in GetDisplatName implementation. 2009-03-24 10:28:20 +01:00
Jacek Caban a5b2075ef1 urlmon: Added StdURLMoniker implementation. 2009-03-24 10:28:15 +01:00
Jacek Caban 53b1a310fe urlmon: Return IAsyncMoniker from QueryInterface. 2009-03-24 10:28:09 +01:00
Jacek Caban 050c349678 urlmon: Code clean up. 2009-03-24 10:28:05 +01:00
Kai Blin 3fbf3f66db quartz/tests: If CoCreateInstance() fails, it's safe to return, as no cleanup is needed. 2009-03-24 10:28:01 +01:00
Ricardo Filipe 1999008b89 setupapi: Remove invalid check for < MAX_PATH and don't copy to NULL PathBuffer (Coverity 888). 2009-03-24 10:27:45 +01:00
Dylan Smith 78a7ea5a39 richedit: Properly handle lack of semicolon after font name in rtf.
This was partially handled by ungetting the end group token (i.e. '}')
so that it was read again at the proper place.  Unfortunately there is a
read hook that maintains a stackTop variable, which is decremented when
receiving this end group token.  Therefore stackTop would get
decremented twice, and the rich text file would end prematurely.

This is fixed by incrementing the stackTop variable to compensate for it
being decremented twice.
2009-03-24 10:27:34 +01:00
Alexandre Julliard b4d4625890 w32skrnl: Make w32sys.dll into a stand-alone 16-bit module. 2009-03-24 09:42:02 +01:00
Alexandre Julliard 2a745fecd2 w32skrnl: Make win32s16.dll into a stand-alone 16-bit module. 2009-03-24 09:38:01 +01:00
Alexandre Julliard 9bf9eb0941 winnls32: Make winnls.dll into a stand-alone 16-bit module. 2009-03-24 09:31:03 +01:00
Alexandre Julliard b0530a5fbd winmm: Make sound.drv into a stand-alone 16-bit module. 2009-03-23 20:35:00 +01:00
Alexandre Julliard e475ef89fd rasapi32: Make rasapi16.dll into a stand-alone 16-bit module. 2009-03-23 20:34:34 +01:00
Alexandre Julliard 2b67a23fb0 twain_32: Make twain.dll into a stand-alone 16-bit module. 2009-03-23 20:34:02 +01:00
Alexandre Julliard a2ae7dd06c wnaspi32: Make winaspi.dll into a stand-alone 16-bit module. 2009-03-23 20:33:34 +01:00
Alexandre Julliard d540fa2a28 wintab32: Make wintab.dll into a stand-alone 16-bit module. 2009-03-23 20:33:00 +01:00
Alexandre Julliard 1b937cac74 imm32: Make imm.dll into a stand-alone 16-bit module. 2009-03-23 20:32:19 +01:00
Alexandre Julliard 9a19d8afa6 ctl3d32: Make ctl3d.dll and ctl3dv2.dll into stand-alone 16-bit modules. 2009-03-23 20:31:01 +01:00
Andrew Nguyen e1a1ae5e1b ddraw/tests: Skip some cooperative level tests on NT4/Win95.
The DirectX SDK reports that cooperative level flags
DDSCL_SETDEVICEWINDOW and DDSCL_SETFOCUSWINDOW are only
available on Windows 98 and higher.
2009-03-23 18:21:06 +01:00
Andrew Nguyen 626a13fd57 tapi32: Stub lineGetIDW. 2009-03-23 18:21:06 +01:00
Andrew Nguyen 9ef447be92 tapi32: Stub lineMakeCallW. 2009-03-23 18:21:06 +01:00
Andrew Nguyen af38006ad1 tapi32: Stub lineGetDevCapsW. 2009-03-23 18:21:06 +01:00
James Hawkins 0b74259f9d twain_32: Fix the use of an uninitialized variable (Coverity 908). 2009-03-23 16:31:28 +01:00
Huw Davies ef4b6b8749 ole32: Store the ole clipboard window's HWND in the DataObject clipboard format. 2009-03-23 15:52:18 +01:00
Huw Davies e77ab142e4 ole32: Register DataObject clipboard format. 2009-03-23 15:52:18 +01:00
Huw Davies c0fbbe7d91 ole32: Use IsEqualIID rather than memcmp. 2009-03-23 15:52:18 +01:00
Huw Davies 319d0ddca6 ole32: Simplify QueryInterface. 2009-03-23 15:52:18 +01:00
Huw Davies d72181381e ole32: pFmt isn't exposed to the client, so simplify its allocation. 2009-03-23 15:52:18 +01:00
Huw Davies 8beb83866f ole32: Rearrange functions to eliminate forward declarations. 2009-03-23 15:52:18 +01:00
Huw Davies 96bd8c5a7d ole32: Add a helper function to retrieve the implementation ptr. 2009-03-23 15:52:18 +01:00
Huw Davies e7ffa2aeb5 ole32: Don't allocate the ole clipboard object in global memory - we're not going to directly expose it to other processes. 2009-03-23 15:52:18 +01:00
Huw Davies e6eeb3aa17 ole32: Remove unused static variable. 2009-03-23 15:52:18 +01:00
James Hawkins 5e62686a0f msi: Handle a NULL and empty szPackagePath in MsiInstallProduct (Coverity 181). 2009-03-23 15:52:18 +01:00
James Hawkins fb8db0ac13 msi: Don't try to release a NULL record, with tests (Coverity 536). 2009-03-23 15:52:17 +01:00
James Hawkins baf86bd5bb msi: MsiCollectUserInfo cannot be called from a custom action (Coverity 565, 566). 2009-03-23 15:52:17 +01:00
James Hawkins cb958cd773 msi: Test and handle the case where the SourceList key does not exist and the PackageName value does not exist in MsiGetProductInfo. 2009-03-23 15:52:17 +01:00
James Hawkins dc50773c28 msi: Factor out the MsiEnumPatchesEx tests and test the NULL szUserSid and an szUserSid that is different from the current user. 2009-03-23 15:52:17 +01:00
James Hawkins c965d839f9 msi: Allow the enumeration of other users' patches. 2009-03-23 15:52:17 +01:00
James Hawkins f7c615b188 msi: Enumerate the current user's patches if szUserSid is NULL. 2009-03-23 15:52:17 +01:00
James Hawkins 3956bb5b0e msi: Fix a typo (Coverity 910). 2009-03-23 15:52:17 +01:00
Michael Stefaniuc fccdccc378 msi: Update the German translation. 2009-03-23 15:52:17 +01:00
Michael Stefaniuc b4cb8562ae msi: Convert the German translation to UTF8 encoding. 2009-03-23 15:52:17 +01:00
Robert Reif c2d6ce85d0 dsound: Fix uninitialized variable.
I missed one case when converting over to static GUIDs in a previous patch.
Pointed out by Andrew Talbot.
2009-03-23 15:26:43 +01:00
Aric Stewart 39600d9d2e msi: Reorder the condition operators so that longer strings are matched first.
This allows ~<< to be properly matched.
2009-03-23 15:26:02 +01:00
Vitaliy Margolen 694219d4a6 shell32: Fix number of returned arguments from CommandLineToArgvW with empty string. 2009-03-23 15:25:50 +01:00
Rob Shearman ae5770d366 rpcrt4: Fix a memory leak in union unmarshall functions by never passing fMustAlloc=TRUE into union_arm_unmarshall. 2009-03-23 14:54:29 +01:00
Rob Shearman 1c8c45d0f6 rpcrt4: Implement NdrRangeUnmarshall for enum types. 2009-03-23 14:54:15 +01:00
Rob Shearman 7208067492 rpcrt4: Simplify some code in RpcServerInqBindings by changing while loops into for loops. 2009-03-23 14:54:07 +01:00
Rob Shearman 5e1d10d423 rpcrt4: Free the resources associated with server protocol sequences on DLL unload. 2009-03-23 14:54:01 +01:00
Henri Verbeet 27a6bb5f08 d3d10core: Only destroy the device when it doesn't have any references left. 2009-03-23 14:08:03 +01:00
Henri Verbeet 775ea907a3 d3d8: Fix locking. 2009-03-23 14:08:03 +01:00
Henri Verbeet 72b5378758 d3d8: Get rid of resource.c. 2009-03-23 14:08:03 +01:00
Henri Verbeet 7c0931b7c2 d3d8: Get rid of basetexture.c. 2009-03-23 14:08:03 +01:00
Henri Verbeet fd3d769a12 d3d9: Fix locking.
It appears there are some calls to wined3d missing critical sections.
2009-03-23 14:08:03 +01:00
Henri Verbeet 435b528e83 d3d9: Get rid of resource.c. 2009-03-23 14:08:02 +01:00
Henri Verbeet 82dd5bc2a1 d3d9: Get rid of basetexture.c. 2009-03-23 14:08:02 +01:00
Henri Verbeet 1f4e7b27ed wined3d: Set the currently active context to NULL when it's destroyed.
This should make us crash when trying to use the "currently active" context
after it has been destroyed, rather than messing around with freed memory.
2009-03-23 14:08:02 +01:00
Henri Verbeet 89721c2173 wined3d: Compare the actual formats. 2009-03-23 14:08:02 +01:00
Henri Verbeet 24a4503d61 wined3d: Unload resources on Uninit3D().
This should prevent destroying GL objects without a GL context. Eg. when a ddraw
surface has a GL texture and is released after a call to Uninit3D().
2009-03-23 14:07:48 +01:00
Dylan Smith caca486029 richedit: Add bounds checks for EM_GETTEXTRANGE with tests.
Wine was not doing bounds checks for EM_GETTEXTRANGE, which was causing
a crash in Bug 17822.  The added tests would cause a crash without the
added bounds checks in the richedit code.

The bounds checks I put in HandleMessage, since ME_GetTextRange is also
called for ME_GETSELTEXT which should not have bounds checks, since it
uses the selection range.

When the ME_GETTEXTRANGE message returns 0, no text is copied, not even
the NULL terminating charter.  This differs from EM_GETSELTEXT which
will copy the NULL terminating character when no text is selected.  This
behaviour is consistent with native richedit controls.
2009-03-23 13:26:28 +01:00
Roderick Colenbrander 4544efc972 wined3d: Add a classic WGL pixel format backend as not all OpenGL implementations support WGL_ARB_pixel_format.
This should help for instance VirtualBox.
2009-03-23 13:25:50 +01:00
Roderick Colenbrander 9181ddcd16 wined3d: Add WGL_ARB_pixel_format detection.
Right now we assume that the extension is there but this isn't always
the case. The next patch in this series will add a
non-WGL_ARB_pixel_format codepath to help VirtualBox and others.
2009-03-23 13:25:17 +01:00
Nicolas Le Cam da2e044125 schannel/tests: Fix test on Win2k. 2009-03-23 13:24:47 +01:00
Nicolas Le Cam 5fc199263e shell32/tests: Fix a test on Win2k platform and above. 2009-03-23 13:24:21 +01:00
Paul Vriens ad5e68e8a1 urlmon/tests: Fix a test failure on Vista and higher. 2009-03-23 13:24:03 +01:00
Rein Klazes 3aec62dcf6 user32/tests: In sysparams.c disable some Get/Set border tests for now. These may permanently change desktop settings of the testers. 2009-03-23 13:23:46 +01:00
Aric Stewart 6979c4142f propsys: Stub for PSUnregisterPropertySchema.
Needed for IE8 install.
2009-03-23 13:22:22 +01:00
Hwang YunSong(황윤성) d496a49084 mshtml: Updated Korean resource. 2009-03-23 13:21:28 +01:00
Aric Stewart 8044c11ecf kernel32: Report unixfs instead of ntfs for unknown filesystem type.
This avoids programs such as the .Net2.0 installer trying to do ntfs
specific functions on the disk.
2009-03-23 12:41:36 +01:00
Michael Stefaniuc 58f2a01e23 ddraw/tests: Use ULONG instead of unsigned long. 2009-03-23 12:41:21 +01:00
Michael Stefaniuc 2df012a01a d3d9/tests: Use LONG instead of long. 2009-03-23 12:41:14 +01:00
Michael Stefaniuc d4c2a387c8 d3d8/tests: Use ULONG instead of unsigned long. 2009-03-23 12:41:08 +01:00
Michael Stefaniuc b8e1b138bc d3dxof/tests: Use ULONG instead of unsigned long. 2009-03-23 12:41:05 +01:00
Michael Stefaniuc 4de7ac858b advapi32/tests: Don't use "long" for variable types. 2009-03-23 12:40:56 +01:00
Michael Stefaniuc d2f6f56873 ntdll: Remove superfluous pointer casts. 2009-03-23 12:40:53 +01:00
Aurimas Fischer 54b3fda09a mshtml: Update Lithuanian translation. 2009-03-23 12:40:32 +01:00
William Waghorn 1debd88ce3 imaadp32: Refuse unknown destination format.
ADPCM_FormatSuggest must report NOTPOSSIBLE if the destination format
is not supported.
2009-03-23 12:37:40 +01:00
William Waghorn 461a428fe6 msadp32: Refuse unknown destination format.
ADPCM_FormatSuggest must report NOTPOSSIBLE if the destination format
is not supported.
2009-03-23 12:37:37 +01:00
Michael Stefaniuc 5b6be96a18 mshtml: Update the German translation. 2009-03-23 12:36:55 +01:00
Michael Stefaniuc 16425006c6 mshtml: Convert the German translation to UTF8. 2009-03-23 12:36:51 +01:00
Michael Stefaniuc 5eabd089e3 mshtml: Update the Romanian translation. 2009-03-23 12:36:21 +01:00
Paul Vriens 5974ad1200 ddraw/tests: Fix a test failure on VMware and some native boxes. 2009-03-13 14:55:47 +01:00
Paul Vriens 27f52727e4 ddraw/tests: Fix two test failures on W2K/VMware. 2009-03-13 14:53:02 +01:00
Paul Vriens 3668edcdf4 gdi32/tests: Fix some test failures on Win9x. 2009-03-13 14:52:52 +01:00
Hans Leidekker ba50d15060 msi: Set concurrency model to multi-threaded for custom action threads.
A custom action in the office 2007 sp1 installer fails right after calling
CoInitializeEx(NULL, COINIT_MULTITHREADED). This is because our code calls
CoInitialize(NULL) first, which sets a different concurrency model, and a
subsequent call with a different model will return RPC_E_CHANGED_MODE.

Ergo, we should set the model to multi-threaded too.
2009-03-13 14:52:48 +01:00
Piotr Caban 3bc7bdab88 mshtml: Added IHTMLWindow2_confirm implementation. 2009-03-13 14:12:49 +01:00
Piotr Caban 147cf1da55 mshtml: Added HTMLWindow2_prompt implementation. 2009-03-13 14:12:35 +01:00
Stefano Guidoni 3a54e89ff8 msacm32: acmFormatEnum: Implement ACM_FORMATENUMF_SUGGEST. 2009-03-13 13:26:14 +01:00
Detlef Riekenberg e1413faeb7 localspl: Return 0 for the local computer. 2009-03-13 13:21:08 +01:00
Aric Stewart 79859cb3ac dinput: OS/X joystick: Sort buttons based on usage as some controllers report the buttons out of order.
Makes the xbox 360 controller button mapping more logical.
2009-03-13 13:21:07 +01:00
Hans Leidekker 4da865f324 msi: Handle ADVERTISE overrides. 2009-03-13 13:21:07 +01:00
Hans Leidekker 804d66039d msi: Correct spec entry for MsiGetProductInfoA/W. 2009-03-13 13:21:07 +01:00
Alexandre Julliard c4c2d9807a winedos: Don't create an import library. 2009-03-13 12:00:02 +01:00
Alexandre Julliard 50c7473882 vwin32.vxd: Load winedos dynamically. 2009-03-13 11:59:48 +01:00
Alexandre Julliard bc553a09ca ifsmgr.vxd: Load winedos dynamically. 2009-03-13 11:59:42 +01:00
Alexandre Julliard 75be87dd75 ntdll: Move the copy_context function into the respective CPU-specific files. 2009-03-13 11:31:25 +01:00
Alexandre Julliard 10350c19a0 user32/tests: Print a more useful line number in check_class and check_instance tests. 2009-03-13 11:30:15 +01:00
Alexandre Julliard 0caa310c37 user32/tests: Add optional restore sequence for Vista. 2009-03-13 11:29:53 +01:00
Henri Verbeet 2dc7fc2916 wined3d: Remove the format field from IWineD3DResourceClass. 2009-03-13 11:29:19 +01:00
Henri Verbeet a56e3a102b wined3d: Only return a pointer to struct GlPixelFormatDesc from getFormatDescEntry(). 2009-03-13 11:29:10 +01:00
Henri Verbeet 53bf5c2658 wined3d: Add fields from StaticPixelFormatDesc to struct GlPixelFormatDesc.
The idea here is that we should lookup format information in struct
GlPixelFormatDesc, while StaticPixelFormatDesc and GlPixelFormatDescTemplate
will only be used to build the table.
2009-03-13 11:29:01 +01:00
Henri Verbeet fbfc7c9742 wined3d: Remove the width and height fields from IWineD3DTextureImpl. 2009-03-13 11:28:55 +01:00
Henri Verbeet a3657c164d wined3d: Remove some redundant fields from struct glDescriptor. 2009-03-13 11:28:50 +01:00
Henri Verbeet a139683a60 wined3d: Eliminate the heightscale field from IWineD3DSurfaceImpl. 2009-03-13 11:28:45 +01:00
Henri Verbeet e56a4cb799 wined3d: Also change the resource's format desc in IWineD3DBaseSurfaceImpl_SetFormat(). 2009-03-13 11:28:40 +01:00
Henri Verbeet 24100cd026 d3d8: Release the d3d8 shader once we're done with it in IDirect3DDevice8Impl_GetPixelShader(). 2009-03-13 11:28:35 +01:00
Nikolay Sivov b7f0dd64da comctl32: LVN_ITEMCHANGED notification should be sent for each item when group selected for ~LVS_OWNERDATA. 2009-03-13 11:28:31 +01:00
Michael Stefaniuc efbb4ebf3e widl: Output "LONG" instead of "long" for a 32bit integer.
long is always 32bit in IDL files but that's not true in C.
2009-03-13 11:15:21 +01:00
Paul Vriens d11e14d77f crypt32/tests: Fix some test failures on older NT4 boxes. 2009-03-13 10:07:23 +01:00
Paul Vriens 190ffe58b2 crypt32/tests: Fix some crashes on older NT4 boxes. 2009-03-13 10:07:17 +01:00
Paul Vriens 1bf308eaa7 crypt32/tests: Fix some test failures on Win9x. 2009-03-13 10:07:05 +01:00
Paul Vriens dde935f0bf gdi32/tests: Fix two test failures on Win9x. 2009-03-12 15:39:51 +01:00
Paul Vriens 78402cfa7a fusion/tests: Fix some test failures on Win98. 2009-03-12 15:39:38 +01:00
Paul Vriens 0a3509255e shell32/tests: Fix a test failure on W2K and earlier. 2009-03-12 14:29:56 +01:00
Paul Vriens 7a8000d4e8 msi/tests: Fix a test for systems with %TEMP% being less than 2 levels deep. 2009-03-12 14:29:56 +01:00
Hans Leidekker 40cfbaf023 msi: Fix handling of REINSTALL overrides.
We were forcing features with a REINSTALL override to be reinstalled
locally, which is only correct if the original install state is local.

This causes problems with the office 2007 sp1 installer, which applies
a REINSTALL override to an advertised feature.
2009-03-12 14:29:56 +01:00
Francois Gouget a2de9de262 mshtml: Fix typos in the French translation. 2009-03-12 14:29:56 +01:00
Francois Gouget 40363a223c dinput: Add a trailing '\n' to ERR() messages.
Also convert a 'smart' quote to a regular quote.
2009-03-12 14:29:56 +01:00
Alexandre Julliard ca5d2eabdc winspool.drv: Make sure the DEVMODE structure is fully initialized. 2009-03-12 14:29:17 +01:00
Ken Thomases df0f32bbd9 dbghelp: Increase file read buffer size for calc_crc32. 2009-03-12 14:29:14 +01:00
Ken Thomases 637827a2d0 dbghelp: Extract calc_crc32 function into a separate file. 2009-03-12 14:29:03 +01:00
Ken Thomases b8f6a68d6f dbghelp: Rename some things to be less ELF-centric. 2009-03-12 13:09:56 +01:00
Ken Thomases 985f0ea18f dbghelp/stabs: Track line numbers pending for an upcoming function.
On Darwin, line numbers usually precede the associated function.
2009-03-12 13:09:56 +01:00
Ken Thomases 65d929079c dbghelp/stabs: Allow pending list to include line numbers as well as variables.
On Darwin, line numbers usually precede the associated function.
2009-03-12 13:09:56 +01:00
Ken Thomases a1ac32822a dbghelp/stabs: Extract growing of pending_block's buffer to pending_make_room(). 2009-03-12 13:09:56 +01:00
Ken Thomases 615fff293a dbghelp: Teach stabs_parse about other kinds of Mach-O symbol definitions. 2009-03-12 13:09:56 +01:00
Ken Thomases 3db11b98b7 dbghelp: Let stabs_parse call back for real (non-debug) symbol definitions. 2009-03-12 13:09:55 +01:00
Ken Thomases 82a3f8fcb2 dbghelp/stabs: Decode the Stabs type more carefully. 2009-03-12 13:09:55 +01:00
Ken Thomases 1ecd634c4b dbghelp/stabs: Ignore the N_OSO type used on Darwin. 2009-03-12 13:09:55 +01:00
Ken Thomases 1f4ddbaed9 dbghelp/stabs: Translate additional register codes. 2009-03-12 13:09:55 +01:00
Henri Verbeet e3bcc7544c wined3d: Remove the shader_color_fixup field from IWineD3DBaseTextureClass.
This is redundant now.
2009-03-12 13:09:55 +01:00
Henri Verbeet 1dcf222ab2 wined3d: Get rid of some calls to getFormatDescEntry().
Use the format description stored in the resource instead.
2009-03-12 13:09:55 +01:00
Henri Verbeet 38178541b0 wined3d: Store a pointer to the format description in the resource.
The goal is to eventually use a pointer to the format description in most
places where we currently use WINED3DFORMAT. IWineD3DSurfaceImpl for example
has copies of several fields from the format description, but also needs to
lookup the format description itself in several places.
2009-03-12 13:09:55 +01:00
Henri Verbeet 81075d2db3 wined3d: Remove a redundant check.
This is redundant now, InitAdapters() will only be called once for each
IWineD3DImpl object, as pointed out by Allan Tong.
2009-03-12 13:09:55 +01:00
Henri Verbeet e4ea7976a5 wined3d: Remove an unused field. 2009-03-12 13:09:55 +01:00
Henri Verbeet 2219749ae9 wined3d: Explicitly pass the texUnitMap to shader_glsl_load_vsamplers() and shader_glsl_load_psamplers().
The general idea here is to reduce dependencies on the entire stateblock, and
pass the real dependencies explicitly. This should make it clearer what
context a shader really needs.
2009-03-12 13:09:55 +01:00
Alexandre Julliard c1b411e321 setupapi: Check for NULL module to avoid an exception in RtlImageNtHeader.
This allows creating a wineprefix on 64-bit, where exception handling
doesn't quite work yet.
2009-03-12 13:09:55 +01:00
Alexandre Julliard 85f8f30a65 rpcrt4: Use RpcMsg->Buffer instead of BufferStart since the latter isn't always set. 2009-03-12 13:09:54 +01:00
Michael Stefaniuc cb133a12d0 mshtml: Change long to LONG in mshtml.idl (remaining stuff). 2009-03-12 13:09:54 +01:00
Michael Stefaniuc 491ae71e52 mshtml: Change long to LONG in mshtml.idl (HTML*Element stuff). 2009-03-12 13:09:54 +01:00
Michael Stefaniuc 165f691ca8 mshtml: Change long to LONG in mshtml.idl (htmlwindow.c part). 2009-03-12 13:09:54 +01:00
Michael Stefaniuc b14c0056dd qedit: Change long to LONG in qedit.idl. 2009-03-12 13:09:54 +01:00
Michael Stefaniuc 7ef5f44bb5 include: Change long to LONG in axextend.idl. 2009-03-12 13:09:54 +01:00
Michael Stefaniuc 8e64efeeec d3d9/tests: Fix some ok() strings in the fog test. 2009-03-12 13:09:54 +01:00
Michael Stefaniuc a242d601cc d3d9/tests: Limit the back buffer to 800x600 in the scissor size test. 2009-03-12 13:09:54 +01:00
Christian Costa df48d6f578 d3dxof: Use offsets to reference data instead of pointers so data buffer can be resized. 2009-03-12 13:09:53 +01:00
Paul Vriens fd77bc5f10 crypt32/tests: Fix a test failure on Win9x. 2009-03-12 13:09:53 +01:00
Paul Vriens d5e9c3cf92 ddraw/tests: Fix some test failures on W2K/VMware. 2009-03-12 13:09:53 +01:00
Jacek Caban 0700f281ce mshtml: Don't use unicode constants for HTML IDs (code clean up). 2009-03-12 13:09:53 +01:00
Aric Stewart 6bbec8e660 dinput: OS/X joystick: Check usage page to avoid odd non-button elements found on the 360 controller. 2009-03-12 13:09:53 +01:00
Jeremy White 4b92f6c966 twain_32: Revise internal documentation and one test slightly to bring into line with TWAIN 1.8 requirements. 2009-03-12 13:09:53 +01:00
Jeremy White 33ea7d0801 sane.ds: Add support for DG_IMAGE/DAT_IMAGELAYOUT/GET and SET. Enables Acrobat to use custom scan sizes. 2009-03-12 13:09:53 +01:00
Alexandre Julliard d5a4a6635e oleaut32: Make ole2disp.dll into a stand-alone 16-bit module. 2009-03-12 13:09:53 +01:00
Alexandre Julliard 8a7089570d oleaut32: Make typelib.dll into a stand-alone 16-bit module. 2009-03-12 13:09:52 +01:00
Alexandre Julliard 7b6dd2c9f8 ole32: Get rid of WINE_StringFromCLSID and A->W conversions. 2009-03-12 13:09:52 +01:00
Alexandre Julliard 6b40f64e18 ole32: Make compobj.dll into a stand-alone 16-bit module. 2009-03-12 13:09:31 +01:00
Alexandre Julliard 2e1b309fba ole32: Make ole2.dll into a stand-alone 16-bit module. 2009-03-11 17:05:20 +01:00
Alexandre Julliard f7fe2edadd ole32: Make storage.dll into a stand-alone 16-bit module. 2009-03-11 17:03:10 +01:00
Alexandre Julliard 7511d67447 ole32: Make ole2nls.dll into a stand-alone 16-bit module. 2009-03-11 16:53:06 +01:00
Alexandre Julliard dc81065d44 ole32: Make ole2thk.dll into a stand-alone 16-bit module. 2009-03-11 16:51:09 +01:00
Alexandre Julliard b4bbe0c4a0 ole32: Make ole2prox.dll into a stand-alone 16-bit module. 2009-03-11 16:51:09 +01:00
Alexandre Julliard ea6382623e ole32: Make ole2conv.dll into a stand-alone 16-bit module. 2009-03-11 16:51:09 +01:00
Alexandre Julliard b12965ceaa olesvr32: Make olesvr.dll into a stand-alone 16-bit module. 2009-03-11 16:51:09 +01:00
Alexandre Julliard 7c28860170 olecli32: Make olecli.dll into a stand-alone 16-bit module. 2009-03-11 16:51:09 +01:00
Alexandre Julliard d43148222a msacm32: Make msacm.dll into a stand-alone 16-bit module. 2009-03-11 16:51:09 +01:00
Alexandre Julliard 96b47ff78a lz32: Make lzexpand.dll into a stand-alone 16-bit module. 2009-03-11 16:51:08 +01:00
Alexandre Julliard 009342a88c kernel32: Make the load order for a 16-bit stand-alone dll match its 32-bit owner. 2009-03-11 16:51:08 +01:00
Alexandre Julliard 81f8c03712 configure: Check for IOHIDManagerCreate function that's missing on Tiger. 2009-03-11 16:49:55 +01:00
Paul Vriens ae1802d01b ddraw/tests: Fix some test failures on W2K/VMware. 2009-03-11 16:03:32 +01:00
Aurimas Fischer ffeb09d062 comdlg32: Improve Lithuanian translation. 2009-03-11 15:56:51 +01:00
Alexandre Julliard 41ea320576 wineps.drv: Make all exported entry points CDECL. 2009-03-11 14:10:13 +01:00
Aric Stewart ae16df651f dinput: Add OS/X sliders. 2009-03-11 13:03:34 +01:00
Aric Stewart 08388a3c9b dinput: Map OS/X joystick axes so even if they come out of order on the device we recognize them correctly. 2009-03-11 13:03:34 +01:00
Aric Stewart 17daca7648 dinput: OS/X joystick add Rx,Ry,and Rz axes. 2009-03-11 13:03:34 +01:00
Aric Stewart ffbd6a79a4 dinput: OS/X joystick add GD_X, GD_Y, GD_Z axes. 2009-03-11 13:03:34 +01:00
Aric Stewart 87d61ab21b dinput: OS/X joystick add POV controls. 2009-03-11 13:03:34 +01:00
Aric Stewart 0e7eba1e3f dinput: OS/X joystick add axes. 2009-03-11 13:03:34 +01:00
Aric Stewart 225a494d66 dinput: Add Mac OS/X joystick support. 2009-03-11 13:03:33 +01:00
Huw Davies 908ff58339 gdi32/tests: Under win9x GetBitmapBits returns zero when passed a NULL buffer. 2009-03-11 13:03:33 +01:00
Huw Davies f1e1ae7483 gdi32/tests: Mark as broken another case where win9x doesn't set biSizeImage. 2009-03-11 13:03:33 +01:00
Huw Davies d77ed15f05 gdi32/tests: win9x doesn't initialise the bitmap bits. Mark this behaviour as broken. 2009-03-11 13:03:33 +01:00
Huw Davies e41e1f8f84 gdi32/tests: Remove a cut and paste error. 2009-03-11 13:03:33 +01:00
Henri Verbeet 39ae94d0b3 d3d9: Present parameters are an array when D3DCREATE_ADAPTERGROUP_DEVICE is specified. 2009-03-11 13:03:33 +01:00
Henri Verbeet 40d4f9b7ec wined3d: Don't leak WineD3DAdapter.cfgs. 2009-03-11 13:03:32 +01:00
Henri Verbeet ddae14169b wined3d: Get rid of the PUSH1 macro. 2009-03-11 13:03:32 +01:00
Henri Verbeet 2cc43393f0 wined3d: The adapters array should be owned by IWineD3DImpl. 2009-03-11 13:03:32 +01:00
Henri Verbeet 3644a7f6d7 wined3d: Free the logo path when we're done with it. 2009-03-11 13:03:32 +01:00
Henri Verbeet a75590343a wined3d: Set the correct texture names on cube surfaces. 2009-03-11 13:03:32 +01:00
Alexandre Julliard 28582dbf6c user32/tests: Skip shift+button test if we don't receive the event. 2009-03-11 13:03:32 +01:00
Alexandre Julliard 943ae1f5a6 user32/tests: SetForegroundWindow sometimes fails on Win98. 2009-03-11 13:03:32 +01:00
Alistair Leslie-Hughes 5cadd7e480 mshtml: Add missing IHTMLTable interfaces. 2009-03-11 13:03:31 +01:00
Michael Stefaniuc 9b2730eb88 kernel32: Remove superfluous pointer casts. 2009-03-11 13:03:31 +01:00
Michael Stefaniuc d8b4dd7ab6 mlang: Change long to LONG in mlang.idl. 2009-03-11 13:03:31 +01:00
Michael Stefaniuc a3269bdc40 quartz: Change long to LONG in control.idl. 2009-03-11 13:03:31 +01:00
Nikolay Sivov 24dc6600fc comctl32: Fix item selection with VK_SPACE when Ctrl is pressed. 2009-03-11 13:03:31 +01:00
Dylan Smith 1a2ccfe9c7 richedit: Count graphics towards line width.
Images that are inserted into richedit controls store a space for the
text, since that is the character returned when getting the plain text
from the control.

When calculating the width of a line, the space character is skipped,
but images should not be skipped.  This can be seen by inserting an
image into wordpad on a line by it's own, then centering the line.  The
image will start from the center rather than being centered in the
control.
2009-03-11 13:03:30 +01:00
Jeremy White 782ea74acc sane.ds: Move a few static functions so they can be shared. 2009-03-11 10:33:40 +01:00
Rob Shearman 689a49b52a rpcrt4: Add a check for a NULL ref pointer to NdrPointerUnmarshall. 2009-03-11 10:29:26 +01:00
Alexandre Julliard d2682f57f8 dbghelp: The main executable is now always named "wine". 2009-03-10 18:22:43 +01:00
Alexandre Julliard f4a19c8463 loader: Merge the first and second stage loaders into a single wine binary. 2009-03-10 18:22:38 +01:00
Alexandre Julliard a8c5bd9f42 iphlpapi/tests: Output the various tables in verbose mode. 2009-03-10 17:50:50 +01:00
Alexandre Julliard 4f67d8233d iphlpapi: Implemented AllocateAndGetIpForwardTableFromStack for Solaris. 2009-03-10 17:11:44 +01:00
Alexandre Julliard e5ec9aeb79 iphlpapi: Implemented AllocateAndGetIpNetTableFromStack for Solaris. 2009-03-10 17:10:08 +01:00
Alexandre Julliard 8f481bef2e iphlpapi: Implemented AllocateAndGetUdpTableFromStack for Solaris. 2009-03-10 17:08:28 +01:00
Alexandre Julliard 801d9c3a84 iphlpapi: Implemented AllocateAndGetTcpTableFromStack for Solaris. 2009-03-10 17:05:58 +01:00
Nikolay Sivov 2948ec6a70 user32: Button should get captured when highlighted with VK_SPACE. 2009-03-10 14:51:57 +01:00
Francois Gouget 5e56845546 avifil32: Add a missing AddRef in IGetFrame_QueryInterface(). 2009-03-10 14:42:02 +01:00
Francois Gouget f884cf0ddf avifil32: Add missing AddRefs in IAVIFile_QueryInterface(). 2009-03-10 14:41:59 +01:00
Aric Stewart 5dbe136027 dinput: Create generic joystick Acquire/Unacquire. 2009-03-10 14:40:19 +01:00
Aric Stewart 36f538eb91 dinput: Remove easy redundancy from linuxinput. 2009-03-10 14:40:03 +01:00
Aric Stewart 922b66e354 dinput: Rename Linux-specific joystick functions. 2009-03-10 14:39:49 +01:00
Aric Stewart e90e7e5b77 dinput: Move joystick mapping functions to the generic part. 2009-03-10 14:39:23 +01:00
Aric Stewart 94a5e0978d dinput: Move joystick Polling and Device State to the generic part. 2009-03-10 14:39:03 +01:00
Aric Stewart cbd34748e9 dinput: Move joystick productGuid and Name to the generic part. 2009-03-10 14:38:29 +01:00
Aric Stewart 620839d24e dinput: Begin joystick separation into a generic module. 2009-03-10 14:38:00 +01:00
Tony Wasserka 3b9332a41d d3dx9: Recognize the D3DXSPRITE_DO_NOT_ADDREF_TEXTURE flag. 2009-03-10 12:57:14 +01:00
Tony Wasserka 02e43a5276 d3dx9: Recognize the D3DXSPRITE_DONOTSAVESTATE flag. 2009-03-10 12:56:53 +01:00
Huw Davies 3d461dbe85 gdi32/tests: Win9x's GetDIBits() sets biSizeImage to zero for BI_RGB dibs. 2009-03-10 12:09:12 +01:00
Huw Davies f7608053e7 gdi32/tests: Marked another win9x failure as broken. 2009-03-10 12:09:08 +01:00
Huw Davies bbafe93858 gdi32/tests: Fix yet another place where win9x returns bmType equal to 0x5250. 2009-03-10 12:09:04 +01:00
Henri Verbeet f9d82ed1de d3d8: Handles aren't supposed to be pointers.
This might even make d3d8 a bit more 64-bit safe.
2009-03-10 12:08:58 +01:00
Henri Verbeet cbc8630019 d3d8: Make the shader handle table a bit more generic. 2009-03-10 12:08:32 +01:00
Henri Verbeet 954c3e22e1 d3d8: Don't call Release() in a while loop.
There should only ever be a single reference to these objects, since only
their handle is exposed outside d3d8. Should there be more references than
that, calling Release() in a while loop probably isn't the right approach.
2009-03-10 12:07:59 +01:00
Henri Verbeet 57d971121a d3d8: Fix some sign compare warnings. 2009-03-10 12:07:41 +01:00
Henri Verbeet 67da604eca wined3d: Get rid of a few stack buffers. 2009-03-10 12:07:02 +01:00
Henri Verbeet 1fa83c95de wined3d: Don't call shader_glsl_append_dst() from shader_glsl_texldl().
shader_glsl_gen_sample_code() already takes care of adding the destination.
2009-03-10 12:06:47 +01:00
Paul Vriens e9ece6bd12 wininet/tests: Don't crash on IE5.01SP4. 2009-03-10 12:06:41 +01:00
Paul Vriens ab75abbe39 wininet/tests: Skip tests if functions are not implemented. 2009-03-10 12:06:35 +01:00
Michael Stefaniuc 947bf5834f msxml3: Change the remaining long variables to LONG. 2009-03-10 12:06:30 +01:00
Michael Stefaniuc de68b01e8c msxml3: Change long to LONG in msxml.idl. 2009-03-10 12:06:21 +01:00
Michael Stefaniuc bd87b49614 msxml3: Change long to LONG in msxml2.idl and xmldom.idl. 2009-03-10 12:06:14 +01:00
Michael Stefaniuc 43046481f7 include: Change long to LONG in tom.idl. 2009-03-10 12:06:10 +01:00
Jacek Caban 00289dd19a mshtml: Make sure that HTML headers are terminated by endline. 2009-03-10 12:06:03 +01:00
Jacek Caban 3a118f86f7 mshtml: Added IHTMLStyle::put_cssText implementation. 2009-03-10 12:05:46 +01:00
Jacek Caban 50126adf8b mshtml: Added IHTMLStyle::get_cssText implementation. 2009-03-10 12:05:40 +01:00
Jacek Caban 76d667caf1 mshtml: Added IHTMLElement::put_innerHTML implementation. 2009-03-10 12:05:26 +01:00
Francois Gouget 8f2b4954b0 winmm: Try to load the Esound driver as a last resort.
This gets sound working out of the box on Solaris.
2009-03-10 12:05:20 +01:00