Commit Graph

933 Commits

Author SHA1 Message Date
Alexandre Julliard e256e988c5 user32/tests: Fix a couple of failing menu tests. 2009-03-03 13:20:34 +01:00
Alexandre Julliard d387cf3251 user32: Use MAKEWPARAM instead of MAKELONG for menu messages. 2009-03-03 13:20:21 +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
Michael Stefaniuc 214b40b109 user32: Remove superfluous pointer casts. 2009-03-02 12:11:38 +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 6c8e3a8539 user32: Move a few 16-bit user functions to user16.c where they belong. 2009-02-24 17:36:50 +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
Aurimas Fischer f322cc3d1f user32: Add Lithuanian translation. 2009-02-23 12:19:54 +01:00
Austin English f1ea9f6e79 user32: Add a missing HeapFree. 2009-02-23 12:19:38 +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
Rein Klazes 0c6e37bb04 user32: Implement support for HBMENU_POPUP_* magic menu bitmaps and use them to decorate the system menu. 2009-02-20 18:46:03 +01:00
Rein Klazes 14f0e8ba4b user32/resources: Remove the "switch to... <Ctrl+Esc>" item from the system menu. 2009-02-20 11:09:46 +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 2b87a5dbc2 user32: Make sure to not corrupt last error in the message spy. 2009-02-16 16:01:37 +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
Francois Gouget 53f9b31afd user32: LookupIconIdFromDirectory16() is unused so remove it. 2009-02-09 13:16:19 +01:00
Francois Gouget 07b7da77d4 user32: Make EditWndProcW() static, fix its documentation. 2009-02-09 13:14:03 +01:00
Francois Gouget 9e7b55675d user32: Reorder some functions to avoid forward declarations in edit.c. 2009-02-09 13:13:55 +01:00
Francois Gouget 0e9695d9c8 user32: Remove unneeded forward declarations in edit.c. 2009-02-09 13:13:42 +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
Michael Stefaniuc 56b3341f8e user32: Fix bogus "if (!x & y)" code.
The dde.c tests succeed on Windows and the DDE callback registered is
set to trigger on all messages it gets. Thus it looks like Windows
doesn't calls the callback in that case.
2009-01-27 16:05:04 +01:00
Florian Köberle 640d2e029a user32: Unify handling of child and normal windows in getMinMaxInfo.
The code for the child windows works now for the standalone windows as well.
2009-01-27 15:20:01 +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
Alexandre Julliard 7d657ed8f4 user32: Make sure the submenu is valid in MENU_HideSubPopups. 2009-01-26 15:09:07 +01:00
Alexandre Julliard f12c5bfca3 user32: Use a finally handler to make sure capture is always released when exiting the menu loop. 2009-01-26 15:08:49 +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
Paul Vriens fd3c7be0e0 user32: Allocate buffer on heap. 2009-01-26 14:24:29 +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 4487f85e58 user32: Removed code without effect. 2009-01-23 15:39:44 +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
Florian Köberle aaddefff53 user32: Refactor of WINPOS_GetMinMaxInfo.
Moved and duplicated the code below the "if child" statement into the
if and else block.
2009-01-23 15:38:52 +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
Jeff Latimer be14da009a user32: Pass pConv to WDML_Global2DataHandle so that it can be correcly passed to DdeCreateDataHandle. 2009-01-21 13:04:45 +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
Alexandre Julliard 0ffd26ab17 user32: Use the message_data_t union when receiving a message. 2009-01-15 12:50:59 +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
Rob Shearman ea00dc4b49 user32: Free allocated memory in USER_unload_driver. 2009-01-12 13:07:07 +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