Commit Graph

108011 Commits

Author SHA1 Message Date
Matteo Bruni 7ee0578019 d3d9/tests: Fix color_match().
Clang on OS X complains about calling abs() on an unsigned value.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:00:38 +09:00
Riccardo Bortolato cee9409ab8 wined3d: Merge wined3d_volume_{inc, dec}ref in their respective caller.
Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:00:17 +09:00
Riccardo Bortolato 33bb9e9610 wined3d: Don't pass a wined3d_volume to device_volume_created callback anymore.
Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:00:07 +09:00
Riccardo Bortolato fca636a01c d3d9: Don't use a wined3d_volume in d3d9_volume_GetDesc.
finally removed the wind3d_volume pointer from d3d9_volume.
Also removed wined3d_volume_get_resource.

Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 20:59:58 +09:00
Riccardo Bortolato 8dd86823fd d3d9: Make use of wined3d_texture_unmap in d3d9_volume_UnlockBox.
Also removed wined3d_volume_unmap from wined3d public api.

Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 20:59:46 +09:00
Riccardo Bortolato b9cc2859fe d3d9: Make use of wined3d_texture_map in d3d9_volume_LockBox.
Also removed wined3d_volume_map from wined3d public api.

Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 20:59:32 +09:00
Sebastian Lackner b8315e87f1 ntdll/tests: Add tests for calling NtReadFile/NtWriteFile on directory.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 20:17:05 +09:00
Iván Matellanes b34b65e462 msvcirt: Improve implementation of streambuf::pbackfail.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 20:16:25 +09:00
Iván Matellanes 6aa589e854 msvcirt: Implement stdiobuf::seekoff.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 20:16:18 +09:00
Iván Matellanes 66ff2e3bad msvcirt: Implement stdiobuf::setrwbuf.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 20:16:10 +09:00
Ken Thomases 10b95d0dc7 winemac: Remove JPEG 2000 from the bitmap formats that other bitmap formats can be converted to.
Since a983cfb01, the Mac driver won't even present formats, like this one,
which don't correspond to a known Windows format through the clipboard APIs, so
it's pointless.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 13:07:52 +09:00
Nikolay Sivov 6fc2d3ce2e wiaservc/tests: Basic test for device enumerator.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 13:07:52 +09:00
Andrew Eikum 4185cc7a94 xaudio2_0: Add compatibility implementation and forward to xaudio2_7.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 12:53:49 +09:00
Henri Verbeet 76aa675da3 d2d1: Only search for the initial edge for each figure in d2d_cdt_insert_segments().
For each subsequent segment we can just re-use the edge we just inserted.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 12:53:23 +09:00
Henri Verbeet e6da1a780e d2d1: Only test figures that overlap the probe in d2d_path_geometry_point_inside().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 12:53:18 +09:00
Henri Verbeet c98d34d745 d2d1: Only test overlapping figures in d2d_geometry_intersect_self().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 12:53:10 +09:00
Michael Müller 20ff3352eb wbemprox: Add bios name column in Win32_BIOS.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
2015-10-07 22:07:32 +09:00
Sebastian Lackner 08acac5f91 wbemprox/tests: Add tests for Win32_Bios table.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
2015-10-07 22:07:28 +09:00
Charles Davis 5252d19fba configure: Try harder to disable Fortify.
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
2015-10-07 21:28:56 +09:00
Charles Davis 3eb8e325b8 kernel32/tests: Use a volatile pointer to cause a crash in the debugger tests. (Clang).
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
2015-10-07 21:28:55 +09:00
Joachim Priesner 175e714656 user32: Hide horizontal Listbox scroll bar if no horizontal extent is set.
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
2015-10-07 21:28:55 +09:00
Erich E. Hoover 109d4b914a ws2_32: Check for invalid parameters in TransmitFile.
Signed-off-by: Erich E. Hoover <erich.e.hoover@wine-staging.com>
2015-10-07 21:28:55 +09:00
Erich E. Hoover 23c293ae4c ws2_32: Add stub for TransmitFile.
Signed-off-by: Erich E. Hoover <erich.e.hoover@wine-staging.com>
2015-10-07 21:28:55 +09:00
Jonathan Vollebregt 60f599f584 reg: Simplify root key search.
Signed-off-by: Michel Zou <xantares09@hotmail.com>
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
2015-10-07 21:28:54 +09:00
Matteo Bruni 97ee9451ed wined3d: Initialize unwritten color varyings.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:54 +09:00
Matteo Bruni 09eda02b68 wined3d: Output all the texture coordinates in the FFP replacement VS when there are enough varyings.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:54 +09:00
Matteo Bruni 08b21528ed wined3d: Avoid reading uninitialized texcoord varyings in pixel shaders.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:54 +09:00
Matteo Bruni f511787423 wined3d: Avoid reading uninitialized texcoord varyings in FFP replacement fragment shaders.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:53 +09:00
Matteo Bruni 93db8e97da wined3d: Store supported varyings count in d3d_limits.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:53 +09:00
Riccardo Bortolato eeea2af596 d3d8: Don't use a wined3d_volume in d3d8_volume_GetDesc.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:53 +09:00
Riccardo Bortolato d49ad6c608 d3d8: Make use of wined3d_texture_unmap in d3d8_volume_UnlockBox.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:52 +09:00
Riccardo Bortolato 9621737c8e wined3d: Pass wined3d_texture and sub_resource idx to device_volume_created callback.
Store wined3d_texture and sub_resource in d3d8_volume.
Updated the d3d8_volume_LockBox to make use of wined3d_texture_map.
Also updated d3d9, d3d11, ddraw callbacks accordingly.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:52 +09:00
Riccardo Bortolato eac95d30b6 wined3d: Introduce new wined3d_texture_(un)map functions.
Initial usage in d3d11.
Also removed wined3d_volume_from_resource.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:52 +09:00
Riccardo Bortolato 1d1487105d wined3d: Pass a wined3d_box to wined3d_surface_map..
Introduced a new surface_check_block_align function that accepts a
wined3d_box, eventually the old _rect version will be completely
replaced.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
2015-10-07 21:28:51 +09:00
Dmitry Timoshkov 26db80b685 oleview: Always check return value of SendMessage(TVM_GETITEM).
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2015-10-07 21:28:51 +09:00
Dmitry Timoshkov 65187a0b99 oleview: Remove useless check for hPrevInst.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2015-10-07 21:28:51 +09:00
Dmitry Timoshkov e10db2f22e oleview: Correctly set window's class background and cursor.
Otherwise background of some windows doesn't match current theme, and
mouse cursor sometimes gets stuck after moving over vertical splitter.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2015-10-07 21:28:51 +09:00
Dmitry Timoshkov edb35ff096 oleview: Fix compilation with PSDK.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2015-10-07 21:28:51 +09:00
Piotr Caban 9c87c7e76d comctl32: Don't use uninitialized LVITEM fields in LISTVIEW_InsertItemT when LVS_EX_CHECKBOXES was specified.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 21:28:50 +09:00
Alex Henrie c565145b0e comctl32: Remove redundant if (button) statements.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 21:28:50 +09:00
Alex Henrie 18b7ec9479 advapi32: Remove always-true if statements from RegEnumValue[AW].
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-07 21:28:50 +09:00
Alex Henrie 1eef1299f5 kernel32: Make TERM_dbkey_init const.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-07 21:28:50 +09:00
Sebastian Lackner 0410cf9cbe vcomp: Implement _vcomp_get_thread_num.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-07 21:28:49 +09:00
Piotr Caban aa39614e77 comctl32: Test TrackMouseEvent flags when LVS_EX_ONECLICKACTIVATE style is used.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 21:28:49 +09:00
Piotr Caban 4dd26ee814 comctl32: Don't ask for WM_MOUSEHOVER messages when LVS_EX_TRACKSELECT was not specified.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 21:28:49 +09:00
Sebastian Lackner 0b1204d870 ntdll/tests: Add tests for RtlRegisterWait.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-07 13:27:23 +09:00
Sebastian Lackner f97a18f8c0 ntdll/tests: Limit number of pool threads to avoid random test failures.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-07 13:27:23 +09:00
Sebastian Lackner 53c8345c6d ntdll/tests: Fix test failures on Windows 10.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-07 13:27:23 +09:00
Aric Stewart 76d8b4ca02 hidclass.sys: Make sure we pass in the index not a pointer to the index.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2015-10-07 13:27:23 +09:00
Aric Stewart 2183b8ac21 hidclass.sys: Help make the logic around feature input flags more apparent.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2015-10-07 13:27:23 +09:00