Henri Verbeet
26484c9200
wined3d: Allow color fills on FBO attachable surfaces in ffp_blit_supported().
2011-08-22 16:14:36 +02:00
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
Henri Verbeet
92e616f355
ddraw: Remove rectangle validation from ddraw_surface7_Blt().
...
This is already done by wined3d_surface_blt().
2011-08-04 09:04:44 +02:00
Henri Verbeet
7e3ecd683c
wined3d: Move rectangle validation from surface_cpu_blt() to wined3d_surface_blt().
...
This fixes some tests because these were getting skipped for the BltOverride() path.
2011-08-04 09:04:39 +02:00
Henri Verbeet
b166cb29f8
wined3d: Remove src_rect and dst_rect NULL checks from surface_cpu_blt().
2011-08-04 09:04:25 +02:00
Henri Verbeet
e74d1358ac
wined3d: Remove the unused blit_op parameter to arbfp_blit_surface().
2011-08-04 09:04:20 +02:00
Maarten Lankhorst
57493fdd8c
ntdll: Use FUTEX_PRIVATE_FLAG for critical section futexes when available.
2011-08-04 09:03:57 +02:00
André Hentschel
e1ae573de5
oleaut32/tests: Skip tests if typelib can't be registered.
2011-08-04 08:52:17 +02:00
Alexandre Julliard
117efddd79
comdlg32/tests: Fix a couple of test failures on NT4.
2011-08-04 08:51:54 +02:00
Alexandre Julliard
c309883a70
gdi32: Update the coordinates in convert_bitmapinfo to reflect the position in the destination bitmap.
2011-08-03 20:26:44 +02:00
Alexandre Julliard
2ba1a43703
gdi32: Use the visrect coordinates in dibdrv_PutImage.
2011-08-03 19:59:46 +02:00
Mariusz Pluciński
fe0eab4bd1
shell32/tests: Add verification of known folders parsing names.
2011-08-03 19:00:20 +02:00
Austin English
1197b5e3e3
msvcrt/tests: Make sure to use return values.
2011-08-03 19:00:11 +02:00
Jörg Höhle
c7d0c093e5
winmm: Functions that take an open HWAVE don't need StartDevicesThread.
2011-08-03 17:49:47 +02:00
Vincent Povirk
62802b8bdf
winex11.drv: Don't set gamma when UseXVidMode is turned off.
2011-08-03 17:43:21 +02:00
Jacek Caban
1c2f066f86
wshom.ocx: Added new DLL.
2011-08-03 17:39:18 +02:00
Alistair Leslie-Hughes
3fc5110e2c
advapi32: Add stub TraceMessage, TraceMessageVa.
2011-08-03 17:38:31 +02:00
Richard Bradbrook
5495b53eb1
comctl32: Make ComboBoxEx draw its contents even when disabled.
2011-08-03 17:37:55 +02:00
Richard Bradbrook
f9d9720d25
comctl32: Fix to ComboBoxEx processing of WM_ENABLE message.
2011-08-03 17:37:53 +02:00
Frédéric Delanoy
7e309601f3
dlls: Assorted spelling fixes.
2011-08-03 14:15:50 +02:00
Jacek Caban
ecc270869c
ieframe: Moved intshcut.c tests to ieframe.
2011-08-03 14:15:50 +02:00
Jacek Caban
7891fc45d3
mshtml: Removed duplicated includes.
2011-08-03 14:15:49 +02:00
Jacek Caban
5150e0f048
mshtml: Properly free tasks in remove_target_tasks.
2011-08-03 14:15:49 +02:00
Jacek Caban
923484bd7c
mshtml: Use task destructor for set_downloading task.
2011-08-03 14:15:49 +02:00
Jacek Caban
9f77da607f
mshtml: Use task destructor for start_binding task.
2011-08-03 14:15:49 +02:00
Jacek Caban
6830a3b312
mshtml: Use task destructor for async_doc_binding task.
2011-08-03 14:15:49 +02:00
Jacek Caban
d65758db28
mshtml: Use task destructor for start_request task.
2011-08-03 14:15:49 +02:00
Jacek Caban
3be3074fa1
mshtml: Use task destructor for navigate_javascript task.
2011-08-03 14:15:49 +02:00
Jacek Caban
832d4eb2e2
mshtml: Use task destructor for navigate task.
2011-08-03 14:15:49 +02:00
Jacek Caban
7247eaa181
mshtml: Allow async tasks to have custom destructors.
2011-08-03 14:15:49 +02:00
Jacek Caban
7a0600dc39
mshtml: Call default event handlers only for events that have them.
2011-08-03 14:15:48 +02:00
Jacek Caban
d125640499
mshtml: Added IURi-based nsIURL::GetDirectory implementation.
2011-08-03 14:15:48 +02:00
Michael Stefaniuc
3673f6b7c4
ole32/tests: COM cleanup in compobj.c.
2011-08-03 14:15:48 +02:00
Michael Stefaniuc
c97a2ecdcd
dpnet: COM cleanup for the IDirectPlay8Client iface.
2011-08-03 14:15:48 +02:00
Francois Gouget
21d6086c60
ntdll: Fix the field names of KUSER_SHARED_DATA and update it.
2011-08-03 14:15:48 +02:00
Francois Gouget
19edb43627
dinput: Make _dump_diactionformatA() static.
2011-08-03 14:15:48 +02:00
Francois Gouget
8ca8267cab
d3dxof: Fix the spelling of the children structure fields and constants.
2011-08-03 14:15:48 +02:00
Francois Gouget
70c9510b45
hlink: Fix the spelling of a parameter name.
2011-08-03 14:15:48 +02:00
Francois Gouget
c21bfe4479
oleaut32: Fix the spelling of an internal structure field name.
2011-08-03 14:15:48 +02:00
Francois Gouget
ed3c9a1eca
Assorted spelling fixes.
2011-08-03 14:15:48 +02:00
Alexandre Julliard
1aa35bea9a
gdi32: Use GetImage to retrieve the brush bits in enhanced metafiles.
2011-08-03 14:15:48 +02:00
Alexandre Julliard
91976a5b74
gdi32: Use GetImage to retrieve the brush bits in metafiles.
2011-08-03 14:15:47 +02:00
Alexandre Julliard
6d00196aea
gdi32: Get rid of the SetBitmapBits driver entry point.
2011-08-03 14:15:47 +02:00
Alexandre Julliard
09eb59d3c6
gdi32: Set the initial bits of a bitmap from the gdi side.
2011-08-03 14:15:47 +02:00
Alexandre Julliard
107849916f
gdi32: Reimplement SetBitmapBits using the PutImage driver entry point.
2011-08-03 14:15:28 +02:00
Alexandre Julliard
76b5c1dcac
gdi32: Partial implementation of PutImage in the null driver for DDBs.
2011-08-03 12:31:52 +02:00
Henri Verbeet
41cff1618c
wined3d: Merge wined3d_surface_blt(), surface_blt() and gdi_surface_blt().
2011-08-03 09:23:30 +02:00
Henri Verbeet
c12627562b
wined3d: Go to the fallbacks for cross-swapchain blits.
2011-08-03 09:23:20 +02:00
Henri Verbeet
111e8fe77c
wined3d: Add WINED3DFMT_P8_UINT support to wined3d_format_convert_from_float().
2011-08-03 09:23:16 +02:00
Henri Verbeet
cf1c641cbb
wined3d: Fix switching color keying on / off.
2011-08-03 09:23:12 +02:00
Henri Verbeet
e4efcea223
wined3d: Set the read buffer to GL_NONE in surface_load_ds_location().
...
On GL implementations that don't support GL_ARB_ES2_compatibility the
framebuffer's read buffer has to be valid, even if we're not reading from it.
2011-08-03 09:23:08 +02:00