Commit Graph

831 Commits

Author SHA1 Message Date
Alexandre Julliard 424b5e61f0 user32/tests: Allow the foreground window to be null in the window tests. 2008-11-20 20:51:06 +01:00
Alexandre Julliard 3359f4d4e5 user32/tests: Fix some of the sysparams tests on Win9x and NT4. 2008-11-20 20:46:54 +01:00
Alexandre Julliard dcd8cf7214 user32/tests: Fix the monitor tests on NT4. 2008-11-20 20:06:46 +01:00
Alexandre Julliard bda507fb58 user32/tests: Fix wildcard directory lists handling for Win9x. 2008-11-20 19:52:03 +01:00
Alexandre Julliard 2032da7d42 user32/tests: Fix the edit margins tests on Win9x. 2008-11-20 18:21:38 +01:00
Alexandre Julliard 4afb1c54c0 user32/tests: Fix the cursor tests on Win9x. 2008-11-20 18:09:10 +01:00
Alexandre Julliard 43a70a68bc user32/tests: The BSF_SENDNOTIFYMESSAGE flag is not supported on NT4. 2008-11-20 18:01:23 +01:00
Paul Vriens bc3484bc20 user32/tests: Don't crash on Win95. 2008-11-20 12:01:27 +01:00
Alexandre Julliard 80e163eba9 user32/tests: Fix a few more failures in the window test. 2008-11-20 11:57:32 +01:00
Florian Köberle c6adf31841 user32/tests: Test size and minmax of WS_THICKFRAME child. 2008-11-19 15:02:37 +01:00
Florian Köberle b422c4b874 user32/tests: Capture tests should not require no active window. 2008-11-19 14:57:50 +01:00
Dmitry Timoshkov 5dfcadd7a3 user32: Do not change focus if the window is no longer active. 2008-11-19 12:16:28 +01:00
Damjan Jovanovic 1603a51d4e user32: Handle NULL rectangles in WM_NCCALCSIZE. 2008-11-18 15:52:00 +01:00
Francois Gouget 3b140ccb0e Assorted spelling fixes. 2008-11-17 16:04:39 +01:00
Paul Vriens 919bd61203 user32/tests: Fix a test failure on Win9x, WinMe and NT4. 2008-11-17 14:45:57 +01:00
Alexandre Julliard 025daaf0e8 user32: Fix FindWindow to not match an empty class name. 2008-11-17 14:14:05 +01:00
Dylan Smith fe1f3c5293 user32: Added message spy string for IME Status messages. 2008-11-17 13:12:28 +01:00
Alexandre Julliard 1877ff01f9 user32/tests: Fix the resource tests for various Windows versions. 2008-11-14 21:17:48 +01:00
Andrew Riedi 7f5b4ab15d user32: Initial .ani support (only first frame).
Based on patches by Henri Verbeet.
2008-11-14 14:28:23 +01:00
Vitaliy Margolen a4b62b1781 user32/tests: Print line numbers of callers in check_wnd_state to help debugging. 2008-11-13 12:04:13 +01:00
Alexandre Julliard fe9f688774 user32: Don't process other messages when recursing in peek_message for an internal message. 2008-11-12 19:56:36 +01:00
Alexandre Julliard 466de4f429 user32/tests: Make sure the message test doesn't hang if the window doesn't have focus. 2008-11-12 12:36:22 +01:00
Alexandre Julliard a16f33c002 user32/tests: Skip the PM_QS_* PeekMessage tests on NT4. 2008-11-12 11:49:11 +01:00
Alexandre Julliard 4a57339236 user32/tests: Fix window tests on various Windows versions. 2008-11-12 11:48:49 +01:00
Hans Leidekker 066a8f442d user32: Add a stub implementation of ChangeWindowMessageFilter. 2008-11-11 11:41:19 +01:00
Paul Chitescu fb6b40cc60 user32: Unimplemented SystemParametersInfoW actions display fixme only once. 2008-11-10 11:17:37 +01:00
Paul Vriens 4f5460ffcf user32/tests: Skip GetMenuItemInfo tests on NT4 and below. 2008-11-07 13:34:24 +01:00
Paul Vriens 80d3604947 user32/tests: Set last error if the menu item cannot be found. 2008-11-07 13:34:18 +01:00
Paul Vriens b8d468637e user32/tests: Fix some test failures on Win9x. 2008-11-07 11:01:31 +01:00
Nicolas Le Cam 2de8540751 user32: Partially implement SystemParametersInfo(SPI_{GET/SET}FOREGROUNDLOCKTIMEOUT). 2008-11-07 10:56:36 +01:00
Paul Vriens bb6e59ec7f user32/tests: Fix some test failures on Win9x and WinMe. 2008-11-06 15:01:03 +01:00
Detlef Riekenberg 609a3998f7 user32/tests: Fix crash on win9x in the dde test. 2008-11-06 11:09:36 +01:00
Michael Stefaniuc fb11803d19 user32: Remove superfluous casts of void pointers. 2008-11-05 10:55:46 +01:00
Michael Stefaniuc 3d6e19d48a user32: Do not cast zero. 2008-11-04 11:26:24 +01:00
Michael Stefaniuc 706df65c5a user32: Do not cast NULL. 2008-11-03 13:40:27 +01:00
Alexandre Julliard 929dcfaad5 user32: Add a bunch of tests for GetQueueStatus and GetMessage combinations. 2008-10-29 13:29:33 +01:00
Alexandre Julliard 7804129e68 user32: Use a local buffer in peek_message to save a server call for small buffer sizes. 2008-10-29 13:29:33 +01:00
Alexandre Julliard 06dbbdd09b user32: Specify the new queue mask separately from the PeekMessage flags. 2008-10-29 13:29:33 +01:00
Alexandre Julliard 641cc6402f user32: Move thread info setting and WH_GETMESSAGE call into peek_message. 2008-10-29 13:29:33 +01:00
Alexandre Julliard 142708face user32: Move handling of internal messages into peek_message. 2008-10-29 13:29:33 +01:00
Dmitry Timoshkov 8f1d058b9d user32: Handle all kinds of values returned by WIN_GetPtr. 2008-10-29 11:52:40 +01:00
Detlef Riekenberg de267347c5 user32/tests: Avoid crash on win9x. 2008-10-27 13:49:21 +01:00
Dmitry Timoshkov fc48f7743d user32: Make ToAscii(Ex) and ToUnicode(Ex) prototypes match PSDK. 2008-10-27 12:38:57 +01:00
Michael Stefaniuc 4fc84eaf5a user32: HGDIOBJ is interchangeable with other handle types; no casts are needed. 2008-10-27 11:29:54 +01:00
Dmitry Timoshkov d6544f041b user32: Fix a typo. 2008-10-20 12:23:41 +02:00
Francois Gouget 72cf4f3b0d Assorted spelling fixes. 2008-10-20 11:37:27 +02:00
Alexandre Julliard 5d9d8f854f user32: Convert source files to utf-8. 2008-10-18 19:21:00 +02:00
Alexandre Julliard 881e30b4d1 user32/test: Fix a couple of message test failures on Windows. 2008-10-17 19:05:11 +02:00
Dmitry Timoshkov 922dc31224 user32: Add a test for fullscreen window sizing, make it pass under Wine.
It appears that Windows doesn't always restrict the window size by
the monitor work area. The tests pass under XP SP3 and Win98.
2008-10-17 11:42:31 +02:00
Aric Stewart e0edc233af user32: Update DrawText tests to cover behavior differences on win98. 2008-10-16 11:40:02 +02:00
Aric Stewart 7b9e827a75 user32: Make sure our vertical line count is at least 1 even if there is an oversized font in the edit control. 2008-10-15 16:45:56 +02:00
Lei Zhang ec91536ec9 user32: Send messages for edit control context menu operations. 2008-10-15 14:02:04 +02:00
Aric Stewart 48ad706c08 user32: DrawText handling of 0 counts with string, empty strings and -1 counts with empty string and NULL strings. 2008-10-14 13:41:57 +02:00
Aric Stewart 8b9ebc30c9 user32: In DrawTextW/A make sure to properly initialize the cbSize of DRAWTEXTPARAMS. 2008-10-14 13:41:56 +02:00
Muneyuki Noguchi 2c87922caf user32: Convert Japanese resource to UTF-8. 2008-10-13 11:41:24 +02:00
Paul Vriens 4ac4401c41 user32/tests: Don't crash on NT4. 2008-10-09 13:14:44 +02:00
Paul Vriens cf829959b1 user32/tests: Fix failures on W2K and below. 2008-10-07 12:12:09 +02:00
Paul Vriens 63f15d4400 user32/tests: Run tests on win95 again. 2008-10-07 12:12:04 +02:00
Dylan Smith 936191887e user32: Converted rcScrollBar to screen coordinates. 2008-10-06 13:54:44 +02:00
Dmitry Timoshkov 53160b600f user32: Print the expected and received rectangles. 2008-10-06 13:48:14 +02:00
Aric Stewart a7e48d7d98 user32/tests: GetMenuItemCount returns INT so check for -1 (Coverity 542). 2008-10-02 10:30:42 -05:00
Aric Stewart 6aa6fc8a46 user32/tests: GetMenuItemCount returns an INT which can be -1 (Coverity 543). 2008-10-02 10:30:33 -05:00
Dimitrie O. Paun e209932069 user32: Fix a noisy FIXME. 2008-10-01 09:47:31 -05:00
Vitaliy Margolen d83fc43e5e user32/tests: Move shell test to the end - killing explorer affects lots of tests. 2008-09-30 10:14:22 -05:00
Vitaliy Margolen cc5ff833b3 user32/tests: Make it easier to identify failed tests. 2008-09-29 17:32:45 -05:00
Vitaliy Margolen 311fea4ec4 user32/tests: Use empty_message_queue with timeouts. 2008-09-29 17:32:30 -05:00
Muneyuki Noguchi bcff2eb288 user32: Use "MS Shell Dlg" 9 in Japanese resources. 2008-09-25 13:28:15 +02:00
Alexandre Julliard e0e91cf7f4 user32/tests: Fix the listbox tests on Win9x and NT4. 2008-09-24 15:39:03 +02:00
Alexandre Julliard 6345c938b2 user32/tests: Fix some input test failures. 2008-09-24 15:37:38 +02:00
Alexandre Julliard 7e1bc58d76 user32/tests: Fix the winstation tests on NT4. 2008-09-24 14:51:05 +02:00
Alexandre Julliard d9e26cb9d4 user32/tests: Fix more message test failures on NT4 and XP. 2008-09-24 13:11:26 +02:00
Vincent Povirk a2742978d0 user32: Handle undocumented WM_POPUPSYSTEMMENU message. 2008-09-24 12:52:28 +02:00
Alexandre Julliard 17c6542cfe user32/tests: Fix some more message test failures. 2008-09-22 12:14:56 +02:00
Alexandre Julliard 2193a70137 user32/tests: Fix a few more message test failures. 2008-09-19 12:07:18 +02:00
Paul Chitescu da012ed8e7 user32: Stub for LockWorkStation. 2008-09-17 18:11:11 +02:00
Alexandre Julliard 392387400e user32/tests: Fix some test failures on win9x. 2008-09-17 16:29:32 +02:00
Alexandre Julliard b40628825a user32/tests: Cope with last error behavior on Vista. 2008-09-17 16:24:10 +02:00
Alexandre Julliard 343d2420fc user32/tests: Fix some test failures on XP. 2008-09-17 14:05:06 +02:00
Alexandre Julliard e4cba25ac7 user32: Implemented UpdateLayeredWindow and UpdateLayeredWindowIndirect. 2008-09-16 16:30:19 +02:00
Alexandre Julliard aef7723c3e user32: Don't reinitialize the window placement even if the window rect is empty. 2008-09-16 16:29:26 +02:00
Alexandre Julliard 01584fb318 user32/tests: Fix a number of message test failures on various Windows versions. 2008-09-16 16:27:47 +02:00
Alexandre Julliard 6337ba3ca0 user32/tests: Fix a test that fails on all Windows versions. 2008-09-15 11:30:13 +02:00
Alexandre Julliard b2f34b3587 user32/tests: Ignore some more messages. 2008-09-15 11:29:58 +02:00
Alexandre Julliard 9fb76ddd53 user32: Add a SetLayeredWindowAttributes driver entry point. 2008-09-12 15:43:27 +02:00
Alexandre Julliard d476761f91 user32/tests: Added some tests for Get/SetLayeredWindowAttributes. 2008-09-12 15:31:05 +02:00
Alexandre Julliard 05b4181cac server: Implemented the server side of Get/SetLayeredWindowAttributes. 2008-09-12 15:30:47 +02:00
Alexandre Julliard 2f11213168 user32: Notify the user driver about window extended style changes too. 2008-09-12 14:55:07 +02:00
Juan Lang 6049ad74e9 user32: Don't crash if passed a non-scrollbar HWND. Fixes Coverity id 265. 2008-09-12 11:40:42 +02:00
Dmitry Timoshkov 077cd6a9f5 user32: Fix the work area test to pass on Windows when the taskbar is on top. 2008-09-11 11:47:12 +02:00
Dmitry Timoshkov c707e7d9a6 user32: Implement SystemParametersInfo(SPI_GETWORKAREA) properly. 2008-09-11 11:47:07 +02:00
Dmitry Timoshkov 5587387c9f user32: Make GetMonitorInfoW print the monitor properties. 2008-09-11 11:46:19 +02:00
Juan Lang 1a5374065f user32: Return error if memory allocation fails. Fixes Coverity id 115. 2008-09-11 11:44:15 +02:00
Alexandre Julliard d3f4fb4929 user32: Fix DeferWindowPos to work on windows belonging to other processes. 2008-09-09 11:46:18 +02:00
Vincent Povirk 3c4f44d1af user32: Use the correct bitmap location for MNS_CHECKORBMP. 2008-09-08 12:49:12 +02:00
Paul Vriens 3f6e4adf9d user32/tests: Win9x needs a threadid for CreateThread. 2008-09-08 12:49:12 +02:00
Michael Stefaniuc a38d47f27f user32/tests: Remove unreachable break after return (Smatch). 2008-09-08 12:31:56 +02:00
Jeff Latimer 16f38d7481 user32/tests: Add more A and W test combinations for dde. 2008-09-05 10:48:47 +02:00
Jeff Latimer 0c5fff5ea8 user32/tests: Tests for a W interface connection adding some todo_wine tests. 2008-09-05 10:48:33 +02:00
Jeff Latimer 5ad6ef53a2 user32: DdeConnect causes 2 XTYP_CONNECT_CONFIRM messages to flow. Delete one. 2008-09-05 10:48:15 +02:00
Jeff Latimer 4c3e55dd88 user32/tests: Test infrastructure for testing ddeml end to end. 2008-09-05 10:48:03 +02:00
Jeff Latimer 57d1059bbb user32: Make some DDE traces more meaningful. 2008-09-05 10:47:56 +02:00
Vincent Povirk 491e44d425 user32/tests: Don't check menu items when testing MNS_CHECKORBMP.
If the MNS_CHECKORBMP style is set on a menu, and the menu is checked,
the bitmap is not drawn. For the menu tests, that means we get no
WM_DRAWITEM message for an owner-drawn bitmap, and the bounding box of
the bitmap is not tested. We should leave the menu item unchecked in
this case so we can test it.
2008-09-04 12:44:13 +02:00
Jeff Latimer a251a8f166 user32/tests: Deregister the class created by create_dde_window. 2008-09-03 14:21:44 +02:00
Francois Gouget 189ea26989 user32/tests: Add a trailing '\n' to an ok() call. 2008-09-02 13:58:41 +02:00
Hongbo Ni 11295e708f user32: Update traditional Chinese resource. 2008-08-29 12:30:40 +02:00
Jim Cameron 2df7f6a343 user32/tests: Add a regression test for CreateIconFromResource. 2008-08-28 13:09:16 +02:00
Jim Cameron 08775c642a user32: Fixed bug in loading .cur files. 2008-08-28 13:09:00 +02:00
Martin Profittlich b83de4adef user32: Make RegisterDeviceNotificationW behave likeRegisterDeviceNotificationA. 2008-08-28 11:24:48 +02:00
Aric Stewart 3f9aec17cd user32: Add test demonstrating the WM_PAINT loop. 2008-08-27 13:21:25 +02:00
Alexandre Julliard bcc1bb2b36 user32: Apply the SendMessage recursion counter to DispatchMessage too. 2008-08-27 13:21:24 +02:00
Hongbo Ni adb63f9e87 user32: Convert Chinese resource to utf8. 2008-08-27 13:21:23 +02:00
Dmitry Timoshkov 5307a75c42 user32: Partially revert 499c26ce66.
This part of the patch really has nothing to do with an idea the patch
aimed to achieve.
2008-08-27 13:21:20 +02:00
Dmitry Timoshkov dddec81dfb user32: Add a test for monitor work area, fix some failures. 2008-08-27 13:21:20 +02:00
Markus Hitter cadb885473 user32: Better reflect the current state of DrawIconEx. 2008-08-25 12:23:42 +02:00
Muneyuki Noguchi 4b8134a242 user32: Update Japanese translation. 2008-08-25 11:14:11 +02:00
Hongbo Ni d24b6e424f user32: Update simplified Chinese resource. 2008-08-22 10:40:33 +02:00
Andre Wisplinghoff ea49a06934 user32: Add a test for ToUnicode. 2008-08-20 13:55:13 +02:00
Austin English f8cd30e9e1 user32: Test what FindWindow does when window isn't found. 2008-08-20 12:47:29 +02:00
Vincent Povirk 743b5730f5 user32: Implement TPM_*ALIGN flags. 2008-08-20 12:44:36 +02:00
Jeff Latimer b7e81d3e54 user32: Check for invalid conversation and return the correct error. 2008-08-18 17:26:46 +02:00
Jeff Latimer 544c1e5cd1 user32/tests: Add tests for for invalid DDE conditions. 2008-08-18 17:26:39 +02:00
Jeff Latimer 70ebae341d user32: DdeClientTransaction should check that pData is not NULL for XTYP_REQUEST. 2008-08-18 17:26:19 +02:00
Jeff Latimer 04a59014f8 user32: DdeQueryString returns a NULL str if there is no handle. 2008-08-18 17:26:01 +02:00
Jeff Latimer ec49e4179b user32: DdeClientTransaction should return 0 in the last param for DDE_DATA. 2008-08-18 17:25:37 +02:00
Alexandre Julliard f59540ddad user32/tests: Fix a number of message sequence tests that could sometimes fail. 2008-08-05 14:09:33 +02:00
Alexandre Julliard 2b1c4ba138 user32/tests: Fix some test failures on win9x. 2008-08-05 14:09:33 +02:00
Alexandre Julliard 13645a7b30 user32/tests: Don't check last error on success in the broadcast tests. 2008-08-05 14:09:20 +02:00
Alexandre Julliard 4fce63eb74 user32/tests: Fix the listbox LB_DIR tests when directories are present. 2008-08-04 23:04:53 +02:00
Andre Wisplinghoff 7abfbd085c user32: Make dde test use skip function. 2008-08-01 11:18:11 +02:00
Alexandre Julliard 96f352b86f user32/tests: Fix some message test failures on various Windows versions. 2008-07-31 17:16:22 +02:00
Alexandre Julliard 4c431197ca user32: Add an entry point for ShowWindow to the driver interface. 2008-07-30 16:13:28 +02:00
Alexandre Julliard cd337174aa user32: Return a proper rectangle from WINPOS_MinMaximize. 2008-07-30 16:05:09 +02:00
Alexandre Julliard ba644e9c31 user32/tests: Fix some tests on Win9x. 2008-07-30 13:50:00 +02:00
Hongbo Ni aaf67e9e73 user32: Implement WM_UNICHAR for edit control. 2008-07-29 14:09:23 +02:00
Alexandre Julliard 70a9d70ba5 user32/tests: Make sure the bitmap info passed to CreateDIBSection contains a valid color table. 2008-07-22 17:56:12 +02:00
Alexandre Julliard 406f5b2545 user32: Fix MapWindowPoints behavior in the process that owns the desktop window. 2008-07-22 15:31:04 +02:00
Reece Dunn 115b7492be user32: Fixed building the tests with the Vista SDK. 2008-07-22 13:20:27 +02:00
Huw Davies 80fe2faeb6 user32: Don't send the menu clicks if we can't retrieve the item rect. 2008-07-22 12:31:11 +02:00
Huw Davies bce23d7edb user32: Don't access pConv after it's been freed. 2008-07-21 15:05:01 +02:00
Huw Davies bf89330d14 user32: Don't read past the end of a global memory block. 2008-07-18 11:05:37 +02:00
Lei Zhang b3f4091b47 user32: Clamp newly created windows to the minimum window size. 2008-07-17 13:31:40 +02:00
Lei Zhang ffd66dc6ab user32: Add a test for SetWindowPos. 2008-07-17 13:31:39 +02:00
Andrew Talbot afc95d4ac3 user32: Remove unneeded address-of operators from array names. 2008-07-14 11:50:19 +02:00
Huw Davies 64acbb55b4 user32: sizeof DDEPOKE and DDEDATA is six, which is probably not what is expected, so use offsetof instead. 2008-07-08 20:37:58 +02:00
Alexandre Julliard 2734fb44e0 user32: Properly update position after dragging an iconic window. 2008-07-07 15:51:30 +02:00
Andrew Talbot 5806e4b504 user32: Remove unneeded address-of operators from function names. 2008-07-07 12:31:54 +02:00
Dylan Smith 2f1c7b1610 user32: Increased area for scrolling via mouse drag outside scrollbar.
When dragging the scrollbar thumb with the mouse, the mouse is able to
move away from the scrollbar and keep scrolling so long as it isn't too
far away from the scrollbar.  This makes it easier to quickly scroll
with the mouse.

All that this patch changes is the distance that the mouse can be moved
away from the scrollbar before it is consider outside of the scrollbar
and returns to its original position.  The distances are proportional to
the size of the scrollbar.
2008-07-04 20:25:48 +02:00
Dylan Smith da0175ba71 comctl32: Added tests to show a ComboBoxEx bug caused by incorrect focus change.
Certain WM_LBUTTONDOWN & WM_LBUTTONUP events should change focus to the
ComboBox (a child of ComboBoxEx), but instead the focus was set to the
Edit control.
2008-07-04 19:43:03 +02:00
Alexandre Julliard 0f9484a124 server: Set the visible rect in the set_window_pos request again.
This essentially reverts 2f69329a37.
We really need the visible rect to be set atomically with the rest of
the window position info.
2008-07-03 20:33:12 +02:00
Alexandre Julliard 89a3bd0c15 user32: Split the SetWindowPos driver backend in WindowPosChanging/Changed.
This is needed to allow updating the visible rect before invalidating
the DCEs.
2008-07-02 15:40:10 +02:00