Commit Graph

1077 Commits

Author SHA1 Message Date
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
Alexandre Julliard d1613f60c2 user32: Fix pointer cast warnings on 64-bit. 2009-01-08 17:28:04 +01:00
Alexandre Julliard d852ac0b1f user32/tests: Fix some integer to pointer conversion warnings. 2009-01-08 13:18:01 +01:00
Alexandre Julliard 0128b10a3c user32: Avoid a pointer cast in a trace. 2009-01-08 13:13:05 +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
Andrey Turkin 405ced0969 user32: GetUserObjectSecurity should return a valid security descriptor. 2009-01-04 14:59:54 +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
Rob Shearman 76b805dad4 comctl32: Add names for now documented toolbar messages. 2009-01-02 14:27:43 +01:00
Alexandre Julliard fb7acdcb28 user32: Convert wvsprintfA/W to use an MS ABI vararg list for x86_64. 2008-12-31 20:59:33 +01:00
Alexandre Julliard 0c914e475d server: Make atom_t an unsigned int to avoid padding issues. 2008-12-31 15:09:59 +01:00
Alexandre Julliard 4261476d13 server: Make the message callback function a client_ptr_t instead of a void pointer. 2008-12-30 14:02:07 +01:00
Alexandre Julliard cc55fd317a server: Make hook procedures client_ptr_t instead of void pointers. 2008-12-29 17:35:35 +01:00
Alexandre Julliard 0cd3ff6cbe server: Make the class opaque data a client_ptr_t instead of a void pointer. 2008-12-29 17:24:39 +01:00
Alexandre Julliard f2c4e09e80 server: Make module handles always 64-bit. 2008-12-29 16:47:51 +01:00
Byeongsik Jeon edb852308c user32: Implementation the SPI_{GET|SET}FONTSMOOTHING* actions. 2008-12-29 12:42:12 +01:00
Alexandre Julliard 3cd817b53e server: Make lparam_t always 64-bit. 2008-12-24 19:57:51 +01:00
Alexandre Julliard d1d7b9f3f7 server: Store data for hardware messages in the message extra data. 2008-12-24 19:57:51 +01:00
Alexandre Julliard 77ca32cf71 user32: Fix SPI_SETMOUSESPEED handling, the parameter is not a pointer. 2008-12-24 19:57:51 +01:00
Vincent Pelletier 878c2a8332 user32: Fix SPI_GETMOUSESPEED and SPI_SETMOUSESPEED. 2008-12-23 20:14:47 +01:00
Maarten Lankhorst 0a6459598a user32/winex11.drv: Change all user32 operations to use CDECL. 2008-12-23 13:06:04 +01:00
Aric Stewart 5c779bfa0a user32: Remove the driver call for GetKeyboardLayoutList and instead populate from the registry. 2008-12-18 14:19:39 +01:00
Maarten Lankhorst a411f25d85 gdi32/user32: Make __wine_make_gdi_object_system CDECL. 2008-12-17 15:02:26 +01:00
Andrew Talbot b5081dacc0 user32: Sign-compare warnings fix. 2008-12-16 14:27:50 +01:00
Paul Vriens f4da3fd7ac user32/tests: Destroy the windows after the tests. 2008-12-16 12:51:03 +01:00
Aric Stewart bd25af9dba user32: Proper handling of WM_INPUTLANGCHANGEREQUEST. 2008-12-12 12:20:53 +01:00
Francois Gouget 803555927c user32/tests: Make some functions static. 2008-12-12 11:42:34 +01:00
ByeongSik Jeon 5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
ByeongSik Jeon 1b0297a7f9 *Zh.rc: Update the Chinese resource font name to "MS Shell Dlg". 2008-12-11 12:20:48 +01:00
Aric Stewart cb69bd6349 user32: Implement handling of WM_INPUTLANGCHANGE. 2008-12-11 11:50:07 +01:00
Alexandre Julliard 517b2f624d server: Windows properties are actually generic params, not handles. 2008-12-10 16:21:32 +01:00
Lei Zhang 54eebfe5e5 user32: Check input to GetAsyncKeyState(). 2008-12-08 22:03:11 +01:00
Alexandre Julliard 7fdadbb377 server: Add functions for conversions between server user handles and pointer-style handles. 2008-12-08 16:58:20 +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
Alexandre Julliard d1b3d484f7 server: Add functions for conversions between server object handles and pointer-style handles. 2008-12-08 16:05:17 +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
Francois Gouget 23e6e7be8e Make sure we have a space before the ellipses in Slovenian resources. 2008-12-04 12:06:06 +01:00
Maarten Lankhorst 7981d6c736 user32: Fix dialogs for 64-bits wine. 2008-12-03 11:28:25 +01:00
Andrew Riedi 63908f039b user32: The frames of .ani cursors are .ico's, not .cur's. 2008-12-01 14:14:45 +01:00
Andrew Riedi 506f77b8d6 user32: Cursors can have more than one color. 2008-12-01 14:14:41 +01:00
Andrew Riedi 9726a7119b user32: Make the hotspot ICON_HOTSPOT when loading icons.
Based on patches by Henri Verbeet.
2008-11-26 13:37:24 +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
Andrew Riedi 1425b1b9ef user32: Fix the loading of stretched cursors.
Based on patches by Henri Verbeet.
2008-11-21 11:53:22 +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
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