Commit Graph

2732 Commits

Author SHA1 Message Date
Alexandre Julliard b1631d69da user32: Try to load libpng only once.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-03 20:46:01 +02:00
Dmitry Timoshkov 728255cf2c user32: Add support for PNG icons.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-03 18:27:11 +02:00
Nikolay Sivov 927956db67 user32/static: Use correct brush color for centered image background.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 20:47:11 +02:00
Alexandre Julliard 3f97ba3f46 user32: Partially implement GetWindowDpiAwarenessContext().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 20:47:10 +02:00
Alexandre Julliard 478814ed95 user32: Implement Get/SetThreadDpiAwarenessContext().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 20:47:10 +02:00
Alexandre Julliard c440af11bd user32: Support forcing the DPI awareness through the image file execution options.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:55 +02:00
Michael Stefaniuc e8411d22d5 user32: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:53 +02:00
Michael Stefaniuc 6e7f28d934 user32: Remove an ARRAY_SIZE()-like macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:49 +02:00
Alexandre Julliard 4c71db15ca user32: Set the process DPI awareness from the manifest.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:03 +02:00
Alexandre Julliard bd0cd09e69 user32: Implement SetProcessDpiAwarenessContext().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 12:37:55 +02:00
Alexandre Julliard ff7961e152 user32: Implement AreDpiAwarenessContextsEqual().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 12:37:05 +02:00
Alexandre Julliard d17ca871dd user32: Implement GetAwarenessFromDpiAwarenessContext().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 12:34:29 +02:00
Alexandre Julliard 4e752086d7 user32: Implement IsValidDpiAwarenessContext().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 12:33:14 +02:00
Alexandre Julliard c2e0ae5bfd user32: Forward more system metrics to SystemParametersInfoW.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-29 17:23:37 +02:00
Alexandre Julliard 79916de397 user32: Add a stub for GetDpiForWindow().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-29 16:06:04 +02:00
Alexandre Julliard ca878114cb user32: Implement GetDpiForSystem().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-29 16:06:04 +02:00
Louis Lenders 40b46d900a user32: Add stub for SetThreadDpiAwarenessContext.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-29 16:06:03 +02:00
Alexandre Julliard bb99d51dc4 user32: Define a few more window messages.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 20:11:09 +02:00
Zhiyi Zhang 7699d8e47a user32/tests: Add BM_SETIMAGE style check tests.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 19:37:26 +02:00
Nikolay Sivov 080cb3aa81 user32: Remove some misleading TODOs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-21 17:33:36 +01:00
Alex Henrie 096deddb2e user32/tests: Drop broadcast test workaround for Windows NT4.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 12:08:14 +01:00
Nikolay Sivov 9b9f97e3f6 user32: Add redirected class registration callback.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:41:44 +01:00
Akihiro Sagawa 8960cf3d44 user32: Add more ex-style trace messages.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 20:32:14 +01:00
Michael Müller 76f135e599 user32: Add stubs for GetWindowDisplayAffinity and SetWindowDisplayAffinity.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-09 10:40:44 -06:00
Nikolay Sivov b7a08c9281 user32/button: Do not select old font back after painting.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:25:56 +01:00
Piotr Caban 43df3f468f user32/tests: Add listbox WM_MEASUREITEM tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 09:58:00 +01:00
Piotr Caban 3c5c9b1577 user32: Fix itemData passed in ListBox WM_MEASUREITEM message.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 09:57:52 +01:00
Nikolay Sivov d0b1e43c71 user32/tests: Remove commented out traces, use test calls instead of traces.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 17:24:37 +01:00
Alexandre Julliard f80802edd7 user32/tests: Also test device caps on a released DC.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 18:21:00 +01:00
Alex Henrie e1c2a87061 user32/tests: Drop broadcast test workarounds for Windows <= 2000.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 09:25:13 +01:00
Nikolay Sivov 9640990e43 user32: Don't convert message arguments when calling dialog procedure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Nikolay Sivov f31cb68fc3 user32/tests: Test auto-registration for more redirected builtin classes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-16 14:35:01 +01:00
Alexandre Julliard 692b118f45 user32/tests: Remove workarounds for older Windows versions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-14 20:37:54 +01:00
Alexandre Julliard f893b03903 user32/tests: Reduce window test verbosity.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-14 11:01:08 +01:00
Nikolay Sivov 04fe481d2b comctl32: Introduce ListBox control.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-14 09:05:30 +01:00
Nikolay Sivov c9e98034b3 comctl32: Introduce ComboBox control.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-13 19:15:00 +01:00
Nikolay Sivov eebdb457bf user32/tests: Extend message conversion tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 15:33:09 +01:00
Nikolay Sivov 3436460c51 user32/tests: Remove workaround for GetComboBoxInfo() availability.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-08 13:11:05 +01:00
Nikolay Sivov 1ae05c04a2 user32: Remove confusing comments.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-08 13:10:50 +01:00
Nikolay Sivov 31d3fcc0b2 comctl32: Introduce Static control.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-08 13:10:37 +01:00
Nikolay Sivov 0de689f415 user32: Automatically load the module implementing redirected class.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-07 22:22:51 +01:00
Huw Davies 0d9ce8a025 user32: Add a heuristic to find the mouse message's window.
This can't be done properly without support from the native windowing
system.  However, it's a good bet to try the next window in the z-order
if it's the owner of the original window and it's in the same thread.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 14:28:10 +01:00
Nikolay Sivov 5d10abde50 comctl32: Introduce Button control.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 14:28:10 +01:00
Alexandre Julliard 2d0704f73a user32/tests: Fix pointer conversion warnings.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 12:57:01 +01:00
Nikolay Sivov a21b16d8cb user32: Fix names returned with GetClassName().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 10:00:07 +01:00
Thomas Faber 7ee4588c0a user32: Handle HeapReAlloc failure in RemoveMenu.
The array size is being decreased so failure is not critical here, but
it can still happen, e.g. when DPH is in use.

Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 10:00:07 +01:00
Zebediah Figura 9b2dd2db6a user32: Kill focus before minimizing a window.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-02 14:42:39 +01:00
Nikolay Sivov be8534d387 user32/tests: Add some tests for GetClassName() and versioned classes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-02 14:42:38 +01:00
Zebediah Figura 0741d193ff user32/tests: Flush events after test_ShowWindow().
The test minimizes windows, which triggers most window managers to generate
focus events on other windows. These events aren't processed until halfway
through the next test, test_EnableWindow(), when a message loop is run, and
as a result an unexpected window (usually hwndMain) is activated, causing the
test to fail.

The testbot uses focus-follows-mouse mode, so these focus events were not
triggered, thereby causing a success inside the todo block.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-02 14:42:38 +01:00
Nikolay Sivov 662f727a79 comctl32: Introduce Edit control.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:55 +01:00
Nikolay Sivov f2b489591b user32/edit: Fix replacement text trace.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:55 +01:00
Nikolay Sivov df715e5a9a user32: Make it possible to create windows for redirected classes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-31 21:07:24 +01:00
Bernhard Übelacker 9256017adf user32: Validate DIB offset in CURSORICON_GetFileEntry.
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 10:41:56 +01:00
Zebediah Figura 318edcc94a user32/tests: Wait for the WM_CLIPBOARDUPDATE message to be received.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 10:24:25 +01:00
Zebediah Figura 0b63b779cc user32/tests: Add a helper to check clipboard sequence and messages.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 10:24:22 +01:00
Nikolay Sivov 6ca3ec5be8 user32/tests: Add more A/W message data conversion tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 09:06:49 +01:00
Nikolay Sivov bdb048a50e user32: Enable window class redirection.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-26 13:44:23 +01:00
Alexandre Julliard e7e576d675 user32: Also user the thread-safe display DC in icon functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 12:30:22 +01:00
Guo Lv daa832f4bf user32: Make functions use display dc thread-safe.
Signed-off-by: Guo Lv <lvguo@deepin.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 12:03:12 +01:00
Nikolay Sivov 6aa853ae39 user32/edit: Fix EM_SETWORDBREAKPROC return value.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:46 +01:00
Nikolay Sivov 71d8edebb9 user32: Add SysLink to known classes list.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 12:12:02 +01:00
Nikolay Sivov 8d8c94d793 user32/tests: Add EM_GETLINE test.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-12 15:02:55 +01:00
Nikolay Sivov df88f96da1 user32/tests: Add some more tests for message data conversion in dialog procedures.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-08 22:47:24 +01:00
Piotr Caban a5118adbbc user32: Add more CB_SETCURSEL tests on ComboBox.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-05 19:30:26 +01:00
Piotr Caban a912b23771 user32: Redraw combo text field even if it's empty.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-05 19:30:12 +01:00
Piotr Caban 910129fcf7 user32: Let ComboBox edit control handle the redraw even if CBF_NOREDRAW is set.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-05 19:30:08 +01:00
Andrey Gusev f547891e76 user32/tests: Fix resource leak.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-05 16:12:55 +01:00
Francois Gouget 2041e20a69 user32/tests: Make test_WS_VSCROLL() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-04 16:33:47 +01:00
Andrey Gusev daa4663980 user32/tests: Fix resource leak.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-03 19:13:27 +01:00
Nikolay Sivov 7fad896f29 user32/tests: Add missing return value test (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 13:25:20 +01:00
Alex Henrie 7a39a7a3ae user32/tests: Recognize undefined characters in OemKeyScan tests.
This reverts commit 72ab2d5b07.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-29 09:59:49 +01:00
Alex Henrie 72ab2d5b07 user32/tests: Fix OemKeyScan failures with input method editors.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-28 21:36:55 +01:00
Nikolay Sivov 41a76447dd user32/tests: Add some tests for A/W auto conversion in case of mismatching window vs dialog procedure types.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-28 21:36:55 +01:00
Zebediah Figura d95be60ff6 user32/tests: Add a basic test for maximizing windows.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-21 10:38:01 +01:00
Zebediah Figura b7cdfd312c user32/tests: Also test client rect size.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-21 10:37:59 +01:00
Zebediah Figura 54388647af user32/tests: Explicitly test minimized window size.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-21 10:37:56 +01:00
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