Commit Graph

83499 Commits

Author SHA1 Message Date
Piotr Caban d2751ebcd5 msvcp90/tests: Use NAN and INFINITY definitions from port.h in Ctraits::_Isnan tests. 2015-03-27 00:12:10 +09:00
Nikolay Sivov 93a21a8b57 dwrite: Pass sideways run flag to shaping methods. 2015-03-27 00:12:07 +09:00
Henri Verbeet cef9434cb2 d2d1: Implement d2d_d3d_render_target_GetAntialiasMode(). 2015-03-27 00:11:59 +09:00
Henri Verbeet b231013f03 d2d1: Implement d2d_d3d_render_target_SetAntialiasMode(). 2015-03-27 00:11:56 +09:00
Henri Verbeet 845103c7dd d2d1: Implement d2d_d3d_render_target_GetTextRenderingParams(). 2015-03-27 00:11:52 +09:00
Henri Verbeet 060d2230fc d2d1: Implement d2d_d3d_render_target_SetTextRenderingParams(). 2015-03-27 00:11:49 +09:00
Henri Verbeet 237a0ada00 d2d1: Implement d2d_d3d_render_target_GetFactory(). 2015-03-27 00:11:46 +09:00
Zheng Chen 829e893184 msvcrt: Fix _copysign bugs for NAN/INF. 2015-03-27 00:11:42 +09:00
Sebastian Lackner b61d93a6b7 ntoskrnl: Emulate 'mov Eb, Gb' instruction on x86 processor architecture. 2015-03-27 00:11:39 +09:00
Michael Müller 8f0d5a37a3 kernel32/tests: Add tests for GetFinalPathNameByHandleA/W. 2015-03-27 00:11:36 +09:00
Sebastian Lackner 5ecc08e349 browseui: Avoid race-conditions when progress dialog is released before thread terminates. 2015-03-27 00:11:32 +09:00
Nikolay Sivov 73a68b065b rpcrt4: Fix RpcMgmtStopServerListening() return value when we're not listening. 2015-03-26 14:21:49 +09:00
Nikolay Sivov fd25d9aadb rpcrt4/tests: Use status definitions instead of numeric values. 2015-03-26 14:21:46 +09:00
Vincent Povirk 5cd6db0349 mscoree: Remove the runtime version selection logic and just use 4.0.
Mono has removed support for the .NET 2.0 profile, so we'll have to be
using 4.0 for everything next time we want to update.
2015-03-26 14:21:33 +09:00
Piotr Caban dfd2506736 user32/tests: Don't send mouse clicks to other process windows in input tests. 2015-03-26 14:21:00 +09:00
Michael Müller 64c48d0e63 ntdll: Define a couple more information classes. 2015-03-26 14:20:48 +09:00
Michael Müller d07f76e39a netprofm/tests: Add tests for ConnectionPointContainer::FindConnectionPoint.
The refcounting is also tested because some apps depend on that.
2015-03-25 23:27:29 +09:00
Michael Müller 8e99972204 netprofm: Add stubbed IConnectionPoint interface. 2015-03-25 23:27:25 +09:00
Hans Leidekker c66f9bef60 msi: Check file state before installing global assemblies. 2015-03-25 22:40:45 +09:00
Hans Leidekker 19e51936e0 msi: Skip files from the original media if a patch is applied. 2015-03-25 22:40:41 +09:00
Hans Leidekker b7453555a2 msi: Check the component enabled flag earlier. 2015-03-25 22:40:38 +09:00
Hans Leidekker f8dc7c221b msi: Use the last sequence number specified for patch media when updating media records. 2015-03-25 22:40:34 +09:00
Hans Leidekker cd73576ec0 msi: Avoid allocating a database handle only to retrieve the summary information. 2015-03-25 22:40:30 +09:00
Hans Leidekker 052b3a748e msi: Fall back to the database summary information stream in MSI_OpenPackageW. 2015-03-25 22:40:24 +09:00
Piotr Caban 248bd63b53 msvcrt/tests: Use NAN and INFINITY definitions from port.h in printf tests. 2015-03-25 22:40:09 +09:00
Piotr Caban 46db64ce1b msvcrt: Fix NAN handling in printf. 2015-03-25 22:40:06 +09:00
Piotr Caban 6de6e42a36 msvcrt/tests: Add atan, tanh and exp tests on invalid arguments. 2015-03-25 21:48:02 +09:00
Jacek Caban b720e42fcf wininet: Pass timeout as DWORD in setsockopt calls. 2015-03-25 21:17:44 +09:00
Michael Stefaniuc 0cce9200d9 mshtml/tests: Actually test the return of IHTMLTable_get_width(). 2015-03-25 20:12:51 +09:00
Michael Stefaniuc 39f1184ee1 taskschd/tests: Test the correct return value. 2015-03-25 20:12:47 +09:00
Vincent Povirk 9c579023f0 gdiplus: Fix blend_colors when alpha channel differs.
When picking a color halfway between 100% white (0xffffffff) and fully
transparent (0x00000000), the result was 50% opaque 50% grey
(0x80808080) when it should really be 50% opaque white (0x80ffffff).
This had a tendency to create grey fringes on things. The fix is to
weight the non-alpha components based on how much they contribute to
the final alpha value.
2015-03-25 19:46:38 +09:00
Zheng Chen e95dbb3b74 msvcrt: Correct atan/exp/tanh errno setting. 2015-03-25 19:46:33 +09:00
Henri Verbeet 1b93c01048 d2d1: Implement d2d_state_block_SetDescription(). 2015-03-25 19:46:14 +09:00
Henri Verbeet 95f5dc72a2 d2d1: Implement d2d_state_block_GetDescription(). 2015-03-25 19:46:13 +09:00
Henri Verbeet 29af90be0c d2d1: Implement d2d_state_block_SetTextRenderingParams(). 2015-03-25 19:46:11 +09:00
Henri Verbeet 063080f747 d2d1: Implement d2d_state_block_GetTextRenderingParams(). 2015-03-25 19:46:09 +09:00
Henri Verbeet f87b0ce4d7 d2d1: Properly take the source offset into account in d2d_d3d_render_target_DrawBitmap(). 2015-03-25 19:46:07 +09:00
Huw Davies f57e08995a ole32/tests: Add tests for loading a dib 'CONTENTS' stream. 2015-03-25 19:46:03 +09:00
Huw Davies b0deb315a0 ole32: Implement QueryGetData(). 2015-03-25 19:45:58 +09:00
Huw Davies b4cd2c4dbb ole32: Add support for drawing the dib format. 2015-03-25 19:45:55 +09:00
Huw Davies e410f273cd ole32: Add support for retrieving extents of dib format. 2015-03-25 19:45:52 +09:00
Huw Davies bbba2c00aa ole32: Add support for loading dibs. 2015-03-25 19:45:48 +09:00
Huw Davies 547fd746bb ole32: Separate metafile loading into a helper function. 2015-03-25 19:45:42 +09:00
Huw Davies 480c10cce9 ole32: Add support for parsing the 'CONTENTS' stream. 2015-03-25 19:45:36 +09:00
Huw Davies d864387aaa ole32: Split the data loading into a couple of helpers. 2015-03-25 19:45:31 +09:00
Huw Davies a4e3668f3f ole32: A cache entry should hold the stream its data is from, not the top-level storage. 2015-03-25 19:45:10 +09:00
Huw Davies c5e020c5b5 ole32: Read the class id from the top-level storage object.
The cache_entries' storages are just references to the same object anyway.
2015-03-25 19:44:59 +09:00
Jinhui Chen 366ed5495c winex11.drv: Fix row-resize/col-resize mapping to X cursor. 2015-03-25 19:44:33 +09:00
Nikolay Sivov 59cb4ff6f3 comctl32/tests: Listview doesn't subclass its header. 2015-03-25 19:38:30 +09:00
Nikolay Sivov 524f6860d4 comctl32: Claim success in InitializeFlatSB(). 2015-03-25 15:16:45 +09:00
Stefan Dösinger 3c2d0b983a wined3d: Avoid constant collision in atifs. 2015-03-24 20:06:18 +09:00
Stefan Dösinger 239e8cad7c wined3d: Add per-context private data for fragment pipelines. 2015-03-24 20:06:15 +09:00
Stefan Dösinger 1b0c063632 wined3d: Check for conversion changes in the atifs fragment pipeline.
Mapping colorop to pixelshader is necessary because misc_state_template
defines a pixel shader handler. We have to use the same representative
in all pipeline parts.

Wined3d_cs_exec_set_texture dirtifies the pixel shader state when the
fixup of a texture changes. Atifs no longer needs a pixel shader handler
on its own since vertex shader updates aren't delayed any more when the
pixel shader state is dirty.
2015-03-24 20:06:05 +09:00
Stefan Dösinger 92fee8c04f wined3d: Improve color fixups in atifs shaders.
The abilities of this hardware is too limited to support generic sign /
swizzle fixups. A generic handler would consume 4 of the 8 available
color instruction slots and 2 alpha instruction slots.

The bump mapping handler code has its own way of handling the color
fixups. It merges the fixup into the perturbation calculation without
requiring extra shader instructions. In theory this is possible for the
majority of d3d texture ops as well, but I don't think this is worth the
effort. I expect that this code will only be used for the ddraw signed
format test in practice.
2015-03-24 20:05:46 +09:00
Francois Gouget baf32ced74 ddraw/tests: Fix compilation on systems that don't support nameless unions. 2015-03-24 20:01:37 +09:00
Francois Gouget 61652263fa msxml3: Mark internal symbols with hidden visibility. 2015-03-24 20:01:34 +09:00
Francois Gouget f51569626c msi: Mark internal symbols with hidden visibility. 2015-03-24 20:01:30 +09:00
Francois Gouget d21aca41ff msctf: Mark internal symbols with hidden visibility. 2015-03-24 20:01:24 +09:00
Francois Gouget e0d7461d70 twain_32: Remove unneeded NONAMELESSXXX directives. 2015-03-24 20:01:19 +09:00
Francois Gouget d2720f37f1 toolhelp.dll16: Remove unneeded NONAMELESSXXX directives. 2015-03-24 20:01:16 +09:00
Francois Gouget bd07c3af86 system.drv16: Remove an unneeded NONAMELESSSTRUCT directive. 2015-03-24 20:01:13 +09:00
Francois Gouget 890153e8c0 storage.dll16: Remove an unneeded NONAMELESSSTRUCT directive. 2015-03-24 20:01:09 +09:00
Francois Gouget aa1ad58ba7 taskschd: Remove an unneeded NONAMELESSUNION directive. 2015-03-24 20:01:06 +09:00
Nikolay Sivov 437fb07438 dwrite: Forward IDWriteTextLayout::GetMetrics() to IDWriteTextLayout2::GetMetrics(). 2015-03-24 18:16:42 +09:00
Nikolay Sivov 2478421d87 msi: Return interface pointer instead of impl pointer. 2015-03-24 18:16:37 +09:00
Nikolay Sivov 597515c074 ole32/tests: Return interface pointer instead of impl pointer from QI. 2015-03-24 18:16:34 +09:00
Nikolay Sivov 7d44fa714a ole32: Return interface pointers instead of impl pointers from QI. 2015-03-24 18:16:30 +09:00
Michael Stefaniuc 01eed947eb fntcache: Drop WINE_ prefix from FIXME/TRACE. 2015-03-24 18:16:24 +09:00
Michael Stefaniuc 6f6aa9b8a6 schedsvc: Drop WINE_ prefix from ERR(). 2015-03-24 18:16:20 +09:00
Michael Stefaniuc 6ab6564b9f scrrun: Print the debug string instead of the pointer value. 2015-03-24 18:16:15 +09:00
Michael Stefaniuc f7a21ee1d7 qcap: Print the debug string instead of the pointer value. 2015-03-24 18:16:12 +09:00
Michael Stefaniuc a21b2cc5b9 mshtml: Print the debug string instead of the pointer value. 2015-03-24 18:16:09 +09:00
Michael Stefaniuc 87cfceb8bf taskschd: Print the debug string instead of the pointer value. 2015-03-24 18:16:05 +09:00
Michael Stefaniuc 60d54eee93 mscoree: Use SUCCEEDED instead of !FAILED. 2015-03-24 18:16:00 +09:00
Henri Verbeet e72845e648 d3d10core/tests: Add a test for D3D10_APPEND_ALIGNED_ELEMENT. 2015-03-24 17:41:20 +09:00
Henri Verbeet 010ff106dd d3d10core: Implement d3d10_device_DrawInstanced(). 2015-03-24 17:41:17 +09:00
Henri Verbeet a33d3ad41b wined3d: Add support for SV_InstanceID. 2015-03-24 17:41:12 +09:00
Henri Verbeet f9fafb3686 wined3d: Use the "sysval_semantic" field instead of "semantic_name" to recognize SV_POSITION. 2015-03-24 17:41:09 +09:00
Henri Verbeet 1b08196c5a wined3d: Implement d3d10 style instance data step rates. 2015-03-24 17:41:06 +09:00
Mark Harmstone e7116725ff comctl32: Use correct font for themed headers. 2015-03-24 16:42:05 +09:00
Nikolay Sivov 9d0ebc13ac comctl32/tooltips: Allow NULL hinst value when fetching text from resources. 2015-03-24 14:07:17 +09:00
Vincent Povirk 6b97abf930 gdiplus: Handle large input rect in GdipMeasureCharacterRanges. 2015-03-24 14:06:13 +09:00
Vincent Povirk 6ee26aca16 gdiplus: Apply page scale to pen thickness. 2015-03-24 14:06:02 +09:00
Ken Thomases 792b47ad3b winemac: Restore a maximized window if a user tries to move it by dragging its title bar.
OS X doesn't have the same concept of maximized windows as Windows does.
There's no mode that prevents a normally-movable window from being moved.  If
a window is "zoomed", it mostly fills the screen but the user can still move
or resize it, at which point it ceases to be in the zoomed state.  So, users
are confused and frustrated when they can't move a window that's maximized.

To get similar behavior while still respecting Win32 semantics, we detect when
the user tries to move a maximized window.  When they start, a request is
submitted to the app to restore the window.  Unless and until the window is
restored, we don't actually allow the window to move.

The user expects to move the window from its current (maximized) position.  It
should not jump to its normal position upon being restored.  So, we set the
window's normal position to its current position before restoring it.
2015-03-24 13:55:34 +09:00
Ken Thomases 8d581d0e48 winemac: Allow the user to attempt to resize a maximized window and try to restore it if they do.
OS X doesn't have the same concept of maximized windows as Windows does.
There's no mode that prevents a normally-resizable window from being resized.
If a window is "zoomed", it mostly fills the screen but the user can still
move or resize it, at which point it ceases to be in the zoomed state.  So,
users are confused and frustrated when they can't resize a window that's
maximized.

To get similar behavior while still respecting Win32 semantics, we now let the
user try to resize maximized windows.  (The resize cursors are shown at the
edges of the window frame.)  When they start, a request is submitted to the app
to restore the window.  Unless and until the window is restored, we don't
actually allow the window to change its size.

The user expects to resize the window from its current (maximized) position.
It should not jump to its normal position upon being restored.  So, we set the
window's normal position to its current position before restoring it.
2015-03-24 13:55:18 +09:00
Ken Thomases edad520235 winmm: For Mac, fix joyGetPosEx() to put number of buttons pressed in dwButtonNumber field.
Based on behavior of Windows revealed by interactive tests added by Bruno Jesus.
2015-03-24 13:51:01 +09:00
Andrew Eikum 4a7b5856da oleaut32: Allow typelib filenames longer than MAX_PATH. 2015-03-24 13:49:07 +09:00
Sebastian Lackner 5e5adcffb5 user32: Use C_ASSERT to ensure user_thread_info fits into TEB->Win32ClientInfo. 2015-03-23 22:59:21 +09:00
Matteo Bruni 74cda79ac3 wined3d: Introduce a get_texture_matrix() function. 2015-03-23 22:59:20 +09:00
Matteo Bruni 2d270f31c6 wined3d: Introduce a get_projection_matrix() function.
Notice that I'm using floats instead of doubles in the new function,
mostly to be able to use struct wined3d_matrix and multiply_matrix().
At a rough estimate the precision should still be good enough.
2015-03-23 22:59:19 +09:00
Matteo Bruni 65c8c40b18 wined3d: Use a separate STATE_VIEWPORT state handler in the GLSL pipeline. 2015-03-23 22:59:18 +09:00
Stefan Dösinger 70c6666d1e ddraw/tests: Correct executebuffer offsets. 2015-03-23 22:59:16 +09:00
Stefan Dösinger daf3e8a0dc ddraw/tests: The testbot applies color keying without a key. 2015-03-23 22:59:15 +09:00
Stefan Dösinger 02be2e38a8 ddraw: Update the palette before presents to the NULL window. 2015-03-23 22:59:14 +09:00
Henri Verbeet 88f230b56e d3d10core: Also pass unused input layout elements to wined3d.
While these won't be used by the shader, they potentially affect the
calculated offset for WINED3D_APPEND_ALIGNED_ELEMENT elements.
2015-03-23 22:59:12 +09:00
Henri Verbeet cbe717b8f3 wined3d: Take the input slot into account when handling WINED3D_APPEND_ALIGNED_ELEMENT. 2015-03-23 22:59:11 +09:00
Henri Verbeet f3765e9f77 wined3d: Merge some common shader initialization code into shader_init(). 2015-03-23 22:59:10 +09:00
Henri Verbeet 002713de6d wined3d: Store shader input signatures as a wined3d_shader_signature structure. 2015-03-23 22:59:08 +09:00
Henri Verbeet 2e5ad1b6e3 wined3d: Store shader output signatures as a wined3d_shader_signature structure.
Instead of a fixed array of wined3d_shader_signature_element structures.
Shader model 4 shaders can have different semantics in a single
register, e.g.  v1.xy TEXCOORD0 and v1.zw TEXCOORD1, so having a single
wined3d_shader_signature_element structure per register isn't
necessarily sufficient.
2015-03-23 22:59:07 +09:00
Bruno Jesus 47ab17595b winmm/tests: Add a basic joystick interactive test. 2015-03-23 22:59:06 +09:00