Commit Graph

618 Commits

Author SHA1 Message Date
Alexandre Julliard ffe30a5c65 user32/tests: Fix a few sysparams tests on various Windows versions. 2009-04-22 12:55:38 +02:00
Huw Davies 2ec629afd9 user32/tests: Fix tests on win9x. 2009-04-21 13:26:25 +02:00
Francois Gouget 5ef481922f Assorted spelling fixes. 2009-04-20 15:25:26 +02:00
Huw Davies 0b6d74c428 winex11.drv: Fix typo so that emf -> mfpict synthesis works. 2009-04-20 14:13:46 +02:00
Huw Davies 0d4451a85d winex11.drv: Fix ordering of synthesized text formats. 2009-04-20 14:13:40 +02:00
Rein Klazes dbfbce975d user32: When repainting a static control with SS_BITMAP style, do not erase the background if there is no valid bitmap to paint. 2009-04-16 12:37:47 -05:00
Hans Leidekker ed70c76add user32: By default, return all zeroes in the first half of the keyboard layout name. 2009-04-14 15:25:52 -05:00
Alexandre Julliard 287d22eba3 user32/tests: Fix a couple of test failures on Windows. 2009-04-10 20:45:08 +02:00
Patrick Gauthier 9096368b6a user32: Handle magic font size 0x7fff in dialog templates correctly. 2009-04-10 11:33:46 +02:00
Rein Klazes 89a170ffa1 user32/tests: Avoid a few unneeded test failures in sysparams.c. 2009-04-08 11:37:58 +02:00
Rein Klazes e861d8be43 user32: Fix for the ending of menu tracking in the default handler of WM_CANCELMODE message with test. 2009-04-03 13:25:31 +02:00
Rein Klazes 8ac8957a36 user32: In COMBO_WindowPosChanging() do not change the height of the the dropped rectangle, if the new height is too small. 2009-04-03 13:01:14 +02:00
Rein Klazes ebbf99abce user32/tests: In sysparams fix another case where a test changes a users desktop setting.
Made several tests pass on NT4 (no SP), Vista and Win2k8.
2009-04-02 16:28:30 +02:00
Nikolay Sivov a2b7aafdae user32: Implemented GetWindowRgnBox with some tests. 2009-04-02 15:09:55 +02:00
Rein Klazes 5396fbf97d user32/tests: Show that a submenu is still functional after calling DestroyMenu(). 2009-03-27 15:51:25 +01:00
Patrick Gauthier 08c0ddec80 user32/tests: Check effect of magic font height value 0x7fff in dialog template. 2009-03-25 12:43:46 +01:00
Rein Klazes 3aec62dcf6 user32/tests: In sysparams.c disable some Get/Set border tests for now. These may permanently change desktop settings of the testers. 2009-03-23 13:23:46 +01:00
Alexandre Julliard 10350c19a0 user32/tests: Print a more useful line number in check_class and check_instance tests. 2009-03-13 11:30:15 +01:00
Alexandre Julliard 0caa310c37 user32/tests: Add optional restore sequence for Vista. 2009-03-13 11:29:53 +01:00
Alexandre Julliard 28582dbf6c user32/tests: Skip shift+button test if we don't receive the event. 2009-03-11 13:03:32 +01:00
Alexandre Julliard 943ae1f5a6 user32/tests: SetForegroundWindow sometimes fails on Win98. 2009-03-11 13:03:32 +01:00
Nikolay Sivov 2948ec6a70 user32: Button should get captured when highlighted with VK_SPACE. 2009-03-10 14:51:57 +01:00
Alexandre Julliard 925c1c4ed2 user32/tests: Fix some message sequences for Vista and Win9x. 2009-03-09 17:54:16 +01:00
Alexandre Julliard 60ed3428da user32/tests: Avoid snprintf, it's broken on Mingw. 2009-03-09 17:52:08 +01:00
Rein Klazes 366334c2fa user32: Check for invalid menu handle passed to TrackPopupMenu and TrackPopupMenuEx. 2009-03-06 12:49:04 +01:00
Alexandre Julliard 411c229654 user32/tests: Add more optional messages for Vista and Win9x. 2009-03-06 12:38:34 +01:00
Alexandre Julliard 6eccf2a3fa user32/tests: Skip menu test if sending input failed. Use VK_MENU instead of VK_LMENU. 2009-03-05 16:16:24 +01:00
Alexandre Julliard 903b52e723 user32/tests: Mark a couple of painting messages as optional. 2009-03-05 16:16:24 +01:00
Nikolay Sivov 032356ec37 user32: Disable scroll bar control window when both buttons disabled. 2009-03-05 12:48:05 +01:00
Alexandre Julliard 114da7c46b user32/tests: Add some more optional messages. 2009-03-03 13:20:49 +01:00
Alexandre Julliard e256e988c5 user32/tests: Fix a couple of failing menu tests. 2009-03-03 13:20:34 +01:00
Rein Klazes 5c130c813a user32: MENU_TrackMenu, called from TrackPopupMenu(), should send WM_ENTERIDLE message with the menu window handle as lparam with test. 2009-03-02 15:06:57 +01:00
Paul Vriens 66bd3d428f user32/tests: Fix some test failures on Win98/WinME. 2009-03-02 14:51:50 +01:00
Rein Klazes 471e949cff user32: In SetMenuInfo() implement the MIM_APPLYTOSUBMENUS. Also set last error if called with invalid parameters with tests. 2009-02-27 14:16:23 +01:00
Alexandre Julliard af0029925b user32/tests: Fix some message sequences for Win9x. 2009-02-26 15:13:25 +01:00
Alexandre Julliard affd20d9c8 user32/tests: Fix some input tests on Win9x and NT4. 2009-02-25 23:30:13 +01:00
Alexandre Julliard 33d4c7c514 user32/tests: Add some more optional messages. 2009-02-25 12:37:07 +01:00
Alexandre Julliard 0db3d3cd2e user32/tests: Fix a few more input test failures on Windows. 2009-02-25 12:37:06 +01:00
Rein Klazes bdb770e10e user32: Refine the size calculations for menu items with HBMMENU_POPUP magic bitmaps with some conformance tests. 2009-02-25 12:36:51 +01:00
Alexandre Julliard f728c19a73 user32/tests: Add a couple of optional messages. 2009-02-24 16:57:28 +01:00
Alexandre Julliard 5771166aa7 user32/tests: Skip more input tests if we can't queue keyboard input.
Fix some tests on Win9x.
2009-02-24 16:57:28 +01:00
Francois Gouget 8b28508d2b user32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-23 12:21:21 +01:00
Alexandre Julliard fadc8afc79 user32/tests: Print all the unexpected messages we received. Fix a couple of sequences. 2009-02-21 12:57:23 +01:00
Alexandre Julliard 2e2b1512a9 user32/tests: Add some optional keystrokes for AltGr key. 2009-02-21 12:56:52 +01:00
Alexandre Julliard 9120ce53f1 user32/tests: Remove an unreliable pixel test. 2009-02-20 18:46:05 +01:00
Alexandre Julliard 07d9d1fc1f user32/tests: Skip some message tests if we fail to queue events. 2009-02-20 18:46:05 +01:00
Alexandre Julliard 9783f67625 user32/tests: Skip some input tests if we fail to queue keyboard events. 2009-02-20 18:46:05 +01:00
Alexandre Julliard cd77c75619 user32/tests: Try harder to make the window receive keystrokes. 2009-02-19 15:57:46 +01:00
Alexandre Julliard efdf8f9878 user32/tests: Ignore SPI_ICONVERTICALSPACING notifications. Don't reset mouse buttons if setting failed. 2009-02-18 16:45:44 +01:00
Rein Klazes d69340cd6b user32: Do not handle WM_ENDSESSION in DefWindowProc() with test. 2009-02-18 13:12:41 +01:00
Alexandre Julliard f9e405692f user32/tests: Skip message tests if queuing keyboard events doesn't work. 2009-02-17 14:58:45 +01:00
Alexandre Julliard 0aef71f8df user32/tests: Test for failure to change system parameters even if getting them succeeded. 2009-02-17 14:58:34 +01:00
Alexandre Julliard cc46d242e0 user32/tests: Fix some checks of the key value in accelerators. 2009-02-16 11:53:06 +01:00
Alexandre Julliard d00ad7f197 user32/tests: Skip some tests if SetForegroundWindow doesn't behave correctly. 2009-02-16 11:52:38 +01:00
Alexandre Julliard fa212d5127 user32/tests: Add a couple of optional message, mark as todo a test that now fails consistently on Wine. 2009-02-16 11:52:17 +01:00
Alexandre Julliard a069ee48d5 user32/tests: Another fix for lack of color cursor support. 2009-02-16 11:51:44 +01:00
Alexandre Julliard 09761ee96f user32/tests: Cope with lack of support for color cursors. 2009-02-13 13:12:12 +01:00
Alexandre Julliard 96e7da5c55 user32/tests: GetClassInfo doesn't set last error reliably, remove test. 2009-02-13 13:10:44 +01:00
Alexandre Julliard 2d155031cc user32/tests: Skip tests if we fail to inject mouse or keyboard events. 2009-02-13 13:03:26 +01:00
Alexandre Julliard 4fc6dbd86d user32/tests: Fix more message tests on XP and Vista. 2009-02-13 13:02:08 +01:00
Alexandre Julliard 5c54e24f90 user32/tests: Better handling of the *.* wildcard in the listbox test. 2009-02-13 13:01:12 +01:00
Alexandre Julliard 583a30c665 user32/tests: Print the wrong accelerator values in the resource test. 2009-02-13 13:00:54 +01:00
Alexandre Julliard 0cc91abf8f user32/tests: Add some more optional messages we get on Windows. 2009-02-12 17:53:35 +01:00
Alexandre Julliard bd36ca6e79 user32/tests: Fix Z-order tests in the presence of owned popups.
Also fix a couple of other failures on Windows.
2009-02-12 17:53:35 +01:00
Alexandre Julliard b03175e126 user32/tests: Try to fix some more failures in the message test. 2009-02-11 15:56:03 +01:00
Alexandre Julliard a5162b62e7 user32/tests: Fix some window test failures on various Windows platforms. 2009-02-09 14:37:23 +01:00
Michael Stefaniuc e89386a59e user32/tests: Remove superfluous pointer casts.
The (MENUITEMINFO)->dwTypeData is really a string ... the joys of the
Hungarian notation.
2009-02-05 13:15:32 +01:00
Ulrich Czekalla 209820c428 user32: Don't scale draw text margin params by character width units.
Values passed in DRAWTEXTPARAMS are already in average character width
units.
2009-02-03 12:39:59 +01:00
Alexandre Julliard 7c1e8a9c52 user32/tests: Add a few optional messages for Win2K3. 2009-01-29 22:09:11 +01:00
Alasdair Sinclair c2c564db9d user32/tests: Fix missing void in empty parameter list. 2009-01-29 12:19:51 +01:00
Florian Köberle 8afc5fe6d5 user32: Fix maximized child windows. 2009-01-27 15:18:56 +01:00
Florian Köberle 4cfb1e6952 user32/tests: Improved an error message. 2009-01-27 15:18:28 +01:00
Florian Köberle a50deff4be user32: Fix thick child minTrack and size. 2009-01-27 15:18:10 +01:00
Florian Köberle ce119daf3e user32: Fix maxPosition of thick child windows. 2009-01-27 15:18:00 +01:00
Florian Köberle dc1a7113b5 user32/tests: Use AdjustWindowRectEx to calculate minTrack and maxPosition. 2009-01-27 15:17:51 +01:00
Alexandre Julliard e55a691ded user32/tests: Accept DISP_CHANGE_RESTART also for tests expected to fail. 2009-01-27 14:38:23 +01:00
Jeff Latimer c743f9d0bd user32: DdeCreateStringHandle checks for an invalid instance Id and sets lastError for instances on that thread. 2009-01-26 14:29:44 +01:00
Jeff Latimer 77e0e9cccc user32/tests: Add tests for invalid instance passed to DdeCreateStringHandle.
Similar the DdeCreateDataHandle, DdeCreateStringHandle behaves the same 
way.  If an invalid instance Id is passed then lastError is set for all 
instances of that thread.
2009-01-26 14:29:39 +01:00
Alexandre Julliard 7cbe285416 user32/tests: Make the traces less verbose in the window test. 2009-01-25 17:29:32 +01:00
Alexandre Julliard 4909fe493b user32/tests: Ignore some more messages. 2009-01-25 17:29:05 +01:00
Alexandre Julliard 4bec383d9f user32/tests: Fix various failures in the monitor test. 2009-01-25 17:28:39 +01:00
Florian Köberle 8784702d1f user32: Fixed max size of child with exStyle WS_EX_DGLMODALFRAME. 2009-01-23 15:39:39 +01:00
Alexandre Julliard c83b4e230c user32/tests: Don't try to do hook tests if we can't set hooks. 2009-01-23 13:14:05 +01:00
Alexandre Julliard 00b851d864 user32/tests: Make the DC test window top-most. Ignore an extra WM_MOUSEMOVE. 2009-01-23 13:13:54 +01:00
Jeff Latimer c5bc4b2c9a user32: Check the instance id on DdeCreateDataHandle and retire a couple of todos. 2009-01-22 15:28:24 +01:00
Alexandre Julliard e280bf6644 user32/tests: Don't display window info for hooks that don't contain a window.
Ignore some more registered messages.
Fix some other failures on Win2k.
2009-01-22 15:28:05 +01:00
Alexandre Julliard d3078e0bac user32/tests: Ignore WM_IME_SELECT message. Skip mouse hovering test if the mouse isn't where we want. 2009-01-22 13:11:38 +01:00
Florian Köberle 72e6fe9431 user32/tests: Extended test about thick child windows. 2009-01-21 13:27:08 +01:00
Florian Köberle 7b8b17dd42 user32/tests: Fixed error message. 2009-01-21 13:27:05 +01:00
Ge van Geldorp 33a6e66bef user32/tests: Prevent buffer overflow. 2009-01-21 10:24:39 +01:00
Alexandre Julliard d8375e2137 user32/tests: Fix some more message test failures on Windows. 2009-01-20 14:02:02 +01:00
Alexandre Julliard 7d585678be user32/tests: Fix some more msg test failures and improve message sequence tracing. 2009-01-19 13:36:25 +01:00
Jeff Latimer be027eeb28 user32/tests: Resend: Fix test to work on Vista. 2009-01-19 13:36:24 +01:00
Ge van Geldorp df0168d8eb user32/tests: Save iSmCaptionWidth for later testing. 2009-01-19 13:36:24 +01:00
Jeff Latimer f4ca7d2d1a user32/tests: Clarify the msgs to differentiate Unicode and ASCII in tests. 2009-01-16 13:25:32 +01:00
Alexandre Julliard 7551797bc4 user32/tests: Fix some more failures in the message test. 2009-01-16 12:33:07 +01:00
Alexandre Julliard 1608cb99b5 user32/tests: Add support for testing only some bits of wparam or lparam. Make some more messages optional. 2009-01-15 15:43:58 +01:00
Alexandre Julliard 078689adb0 user32/tests: Print the failure position in the message sequence. 2009-01-15 14:45:53 +01:00
Jeff Latimer 1f5b2f7e0c user32/tests: Add tests for DdeGetData Ascii interface. 2009-01-14 15:22:51 +01:00
Jeff Latimer 56784f60c1 user32: Check for NULL pData in DdeClientTransAction expecting to be passed a handle. 2009-01-14 14:59:34 +01:00
Alexandre Julliard c6144893b6 user32/tests: Fix the layered window tests for some Vista versions. 2009-01-13 17:33:08 +01:00
Alexandre Julliard 41e6d71757 user32/tests: Comment out the menu size tests, there's no consistent behavior to test for. 2009-01-13 17:33:08 +01:00
Ge van Geldorp 444f4a7fbc user32/tests: keybd_event can send HCBT_KEYSKIPPED notifications. 2009-01-13 16:39:37 +01:00
Michael Stefaniuc e202baabd5 user32/tests: Do not cast the (IDC|IDI|RT)_* defines to LPSTR. 2009-01-13 15:26:11 +01:00
Alexandre Julliard 7d9b745391 user32/tests: Only display failing message sequences instead of every single message. 2009-01-12 21:51:01 +01:00
Alexandre Julliard a26857da31 user32/tests: Centralize the tracing of the received messages in the msg.c test. 2009-01-12 21:03:57 +01:00
Alexandre Julliard 9c6494a417 user32: The PackDDElParam return value is sign-extended on 64-bit. 2009-01-10 21:06:49 +01:00
Alexandre Julliard 9cc75a5b50 user32: Winproc handles do not get sign-extended on 64-bit. 2009-01-10 21:06:32 +01:00
Alexandre Julliard d852ac0b1f user32/tests: Fix some integer to pointer conversion warnings. 2009-01-08 13:18:01 +01:00
Alexandre Julliard a0abde333b user32/tests: Fix some integer to pointer conversion warnings. 2009-01-08 13:11:49 +01:00
Francois Gouget 581e390115 winapi_test: The tests don't support WIN64 yet so disable them there. 2009-01-08 12:47:22 +01:00
Francois Gouget 411f5d22c0 winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong. 2009-01-08 12:46:39 +01:00
Francois Gouget 9f62c9b7a8 winapi_test: Fix TEST_FIELD() so it correctly tests the field size. 2009-01-08 12:44:49 +01:00
Francois Gouget 43c18c1321 winapi_test: FIELD_ALIGNMENT() is redundant so remove it. 2009-01-08 12:43:15 +01:00
Francois Gouget 2e668d2572 winapi_test: Updated so the generated tests work. 2009-01-08 12:42:12 +01:00
Alexandre Julliard c72546153b user32/tests: Fix most of the macro abuse in the menu test. 2009-01-08 12:15:25 +01:00
Alexandre Julliard d8e11632f1 user32/tests: Fix some printf formats for 64-bit. 2009-01-03 20:16:33 +01:00
Alexandre Julliard d97b398767 user32/tests: Fix pointer casting warnings on 64-bit. 2009-01-03 20:16:16 +01:00
Paul Vriens f4da3fd7ac user32/tests: Destroy the windows after the tests. 2008-12-16 12:51:03 +01:00
Francois Gouget 803555927c user32/tests: Make some functions static. 2008-12-12 11:42:34 +01:00
Lei Zhang 54eebfe5e5 user32: Check input to GetAsyncKeyState(). 2008-12-08 22:03:11 +01:00
Alexandre Julliard ad4605fc61 user32/tests: Added some tests for behavior of 64-bit user handles. 2008-12-08 16:05:58 +01:00
Paul Vriens d0d7160c49 user32/tests: Fix some typos. 2008-12-05 17:21:39 +01:00
Alexandre Julliard c03917c173 Define _WIN32_WINNT before including any headers. 2008-12-04 12:10:16 +01:00
Alexandre Julliard 5118108c82 user32/tests: Fix a number of window tests on Win9x and Vista. 2008-11-26 12:04:51 +01:00
Francois Gouget 31df4d42b7 user32: Remove WINAPI/CALLBACK on static functions where not needed. 2008-11-25 11:50:00 +01:00
Alexandre Julliard bd8e14bedd user32/tests: Only test the window caption status if there is a foreground window. 2008-11-21 15:53:25 +01:00
Paul Vriens a413c38a7c user32/tests: Fix a few test failures on Win9x. 2008-11-21 10:03:17 +01:00
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
Damjan Jovanovic 1603a51d4e user32: Handle NULL rectangles in WM_NCCALCSIZE. 2008-11-18 15:52:00 +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 1877ff01f9 user32/tests: Fix the resource tests for various Windows versions. 2008-11-14 21:17:48 +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 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
Paul Vriens 4f5460ffcf user32/tests: Skip GetMenuItemInfo tests on NT4 and below. 2008-11-07 13:34:24 +01:00
Paul Vriens b8d468637e user32/tests: Fix some test failures on Win9x. 2008-11-07 11:01:31 +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