Commit Graph

104806 Commits

Author SHA1 Message Date
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
Jacek Caban 0a92329914 dxgi1_2.idl: Added IDXGIFactory2 declaration.
Modified version of patch by Erik van Pienbroek.
2015-03-24 13:51:16 +09:00
Jacek Caban 824bbb3884 d3d11_1.idl: Added some missing declarations.
Modified version of patch by Erik van Pienbroek.
2015-03-24 13:51:13 +09:00
Jacek Caban df904b60f4 dxgi.idl: Added DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL declaration. 2015-03-24 13:51:10 +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
Nikolay Sivov f70ddf7614 scrrun: Support BYREF types for integer keys. 2015-03-23 16:39:24 +09:00
Nikolay Sivov 94a1838b7e scrrun: Added support for VT_DATE keys, and BYREF float key types. 2015-03-23 16:39:22 +09:00
Nikolay Sivov 5189dc417a scrrun: Added support for interface pointers as keys for dictionary. 2015-03-23 16:39:17 +09:00
Nikolay Sivov c5dda71cd4 user32/static: Allow setting NULL text. 2015-03-23 16:38:09 +09:00
Dmitry Timoshkov 6e638d824b shell32: Update version information to match XP values. 2015-03-23 16:36:40 +09:00
Nikolay Sivov b6dc726bbd comctl32/listview: Update view on style change only if LVS_TYPEMASK styles have changed. 2015-03-23 16:36:06 +09:00
Piotr Caban cc737bd460 oleacc: Added AccessibleChildren tests. 2015-03-23 16:23:19 +09:00
Piotr Caban 88b5b6a51e oleacc: Added AccessibleChildren implementation. 2015-03-23 16:23:12 +09:00
Piotr Caban 15e13220f1 oleacc: Added client IEnumVARIANT tests. 2015-03-23 16:23:05 +09:00
Piotr Caban 8c4a3f9fac oleacc: Added client IEnumVARIANT::{Reset,Skip,Next} implementation. 2015-03-23 16:22:58 +09:00
Piotr Caban ee144b66ab oleacc: Added window IEnumVARIANT stub. 2015-03-23 16:22:50 +09:00
Piotr Caban 843f463d2e oleacc: Added client IEnumVARIANT stub. 2015-03-23 16:22:44 +09:00
Piotr Caban 89721ba40d oleacc: Added Client_get_accChild implementation. 2015-03-23 16:22:38 +09:00
Bruno Jesus ea2507f461 netapi32: Return an empty comment instead of NULL pointer in NetServerGetInfo. 2015-03-23 16:22:23 +09:00
Bruno Jesus 1fa2986d00 netapi32/tests: Fix a memory leak (Valgrind). 2015-03-23 16:21:04 +09:00
Sebastian Lackner 2af09b49a8 gdiplus: Add missing returns in initialize_decoder_wic (Coverity). 2015-03-23 16:20:57 +09:00
Vincent Povirk 137128fa50 gdiplus: Fonts in UnitWorld shouldn't be scaled to the page unit. 2015-03-23 16:20:39 +09:00
Jacek Caban 9374056644 mshtml: Added IHTMLSelectionObject2 stub implementation. 2015-03-23 16:20:25 +09:00
Jacek Caban 88edfb5701 mshtml.idl: Added IHTMLSelectionObject2 declaration. 2015-03-23 16:20:22 +09:00
Alexandre Julliard f34ec94308 Release 1.7.39. 2015-03-20 22:41:44 +09:00
Henri Verbeet ec78d50193 wined3d: Fix a TRACE in wined3d_device_draw_indexed_primitive_instanced(). 2015-03-20 21:32:50 +09:00
Henri Verbeet ba396e4212 wined3d: Simplify the wined3d_matrix structure. 2015-03-20 21:32:46 +09:00
Henri Verbeet c5f03c3933 d3drm: Get rid of some incorrect comments. 2015-03-20 21:32:27 +09:00
Henri Verbeet 1dea0c1d67 ddraw: Get rid of some comments in the middle of the copyright headers. 2015-03-20 21:32:21 +09:00
Henri Verbeet df16cb2cfe d3d10core/tests: Fix a typo in shader source in test_clear_state(). 2015-03-20 21:32:06 +09:00
Nikolay Sivov 85a3d09329 kernel32: Implement GetProcessIdOfThread(). 2015-03-20 21:31:57 +09:00
Francois Gouget b861aed2c1 mscoree: Mark internal symbols with hidden visibility. 2015-03-20 18:05:17 +09:00
Francois Gouget 14aa446f1d shlwapi: Remove unneeded NONAMELESSXXX directives. 2015-03-20 18:05:07 +09:00
Francois Gouget 351d907bbd shell32: Remove unneeded NONAMELESSXXX directives. 2015-03-20 17:50:06 +09:00