Commit Graph

41813 Commits

Author SHA1 Message Date
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