Commit Graph

315 Commits

Author SHA1 Message Date
Dmitry Timoshkov 113f2c9dbb user32: Add a test for combobox navigation with arrow keys, make it pass under Wine. 2008-03-27 11:06:02 +01:00
Lei Zhang 41ea8f0e8a user32: Tweak how the edit control handles WM_GETDLGCODE. 2008-03-26 12:09:36 +01:00
Marcus Meissner a0c18ce784 user32/tests: Fix uninitialized struct component. 2008-03-24 20:41:45 +01:00
Marcus Meissner 57384b7a1c user32/tests: Skip checks if pre-condition does not match. 2008-03-24 13:26:45 +01:00
Vitaliy Margolen d8391a4a46 user32: Fix F1 message sequence. 2008-03-24 11:35:30 +01:00
Reece Dunn 56b2ab241e user32: Fixed the HiliteMenuItem tests to pass on Windows 9x. 2008-03-22 11:14:07 +01:00
Alexandre Julliard fad9b692cb user32/tests: Flush events during the mouse button tests. 2008-03-21 11:29:18 +01:00
Reece Dunn 2cab7ff2c7 user32: Improve the HiliteMenuItem tests so they reflect actual behaviour on Windows. 2008-03-18 11:44:09 +01:00
Reece H. Dunn efd0b9ae7a user32: HiliteMenuItem fails if an invalid window handle is passed to it. 2008-03-17 14:53:12 +01:00
Maarten Lankhorst fd69ababec user32: Fix enumeration for EnumWindowStations and EnumDesktops. 2008-03-15 11:37:19 +01:00
Clinton Stimpson 05a8974e95 user32: Test processing of expose events. 2008-03-15 11:21:44 +01:00
Christopher Berner 9978cc9c56 user32: Make LoadStringW pass tests. 2008-03-11 15:30:15 +01:00
Paul Vriens 470a0a0cae user32/tests: Use A-call. 2008-03-10 11:22:38 +01:00
Paul Vriens 58665f08d1 users32/tests: Win9x doesn't like FILE_ALL_ACCESS. 2008-03-10 11:22:34 +01:00
Rob Shearman 38a541186a user32: Add test for calling CreateDesktop on already created desktop name. 2008-03-06 17:43:16 +01:00
Alexandre Julliard d6a17d2c93 user32/tests: Make the initial timeout longer in flush_events() for machines with slower round-trip times. 2008-03-05 16:48:04 +01:00
Francois Gouget c099b40509 user32/tests: Don't use 0x55 to avoid any confusion when running with +heap. 2008-03-05 12:18:11 +01:00
Francois Gouget e27922ddf5 user32/tests: Add the trailing '\n' to a couple of ok() calls. 2008-03-05 12:18:05 +01:00
Alexandre Julliard accfce21d3 user32: Fix a couple of message test failures. 2008-03-04 20:01:41 +01:00
Alexandre Julliard 8ac29dd4a8 user32/tests: Fix most message tests to pass on Vista. 2008-03-04 20:00:13 +01:00
Alexandre Julliard 28d2930074 user32: Reimplement LoadStringA to avoid memory allocations and to pass the tests. 2008-03-03 20:06:54 +01:00
Christopher Berner 4b130aa0b0 user32/tests: Conformance tests for LoadStringW and LoadStringA. 2008-03-03 20:06:22 +01:00
Alexandre Julliard 9ac7f20514 user32/tests: Skip tests instead of crashing if global hook cannot be set. 2008-03-03 17:51:42 +01:00
Alexandre Julliard d2b6087999 user32/tests: Flush events after showing/hiding a window to avoid z-order race conditions. 2008-02-28 19:56:38 +01:00
Alexandre Julliard 1642fbcbc2 user32: Moved the DCE support from winex11 back to user32.
Window and class DCEs are now allocated lazily.
2008-02-25 15:59:19 +01:00
Rob Shearman e154d3b29e user32: Fix the number of characters passed to GetClassNameW in ClassTest. 2008-02-25 13:31:52 +01:00
Stefan Leichter 0640dbb620 user32: Fix a test of GetMouseMovePointsEx. 2008-02-25 13:27:38 +01:00
Anatoly Lyutin a871830dd3 user32: Fix return value in ShowScrollBar according with test. 2008-02-25 13:26:52 +01:00
Anatoly Lyutin b6241e4ad8 user32: Added some tests for scrollbar. 2008-02-25 13:26:12 +01:00
Stefan Leichter ebbc1e781c user32: Fix a test of GetMouseMovePointsEx failing on platforms winxp and win2k3. 2008-02-22 11:53:19 +01:00
Huw Davies 503009cf37 user32: Add a test for CS_OWNDC windows that are created invisible. 2008-02-21 20:15:48 +01:00
Andrew Riedi 5b3f53baf9 user32: Test LoadImage() to load an icon as a cursor. 2008-02-20 12:36:06 +01:00
Dmitry Timoshkov 9f23c3f9d5 user32: Add a z-order test for owned popup windows. 2008-02-20 12:21:41 +01:00
Stefan Leichter 9b478283c5 user32: Add some tests for GetMouseMovePointsEx. 2008-02-19 20:24:12 +01:00
Maarten Lankhorst c6e61fbf89 user32: Fix a message test that would only pass on wine. 2008-02-18 14:11:17 +01:00
Reece H. Dunn d9c2a91f8b user32: Improve the combo tests to check when the CBN_SELCHANGE notification is sent. 2008-02-15 11:35:09 +01:00
Dmitry Timoshkov 3d421a4783 user32: Use custom window procs instead of DefWindowProcA/W in the IsWindowUnicode test. 2008-02-15 10:13:27 +01:00
Dmitry Timoshkov 066c60eb31 user32: Add a couple of tests for WS_EX_TOPMOST. 2008-02-12 23:34:08 +01:00
Francois Gouget 6922075e58 user32/tests: Add the trailing '\n' to ok() calls. 2008-02-11 19:56:10 +01:00
Reece H. Dunn 01af8501b9 user32: Make the listbox tests pass in directories other than dlls/user32/tests. 2008-02-08 13:13:16 +01:00
Alexandre Julliard 05c7174909 tests: Add a helper routine to wait for a child process and propagate its result correctly. 2008-02-07 12:56:00 +01:00
Andrew Riedi 7df3ed5f44 user32: Test destroying the cursor of a parent process. 2008-02-06 12:43:53 +01:00
Reece H. Dunn 37c56f8946 user32: Make the edit tests pass on Vista. 2008-01-25 12:30:18 +01:00
Reece H. Dunn d2900d42dd user32: Make the class tests pass on Vista. 2008-01-25 12:07:25 +01:00
Reece H. Dunn ad89ff0abf user32: Make the clipboard tests pass on Vista. 2008-01-25 12:07:21 +01:00
Paul Vriens 7aaaad2110 user32/tests: Run full test again on win95 and NT4. 2008-01-23 12:05:42 +01:00
Alexandre Julliard 390ae9cc28 winex11.drv: Fix handling of strange window sizes in CreateWindow, with tests. 2008-01-22 10:16:19 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01:00
Marcus Meissner 75de624377 winex11: Set last error on enumerating display settings. 2008-01-09 13:38:03 +01:00
Dmitry Timoshkov 78718a41c7 user32: Add a test for an invalid DEVMODE passed to ChangeDisplaySettings, make it pass under Wine. 2007-12-20 10:47:49 +01:00
Alex Villacís Lasso 4612b15fff user32: Fix regression in DlgDirList caused by modified LB_DIR return behavior, with tests. 2007-12-19 19:36:09 +01:00
Francois Gouget 69f83a6f9f user32/tests: Use GetProcAddress() on ChangeDisplaySettingsExA() because it is missing on Windows 95. 2007-12-18 12:32:55 +01:00
Stefan Dösinger 5461d505d7 winex11: Activate the depth-bpp difference. 2007-12-17 12:25:50 +01:00
Stefan Dösinger 5fa90ca910 user32: Add a test for EnumDisplaySettings vs GetDeviceCaps. 2007-12-14 14:06:45 +01:00
Stefan Dösinger 920506b230 user32: Add a test for WM_DISPLAYCHANGE. 2007-12-14 14:06:45 +01:00
Andrew Riedi 00b5501524 user32: Test the initial state of the cursor. 2007-12-11 12:09:33 +01:00
Andrew Riedi d296c18587 user32: Improve test_DestroyCursor(). 2007-12-10 12:13:47 +01:00
Andrew Riedi 573fcad0b4 user32: Uncomment and explain a test in test_DestroyCursor(). 2007-12-10 12:13:30 +01:00
Francois Gouget 5f7a9cea38 Assorted spelling fixes. 2007-12-07 16:35:32 +01:00
Michael Stefaniuc 64b7359265 user32/tests: Pass HEAP_ZERO_MEMORY to HeapAlloc() instead of clearing the memory with a separate memset() call. 2007-12-07 14:52:45 +01:00
Stefan Dösinger abf5240310 user32: Destroying the current cursor results in an error. 2007-11-30 14:01:34 +01:00
Francois Gouget 5f1416ef2b user32/tests: Add the trailing '\n' to an ok() call. 2007-11-20 16:44:53 +01:00
Alex Villacís Lasso 00bba190aa user32: Conformance tests for DlgDirList and DlgDirSelectEx. 2007-11-15 11:09:49 +01:00
Alex Villacís Lasso 56958984dd user32: Conformance tests for LB_DIR on listboxes. 2007-11-14 13:10:47 +01:00
Francois Gouget b0afca5704 user32/tests/msg: Don't mess up lParam as it is passed on to DefWindowProcA(). 2007-11-13 23:28:06 +01:00
Dan Kegel aaa93200ad user32: Implement return value for DdeClientTransaction for XTYP_EXECUTE. 2007-11-12 14:13:02 +01:00
Alexandre Julliard 5fa4e85ad6 user32/tests: Fix access to an uninitialized variable. 2007-11-09 13:14:37 +01:00
Francois Gouget 2b6abd5f85 user32/tests: Skip some tests when DdeClientTransaction() returns NULL. This avoids some crashes on Win9x. 2007-11-09 13:06:43 +01:00
Alex Villacís Lasso 188610e603 user32: Fix for failing tests of LB_GETTEXT on listbox on Win98. 2007-11-08 11:48:33 +01:00
Alex Villacís Lasso 5f603f823e user32: Fix LB_ITEMFROMPOINT tests for listbox control. 2007-11-08 11:48:26 +01:00
Gerald Pfeifer c7adf5f4b2 user32: Don't check unsigned types for >= 0. 2007-11-02 12:36:55 +01:00
Alexandre Julliard 5c5e333284 user32/tests: Don't test the contents of uninitialized buffers. 2007-11-02 12:27:27 +01:00
Alexandre Julliard ebc6864953 user32: Don't allow changing the WS_EX_TOPMOST style with SetWindowLong. 2007-10-31 17:53:58 +01:00
Mikolaj Zalewski 585329ed13 user32: Better fix how to handle GetWindowLongPtr[AW](..., GWLP_WNDPROC) for builtin winprocs. 2007-10-30 14:08:50 +01:00
James Hawkins e6b658c4bf user32: Define WM_LBTRACKPOINT if it's not previously defined. 2007-10-26 14:03:47 +02:00
James Hawkins 0c22e54059 user32: Fix a test that now passes in Windows. 2007-10-26 14:03:47 +02:00
Lei Zhang 7c2263ddc4 user32: Do not send button click to dialog with disabled default button. 2007-10-25 13:52:09 +02:00
Alex Villacís Lasso c67d0122db user32: Tests for fix EM_SETLIMITTEXT with zeroed args. 2007-10-18 14:10:53 +02:00
Dmitry Timoshkov 566ce8f5ed user32: Add more listbox message tests, make them pass under Wine. 2007-10-18 14:09:42 +02:00
James Hawkins 9fd2d443fe user32: Convert an HDDEDATA handle to a DDEPOKE structure for WM_DDE_POKE. 2007-10-15 22:23:11 +02:00
James Hawkins 88913f094b user32: Add tests for DdeCreateDataHandle. 2007-10-15 22:23:11 +02:00
James Hawkins 4fb3518e2a user32: Return DMLERR_INVALIDPARAMETER if hszItem is NULL. 2007-10-15 22:23:11 +02:00
James Hawkins ccabbeed60 user32: Return DMLERR_MEMORY_ERROR instead of posting an ACK when fAckReq is returned by the server for WM_DDE_DATA. 2007-10-15 22:23:11 +02:00
James Hawkins 97dc032161 user32: Return DMLERR_INVALIDPARAMETER if hszItem is NULL. 2007-10-15 22:23:10 +02:00
James Hawkins dbad0ee626 user32: The server should release data sent with WM_DDE_POKE. 2007-10-15 22:23:10 +02:00
Alexandre Julliard 9f3f51bad7 user32: Fix message processing in dde test and go back to more reasonable timeouts. 2007-10-15 22:23:10 +02:00
James Hawkins 8725b39003 user32: Increase the message timeout. 2007-10-15 22:23:10 +02:00
Francois Gouget 6fc6b23287 user32/tests: Don't use nameless unions where they are not needed. 2007-10-11 19:52:36 +02:00
Karl Relton e764e61369 wineserver: Allow already peeked messages to merge. 2007-10-10 12:37:01 +02:00
James Hawkins 9cf7f8c3e2 user32: Test the ddeml server interface. 2007-10-09 20:19:42 +02:00
James Hawkins 3349afdbc0 user32: Move the test_ddeml_client function closer to the other ddeml client test functions. 2007-10-09 20:18:54 +02:00
James Hawkins c26a745444 user32: Set client_pid to zero before initializing dde. 2007-10-09 20:18:34 +02:00
Francois Gouget 81c4b91cb2 user32/tests: Remove an unneeded cast. 2007-10-09 12:31:28 +02:00
James Hawkins 58639cc814 user32: Test the ddeml client interface. 2007-10-04 12:03:36 +02:00
Alexandre Julliard 5bd4038f6e user32/tests: Replace GWL_WNDPROC by GWLP_WNDPROC. 2007-10-02 15:01:29 +02:00
Dmitry Timoshkov 5a218e97af user32: Add a message test for ownerdrawn listbox, make it pass under Wine. 2007-10-02 13:31:46 +02:00
Alexandre Julliard 78af9e6d01 user32/tests: Compare against ASCII string first since it may not be a valid Unicode string in that case. 2007-10-01 18:08:21 +02:00
Rob Shearman dbfb6b0414 user32: Add tests for DefWindowProc processing the undocumented 0x3B message. 2007-10-01 12:44:10 +02:00
Dmitry Timoshkov 4830966498 user32: WM_IME_SETCONTEXT messages are optional. 2007-10-01 12:25:50 +02:00
Francois Gouget b2bc712323 Assorted spelling fixes. 2007-09-27 20:12:53 +02:00
Dmitry Timoshkov d4193a94e4 user32: Make message test pass cleanly under XP SP2. 2007-09-25 14:28:33 +02:00
Anatoly Lyutin 6858ce73b6 user32/tests: Fix test for switch maximized MDI children. 2007-09-24 13:45:07 +02:00
Peter Oberndorfer 1fce55410e user32/tests: Fix dialog proc prototypes. 2007-09-21 11:51:51 +02:00
James Hawkins c8fb8c0201 user32: Add a test that shows ddeml string handles use local atoms. 2007-09-20 14:27:13 +02:00
Alexandre Julliard 2018b18638 user32/tests: We can now store binary files in the repository. 2007-09-17 16:12:03 +02:00
Alexandre Julliard 9c27ed21a2 user32/tests: Properly flush events in the update rect tests. 2007-09-17 14:13:37 +02:00
James Hawkins 72a3f18338 kernel32: Return TRUE for all pointer params in GlobalUnlock. 2007-09-17 13:41:53 +02:00
James Hawkins 40dff81b5a kernel32: Fix the case where memory is freed twice in GlobalFree. 2007-09-17 13:41:49 +02:00
James Hawkins 2cd2f12256 user32: Set uiLo and uiHi to zero on error. 2007-09-17 13:28:23 +02:00
James Hawkins 1eaeb3e0cd user32: Add tests for the DDE pack functions. 2007-09-17 13:28:19 +02:00
Lei Zhang 5079d20ffe user32: Edit control should respond to ctrl + z. 2007-09-13 13:36:23 +02:00
Dmitry Timoshkov 3de83dcb34 user32: Add more tests for GetUpdateRect. 2007-09-10 15:29:46 +02:00
Mikolaj Zalewski 71d77d98e2 user32: combo: CB_SETITEMHEIGHT should make the edit area 2px higher than the item (with testcase). 2007-08-31 13:24:13 +02:00
Trent Waddington fc635fa827 server: Handle existing timer replacement when no window handle specified. 2007-08-30 19:08:16 +02:00
Mikolaj Zalewski 613cfc2870 user32: Static controls should have a clipping region set while sending the WM_CTLCOLORSTATIC. 2007-08-30 12:34:31 +02:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Alexandre Julliard 5bd497f3ca server: Moving a window should only expose the immediate parent. 2007-08-27 15:21:19 +02:00
Alexandre Julliard a887a64c17 user32: SetWindowPos should erase the parent also for child moves. 2007-08-27 15:13:51 +02:00
Alexandre Julliard 8bbeadf565 user32: IsChild must not consider the desktop window. 2007-08-24 10:56:51 +02:00
Alexandre Julliard f48eb1581d winex11: Force a window to managed mode when it is activated. 2007-08-20 22:06:50 +02:00
Alexandre Julliard f09bcc3eef user32/tests: Allow WM_MOUSEACTIVATE in the mouse hover test for compatibility with X11 focus policy. 2007-08-20 22:03:06 +02:00
Alexandre Julliard 1b6533bc2c user32/tests: Use flush_events more consistently in the message tests. 2007-08-20 22:01:55 +02:00
Paul Vriens 5748f15826 user32/tests: Run tests on win95 again. 2007-08-16 11:08:13 +02:00
Peter Verthez 13b376df73 user32: LB_SETITEMDATA should return 1 on success, not 0. 2007-08-14 20:29:21 +02:00
Mikołaj Zalewski 5e9ced90f7 user32: CallWindowProc[AW] for mismatched built-in winprocs should take into account if the window is Unicode. 2007-08-10 13:53:35 +02:00
Dmitry Timoshkov ce1ab638da user32: CBN_SELCHANGE notification should be sent before an edit update. 2007-08-09 14:40:59 +02:00
Francois Gouget ebadbd4bd5 Assorted spelling fixes. 2007-08-09 14:13:07 +02:00
Alexandre Julliard 2ce799c4f6 user32: Support for the magic WM_CHAR W->A conversion in Get/PeekMessage. 2007-08-09 13:13:00 +02:00
Alexandre Julliard b9540cf9e7 user32/tests: Added test cases for WM_CHAR conversions. 2007-08-08 18:25:57 +02:00
Alexandre Julliard ce7bfd6a3f user32: Erase parent window when child is hidden. From a patch by Clinton Stimpson. 2007-07-31 20:32:15 +02:00
Clinton Stimpson f4af6455a8 user32: Also test parent messages when hiding child window. 2007-07-30 15:27:18 +02:00
Alexandre Julliard 809d47839d user32/tests: Flush events more aggressively in mouse input test. 2007-07-25 13:46:42 +02:00
Vitaliy Margolen dcdf7c55d6 server: Treat desktop as a top-level window. 2007-07-23 11:53:06 +02:00
Vitaliy Margolen 9380eb3127 user32: Add test for SetForegroundWindow(desktop). 2007-07-23 11:49:46 +02:00
Mikołaj Zalewski 46a48c40ad user32/tests: Simplify a test. 2007-07-20 11:40:44 +02:00
Michael Stefaniuc 02933a11de dlls: Remove unreachable break after return/break. Found by Smatch. 2007-07-19 11:57:49 +02:00
Vitaliy Margolen 9c9174efac user32/test: Destroy no longer needed test dialog windows. 2007-07-19 11:53:58 +02:00
Alexandre Julliard 4688389d74 user32: Allocate a dual A/W winproc for DefWindowProc. 2007-07-12 15:45:19 +02:00
Alexandre Julliard ec5e295ef2 user32/tests: Flush messages more aggressively in a couple of tests. 2007-07-11 14:40:19 +02:00
Paul Vriens 24123e8603 user32/tests: Use skip. 2007-07-03 20:39:32 +02:00
Paul Vriens 918a2911bf user32/tests: Use skip. 2007-07-03 20:39:31 +02:00
Michael Stefaniuc 0152ec0375 janitorial: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:50 +02:00
Paul Vriens 027afb495a user32/tests: Only do the GetProcAddress once. 2007-06-21 15:37:49 +02:00
Dmitry Timoshkov 4d8f84cbdd user32: When inserting a menu item make sure that MDI system buttons stay on the right side. 2007-06-20 15:10:58 +02:00
Alexandre Julliard bd8a4e3aae user32/tests: Avoid strlen in trace. 2007-06-15 12:43:31 +02:00
Lei Zhang dd88237d3e user32: Remove a unused variable from ES_PASSWORD test. 2007-06-15 12:40:34 +02:00
Lei Zhang 7dd98bb993 user32: Improve cut/copy/paste behavior of password edit boxes. 2007-06-14 13:54:34 +02:00
Anatoly Lyutin c2bf60b004 user32: tests:msg Add test for switching MDI children. 2007-06-13 13:37:49 +02:00
Alexandre Julliard 6797f15a64 user32: Fix a printf format warning. 2007-06-01 13:42:37 +02:00