Commit Graph

62754 Commits

Author SHA1 Message Date
Henri Verbeet e1ab5f6e6b wined3d: Don't allow blits with an invalid destination rectangle when a clipper is set either.
Clippers don't really work. Previously we mostly didn't run into this because
the rectangle was already rejected by ddraw_surface7_Blt(), although
ddraw_surface7_BltFast() might have been affected in a couple of cases. We
should of course implement clippers, but until that happens, completely
rejecting the blit is better than introducing memory corruption.

This fixes a regression introduced by commit
92e616f355.
2011-08-22 16:14:36 +02:00
Henri Verbeet f8ce77a598 wined3d: Draw buffers are per-framebuffer state. 2011-08-22 16:14:36 +02:00
Henri Verbeet 34b2956e23 wined3d: Merge FindContext() into context_acquire().
This actually fixes a bug. A context's current_rt field may get set to NULL if
that surface gets destroyed or unloaded. In general, the next time that
context is acquired, context_setup_target() will then set everything up again.
However, if a context_acquire() call with a NULL target ends up returning such
a context, context_setup_target() never sets the current_rt field because the
target FindContext() chooses never gets propagated to context_acquire(). This
patch ensures context_setup_target() is never called with a NULL target.
2011-08-22 16:14:36 +02:00
Henri Verbeet 56428c6386 wined3d: Reuse convert_a8r8g8b8_x8r8g8b8() for B8G8R8X8 -> B8G8R8A8 conversions. 2011-08-22 16:14:36 +02:00
Henri Verbeet 156d24c634 wined3d: Add compressed surface support to surface_cpu_blt(). 2011-08-22 16:14:36 +02:00
Nikolay Sivov 8e904f95c3 ntdll: Stub TokenSessionId for query call. 2011-08-22 16:14:35 +02:00
Nikolay Sivov e717a78afe advapi32/tests: Fix invalid read in test. 2011-08-22 16:14:35 +02:00
Nikolay Sivov c13bf5a58c comctl32/treeview: Set edit box text before notification and keep it after. 2011-08-22 16:14:35 +02:00
Huw Davies 6d0f81336a winex11: Simplify rectangle operations. 2011-08-22 16:14:35 +02:00
Huw Davies f15dcec52f winex11: Sync a dib section's bits before copying the brush. 2011-08-22 16:14:35 +02:00
Huw Davies 39f14b68bf wineps: Don't write a PostScript trailer if we haven't written a header. 2011-08-22 16:14:35 +02:00
Michael Stefaniuc c8fcf420c2 mscoree: COM cleanup for the ICLRRuntimeInfo iface. 2011-08-22 16:14:35 +02:00
Michael Stefaniuc 52dd315666 amstream: Use CoTaskMemRealloc instead of alloc+copy. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc f49d6df198 amstream: Get rid of the explicit implementation of IMediaStream. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc 2b55b5b663 amstream: Avoid the forward declaration of the DirectDrawMediaStream_Vtbl. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc aba87e0fe5 amstream: Basic COM cleanup for the IDirectDrawMediaStream iface. 2011-08-22 16:14:34 +02:00
Jörg Höhle ea47c12ebe wineoss.drv: Fix AudioRenderClient write pointer calculation. 2011-08-22 16:14:34 +02:00
Jörg Höhle 47bc6223e9 winealsa.drv: Fix AudioRenderClient write pointer calculation. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc 8d8843e563 amstream: Avoid a forward declaration of the IMediaStreamFilter vtbl. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc beada9ca42 amstream: COM cleanup for the IMediaStreamFilter iface. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc ce9546f268 gameux: COM cleanup in gamestatistics.c. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc 75ba717967 gameux: COM cleanup in gameexplorer.c. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc fd513acf2e dxdiagn: COM cleanup for the IDxDiagContainer iface. 2011-08-22 16:14:33 +02:00
Michael Stefaniuc a7f0204045 dxdiagn: COM cleanup for the IDxDiagProvider iface. 2011-08-22 16:14:33 +02:00
Michael Stefaniuc 5f77ad406e qcap: COM cleanup in capturegraph.c. 2011-08-22 16:14:33 +02:00
André Hentschel 8134b93516 gdi32/tests: Consistently print out all infos about non-equal rects. 2011-08-22 16:14:33 +02:00
André Hentschel 0dba66c05b winex11: Fix function header for building without xrender headers. 2011-08-22 16:14:33 +02:00
Jörg Höhle a52e160c68 kernel32/tests: WaitForMultipleObjects returns lowest signaled handle first. 2011-08-22 16:14:32 +02:00
Bruno Jesus a1d177c6b6 ws2_32/tests: Add MSG_PEEK tests on recv(). 2011-08-22 16:14:32 +02:00
Andrew Talbot 8032d3ea21 shell32: Remove redundant function declaration. 2011-08-22 16:14:32 +02:00
Andrew Talbot 072ca07de9 comctl32: Remove redundant function declaration. 2011-08-22 16:14:32 +02:00
André Hentschel abcdcd9eea ntdll: Accept double-digit CPU families. 2011-08-22 16:14:32 +02:00
Andrew Talbot e3ff452f39 openal32: void functions should not return a value. 2011-08-22 16:14:32 +02:00
Andrew Talbot 3fe447f58e ole2.dll16: void functions should not return a value. 2011-08-22 16:14:32 +02:00
Andrew Talbot fb3b28f013 msvcrt: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Andrew Talbot e7064e08ac msvcp90: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Andrew Talbot 268226b658 compobj.dll16: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Andrew Talbot 8a4b7f9f22 comctl32: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Andrew Talbot 25ea532443 cabinet: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Marcus Meissner 2de37f0214 wineoss.drv: Print strerror of errno, not of -1 (Coverity). 2011-08-22 16:14:31 +02:00
Marcus Meissner 9ac18eabb9 d3dx9_36: Fixed memset of a -2 32bit value (Coverity). 2011-08-22 16:14:31 +02:00
Jacek Caban 39f4583ef9 jscript: Don't copy more than needed in parse_identifier. 2011-08-22 15:19:18 +02:00
William Pettersson 0e043819f4 wined3d: Add support for Nvidia GTX 550/560 Ti. 2011-08-05 16:43:24 +02:00
Andrew Eikum 9ad60d1d14 winealsa.drv: Inject handle_underrun=1 setting for pulse-backed devices. 2011-08-05 16:41:09 +02:00
Andrew Eikum 8c109aee13 winealsa.drv: Tell ALSA to play silence during underruns. 2011-08-05 16:37:54 +02:00
Hans Leidekker 9432b8e796 winhttp: Don't depend on shlwapi for decoding a URL. 2011-08-05 15:26:12 +02:00
Huw Davies c5f484597f gdi32: Simplify dibdrv_GetImage by merging the stand-alone and selected bitmap cases. 2011-08-05 15:24:58 +02:00
Huw Davies 37423cec7c gdi32: Fix dibdrv_PutImage for the selected bitmap case. 2011-08-05 15:22:48 +02:00
Michael Stefaniuc 3a9fa90257 dpnet: COM cleanup for the IDirectPlay8LobbiedApplication iface. 2011-08-05 15:22:48 +02:00
Michael Stefaniuc 41059e1606 dpnet: COM cleanup for the IDirectPlay8ThreadPool iface. 2011-08-05 15:22:48 +02:00
Jörg Höhle 2e01ea4bda winmm: Remove redundant code. 2011-08-05 15:22:48 +02:00
Jörg Höhle 547f4cace9 winmm: Restore checking of callback flags. 2011-08-05 15:22:48 +02:00
Jörg Höhle b9de906ac1 winmm: Fix logic conditions. 2011-08-05 15:22:48 +02:00
Jörg Höhle 961683704b winmm: Fix memory leak in msacm error path. 2011-08-05 15:22:48 +02:00
Jörg Höhle 7fed738353 winmm: Assign to structs instead of using memcpy. 2011-08-05 15:22:48 +02:00
Jörg Höhle 710d200427 winmm: Replace one HeapAlloc with stack allocation. 2011-08-05 15:22:47 +02:00
Jacek Caban 88f9fcf1f4 mshtml: Fixed nsAString handling in navigate_anchor. 2011-08-05 15:22:47 +02:00
Francois Gouget a61145f284 shell32: Make SHELL_CreateContextMenu() static. 2011-08-05 15:22:47 +02:00
Francois Gouget 319f3b7d6d shell32: Remove WINAPI on static functions where not needed. 2011-08-05 15:22:47 +02:00
Francois Gouget 3b239dbc62 kernel32: Implement K32GetProcessImageFileNameA(). 2011-08-05 15:22:47 +02:00
Alexandre Julliard 3a1194edd7 gdi32: Always use BI_BITFIELDS for 16-bpp in GetImage. 2011-08-05 15:22:43 +02:00
Alexandre Julliard c668354cc0 gdi32: Always set compression to BI_BITFIELDS for 16-bpp DIB sections. 2011-08-05 13:41:18 +02:00
Alexandre Julliard cf4c565fd2 gdi32: Validate the DIB parameters in functions that take a BITMAPINFO. 2011-08-05 13:39:14 +02:00
Alexandre Julliard 805f083f34 gdi32: Add a missing release in the error path. 2011-08-05 10:58:16 +02:00
Henri Verbeet 812a314821 wined3d: Get rid of the fglrx point sprite hack.
Fglrx 9.3 is well over 2 years old at this point. I'd strongly encourage
anyone still affected by this to upgrade to the r300g driver.
2011-08-05 09:17:59 +02:00
Henri Verbeet 293bf961ed wined3d: Pass a non-NULL rectangle to surface_color_fill() in wined3d_device_clear_rendertarget_view(). 2011-08-05 09:17:51 +02:00
Henri Verbeet 7e8e7ecebb wined3d: Always pass a non-NULL rectangle to surface_color_fill() in wined3d_device_color_fill(). 2011-08-05 09:17:47 +02:00
Henri Verbeet 831801dd60 ddraw: Remove rectangle validation from ddraw_surface7_BltFast().
This is already done by wined3d_surface_blt().
2011-08-05 09:17:43 +02:00
Henri Verbeet a84275075d wined3d: Implement wined3d_surface_bltfast() on top of wined3d_surface_blt(). 2011-08-05 09:17:39 +02:00
Huw Davies 33532613a8 gdi32: Don't load a font replacement if any face of the real family exists. 2011-08-04 18:42:33 +02:00
Piotr Caban e934d847b2 mshtml: Added error handling to get_doc_string. 2011-08-04 18:42:30 +02:00
Piotr Caban 0bbc95e4f6 mshtml: Fix DOCUMENT_NODE handling in nsnode_to_nsstring_rec. 2011-08-04 18:42:28 +02:00
Mariusz Pluciński f3bd5210b8 shell32: Check if known folder's relative path was passed to function.
All non-virtual known folders must have set relative path field.
2011-08-04 18:27:38 +02:00
Mariusz Pluciński faa9d41e7f shell32/tests: Add verification of FOLDERID_ProgramFilesX64 and FOLDERID_ProgramFilesCommonX64.
These two known folders exists on 64-bit Windows versions.
2011-08-04 18:27:38 +02:00
Mariusz Pluciński 20cd9f631b shell32/tests: Add verification of known folders definition attributes. 2011-08-04 18:27:38 +02:00
Mariusz Pluciński 183bc5006d shell32/tests: Add verification of known folders attributes. 2011-08-04 18:27:37 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Huw Davies b94616864d gdi32: If possible use the GetImage driver entry to fill the colour table for GetDIBits. 2011-08-04 18:27:36 +02:00
Huw Davies d947f6ef08 gdi32: Simplify the code a little by using a separate variable for the return value. 2011-08-04 18:27:36 +02:00
Huw Davies d88151704e gdi32/tests: Add some GetDIBits tests with zero lines and bits parameters. 2011-08-04 18:27:36 +02:00
Huw Davies 3a2d8b74cf gdi32/tests: Simplify some of the tests. 2011-08-04 18:27:36 +02:00
Hans Leidekker 7b7c95425a msi: Make sure the source directory has a trailing backslash. 2011-08-04 18:27:36 +02:00
Kusanagi Kouichi 806e407193 winex11.drv: Fix a memory leak. 2011-08-04 18:27:36 +02:00
Alexandre Julliard e5ce32e54d gdi32: Get rid of the DIB_GetBitmapInfo function. 2011-08-04 18:27:35 +02:00
Alexandre Julliard 3d0f272a0d gdi32: Create a sanitized BITMAPINFOHEADER in CreateDIBitmap. 2011-08-04 18:27:17 +02:00
Alexandre Julliard a2c99c7353 gdi32: Create a sanitized BITMAPINFOHEADER in GetDIBits. 2011-08-04 18:25:59 +02:00
Alexandre Julliard f234ce9dcc gdi32: Move initialization of a correct BITMAPINFOHEADER to a separate function. 2011-08-04 18:23:41 +02:00
Alexandre Julliard f825f5db8c gdi32: Create a sanitized BITMAPINFO in SetDIBitsToDevice and pass that to the drivers. 2011-08-04 18:23:25 +02:00
Alexandre Julliard d0d98046c6 gdi32: Create a sanitized BITMAPINFO in StretchDIBits and pass that to the drivers. 2011-08-04 18:23:00 +02:00
Alexandre Julliard 7deda05185 gdi32: Create a sanitized BITMAPINFO in CreateDIBSection and pass that to the driver. 2011-08-04 18:21:49 +02:00
Michael Stefaniuc e21eebb2ab dpnet: COM cleanup for the IDirectPlay8Peer iface. 2011-08-04 12:08:53 +02:00
Jacek Caban a1e8bc65e7 wshom.ocx: Added Dll[Un]RegisterServer implementation. 2011-08-04 12:06:24 +02:00
Jacek Caban 2d58bca093 wshom.ocx: Added typelib. 2011-08-04 12:06:06 +02:00
Jay Yang 0a7a3be0b1 shell32: Implement SHCreateDefaultContextMenu and CDefFolderMenu_Create2. 2011-08-04 11:54:14 +02:00
André Hentschel efaa801361 fusion/tests: Skip tests when file creation fails. 2011-08-04 11:51:18 +02:00
Francois Gouget 66395882f8 kernel32: Fix writing to a pipe in WriteConsoleW(). 2011-08-04 11:47:36 +02:00
Nikolay Sivov 322049cebf advapi32/crypt: Fixed some HKEY leaks. 2011-08-04 09:08:07 +02:00
Florian Köberle e68b9f9fc9 comctl32/header: Don't free the imagelist in HEADER_NCDestroy. 2011-08-04 09:06:54 +02:00
Florian Köberle 9a616111da comctl32/tests: Test that headers do not free their image list. 2011-08-04 09:06:51 +02:00
Henri Verbeet 662de19ad3 wined3d: Move some flags handling from surface_cpu_blt() to wined3d_surface_blt(). 2011-08-04 09:04:49 +02:00