Commit Graph

41761 Commits

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