Commit Graph

76683 Commits

Author SHA1 Message Date
Jacek Caban 2c9774f002 appwiz.cpl: Allow cancelling download of addons. 2013-09-20 17:04:34 +02:00
Stefan Dösinger 24fbe9f2ec wined3d: Pass the destination pitch to format conversion functions.
The relation between src and dst pitches is not correct if the source
pitch is padded to match pitch alignment requirements.
2013-09-20 17:04:04 +02:00
Sebastian Lackner 0fb3aaac10 d3d9/tests: Implemented tests for IDirect3DSwapChain9Ex_GetDisplayModeEx. 2013-09-20 17:03:44 +02:00
Michael Müller cf01bb3d2a d3d9/tests: Test if IDirect3DSwapChain9Ex is available with IDirect3D9(Ex). 2013-09-20 17:03:31 +02:00
Michael Müller edad7dea7e d3d9: Partial implementation of IDirect3DSwapChain9Ex. 2013-09-20 17:03:20 +02:00
Ken Thomases cf973bd28d winex11: Don't trace a garbage value or read past end of caller's array in X11DRV_wglChoosePixelFormatARB(). 2013-09-20 14:11:24 +02:00
Henri Verbeet 11ced88a37 d3d9: Avoid CONST. 2013-09-20 11:27:51 +02:00
Henri Verbeet 49a3dbc453 d3dx9: Avoid CONST. 2013-09-20 11:27:49 +02:00
Henri Verbeet 0eae0858ae wined3d: Set the default scissor rect from the swapchain desc in state_init_default().
We always have a swapchain here, even if there are no back buffers.
2013-09-20 11:27:43 +02:00
Henri Verbeet 49c6b87a32 wined3d: Only print a warning about render target usage in wined3d_device_set_render_target(). 2013-09-20 11:27:40 +02:00
Henri Verbeet 31de4f1670 ddraw/tests: Add a test for render target surface capabilities. 2013-09-20 11:27:37 +02:00
Bruno Jesus 68377494c6 ws2_32: ConnectEx should not work on unbound socket. 2013-09-20 11:26:48 +02:00
Hans Leidekker c0e1dda04c wininet: Don't assume that end of chunk means end of stream. 2013-09-20 11:11:54 +02:00
Dmitry Timoshkov b4ab43b3de kernel32: Remove a 0-length read optimization from ReadFile. 2013-09-20 11:11:47 +02:00
Dmitry Timoshkov 70930fa12c kernel32/tests: Add 0-length read tests for a pipe. 2013-09-20 11:11:27 +02:00
Dmitry Timoshkov 0c024503db kernel32/tests: Add 0-length read tests for a mailslot. 2013-09-20 11:11:03 +02:00
Dmitry Timoshkov d6900fc556 ntdll/tests: Add 0-length read tests for a disk file. 2013-09-20 11:11:00 +02:00
Jacek Caban 6e143e6c81 mshtml: Added external MIME handling tests. 2013-09-19 20:34:03 +02:00
Jacek Caban d36ffab315 mshtml: Pass external connection to WebBrowser host, if possible. 2013-09-19 20:34:03 +02:00
Jacek Caban b17d139328 mshtml: Don't pass navigation to Gecko for MIME types that it doesn't support. 2013-09-19 20:34:03 +02:00
Jacek Caban 4db1b00815 mshtml: Keep moniker reference after start_binding call. 2013-09-19 20:33:59 +02:00
Andrew Eikum 7f47beb7d8 oleaut32: Implement ICreateTypeInfo::SetFuncDocString. 2013-09-19 20:14:06 +02:00
Huw Davies f9447f92ef iphlpapi: Use socklen_t where appropriate. 2013-09-19 20:14:05 +02:00
Huw Davies 21dc848378 iphlpapi: Add interface enumeration for Android. 2013-09-19 20:14:04 +02:00
Huw Davies 8876c3ee82 iphlpapi: Combine the various interface enumeration functions into one function. 2013-09-19 20:14:03 +02:00
Hans Leidekker 8e74c8953a rsaenh: Add support for retrieving the security descriptor on key containers. 2013-09-19 20:14:02 +02:00
Bruno Jesus 5dcf368e1b ws2_32/tests: Mark WinNT result as broken. 2013-09-19 19:50:14 +02:00
Piotr Caban bd610a66c4 msvcp60: Don't call _Eos on allocation error or 0-length string in basic_string::reserve. 2013-09-19 19:50:05 +02:00
Stefan Dösinger 8aa65c79e7 d3d8/tests: Test invalid volume lock boxes. 2013-09-19 19:49:59 +02:00
Stefan Dösinger 9efed3d379 d3d8/tests: Add tests for block-based volume formats. 2013-09-19 19:49:55 +02:00
Stefan Dösinger d15042837a wined3d: Pass a correct access flag to glMapBufferARB. 2013-09-19 19:49:49 +02:00
Stefan Dösinger e9b4f154dd wined3d: Don't use volume->resource.allocatedMemory.
Depending on the location flags, the buffer or heap_memory should be
used.
2013-09-19 19:49:43 +02:00
Stefan Dösinger 708024f786 d3d9/tests: Read the caps from the device. 2013-09-19 19:49:40 +02:00
Piotr Caban dadb2fdfa9 msvcrt: Add _snwprintf_s_l implementation. 2013-09-19 19:49:11 +02:00
Henri Verbeet 5bd3bfff99 wined3d: Avoid LPVOID. 2013-09-19 19:49:01 +02:00
Henri Verbeet e9fbb6b0fd wined3d: Avoid LPCSTR. 2013-09-19 19:49:00 +02:00
Henri Verbeet 8aae165fc2 ddraw: Verify that the surface is not a depth buffer in SetRenderTarget().
This check is even more inconsistent between versions. Notice how the v2
interface is particularly broken because it never AddRef()'s the new iface.
This check also seems to be the original source for the questionable behaviour
in d3d_device_set_render_target() of storing the new iface before checking the
result of the wined3d_device_set_render_target(). (In particular,
SetRenderTargetTest() in tests/d3d.c tests for this behavious.)
2013-09-19 19:48:44 +02:00
Henri Verbeet c70376af63 ddraw: Verify that the surface is in video memory in SetRenderTarget().
This is where things become a bit of a mess, because the error checking is
inconsistent between versions.
2013-09-19 19:48:41 +02:00
Henri Verbeet ed92369316 ddraw: Verify that the surface is a render target in d3d_device_set_render_target(). 2013-09-19 19:48:35 +02:00
Dmitry Timoshkov b7e68ae338 shlwapi/tests: Fix stream test failures under some win2000 versions. 2013-09-19 09:31:01 +02:00
Rico Schüller 196766cb77 d3dx9/tests: Add matrix column register count clamp test. 2013-09-19 09:30:56 +02:00
Rico Schüller ae95176c0d d3dx9: Clamp register count for D3DXPC_MATRIX_COLUMNS. 2013-09-19 09:30:54 +02:00
Bruno Jesus e9bd764a7b ws2_32: Make getsockopt(SO_TYPE) convert the returned socket type. 2013-09-19 09:30:40 +02:00
Ken Thomases 018d629b3c winemac: Use NSMouseInRect() instead of NSPointInRect() to compensate for Cocoa's off-by-one coordinate system.
This matches what Cocoa does when determining how to handle an event so that,
for example, our test if a click is in the window grow box corresponds to
whether Cocoa will run an internal mouse-tracking loop to resize the window
when we pass it the event.  This fixes a problem where both Cocoa and user32
would try to run a resize loop and the cursor would get "stuck" resizing the
window after the button was released.
2013-09-19 09:30:18 +02:00
Aric Stewart 8b933495fb imm32: Fix ImmGetDescription behavior with a null HKL. 2013-09-18 22:23:09 +02:00
Qian Hong b4b428ee9e imm32: Validate input context in multiple IMC functions.
Both tests and fixes improved by Aric Stewart.
2013-09-18 22:23:09 +02:00
Ken Thomases 4ad9d5f04a winemac: Send WM_ENTER/EXITSIZEMOVE messages at start/end of a resizing operation. 2013-09-18 22:23:09 +02:00
Ken Thomases d55d2ec85a winemac: Move memory management of liveResizeDisplayTimer into property setter. 2013-09-18 22:23:09 +02:00
Ken Thomases a3197b8ad0 winemac: At the start of a resize operation, get window min/max size info and pass it to Cocoa. 2013-09-18 22:23:09 +02:00
Jacek Caban 040e47fece ieframe: Added IWebBrowserPriv2IE8 stub implementation. 2013-09-18 20:21:50 +02:00
Jacek Caban 42c1b3936d mshtml: Moved Exec(DOCHOST_DOCCANNAVIGATE) call to separated function. 2013-09-18 20:21:44 +02:00
Huw Davies f8463f28a9 iphlpapi: Add helpers to convert the host's sockaddr structures to SOCKADDR_STORAGE. 2013-09-18 20:21:31 +02:00
Dmitry Timoshkov c6d62ff081 windowscodecs: Implement CreateBitmapFromHBITMAP. 2013-09-18 20:21:08 +02:00
Stefan Dösinger 2f9d9b5032 d3d9/tests: Test invalid volume lock boxes. 2013-09-18 15:47:16 +02:00
Stefan Dösinger 50d2cdd0ea d3d9/tests: Add tests for block-based volume formats. 2013-09-18 15:47:11 +02:00
Stefan Dösinger 2680f33015 wined3d: Check box dimensions in volume_map. 2013-09-18 15:47:00 +02:00
Stefan Dösinger ac37f7a2ac wined3d: Implement locking of block-based volume textures. 2013-09-18 15:46:56 +02:00
Stefan Dösinger 83b404879c wined3d: Mapping a mapped volume is an error. 2013-09-18 15:46:49 +02:00
Roderick Colenbrander af58ccebba winex11: Support GLX_MESA_swap_control for WGL_EXT_swap_control. 2013-09-18 13:14:47 +02:00
Andrew Eikum 87c459ab23 oleaut32: Implement VarDecRound. 2013-09-18 13:13:30 +02:00
Henri Verbeet 69fe799c25 d3d10: Avoid LPVOID. 2013-09-18 13:11:27 +02:00
Henri Verbeet 708615056c d3d10: Avoid LPCSTR. 2013-09-18 13:11:25 +02:00
Henri Verbeet 2cc421f59d ddraw: Verify that surfaces with an indexed format have a palette attached in d3d_device_set_render_target(). 2013-09-18 13:11:21 +02:00
Henri Verbeet 4f89957161 ddraw: Verify that the surface is in video memory in d3d_device_create(). 2013-09-18 13:11:18 +02:00
Henri Verbeet c69cd599a3 ddraw: Verify that surfaces with an indexed format have a palette attached in d3d_device_create(). 2013-09-18 13:11:15 +02:00
Piotr Caban 1f1624612e msvcrt: Don't use CDECL calling convention in MSVCRT_wcsrtombs_l (internal function). 2013-09-18 13:11:10 +02:00
Bruno Jesus 2034f51598 ws2_32: Do not allow socket creation if WSAStartup was not called. 2013-09-17 19:07:54 +02:00
Bruno Jesus 0298165bea ws2_32: Filter invalid socket parameters and return the appropriate error. 2013-09-17 19:07:49 +02:00
Bruno Jesus 35e54fa59b ws2_32: Auto detect the socket type and family based on the protocol. 2013-09-17 19:07:29 +02:00
Bruno Jesus 8e29fcddb9 ws2_32: Use the struct information when the parameters are zero in WSASocket. 2013-09-17 19:07:14 +02:00
Piotr Caban bffc240b4e msvcrt: Fix loop condition when printing Inf or NaN. 2013-09-17 16:26:01 +02:00
Piotr Caban 882761f15d msvcrt: Don't forward wcsstr to ntdll. 2013-09-17 16:25:54 +02:00
Piotr Caban a89f726355 msvcrt: Don't forward wcslen to ntdll. 2013-09-17 16:25:48 +02:00
Piotr Caban 300c012372 msvcrt: Don't forward wcschr to ntdll. 2013-09-17 16:25:43 +02:00
Piotr Caban 019c34ca1e msvcrt: Don't forward strstr to ntdll. 2013-09-17 16:25:28 +02:00
Piotr Caban 138df7da33 msvcrt: Don't forward strrchr to ntdll. 2013-09-17 16:25:23 +02:00
Piotr Caban 31d92b926e msvcrt: Don't forward strncat to ntdll. 2013-09-17 16:25:04 +02:00
Piotr Caban f0ec9b134a msvcrt: Don't forward strlen to ntdll. 2013-09-17 16:24:58 +02:00
Piotr Caban 1803016c08 msvcrt: Don't forward strcmp to ntdll. 2013-09-17 16:24:53 +02:00
Piotr Caban 5b1f7f8549 msvcrt: Don't forward memmove to ntdll. 2013-09-17 16:24:46 +02:00
Piotr Caban 4fbf246298 msvcrt: Don't forward memcmp to ntdll. 2013-09-17 16:24:39 +02:00
Huw Davies 208eae73ae iphlpapi: Add a version of get_dns_servers for Android. 2013-09-17 16:24:24 +02:00
Huw Davies c7dd313d75 iphlpapi: Add a configure check for struct __res_state. 2013-09-17 16:23:42 +02:00
Stefan Dösinger 7aa17eaa5c d3dx9_36/tests: Create*TextureFromFileInMemory doesn't fail.
If the format is unsupported it picks a replacement format. Our d3dx9
cannot handle d3dx9 decompression yet, so mark the tests todo_wine in
this case.
2013-09-17 16:22:29 +02:00
André Hentschel 0e867236dc msvcrt/tests: Load the correct function on ARM. 2013-09-17 12:27:00 +02:00
André Hentschel 22cd7a10cf kernel32/tests: Add initial CreateFile2 tests based on the CreateFileW tests. 2013-09-17 12:27:00 +02:00
Hans Leidekker d36e7c080c wsnmp32: Add stub implementations for a couple of functions. 2013-09-17 12:26:57 +02:00
Henri Verbeet 6d02c19f2b d3d10core: Avoid LPVOID. 2013-09-17 12:01:27 +02:00
Henri Verbeet 592b347c79 d3d10core: Avoid LPSTR. 2013-09-17 12:01:25 +02:00
Henri Verbeet d2d0c42b6d ddraw: Verify that the surface is a render target in d3d_device_create(). 2013-09-17 12:01:23 +02:00
Henri Verbeet 3fb53e21fb ddraw: Don't set render target / depth stencil usage on sysmem surfaces.
Setting render target usage on a P8 surface for example would fail surface
creation, while such surfaces can't be used for actual rendering anyway. Tests
confirm that surface creation is supposed to succeed for P8 surfaces with both
DDSCAPS_SYSTEMMEMORY and DDSCAPS_3DDEVICE set.
2013-09-17 12:01:21 +02:00
Henri Verbeet df01e8d6cc ddraw: Fix render target refcount handling.
Similar to AddAttachedSurface() / DeleteAttachedSurface(), we should Release
the interface version that we stored. (And actually store the interface that
we AddRef.)
2013-09-17 12:01:18 +02:00
Piotr Caban 6594212dd6 msvcrt: Fix Inf and NaN handling in printf function. 2013-09-16 19:51:04 +02:00
Huw Davies 57ed5bf32e iphlpapi: Use proper multibyte to unicode conversion. 2013-09-16 19:50:40 +02:00
Dmitry Timoshkov b145f42b0f shlwapi: Write file access also assumes read access. 2013-09-16 19:50:14 +02:00
Dmitry Timoshkov 75fc26f680 shlwapi/tests: Add a read/write test for IStream on files. 2013-09-16 19:50:11 +02:00
Stefan Dösinger bbfca4863c wined3d: Store the instance count in the context structure. 2013-09-16 13:06:03 +02:00
Stefan Dösinger 59e0b841c7 wined3d: Move device_preload_textures into context.c. 2013-09-16 13:06:01 +02:00
Stefan Dösinger 112617f00b wined3d: Move tex_unit_map and friends into the context. 2013-09-16 13:05:58 +02:00
Stefan Dösinger f29c24f2de wined3d: Pass the context to surface_internal_preload. 2013-09-16 13:05:55 +02:00
Stefan Dösinger fe44be5fde wined3d: Pass the context to the internal texture_preload function. 2013-09-16 13:05:52 +02:00
Henri Verbeet 19f028ce6d dxgi: Avoid LPVOID. 2013-09-16 12:51:13 +02:00
Henri Verbeet e032d013d7 dxgi: Avoid LPCSTR. 2013-09-16 12:51:13 +02:00
Henri Verbeet dbdde3bd4b ddraw: Take surface usage into account when checking format capabilities in CreateSurface(). 2013-09-16 12:51:13 +02:00
Henri Verbeet d1e44ff775 wined3d: Pass a resource to wined3d_resource_free_sysmem(). 2013-09-16 12:51:13 +02:00
Henri Verbeet 261246ef21 wined3d: Pass a resource to wined3d_resource_allocate_sysmem(). 2013-09-16 12:51:13 +02:00
Alexandre Julliard b618910b84 msxml3: Don't use libxslt without libxml. 2013-09-16 11:47:19 +02:00
Thomas Faber e12c8c0ce9 comctl32: Fix build with MSVC. 2013-09-16 11:47:19 +02:00
Bruno Jesus 29aab5df59 ws2_32: Fix the error returned for denied SOCK_RAW attempts. 2013-09-16 11:47:19 +02:00
Bruno Jesus 5762067b20 ws2_32: Fix WSASocket return code for invalid combination of socket type and protocol. 2013-09-16 11:47:19 +02:00
Bruno Jesus 78ca87a00b ws2_32: Make WS_EnterSingleProtocol return a boolean. 2013-09-16 11:47:19 +02:00
Bruno Jesus 44ea5334ca ws2_32: Avoid magic numbers. 2013-09-16 11:47:19 +02:00
Bruno Jesus e0581b38a7 ws2_32: Advertise protocol entries as default. 2013-09-16 11:47:19 +02:00
Huw Davies 2f25ddfd14 iphlpapi: Add support for ip6 dns addresses. 2013-09-13 14:19:36 +02:00
Huw Davies 334875f38e iphlpapi: Move dns server enumeration to a single function. 2013-09-13 14:19:36 +02:00
Huw Davies 01d5632e5e iphlpapi/tests: Increase buffer size to prevent overflow. 2013-09-13 14:19:36 +02:00
Dmitry Timoshkov 6a6b4c5000 kernel32/tests: Add a file access test. 2013-09-13 12:14:12 +02:00
Dmitry Timoshkov b07f431878 shlwapi: Merge two case statements. 2013-09-13 11:18:23 +02:00
Aric Stewart 4247e80a79 user32: Use Uniscribe ScriptBreak and the resulting Unicode Line Break algorithm to break lines for DT_WORDBREAK. 2013-09-13 11:17:00 +02:00
Francois Gouget 7c146b8aa0 msi: Make some dialog_xxx() functions static. 2013-09-13 10:57:45 +02:00
Francois Gouget 0a177833ef sane.ds: SANE_SaneSetDefaults() is only used if SONAME_LIBSANE is defined. 2013-09-13 10:57:18 +02:00
Henri Verbeet 674b1e922d d3d9: Avoid LPVOID. 2013-09-13 10:57:05 +02:00
Henri Verbeet e55e24a731 d3d9: Avoid LPCWSTR. 2013-09-13 10:57:03 +02:00
Henri Verbeet fc85f4f7d6 wined3d: Never set the first render target to the front buffer in wined3d_device_init_3d(). 2013-09-13 10:57:00 +02:00
Henri Verbeet 3c023a5db5 wined3d: Just set the first render target to NULL in wined3d_device_reset(). 2013-09-13 10:56:52 +02:00
Henri Verbeet def0558b45 wined3d: Just set the first render target to NULL in wined3d_device_uninit_3d(). 2013-09-13 10:56:49 +02:00
Dmitry Timoshkov eb10471bac ntdll: NtReadFile should fail for overlapped IO on files if offset is negative. 2013-09-13 10:56:37 +02:00
Dmitry Timoshkov b314a25320 ntdll: Make NtWriteFile explicitly check for negative offset and fail. 2013-09-13 10:56:29 +02:00
Dmitry Timoshkov 9e50cc540a ntdll: NtWriteFile should fail for overlapped IO on files if offset is negative. 2013-09-13 10:56:10 +02:00
Nikolay Sivov 84d9b2502e ntdll: Added compatible ProgID section. 2013-09-13 10:54:53 +02:00
Nikolay Sivov b8a973dc52 kernel32/tests: Some tests for ProgID section. 2013-09-13 10:54:13 +02:00
Francois Gouget 15b6ff2023 ddraw/tests: Fix compilation on systems that don't support nameless unions. 2013-09-13 00:17:58 +02:00
Francois Gouget 51e717345b oleaut32/tests: Fix compilation on systems that don't support nameless unions. 2013-09-13 00:17:53 +02:00
Aric Stewart 3f4ef58b0f gdi32: ABC value signs remain the same despite any changes in layout direction or viewport. 2013-09-12 21:31:09 +02:00
Andrew Eikum 93c01b8188 mshtml: Free advpack after use. 2013-09-12 18:58:31 +02:00
Andrew Eikum b6570bb88c ieframe: Register CLSID_WebBrowser as an ActiveX control.
Also cleanup the RGS to not create an unintended '{}' registry entry for
InternetShortcut.
2013-09-12 18:58:21 +02:00
Stefan Dösinger 53741d2bb9 d3d9/tests: D3DCMP_GREATER is broken on r500. 2013-09-12 17:48:51 +02:00
Stefan Dösinger ed50457694 d3d9/tests: Clean up z_range_test a bit. 2013-09-12 17:48:28 +02:00
Stefan Dösinger b8eb171b6b wined3d: Explicitly pass the state information to buffer_internal_preload. 2013-09-12 17:48:20 +02:00
Stefan Dösinger d8c43aabf7 wined3d: Move the decoded stream info into the context. 2013-09-12 17:48:14 +02:00
Stefan Dösinger a0b56d9c59 wined3d: Pass stream info and needed fixups to buffer_find_decl. 2013-09-12 17:48:11 +02:00
Piotr Caban 0df84ecf11 msvcrt: Add support for vtordisp functions demangling. 2013-09-12 12:59:14 +02:00
Piotr Caban 2734ae0786 msvcrt: Don't forward _wcsnicmp to ntdll. 2013-09-12 12:59:02 +02:00
Ken Thomases 53036b6917 winemac: Trace the pixel format in DescribePixelFormat(). 2013-09-12 11:08:23 +02:00
Ken Thomases a300efc852 winemac: Return failure from DescribePixelFormat() for invalid pixel format.
Also use the proper function for checking the format and looking up the
internal format description.
2013-09-12 11:08:19 +02:00
Ken Thomases d33a4da5ed winemac: Restrict DescribePixelFormat() to displayable pixel formats. 2013-09-12 11:07:58 +02:00
Ken Thomases c7d2bcfb61 user32: Fix mouseRect computation for starting position when sizing window.
The mouseRect is the limit of the mouse position to keep the window between
its minimum and maximum sizes.  The computation was correct if the mouse
started precisely on the window border.  But if the mouse is not exactly at
the border, then the mouse limit has to account for that, because the window
will be resized based on the distance from the starting point.
2013-09-12 11:07:50 +02:00
Bruno Jesus 260250539d ws2_32/tests: Add more WSASocket tests. 2013-09-12 11:06:46 +02:00
André Hentschel 21c3cfe541 kernel32/tests: Add tests for ResolveDelayLoadedAPI. 2013-09-12 11:06:42 +02:00
Nikolay Sivov 33f61eccfa kernel32/tests: Some tests for CopyFile2(). 2013-09-12 11:03:39 +02:00