Commit Graph

2606 Commits

Author SHA1 Message Date
Zebediah Figura 83c806ed0e user32/tests: Add activation tests for minimizing windows.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-20 17:49:10 +01:00
Zebediah Figura 2f0d573be7 user32/tests: Add activation tests for hiding windows.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-20 17:49:03 +01:00
Zebediah Figura e188d66251 user32/tests: Add more tests for SetActiveWindow().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-20 17:48:57 +01:00
Zebediah Figura 51f555a517 user32/tests: Don't leave hwndMain in a topmost state.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-20 17:48:55 +01:00
Sebastian Lackner 059d5ece23 user32: Globally invalidate key state on changes in other threads.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-18 16:20:58 +01:00
Nikolay Sivov ea141a5ae9 user32/tests: Class API tests for interaction with activation contexts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-18 12:35:13 +01:00
Nikolay Sivov 5f327bbb86 user32/tests: Remove runtime check for GetMenuBarInfo().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-18 11:19:34 +01:00
Nikolay Sivov 0a953f117a user32/tests: Release window DCs consistently.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-14 09:58:30 +01:00
Sebastian Lackner f0fc034997 Revert "user32/combo: Set listbox popup height correctly and add tests.".
This partly reverts commit f7f7b89e2e
(tests are left in place).

Any application that currently uses "Microsoft.Windows.Common-Controls
v6" via a Manifest has the possibility of breaking comboboxes. Using
this version of the control ensures that dropdown for comboboxes, will
show multiple items, regardless of its height in the resource.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-11 15:29:42 +01:00
Nikolay Sivov 84a35f532f user32/tests: Remove runtime check for EndMenu().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-06 17:01:59 +01:00
Nikolay Sivov f62d8dc58f user32/edit: Allow buffer access after EM_GETHANDLE.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-05 20:30:04 +01:00
Nikolay Sivov 71eac4a70b user32/tests: Added some tests for WM_GETTEXTLENGTH/WM_GETTEXT after EM_GETHANDLE was used.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-04 19:54:16 +01:00
Alexandre Julliard 01676c5dd6 user32: Use the magic format string prefix for relay traces.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-25 12:05:40 +01:00
Fabian Maurer ca1c64d37d user32/tests: Test manually setting WS_VSCROLL on combobox listbox.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-20 12:37:15 +01:00
Rafał Harabień 5c2526a086 winex11.drv: Preserve last error in x11drv_thread_data().
Signed-off-by: Rafał Harabień <rafalh1992@o2.pl>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-17 17:44:05 +01:00
Akihiro Sagawa 4adfb1be29 user32: Send WM_IME_CHAR messages from DefWindowProc.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-16 21:48:49 +01:00
Dmitry Timoshkov ed7513f9c2 user32/tests: Add a bunch of WS_EX_TOPMOST tests.
The tests most of the time pass cleanly here under MATE environment,
but sometimes there are intermittent failures (like in some other tests)
without visible reason, and another 'make test' runs cleanly again.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-13 13:02:20 +01:00
Dmitry Timoshkov 82cf34562e user32/tests: Make WS_EX_TOPMOST tests more generic.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-13 11:59:45 +01:00
Dmitry Timoshkov 91b09e0c5b user32/tests: Separate WS_EX_TOPMOST tests from SetWindowPos ones.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-13 11:59:43 +01:00
Dmitry Timoshkov 825d2337b5 user32/tests: Fix test failures under Windows.
Without SetForegroundWindow() these tests fail in some testbot runs.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-13 11:59:39 +01:00
Dmitry Timoshkov 5aafd080d1 user32/tests: Don't leave a stray test window behind.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-13 11:59:37 +01:00
Alexandre Julliard 92d2ebe662 user32/tests: Avoid strlen in traces.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-08 22:12:45 +01:00
Alexandre Julliard 9215aabd2e user32: Pass the text length explicitly to EDIT_EM_ReplaceSel.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-07 21:24:44 +01:00
Rafał Harabień 6653d43023 user32: Protect single-line edit against pasting new line character.
Signed-off-by: Rafał Harabień <rafalh1992@o2.pl>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-07 21:24:44 +01:00
Zebediah Figura d385de71e3 user32/tests: Simplify test_SendMessage_other_thread().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-06 12:15:28 +01:00
Marcus Meissner 77f4c20af3 user32/tests: Check GetClipboardFormatName length.
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-06 12:15:28 +01:00
Zebediah Figura 9b7f9f2d08 user32: Use the given string length when converting strings in WM_GETTEXT.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-06 12:15:28 +01:00
Marcus Meissner ebfd1d3df6 user32/tests: Removed a unreliable test.
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-31 17:00:47 +01:00
Huw Davies 9933a0fc86 user32: Initialize length before calling GetWindowPlacement().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-30 21:30:45 +01:00
Huw Davies 05e40aa67d user32: Trace the full NCCALCSIZE_PARAMS info if present.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-30 21:30:45 +01:00
Huw Davies 9c9c03046f user32: Use WS_MINIMIZE instead of WS_ICONIC.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-30 21:30:45 +01:00
Piotr Caban 8159af76b4 user32: Don't do the painting if combobox is not visible in CBPaintText.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-24 19:10:06 +02:00
Alex Henrie c14a16b089 user32: Implement IDI_SHIELD.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-19 19:47:09 +02:00
Alexandre Julliard 3dd6046d7c user32: Specify cursor hotspots separately for each size.
This is supported in icoutils as of version 0.32.0.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-17 16:14:28 +02:00
Andrey Gusev 70b8a2f86b user32/tests: Remove redundant comparison.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-13 15:08:56 +02:00
Piotr Caban 1a114c9f4b user32: Don't invalidate ComboBox on CB_SETCURSEL message.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-06 21:48:48 +02:00
Piotr Caban 9cb29e5182 user32: Don't invalidate ComboBox on LBN_SELCHANGE and LBN_SELCANCEL.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-06 21:48:48 +02:00
Piotr Caban e5dd995708 user32: Remove unneeded RECT parameter from CBPaintText helper.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-06 21:48:48 +02:00
Piotr Caban eb5c7bccd4 user32/tests: Add test for CB_SETCURSEL on ComboBox.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-06 21:48:48 +02:00
Fabian Maurer 5e59e9b34c user32: Add stub for CalcMenuBar.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-07 18:25:01 +02:00
Alexandre Julliard 3ab6174997 user32: Use the correct top-level window when activating through a mouse click.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-01 09:15:44 +02:00
Alexandre Julliard 3eb0d2868c user32: Consistently print the HDC value in DCE traces.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-31 19:13:26 +02:00
Fabian Maurer f7f7b89e2e user32/combo: Set listbox popup height correctly and add tests.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-28 09:29:27 +02:00
Dmitry Timoshkov 3d66e753e7 user32: DialogBoxParam should return -1 when dialog control creation fails.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 14:03:38 +09:00
Dmitry Timoshkov a62a8601db user32/tests: Test DialogBoxParam using a dialog template with invalid control class.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 14:00:17 +09:00
Austin English 797a746fc2 user32: Add GetGestureInfo stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-12 19:35:26 +09:00
Austin English 24cea1b77b user32: Add CloseTouchInputHandle/GetTouchInputInfo stubs.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-12 19:35:17 +09:00
Austin English 9d6bcf3c8c user32: Add UnregisterTouchWindow stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-12 19:34:07 +09:00
Tim Worthington 4f96439ebf user32: Fix rendering of tabs in edit control.
Signed-off-by: Tim Worthington <tim@pcbelegance.org>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-24 18:58:31 +02:00
Alexandre Julliard e7f30014c3 user32: Always update the visible region for cross-process DCEs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-24 18:58:30 +02:00