Commit Graph

373 Commits

Author SHA1 Message Date
Dmitry Timoshkov 2827e7bbb6 user32: Replace PeekMessage loops in the PeekMessage test by explicit calls.
Replace all 'while (PeekMessage()) DispatchMessage();' loops in the
PeekMessage test by explicit calls to PeekMessage(), check queue
status and processed messages after each call to see what is going on
behind the scene.
2006-06-02 11:21:26 +02:00
Dmitry Timoshkov 0170bc3e84 user: Add a test to check the queue status if there is a pending
posted message and the quit flag is set.
2006-05-24 13:58:20 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Dmitry Timoshkov 3b95aad505 user/tests: Don't generate a mouse click message in mouse_ll_global_thread_proc.
Windows doesn't like when a thread plays games with the focus, that
leads to all kinds of misbehaviours and failures to activate a
window. So, better don't generate a mouse click message in
mouse_ll_global_thread_proc.
2006-05-23 12:45:54 +02:00
Dmitry Timoshkov c3ba7eecdb user/tests: Add lparam to all HCBT_MINMAX hook messages. 2006-05-23 12:44:50 +02:00
Alexandre Julliard c16ca72210 user: Fixed a broken trace in the dialog test. 2006-05-18 16:32:49 +02:00
Dmitry Timoshkov f839a179a2 user32: Make all the recently added ShowWindow tests pass in Wine. 2006-05-17 10:42:17 +02:00
Dmitry Timoshkov 97c111d0d0 user32: Add more ShowWindow tests.
Move ShowWindow tests for children with an invisible parent into a
separate test, add more ShowWindow tests. The tests show that an
assumption in dlls/x11drv/winpos.c that SetWindowPos should not be
called on a child with an invisible parent is not always true.
2006-05-16 12:53:50 +02:00
Francois Gouget e739ba9551 Assorted spelling fixes. 2006-05-15 15:05:05 +02:00
Thomas Kho b833860579 user: Fix behavior when selecting disabled menu items. 2006-05-08 15:15:19 +02:00
Thomas Kho 76104e1ccc user: Allow menu WndProc to recognize VK_[LR]MENU. 2006-05-08 15:12:33 +02:00
Thomas Kho bde9ca2b63 user: Extend menu conformance test. 2006-05-08 15:10:41 +02:00
Marcus Meissner cf0704bd88 user32: Added tests for CharUpper and CharLower. 2006-05-08 14:47:14 +02:00
Juris Smotrovs 256d0c0b48 user: Test cases demonstrating position changes for MDI children. 2006-05-07 10:01:06 +02:00
Vitaly Lipatov 959a84208a user: tests: Change INPUT to TEST_INPUT, fix union usage. 2006-05-05 18:01:32 +02:00
Michael Kaufmann 01bf37d810 user: Find popup menus by ID.
- Find menus by ID: Proper fallback to popup menus.
- Use the menu ID, not the handle for the fallback.
- Save the fallback menu's position.
2006-04-19 12:56:27 +02:00
Thomas Kho 0e81484c45 x11drv: Properly handle VK_LMENU input. 2006-04-14 19:35:05 +02:00
Alexandre Julliard 64f17bb3ef user: Use a smaller window for the menu test. 2006-04-10 20:21:19 +02:00
Alexandre Julliard 510a6f70a8 user/tests: Flush events before running the keyboard event test. 2006-03-31 12:51:54 +02:00
Alexandre Julliard 9873494ced server: Class and global atoms should not be local to a window station. 2006-03-22 22:13:40 +01:00
Huw Davies c4b44245fb user32: Only adjust the margins if the edit control is above a certain size. 2006-03-22 21:37:10 +01:00
Mike McCormack d5816d2202 Remove some unnecessary uses of windowsx.h 2006-03-18 18:04:51 +01:00
Alexandre Julliard d8568e90be user/tests: Try harder to flush X events before running tests. 2006-03-15 12:11:02 +01:00
Mike McCormack abf3a570af user: The height of a ListBox item can be no more than MAXBYTE. 2006-03-09 12:51:10 +01:00
Rein Klazes cc5b5cea96 user32: Fix handling of '\b' right flush character in menus.
- do not add extra space; modify the tests to confirm this;
- right flush to the menu tab stop, not to the menu border;
- small fixes to the menu tab stop calculation.
2006-03-01 20:40:17 +01:00
Francois Gouget 4aa6418d51 Assorted spelling fixes. 2006-02-24 21:10:03 +01:00
Francois Gouget 1f297893e5 user: Give meaningful names to the structures used to transfer
information to the test threads.
2006-02-24 11:22:28 +01:00
Rein Klazes 1d0ec411d4 user: Add conformance tests for menu item drawing. 2006-02-20 12:00:39 +01:00
Francois Gouget 379b62c04e Assorted spelling fixes. 2006-02-06 20:58:36 +01:00
Eric Pouech e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +01:00
Vitaliy Margolen 6c64b74a7c user/tests: Add test for low level mouse hooks. 2006-01-30 14:56:17 +01:00
Rein Klazes d4c62162e9 user: Fix SPI_{G|S}ETFONTSMOOTHING with tests. 2006-01-27 19:19:19 +01:00
Huw Davies 1b89fe4976 user: Don't automatically add a bunch of styles in create_editcontrol. 2006-01-27 15:47:32 +01:00
Rein Klazes ec23fb3a92 user: Fix DrawTextExA/W on empty strings.
DrawTextExA/W should calculate a rectangle of zero height and width in
some cases of null or empty supplied strings. With conformance tests.
2006-01-27 15:47:15 +01:00
Vitaliy Margolen dd57bbd1d2 user: Don't drop owned windows in WIN_EnumChildWindows.
Add a few tests for this.
2006-01-25 15:07:02 +01:00
Dmitry Timoshkov 57a579ffcd Make more arrays const. 2006-01-24 14:00:32 +01:00
Dmitry Timoshkov 9b1ea63bf9 user32: Make GetMenuItemInfo tests pass under Wine.
- Change menu item search algorithm to recurse into a submenu first.
- Fallback to a found submenu if nothing else was found.
2006-01-23 11:59:21 +01:00
Detlef Riekenberg 191d62e7f9 user/tests: Added \n to a few ok() calls. 2006-01-20 16:16:43 +01:00
Jason Edmeades 14889a618d user: Tests for when the menu is incorrect because of duplication of a
menu id and an hMenu.
2006-01-19 11:56:20 +01:00
Robert Shearman a40ce39340 user: Fix WM_QUIT message ordering from PostQuitMessage.
Added a new server call as PostQuitMessage should set a flag in the
message queue to return the WM_QUIT message when there are no other
pending messages, rather than posting a message to the thread queue as
it does at the moment.
2006-01-17 13:14:31 +01:00
Michael Kaufmann 37c68b47f4 user: The LoadImage resource string may be a numeric string. 2006-01-10 12:07:32 +01:00
Rein Klazes 079912c679 user32: Prevent a crash in GetMenuStringA caused by calling strlenW on
a NULL pointer, with a test.
2006-01-09 17:13:44 +01:00
Rein Klazes b34868dffa user32: Separate menu bitmaps and strings.
Store bitmaps and bitmaps always in separate fields in the internal
menu structure.  Get rid of a lot of assumptions in the code that the
menu can have strings only when it is not some other type and that
bitmaps come in two flavors.
Add a lot of conformance tests, including some submitted by Jason
Edmeades.
2006-01-03 13:23:28 +01:00
Vitaliy Margolen 9561d6e29c gdi: Device name returned from EnumDisplayDevices is valid for CreateDC. 2006-01-03 12:05:54 +01:00
Alexandre Julliard 0e6b4c43de user/tests: Remove todo_wine from a few tests that (usually) succeed. 2005-12-22 17:15:54 +01:00
Dmitry Timoshkov b61b82011e user32/tests: Add a PeekMessage test. 2005-12-22 13:58:11 +01:00
Rein Klazes d076748e22 user: Fix hrgn leaks in win.c test. 2005-12-19 17:43:34 +01:00
Lauri Tulmin 86f45494b6 user32: Don't truncate text when creating edit control. 2005-12-19 09:53:19 +01:00
Rein Klazes 3df678a5af x11drv: Do not use the scroll rectangle for clipping in ScrollDC.
With a conformance test.
2005-12-19 09:53:04 +01:00
Dmitry Timoshkov 8d9fb6331e x11drv: ScrollDC should not clip output if a clipping rect is not specified.
Add a ScrollDC test with NULL clipping rect.
Add another set of ScrollDC tests written by Rein Klazes.
2005-12-17 12:24:37 +01:00