Commit Graph

777 Commits

Author SHA1 Message Date
Alexandre Julliard 6551553fe6 winex11: Make the cursor window global instead of per-thread, and send it a message when the cursor changes. 2010-04-29 10:19:29 -05:00
Wolfram Sang 94a3c0987e user32: Ignore reserved bytes in BMP fileheader. 2010-04-26 13:02:51 -05:00
Nikolay Sivov 0af447ce9f user32/tests: Add some GetDlgItem() tests regarding children windows Z-order. 2010-04-25 19:22:11 -05:00
Vincent Povirk a5fd32eb84 user32: Focus editboxes when the context menu is opened. 2010-04-25 07:38:10 -05:00
Gerald Pfeifer f2c94fa138 user32: Remove variable mask which is not really used from check_alpha_draw. 2010-04-22 12:12:11 +02:00
Alexandre Julliard b6765134a3 user32: The Z-order of owned windows doesn't depend on them having the WS_POPUP style. 2010-04-13 21:10:00 +02:00
Nikolay Sivov e9bae2cfaf user32: Block TrackPopupMenu if menu is already active. 2010-04-09 11:42:01 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Alexandre Julliard c4dec77064 user32/tests: Fix a test that was incorrectly skipped on non-Win9x platforms. 2010-04-06 12:42:57 +02:00
Alexandre Julliard 1f1d9e7b02 user32/tests: Use the correct type for the bits pointer in CreateDIBSection calls. 2010-04-02 15:40:55 +02:00
Sébastien Ramage e7165b3921 user32: End scrollbar tracking if the mouse capture is lost. 2010-03-25 10:55:51 +01:00
Alexandre Julliard ce31f2da0a user32/tests: Fix a couple of race conditions. 2010-03-23 13:24:27 +01:00
Alexandre Julliard 49de5ca39f user32: Store the current cursor and show count in the server. 2010-03-22 17:54:21 +01:00
Francois Gouget 3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Paul Vriens b897a37f38 user32/tests: Fix timeouts on Win9x/WinMe. 2010-03-19 12:26:46 +01:00
Alexandre Julliard c83ea46e1a user32: Return fake global information in GetCursorInfo instead of thread-local values. 2010-03-19 11:59:51 +01:00
Alexandre Julliard 0be0211682 user32/tests: Add some tests for GetCursorInfo. 2010-03-19 11:59:33 +01:00
Alexandre Julliard d2ec02e06f user32/tests: Add some tests for ShowCursor. 2010-03-18 19:26:36 +01:00
Alexandre Julliard 5a18e2a925 user32/tests: Add some tests demonstrating that SetCursor uses the thread input data. 2010-03-18 13:46:38 +01:00
Henri Verbeet d9381b97aa user32/tests: Add a test for foreground windows on a different thread.
What happens is that we get the WM_WINE_SETACTIVEWINDOW message sent by the
other thread after we already changed the foreground window back to our own
window.
2010-03-18 10:23:46 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
David Hedberg 5a1f8c57a8 user32: Fix case where EM_SCROLL with page down results in trying to scroll up past the beginning. 2010-03-03 14:01:58 +01:00
David Hedberg 598052b4ad user32: Fix return value of EDIT_EM_Scroll. 2010-03-03 14:01:50 +01:00
Alexandre Julliard b0760fc2e9 server: Set the idle event when PeekMessage is called with -1 as window filter. 2010-03-03 13:20:53 +01:00
Henri Verbeet 6ee4a87ad6 user32: Also show dialogs right after a WM_TIMER message. 2010-03-02 14:29:21 +01:00
Alexandre Julliard c888a2eb22 user32/tests: Fix broken check of the ok() macro return value.
Spotted by Yann Droneaud.
2010-02-24 16:04:11 +01:00
Nikolay Sivov 9b7b3ef1c4 user32/tests: Test to show that caption added for WS_EX_LAYERED as well. 2010-02-24 15:12:30 +01:00
Andrew Nguyen 416589a7c2 user32/tests: Fix a failure message trace. 2010-02-23 12:09:55 +01:00
Andrew Nguyen 0b23012867 user32: Ensure that WM_INITDIALOG passes the first tabstop control handle to the dialog procedure. 2010-02-23 12:09:50 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexandre Julliard adf9dcd6a7 user32: Fix Z-order handling of windows that have a top-most owner. 2010-02-19 13:05:08 +01:00
Reece Dunn e66198ae92 user32/tests: Make the MDI client take up the whole client area. 2010-02-08 17:14:44 +01:00
Paul Vriens 1cbedfb204 user32/tests: Fix crash on Win9x/WinMe. 2010-02-08 17:14:43 +01:00
Paul Vriens c0acfe1ead user32/tests: Don't try to detect Win9x/WinMe several times. 2010-02-08 17:14:43 +01:00
Bernhard Übelacker 8d127f3a81 user32: Don't hide the window in SetParent when window and parent are equal. 2010-02-05 13:14:45 +01:00
Alexandre Julliard 30e1445f08 user32/tests: Fix the menu capture test for NT4. 2010-02-05 11:29:12 +01:00
Alexandre Julliard 48ab8eb3fd user32: Fix the WM_CONTEXTMENU parameter for 64-bit. 2010-02-02 23:44:10 +01:00
Alexandre Julliard c4568edd64 user32/tests: Dispatch a message in case we can a WM_PAINT. 2010-02-02 11:47:20 +01:00
Jason Edmeades f27b032d50 user32: Preselect all editbox text when combo gets focus. 2010-01-25 18:05:03 +01:00
Jason Edmeades 0641192b52 user32/tests: Combo should preselect all text on first WM_SETFOCUS. 2010-01-25 18:05:03 +01:00
Paul Vriens 665c90a9c7 user32/tests: Don't crash on Win9x/WinMe. 2010-01-22 12:14:34 +01:00
Kusanagi Kouichi 56416b09a6 user32: F10 key deactivates menu. 2010-01-18 14:38:29 +01:00
Paul Vriens 5da7043c52 user32/tests: Run tests again on Win95. 2010-01-18 14:20:29 +01:00
Kusanagi Kouichi 95676b50f8 user32/tests: Add test for Shift+F10. 2010-01-14 10:59:28 -06:00
Peter Dons Tychsen d21c131fb5 user32: Do not allow a change of capture if the currently capture window is a menu unless explicitly specified. 2010-01-14 09:04:55 -06:00
Nikolay Sivov ba51a6c9bc user32/tests: Forward test proc to default dialog procedure instead of window's one. 2010-01-08 17:04:00 +01:00
Nikolay Sivov ff12594a15 user32/uitools: Fix FillRect behaviour for invalid brush passed. 2009-12-30 16:11:51 +01:00
Nikolay Sivov 385b8dcb95 user32/sysparams: Return NULL from GetSysColorBrush() for invalid index. 2009-12-30 13:40:43 +01:00
Nikolay Sivov 2a0fca79ae user32/tests: Add tests for invalid index in GetSysColorBrush(). 2009-12-29 15:42:02 +01:00
Michael Stefaniuc 7e2b624896 user32/tests: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:13 +01:00
Alexandre Julliard ffe9ace917 user32/tests: Fix some last error checks for WoW64. 2009-12-23 14:27:31 +01:00
Michael Stefaniuc 6c7c2401ad user32/tests: Don't cast NULL to an integer type. 2009-12-21 15:01:25 +01:00
Alexandre Julliard 7265e89226 server: Set the idle event when retrieving a timer message. 2009-12-16 18:18:07 +01:00
Alexandre Julliard 92e704edc5 server: Don't set the idle event when waiting for a message reply. 2009-12-16 18:06:38 +01:00
Alexandre Julliard 7d4e28480d server: Any thread can set the idle event, don't treat the first one differently. 2009-12-16 18:06:32 +01:00
Alexandre Julliard b57cc5561b server: Don't reset the idle event when the client stops waiting. 2009-12-16 18:06:14 +01:00
Alexandre Julliard ea4babc511 user32/tests: Always reset events when starting a WaitForInputIdle test. 2009-12-16 18:00:12 +01:00
Alexandre Julliard b51311d60c user32/tests: Fix a number of message test failures on various Windows boxes. 2009-12-16 12:42:40 +01:00
Alexandre Julliard d6dfcf94b0 user32/tests: Add a number of tests for WaitForInputIdle.
With help from Dmitry Timoshkov.
2009-12-15 16:08:40 +01:00
Nikolay Sivov 0e16d4cd5b user32/tests: Free window after use. 2009-12-03 10:15:33 +01:00
Nikolay Sivov 48cb3a30b5 user32/tests: Restore original procedure to let control clean up. 2009-12-03 10:15:24 +01:00
Dan Kegel 3e28e4ab0f user32/tests: Allocate big enough buffer for UnpackDDElParam test. 2009-12-03 10:12:30 +01:00
Nikolay Sivov 916e38f969 user32/tests: Free memory after use. 2009-11-30 12:57:05 +01:00
Ilya Shpigor da9c52371e user32: Destroy EDITSTATE structure in the WM_NCDESTROY message processing. 2009-11-16 17:06:21 +01:00
Ilya Shpigor e6f0404076 user32: Fix switching focus to parent after child hiding. 2009-11-05 14:45:33 +01:00
Paul Vriens eaec876917 user32/tests: Fix a typo. 2009-10-23 20:01:53 +02:00
Paul Vriens 05765a0b0c user32/tests: Skip some tests on Win9x/WinMe. 2009-10-23 15:54:08 +02:00
Alexandre Julliard 1b27890af6 user32: Fix the return value of EnumThreadWindows. 2009-10-23 15:54:07 +02:00
Julius Schwartzenberg 9f548bd9b8 user32/tests: Test extra value of standard dialog and edit classes. 2009-10-22 14:36:15 +02:00
Alexandre Julliard 9390bc921e user32/tests: Use the correct lparam in the WM_DDE_ACK reply. 2009-10-19 16:21:50 +02:00
Rein Klazes b94f63ef38 user32: Handle MN_GETHMENU in PopupMenuWndProc. 2009-10-16 17:49:40 +02:00
Erich Hoover b74c0cc2fe user32: Test for 'F10' key events. 2009-10-14 12:57:47 +02:00
Paul Vriens 42f7e4a4d9 user32/tests: Fix an intermittent test failure. 2009-10-12 12:36:29 +02:00
Paul Vriens 429bf7e0e2 user32/tests: Skip some tests on Win9x/WinMe. 2009-10-08 12:17:30 +02:00
Paul Vriens 7be2f6d985 user32/tests: Fix some test failures with 9x/Me on VMware. 2009-10-06 16:13:18 +02:00
Alexandre Julliard 239265fd8b tests: Build all tests with strict prototypes. 2009-10-06 16:12:39 +02:00
Ge van Geldorp 2165c2640e user32/tests: Fix sysparams test failure on Win7. 2009-10-06 12:00:51 +02:00
Wilfried Pasquazzo 2326f3d4d5 user32: DrawState always uses real icon size for drawing. 2009-10-05 14:53:00 +02:00
Wilfried Pasquazzo 3be7ec3401 user32/tests: DrawState: New test case for correct drawing of icons. 2009-10-05 14:52:46 +02:00
Michael Stefaniuc bd93d0b5d8 user32/tests: Use LONG instead of long. 2009-10-02 15:06:57 +02:00
Paul Vriens fda70b97f4 user32/tests: Don't crash on Win9x/WinMe/NT4. 2009-10-01 11:33:21 +02:00
Peter Dons Tychsen f20f411925 user32: Add exception handling for timer callbacks. 2009-09-30 14:34:32 +02:00
Vincent Povirk d1099eb4d8 user32: Invert y in DrawTextEx in GM_COMPATIBLE mode if y increases up. 2009-09-28 12:37:20 +02:00
Alexandre Julliard 50573f424a user32/tests: Add missing flush_events in ScrollWindow test. 2009-09-25 16:08:50 +02:00
Rein Klazes 1775ab4a11 user32: In ScrollWindowEx do not clip the clipping rectangle with the scrolling rectangle. 2009-09-24 14:31:17 +02:00
Alexander Scott-Johns 9c9ebe04c5 user32: Send a WM_DRAWCLIPBOARD message to the new viewer when SetClipboardViewer is called. 2009-09-23 16:09:05 +02:00
Alexander Scott-Johns 64569c66e4 user32: When sending the WM_DRAWCLIPBOARD message, pass the clipboard owner in wParam. 2009-09-23 16:08:59 +02:00
Alexander Scott-Johns 4807fd99a7 user32/tests: Add some clipboard viewer tests. 2009-09-23 16:08:50 +02:00
Wilfried Pasquazzo 1a5db69019 user32/tests: Test for correct scaling of DrawIcon. 2009-09-23 16:06:55 +02:00
Alexandre Julliard b225082a71 user32/tests: Use explicit prototypes for function pointers. 2009-09-09 13:12:46 +02:00
Alexandre Julliard bab99e5353 user32/tests: Non-US keyboards are allowed on Wine too. 2009-09-09 12:18:56 +02:00
Ge van Geldorp b5d7025932 user32/tests: Skip test on non-US keyboard. 2009-09-08 12:11:52 +02:00
Paul Vriens 84153c09cb user32/tests: Run tests again on Win95. 2009-09-01 17:46:45 +02:00
Sergey Khodych aa8129a338 user32/tests: Fix a typo. 2009-09-01 17:36:56 +02:00
Sergey Khodych f1f1c50531 user32: Use IDOK as default identifier in a template. 2009-08-26 16:38:39 +02:00
Sergey Khodych 205a7f7f03 user32: edit: Improve handling of WM_KEYDOWN VK_RETURN in a dialog mode. 2009-08-26 16:38:03 +02:00
Sergey Khodych d4707dbb60 user32: edit: Improve handling of WM_KEYDOWN VK_TAB in a dialog mode. 2009-08-26 16:37:12 +02:00
Sergey Khodych 3b6ea11481 user32: edit: Improve handling of WM_KEYDOWN VK_ESCAPE in a dialog mode. 2009-08-26 16:37:05 +02:00
Sergey Khodych 6fa48cdd91 user32: edit: Use a dialog mode after receiving WM_GETDLGCODE message.
Tests show that the edit control uses a dialog mode after receiving 
WM_GETDLGCODE message and it doesn't depend on whether the edit control 
has a parent window.
2009-08-26 16:36:50 +02:00
Ge van Geldorp 0a1e0a3261 user32/tests: Fix test failure on Win7. 2009-08-26 16:33:42 +02:00
Andrew Eikum 7fe9e693a7 user32/tests: Fix input test failures on NT4. 2009-08-26 12:10:04 +02:00
Andrew Nguyen 918c9d5994 user32/tests: Fix a test failure on Win9x. 2009-08-24 15:17:32 +02:00
Andrew Eikum e4106b6273 user32/tests: Fix input test failure in win9x platforms. 2009-08-20 19:43:30 +02:00
Andrew Eikum 37754eb400 user32/tests: Add tests for SendInput with unicode. 2009-08-19 12:19:06 +02:00
Andrew Eikum c1c22e25c2 user32/tests: Add tests for saving and restoring control focus. 2009-08-14 13:58:49 +02:00
Austin Lund 3dcd46f597 user32/tests: Remove superfluous code from WM_PAINT loop test. 2009-08-14 11:27:31 +02:00
Austin Lund 65758cde7f user32/tests: Added tests for infinite WM_PAINT loop. 2009-08-13 16:22:07 +02:00
Dmitry Timoshkov 96e44ddb78 user32: Return 0 from DefDlgProc and dialog loop for invalid dialog handles. 2009-08-12 12:53:25 +02:00
Francois Gouget e74efb5487 Assorted spelling fixes. 2009-08-11 12:35:38 +02:00
Andrew Nguyen e903872fd2 user32/tests: Fix some test failures on Windows. 2009-08-10 13:11:13 +02:00
Andrew Nguyen 797ec7a58e user32/tests: Test the behavior of DialogBoxParamA with dialog procedure window destruction. 2009-08-07 12:11:42 +02:00
Dmitry Timoshkov 5b90101e2e user32/tests: Use symbol charset when creating Marlett font. 2009-08-05 11:19:54 +02:00
Rein Klazes c18cd1b46f user32: When all items in a menu have either a bitmap or text but not both, then texts should be aligned with the bitmaps. 2009-08-03 17:39:22 +02:00
Henri Verbeet b31f0f24ff user32: Send 0 as LPARAM for SIZE_MINIMIZED WM_SIZE messages. 2009-08-03 15:02:51 +02:00
Rein Klazes 38dbe067c3 user32: Fail if inserting a submenu would create a loop in the menu hierarchy. 2009-07-24 13:11:10 +02:00
Rein Klazes da86ab71fa user32/tests: Fix for a test failure on win98/NT4. 2009-07-21 15:59:24 +02:00
Rein Klazes c2ada64097 user32: Ignore the MFT_BITMAP flag when testing menu items for 'magic' bitmap handles. 2009-07-20 14:19:46 +02:00
Rein Klazes 5b4b1e6a67 user32/tests: Show that Windows avoids creating loops in a menu tree, probably by limiting the depth of such tree. 2009-07-17 13:34:40 +02:00
Dmitry Timoshkov df055b2d2c user32: Fix some BM_SETSTYLE test failres under Win9x. 2009-07-06 14:35:27 +02:00
Dmitry Timoshkov 87418f0aaa user32: Add a test for BM_SETSTYLE, make it pass under Wine. 2009-07-02 13:11:48 +02:00
Joel Holdsworth d1c89d0a78 user32: Added DrawIconEx alpha blending support. 2009-06-25 14:34:13 +02:00
Joel Holdsworth a0232508b3 user32: Added DrawIcon alpha blending support. 2009-06-25 14:34:13 +02:00
Paul Vriens d3b3b3e0b9 user32/tests: Prevent some 'deadcode' (Coverity). 2009-06-25 11:48:05 +02:00
Paul Vriens 3b437b550d user32/tests: Prevent some 'deadcode' (Coverity). 2009-06-23 11:47:44 +02:00
Joel Holdsworth a7c8dad0bc user32/tests: Added tests for DrawIcon and DrawIconEx. 2009-06-22 13:27:24 +02:00
Nicolas Le Cam 1d7d110f1c user32/tests: Ignore WM_TIMECHANGE message. 2009-06-22 11:22:30 +02:00
Dmitry Timoshkov 45c8e64057 user32: Invalidate button on WM_KILLFOCUS, like Windows does. 2009-06-18 15:17:28 +02:00
Paul Vriens 267c39bc9c user32/tests: Skip some tests on Win9x/WinME. 2009-06-15 13:42:27 +02:00
Dmitry Timoshkov acb05666bb user32: Add a test for PeekMessage((HWND)-1), make it pass under Wine. 2009-06-12 17:33:16 +02:00
Alexandre Julliard 7b40a2fa95 user32/tests: More systematically ignore the messages we don't care about. 2009-06-04 12:17:48 +02:00
Alexandre Julliard 52ad8123f9 user32/tests: Add more synchronization in the exit thread test to avoid races. 2009-06-04 12:17:42 +02:00
Paul Vriens f9ecd7397e user32/tests: Fix a test failure on Win95. 2009-06-04 12:12:07 +02:00
Paul Vriens 96ef5d38af user32/tests: Remove a trace() message. 2009-06-04 12:12:02 +02:00
Alexandre Julliard d25f71b553 user32/tests: Add tests for message sequence of window destruction at thread exit. 2009-06-03 11:31:10 +02:00
Alexandre Julliard f922283335 user32/tests: Only check the foreground window when it belongs to the current thread. 2009-06-02 11:57:22 +02:00
Alexandre Julliard 788cdbe6fd user32/tests: Fix the listbox delete test on NT4. 2009-06-02 11:57:22 +02:00
André Hentschel ef016c32c1 winex11: Fix Ctrl+Shift+Tab translation. 2009-06-02 11:57:21 +02:00
Alexandre Julliard 341cea514f user32/tests: Make some sysparams registry key optional, and fix some other failures on old Windows platforms. 2009-06-01 16:16:05 +02:00
Alexandre Julliard 750fcebadb user32/tests: Remove tests for internal DDE handle format, we don't care how the handles are implemented. 2009-06-01 16:16:05 +02:00
Gerald Pfeifer bb902d6810 user32/tests: Remove unused SAME macro. 2009-05-29 11:27:05 +02:00
Alexandre Julliard 83cb24f9b4 user32/tests: Fix some pointer conversion warnings on 64-bit. 2009-05-28 15:24:31 +02:00
André Hentschel cc688148ac winex11: Fix Ctrl+Tab translation. 2009-05-28 15:02:01 +02:00
Gerald Pfeifer 551892b071 user32/tests: Fix MODIFIED macro. 2009-05-25 14:25:42 +02:00
Paul Vriens 334efcde13 user32/tests: Fix test failures on Win9x/WinME. 2009-05-13 17:11:22 +02:00
Alexandre Julliard 4bd4812b80 user32/tests: Add an optional message for Win95. 2009-05-13 11:54:55 +02:00
Alexandre Julliard d6c8a003e1 user32/tests: Add more systematic support for ignoring certain messages. 2009-05-12 12:09:30 +02:00
Alexandre Julliard 2c882507da user32/tests: Fix the LB_DELETESTRING for older Windows versions. 2009-05-12 12:09:07 +02:00
Alexandre Julliard 8432ff70bb user32/tests: Fix the window creation on Win64. 2009-05-07 14:44:22 +02:00
Nicolas Le Cam ffba5470c0 user32/tests: Fix scroll tests when theming is disabled. 2009-05-05 11:51:00 +02:00
Rein Klazes 1b1e0027db user32: Combine horizontal and vertical window scroll bar info in a single structure. 2009-05-04 14:57:03 +02:00