Andrew Talbot
94c0407cac
dbghelp: Constify some variables.
2011-08-23 16:53:52 +02:00
Andrew Eikum
23c26982e9
mmdevapi: Disable sound if the user explicitly selects no driver.
...
This also tweaks the no-driver behavior to report 0 active devices
instead of returning an error code.
2011-08-23 16:53:52 +02:00
Henri Verbeet
7d46943067
wined3d: Make some parameters to get_glsl_program_entry() const.
2011-08-23 16:53:52 +02:00
Henri Verbeet
3b3470b151
wined3d: Make the shader parameter to shader_glsl_generate_vshader() const.
2011-08-23 16:53:52 +02:00
Henri Verbeet
f75675031f
wined3d: Make the shader parameter to shader_glsl_generate_pshader() const.
2011-08-23 16:53:52 +02:00
Henri Verbeet
9de5372036
wined3d: Introduce a function to update a swapchain's render_to_fbo field.
2011-08-23 16:53:51 +02:00
Henri Verbeet
7b19efd9d5
wined3d: Just call resource_unload() in updateSurfaceDesc().
...
Instead of trying to duplicate the functionality.
2011-08-23 16:53:51 +02:00
Henri Verbeet
b474225386
wined3d: Only delete the GL contexts after unloading resources in wined3d_device_reset().
...
The updateSurfaceDesc() calls potentially make GL calls.
2011-08-23 16:53:51 +02:00
Henri Verbeet
9df014b9de
wined3d: Rename WineD3D_ChoosePixelFormat() to context_choose_pixel_format().
2011-08-23 16:53:51 +02:00
Henri Verbeet
48911d7a1c
wined3d: Reject color blits on sysmem surfaces in ffp_blit_supported().
2011-08-23 16:53:51 +02:00
Henri Verbeet
f58e55ec6c
wined3d: Move arbfp based color blits from IWineD3DSurfaceImpl_BltOverride() to wined3d_surface_blt().
2011-08-23 16:53:51 +02:00
Henri Verbeet
c592d553f0
wined3d: Reject color blits on sysmem surfaces in arbfp_blit_supported().
2011-08-23 16:53:51 +02:00
Aric Stewart
fda05436d1
usp10: Implement Multiple Substitution Subtable.
2011-08-23 16:53:51 +02:00
Nikolay Sivov
9c2288fcee
msxml3/mxnamespace: Support prefix override mode.
2011-08-23 16:53:51 +02:00
Nikolay Sivov
a15fe5a755
msxml3/mxnamespace: Implemented getURI().
2011-08-23 16:53:51 +02:00
Nikolay Sivov
42f65e1358
msxml3/mxnamespace: Implement declarePrefix() and getDeclaredPrefix().
2011-08-23 16:53:50 +02:00
Nikolay Sivov
7f47d97e12
msxml3/mxnamespace: Stub IVBMXNamespaceManager and added some tests.
2011-08-23 16:53:50 +02:00
Nikolay Sivov
9253967295
msxml3/mxnamespace: Add IMXNamespaceManager stub.
2011-08-23 16:53:50 +02:00
Thomas Mullaly
f1f57f2368
msxml3: Added IStream support to IMXWriter.
2011-08-23 16:53:49 +02:00
Thomas Mullaly
e4b7e96267
msxml3/tests: Added more IMXWriter tests.
2011-08-23 16:53:49 +02:00
Thomas Mullaly
ae36cd5f35
msxml3/tests: Added IStream tests for IMXWriter.
2011-08-23 16:53:49 +02:00
Francois Gouget
87035e5274
advapi32/tests: Test what happens when a service fails to or cannot start.
2011-08-23 16:53:49 +02:00
André Hentschel
c36b392a72
gdi32: Initial gamma setting tests.
2011-08-23 16:53:49 +02:00
André Hentschel
4b538567e8
winex11: Validate the ramps also when not converting them to single values.
2011-08-23 16:53:48 +02:00
André Hentschel
72c121e797
ieframe: Only print the FIXMEs once for progress bar handling.
2011-08-23 16:53:48 +02:00
Francois Gouget
ff8f6e8662
user32: When destroying a window, preserve the first WM_QUIT message that was posted to it.
2011-08-23 11:50:59 +02:00
Francois Gouget
30f2c6610d
user32/tests: Test what happens to a WM_QUIT posted to a window that gets destroyed.
2011-08-23 11:50:56 +02:00
Mariusz Pluciński
4505b4b07c
shell32: Replace call of RegDeleteKeyW by SHDeleteKeyW.
2011-08-23 11:39:41 +02:00
Francois Gouget
7feb06b6f6
comdlg32: Specify a message context for 'mm'.
2011-08-22 20:08:32 +02:00
Bernhard Loos
3623b9d4c9
kernel32: Create(Named)Pipe uses an nonalertable io mode.
2011-08-22 19:49:40 +02:00
Bernhard Loos
4e4bdbe53e
kernel32: Make CreateThread hotpatchable.
2011-08-22 19:49:39 +02:00
Bernhard Loos
b8629f55f1
ntdll: Initialize the Length field of PEB->LdrData.
2011-08-22 19:49:39 +02:00
Bruno Jesus
43dfbfd87d
user32/tests: Add combobox CB_SETDROPPEDWITH/CB_GETDROPPEDWIDTH tests.
2011-08-22 19:49:39 +02:00
Stefan Dösinger
0fc7cd5ad7
wined3d: Invalidate streamsrc, vdecl and indexbuffer after strided draws.
2011-08-22 19:49:39 +02:00
Michael Stefaniuc
42a6455ea5
wined3d: Sync a function prototype with its definition.
2011-08-22 19:49:39 +02:00
Chris Robinson
342d2b8979
wined3d: Don't use the old depth-stencil surface after decrementing its ref count.
2011-08-22 17:22:48 +02:00
Austin English
4cdd01fc82
gdi32/tests: Remove win9x hacks.
2011-08-22 17:22:07 +02:00
Austin English
6e69d1168f
d3d8/tests: Make sure to use return values (LLVM/Clang).
2011-08-22 17:21:50 +02:00
Austin English
e2cbe25ba7
kernel32/tests: Remove win9x hacks.
2011-08-22 17:21:23 +02:00
Owen Rudge
2d8ad31e22
comctl32: Fix incorrect use of border metrics.
2011-08-22 17:16:47 +02:00
Ričardas Barkauskas
68f3d21f02
ddraw: Print IDirectDrawGammaControl interface reference count for easier debugging.
2011-08-22 17:16:04 +02:00
Ričardas Barkauskas
5c8ad26757
ddraw: Do not AddRef IDirectDraw7 iface in CreateSurface helper.
2011-08-22 17:15:54 +02:00
Ričardas Barkauskas
abf8728e1f
ddraw: Don't allow setting palette on non root surfaces.
2011-08-22 17:15:48 +02:00
Ričardas Barkauskas
1a609ecab8
ddraw/tests: Properly release no longer used interfaces.
2011-08-22 17:15:41 +02:00
Thomas Faber
73876d6ccd
riched20: Fix uninitialized variable usage.
2011-08-22 17:15:02 +02:00
Nikolay Sivov
2de8137f11
oleaut32: Use type names and sizeof() instead of hardcoded values for save/load methods.
2011-08-22 16:22:25 +02:00
Nikolay Sivov
1a7d52c907
oleaut32: Use strdupW to duplicate strings.
2011-08-22 16:22:05 +02:00
Nikolay Sivov
08f578a6c5
oleaut32: FONTDESC size field value is not important for OleCreateFontIndirect.
2011-08-22 16:21:32 +02:00
Nikolay Sivov
78ca68c854
oleaut32/tests: Clean result value checks.
2011-08-22 16:21:21 +02:00
Nikolay Sivov
e800158ab0
oleaut32: Get rid of duplicated condition check.
2011-08-22 16:21:01 +02:00
Nikolay Sivov
c69be3bfb9
oleaut32: Clean QueryInterface() method, turn impl. calls to interface calls.
2011-08-22 16:20:46 +02:00
Nikolay Sivov
92054ef01c
oleaut32: Remove some useless comments and initializers.
2011-08-22 16:20:27 +02:00
Huw Davies
925fa10865
gdi32: Change the object-level brush function to accept a stand-alone dib and a separate clip region.
2011-08-22 16:19:40 +02:00
Huw Davies
c6f6c3f727
gdi32: Implement Polyline and PolyPolyline in the dib driver.
2011-08-22 16:19:24 +02:00
Huw Davies
0f40ad8a3d
gdi32: Move to using a multi-line pen object-level function.
2011-08-22 16:19:15 +02:00
Huw Davies
1e83fd0076
gdi32: Use the gdi_image_bits structure to maintain the dib driver's bits.
2011-08-22 16:18:54 +02:00
Huw Davies
2e908e067c
gdi32: Simplify dibdrv_PutImage a little.
2011-08-22 16:18:24 +02:00
Huw Davies
de213f2c66
gdi32: Avoid directly accessing the bits ptr where possible.
2011-08-22 16:18:13 +02:00
Huw Davies
a55ec17b74
gdi32: Use the dib driver GetImage and PutImage implementations in GetBitmapBits and SetBitmapBits when appropriate.
2011-08-22 16:18:08 +02:00
Huw Davies
e82f88d5ee
gdi32: Add a helper to retrieve the bitmap functions.
2011-08-22 16:18:04 +02:00
Huw Davies
cb82c45b3a
gdi32: Allow SetBitmapBits to set incomplete scanlines.
2011-08-22 16:16:08 +02:00
Huw Davies
bdc3b9c0a9
gdi32: Avoid a possible unnecessary conversion if PutImage is called with zero biClrUsed.
2011-08-22 16:15:45 +02:00
Huw Davies
40742c2f72
gdi32: Fix colour table comparison.
2011-08-22 16:15:13 +02:00
Henri Verbeet
a04f0e9c78
wined3d: Move FBO based color blits from IWineD3DSurfaceImpl_BltOverride() to wined3d_surface_blt().
2011-08-22 16:14:37 +02:00
Henri Verbeet
d063ff55e7
wined3d: Move surface_color_fill() based color fills from IWineD3DSurfaceImpl_BltOverride() to wined3d_surface_blt().
2011-08-22 16:14:37 +02:00
Henri Verbeet
a887128ffd
wined3d: Reject color fills on sysmem surfaces in ffp_blit_supported().
2011-08-22 16:14:36 +02:00
Henri Verbeet
18434ddc57
wined3d: Directly call surface_cpu_blt() in cpu_blit_color_fill().
...
And avoid a potential infinite recursion if wined3d_surface_blt() ends up
calling cpu_blit_color_fill().
2011-08-22 16:14:36 +02:00
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