Commit Graph

1636 Commits

Author SHA1 Message Date
Erich Hoover 86a9f20aa2 user32: Fix GetCursorFrameInfo when passed the proper number of steps. 2011-03-10 15:23:34 +01:00
Aric Stewart 77fdee8a2e user32: Remove SetWindowText export. 2011-03-10 12:52:51 +01:00
Austin English 38a87ecfea user32: Avoid shadowing a parameter. 2011-03-09 15:54:20 +01:00
Alexandre Julliard 383bda91cf user32: No longer export HOOK_CallHooks. 2011-03-08 14:50:47 +01:00
Alexandre Julliard 7879b8e349 user32: Get rid of the RegisterClipboardFormat driver entry point. 2011-03-07 17:06:50 +01:00
Erich Hoover e776f3ccf7 user32: Implement semi-stub of GetCursorFrameInfo. 2011-03-07 15:10:22 +01:00
Erich Hoover 7b0ab606e2 user32: Permit loading animated cursors with CreateIconFromResource(Ex). 2011-03-07 15:10:01 +01:00
Alexandre Julliard 55e1fec7c3 user32: Set the last mouse event timestamp before calling the low-level hook. 2011-03-07 11:07:15 +01:00
Dmitry Timoshkov 7fb4e2ae45 user32: Add a test to make sure that SendInput sets a non-zero event time. 2011-03-04 16:26:00 +01:00
Alexandre Julliard 383d8ac105 user32: Remove GetClipboardFormatName from the user driver interface. 2011-03-04 16:25:52 +01:00
Alexandre Julliard f1a3480068 user32: Handle input injected through SendInput entirely in user32. 2011-03-02 21:48:39 +01:00
Alexandre Julliard c7efa293f0 server: Invoke low-level hardware hooks directly from the server side. 2011-03-02 21:26:13 +01:00
Alexandre Julliard ae895a1f10 user32: Export a Wine-specific function to send hardware input from the graphics driver. 2011-03-02 21:25:43 +01:00
Alexandre Julliard 39c4e6d1d9 user32: Retrieve the current cursor position from the server. 2011-03-01 13:21:42 +01:00
Alexandre Julliard a7da164949 user32: Retrieve the key state for GetAsyncKeyState from the server. 2011-02-28 22:28:42 +01:00
Wolfram Sang c67f075d67 user32: Check bitmap info before it is used. 2011-02-28 13:15:07 +01:00
Wolfram Sang ce5763b88c user32: Make DIB_GetBitmapInfo checks stricter. 2011-02-28 13:15:01 +01:00
Wolfram Sang 25923d2f16 user32/tests: Modify proper fields instead of magic offsets. 2011-02-28 13:14:55 +01:00
Marcus Meissner b0b77d4ba9 user32: Fixed some more side effect functions in assert() (Coverity). 2011-02-25 14:47:50 +01:00
Alexandre Julliard 02e8174067 server: Store the cursor clip rectangle in the server. 2011-02-25 13:50:19 +01:00
Alexandre Julliard 183c41b49a server: Store the global cursor position in the server. 2011-02-25 11:25:15 +01:00
Marcus Meissner a91b0e4544 user32: Remove side effect code out of asserts() (Coverity). 2011-02-23 18:24:20 +01:00
Marcus Meissner 89e662084f user32: Move functional code out of assert() (Coverity). 2011-02-23 18:22:50 +01:00
Dmitry Timoshkov cf6c76b3b4 user32: Cope with failing SetForegroundWindow(). 2011-02-21 15:18:29 +01:00
Dmitry Timoshkov 798edfec16 user32: Use the windows created by the SetParent() test to get a more predictable active/focus window state. 2011-02-18 14:54:51 +01:00
Alexander Scott-Johns 182b6a0483 user32: Fix read of uninitialized data and a couple of typos in TrackMouseEvent (Valgrind). 2011-02-17 18:33:42 +01:00
Austin English f956a472c0 user32/tests: Make sure return values are used (LLVM/Clang). 2011-02-14 13:33:32 +01:00
Ken Thomases e814147b12 user32: Remove wrong parameter name from comment.
Spotted by Peter Oberndorfer.
2011-02-14 12:29:05 +01:00
Ken Thomases 9cb4c21f1a user32: Rename GetKeyboardLayout param; it's a thread ID, not a layout. 2011-02-10 10:28:01 -06:00
Austin English fc2d1ded12 user32/tests: Remove some dead assignments (LLVM/Clang). 2011-02-10 09:58:50 -06:00
Dmitry Timoshkov 07cfce6edf user32: Add message tests for SetParent(). 2011-02-09 13:46:17 -06:00
Dmitry Timoshkov de2aeebe72 user32: Add a test for reparenting a WS_POPUP window to a WS_CHILD parent. 2011-02-09 13:46:00 -06:00
Austin English 7b4cf0bec0 user32/tests: Remove unneeded assignment (LLVM/Clang). 2011-02-09 09:26:32 -06:00
Joris Huizer 26f753aec8 user32/tests: Don't test function directly when reporting GetLastError(). 2011-02-07 10:04:37 -06:00
Alexander Scott-Johns 6c6b15f2d4 user32: Partially fix clipboard viewer infinite recursion bug. 2011-01-31 14:04:54 +01:00
Alexander Scott-Johns 198a55bd6e user32/tests: Test getting the data from synthesized clipboard formats. 2011-01-28 17:41:51 +01:00
Alexandre Julliard 76fb69bf3d user32: Fix LoadImage behavior with zero size and no LR_DEFAULTSIZE.
Based on a patch by Marcus Meissner.
2011-01-28 12:44:21 +01:00
Alexandre Julliard ab4a5a327d user32: Propagate the LoadImage flags into the low-level loader functions. 2011-01-28 12:42:56 +01:00
Marcus Meissner 6e077e0bc0 user32: Get MDI icon as close the "small icon" as possible. 2011-01-28 12:03:50 +01:00
Greg Geldorp 0406b5d543 user32/tests: Fix edit tests. 2011-01-24 14:43:26 +01:00
Greg Geldorp f61c8c68b6 user32/tests: Fix DDE test failures on DBCS machines. 2011-01-17 13:22:05 +01:00
Alexandre Julliard 39558f8d81 user32: Convert menu and string table resources to po files. 2011-01-13 17:24:15 +01:00
Greg Geldorp 2b0d8ed7c3 user32/tests: Fix menu test failures on East-Asian machines. 2011-01-13 15:22:00 +01:00
André Hentschel 1bf8612718 user32/tests: Don't test function directly when reporting GetLastError(). 2011-01-05 17:56:04 +01:00
Mikhail Maroukhine f859535774 user32: Add constness to params and variables. 2011-01-04 16:09:53 +01:00
Greg Geldorp 4856c299ba user32/tests: Skip DefWindowProc tests on Vista+. 2011-01-03 11:54:03 +01:00
André Hentschel cbf967d600 user32/tests: Don't test function directly when reporting GetLastError(). 2010-12-31 11:44:26 +01:00
Alexandre Julliard 2c63cf58ea user32: Don't call GetModuleFileNameW under the user lock. 2010-12-14 13:49:14 +01:00
Alexandre Julliard ee44c7c0f4 user32: Fix coordinates mapping for the desktop window in the explorer process. 2010-12-13 12:43:34 +01:00
Alexandre Julliard 1829fc51c1 user32: Return some fake information for an inter-process GetWindowPlacement. 2010-12-09 20:43:26 +01:00
Austin Lund 555e59a454 user32/tests: Disable IME for msg tests. 2010-12-03 14:28:31 +01:00
Austin Lund 0fe32508a7 user32/tests: Close second window in DBCS WM_CHAR tests. 2010-12-03 14:28:31 +01:00
André Hentschel 7e5da86076 user32/tests: Skip DDE tests on win9x. 2010-12-01 17:16:22 +01:00
Austin Lund c82aa505e9 user32/tests: Fix test failures by disabling IME when testing unicode input. 2010-11-29 19:52:06 +01:00
André Hentschel 37adf3a6be user32/tests: Remove obsolete comment. 2010-11-29 19:51:57 +01:00
Alexandre Julliard 14a77db43f user32: Add a stub for IsGUIThread(). 2010-11-16 21:54:18 +01:00
Alexandre Julliard 30554d4ef1 user32: Check structure size in GetGUIThreadInfo. 2010-11-16 21:54:03 +01:00
Paul Vriens 3d20c8777f user32: Update Serbian (Latin and Cyrillic) translations.
Translation by Đorđe Vasiljević.
2010-11-08 11:56:12 +01:00
André Hentschel e054fc2310 user32: Don't paint new button styles instead of crashing. 2010-11-04 11:55:48 +01:00
Alexandre Julliard 8c963852f8 explorer: Make the systray window look more like a real taskbar in desktop mode. 2010-11-02 10:32:35 +01:00
Yaron Shahrabani 21c1034504 user32: Added Hebrew translation. 2010-10-27 12:00:08 +02:00
Austin Lund ccd4479ce9 user32/tests: Fixed WM_SETFONT combo box tests. 2010-10-26 11:57:57 +02:00
Austin Lund d732cd7412 user32/tests: Fix some combo box tests for different font sizes. 2010-10-25 13:52:51 +02:00
Dmitry Timoshkov 2f0b9dd3bf user32: FindWindow() should treat an empty title same way as NULL. 2010-10-19 11:00:32 +02:00
Vladimir Panteleev 824c5089d2 user32: Update last active popup for all parents. 2010-10-18 19:47:58 +02:00
Trygve Vea 293fc4cd28 user32: Updated Norwegian translation. 2010-10-15 16:18:50 +02:00
Alexandre Julliard e8723a5dee user32: Fix destruction of the active cursor. 2010-10-13 15:38:06 +02:00
Alexandre Julliard 1aab7ea837 user32/tests: Add more tests for DestroyCursor on the active cursor. 2010-10-13 13:58:19 +02:00
Gerald Pfeifer 8c7e2f99db user32: Removed some code that is unused after revision 751a09e983. 2010-10-13 11:19:53 +02:00
Alexandre Julliard 19eea5fa6b user32: Improve error checking in GetIconInfo. 2010-10-12 23:24:11 +02:00
Alexandre Julliard bb8590f6ce user32: Fix a DC leak in DrawIconEx. 2010-10-12 23:01:22 +02:00
Alexandre Julliard 90ba8ceb07 user32: Correctly handle mouse events on a size grip scrollbar. 2010-10-12 11:43:21 +02:00
Alexandre Julliard 299f2b354e user32: Make sure AdjustWindowRect and WM_NCCALCSIZE yield the same result for WS_EX_DLGMODALFRAME windows. 2010-10-12 11:28:51 +02:00
Alexandre Julliard 76e7fcc9d8 user32: Store icon objects directly in the cache instead of using a separate structure. 2010-10-11 17:11:27 +02:00
Alexandre Julliard 76cd25c875 user32: Reimplement icon copying using CURSORICON_Load. 2010-10-11 17:11:27 +02:00
Alexandre Julliard 6e7846e33e user32: Return the module and resource name in GetIconInfoEx. 2010-10-11 17:11:27 +02:00
Alexandre Julliard 751a09e983 user32: Store the module and resource name information for icons. 2010-10-11 17:11:27 +02:00
Louis Lenders 62b9df9031 user32/tests: Test FindWindowEx for empty window title. 2010-10-11 17:11:25 +02:00
Alexandre Julliard d1df0c42ea user32/tests: Test GetIconInfoExW too since the A version is broken on Win64. 2010-10-11 12:54:04 +02:00
Alexandre Julliard d9ae28926b user32: Get rid of the unused icon cache refcount. 2010-10-08 15:24:09 +02:00
Alexandre Julliard 975bff627b user32: Convert the icon cache to a standard Wine list. 2010-10-08 15:24:09 +02:00
Alexandre Julliard 990842a322 user32/tests: Tests for GetIconInfoExA/W. 2010-10-08 15:24:09 +02:00
Alexandre Julliard d3de0c265b user32: Implemented GetIconInfoExA/W. 2010-10-08 15:23:47 +02:00
Alexandre Julliard beba1f1586 user32: Make sure the driver CreateCursorIcon() entry point is always called. 2010-10-08 11:56:46 +02:00
Alexandre Julliard d076dfa8e8 server: Update child window positions when resizing a mirrored parent. 2010-10-05 11:01:21 +02:00
Alexandre Julliard 377820e313 user32: Don't rely on the cached position for windows that have a mirrored parent. 2010-10-05 11:01:21 +02:00
Alexandre Julliard dfab8824c5 user32/tests: Make some variables static. 2010-10-01 13:37:44 +02:00
Louis Lenders 6e4e8fb07f user32: UpdateWindow doesn't accept a NULL hwnd. 2010-09-29 11:23:57 +02:00
Michael Stefaniuc 5a2cc94105 user32: Simplify the error handling in BITMAP_Load().
This fixes a memleak on an error path (Smatch).
2010-09-29 10:06:13 +02:00
Erich Hoover 7bba6234e3 user32: Add support for multiple frames in cursor format. 2010-09-28 17:33:20 +02:00
Erich Hoover ca7163e438 user32: Prepare for multi-frame storing of icons and cursors. 2010-09-28 17:33:20 +02:00
Alexandre Julliard 2f6d41de46 user32: Free the window region once it has been set. 2010-09-27 21:06:43 +02:00
Alexandre Julliard 97611dca8b gdi32: Implement MirrorRgn. 2010-09-27 20:45:56 +02:00
Alexandre Julliard ddaea5456e user32: Set the default process layout based on the file description in the version resource. 2010-09-24 15:45:54 +02:00
Alexandre Julliard d43cc0cd82 user32: Fix the window positions when moving a child window for a RTL window. 2010-09-24 15:45:54 +02:00
Alexandre Julliard 0df8855b20 user32: Use screen coordinates for hittest checking to handle RTL windows correctly. 2010-09-24 15:45:54 +02:00
Alexandre Julliard deb8309760 user32: Fix initial computation of client area in WM_NCCALCSIZE for RTL windows. 2010-09-24 15:45:54 +02:00
Lauri Kenttä 41d341cf4e user32: Update Finnish translation. 2010-09-24 11:34:15 +02:00
Alexandre Julliard 9bbfcb5b07 user32: Add support for RTL window layouts in GetUpdateRgn and GetUpdateRect. 2010-09-23 17:50:11 +02:00
Alexandre Julliard 024521190a user32: Always store the window rectangles unmirrored after SetWindowPos. 2010-09-23 17:50:10 +02:00
Alexandre Julliard 5c6a1f776a user32: Add support for right-to-left menus. 2010-09-22 20:31:52 +02:00
Alexandre Julliard 3f026cafa5 user32: Add support for RTL window layouts in WIN_GetRectangles. 2010-09-22 20:28:20 +02:00
Alexandre Julliard 5702324b37 user32: Add support for RTL window layouts in MapWindowPoints. 2010-09-22 20:27:52 +02:00
Dmitry Timoshkov 88900f429a user32: Make sure that SendInput always initializes the time field. 2010-09-22 12:44:22 +02:00
Dmitry Timoshkov 6cccf51645 user32: Uncomment the GetWindowPlacement() test, fill the test data with real values. 2010-09-22 12:43:43 +02:00
Dmitry Timoshkov a7188842af user32: UpdateLayeredWindow() should fail on non-layered or already initialized window. 2010-09-21 20:16:15 +02:00
Dmitry Timoshkov 8118430b68 user32: Do not test window state on the HCBT_SETFOCUS event, it's undefined. 2010-09-21 17:53:55 +02:00
Gerald Pfeifer 824ab969ff user32: Fix error handling in BITMAP_Load. 2010-09-20 13:48:11 +02:00
Paul Vriens 92643eb020 user32: Fix a typo. 2010-09-19 14:59:04 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
André Hentschel 49434929c6 user32: Only select needed part of the flags. 2010-09-16 13:13:16 -05:00
Vladimir Panteleev 592d994f00 user32: Fix VK_RETURN handling in IsDialogMessage for dialogs without an IDOK. 2010-09-15 17:05:54 -05:00
Luca Bennati 623bf111c5 user32: Update Italian translation. 2010-09-13 13:30:47 -05:00
Alexandre Julliard 72533173d5 user32: Don't try to set the WS_EX_LAYOUTRTL flag on the desktop window. 2010-09-08 13:19:17 +02:00
Alexandre Julliard 4858c54a8e user32: Avoid direct accesses to the window structure in NC_HandleNCHitTest. 2010-09-08 13:19:04 +02:00
Alexandre Julliard ca499d070f user32: Avoid redundant server call in WIN_GetRectangles and fix the screen coordinates mapping. 2010-09-08 13:15:29 +02:00
Alexandre Julliard 9b693ddadb user32: Use WIN_GetRectangles where possible instead of mapping coordinates explicitly. 2010-09-07 15:11:24 +02:00
Alexandre Julliard 141defbd54 user32: Use WIN_GetRectangles where possible instead of accessing the window structure. 2010-09-07 14:55:42 +02:00
Alexandre Julliard c5bf4976f1 user32: Pass the window styles to NC_GetInsideRect instead of accessing the window structure. 2010-09-07 14:33:13 +02:00
Alexandre Julliard 7295b6746d user32: Add support for fetching window rectangles relative to various origins. 2010-09-07 14:31:30 +02:00
Alexandre Julliard cd56299e2f user32/tests: Fix a number of test failures on Windows 7. 2010-09-03 11:04:33 +02:00
Alexandre Julliard 196ec5969d user32: Implement Get/SetProcessDefaultLayout. 2010-09-02 18:01:01 +02:00
Alexandre Julliard 942866f90d user32: Make child windows inherit the WS_EX_LAYOUTRTL style from their parent. 2010-09-02 17:55:02 +02:00
Alexandre Julliard 30d2079574 user32: Set the DC layout to mirrored when the window has the WS_EX_LAYOUTRTL style. 2010-09-02 15:16:39 +02:00
Alexandre Julliard 0f90053575 user32: Add a common helper to set controls clip region, and make it behave correctly when mirrored. 2010-09-02 11:35:14 +02:00
Alexandre Julliard 05375a2a96 user32: Don't disable DrawFrameControl for non-text mapping modes. 2010-09-02 11:00:45 +02:00
Dmitry Timoshkov 38b8805c0c user32: Add a bunch of GetWindowPlacement() tests, fix some simple cases. 2010-09-01 17:07:35 +02:00
Alexandre Julliard f061743a90 user32/tests: Remove some noisy output. 2010-09-01 11:13:59 +02:00
Alexandre Julliard cd79ec79a6 user32: Prevent changing some window styles through SetWindowLong. 2010-09-01 11:13:27 +02:00
Alexandre Julliard 5130f942da user32: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:48 +02:00
Anders Jonsson 876dcc96b3 user32: Update Swedish translation. 2010-08-27 11:59:38 +02:00
André Hentschel ed69ddb37e user32: Optimize the storage of default color values. 2010-08-26 17:43:29 +02:00
Stefan Dösinger c293424319 user32: Make GetMessage and PeekMessage patchable. 2010-08-26 17:21:08 +02:00
Wolfram Sang 9f0f17f853 user32: Check for valid pointer in CreateIconFromResource. 2010-08-17 14:18:45 +02:00
André Hentschel aef6e3d232 user32: Use a macro instead of direct values. 2010-08-16 17:28:55 +02:00
Dmitry Timoshkov ea7020480b user32: Properly pack the WM_WINE_SETWINDOWPOS internal message. 2010-08-16 12:57:08 +02:00
Dmitry Timoshkov dfe6ae58af user32: Protect from setting as a window owner one of its successors. 2010-08-04 17:35:22 +02:00
Dmitry Timoshkov 5aa45d9cf4 user32: Add a test for GetClassInfo, make it pass under Wine. 2010-08-03 11:43:59 +02:00
Alexandre Julliard 1472f35e82 gdi32: Replace the SelectVisRgn Wine-specific export by a private entry point. 2010-07-26 18:38:31 +02:00
Paul Vriens c2d722e3ee user32: Add the Serbian (Cyrillic) translation.
Translation by Nenad Vujic <nesa24casa@gmail.com>
2010-07-26 09:58:22 +02:00
Alexandre Julliard bde57f0e64 user32: Don't make constants static to avoid compile error without optimization. 2010-07-24 11:17:05 +02:00
Paul Vriens 664e3e3f4a user32: Add the Serbian (Latin) translation.
Translation by Nenad Vujic <nesa24casa@gmail.com>
2010-07-23 16:39:29 +02:00
Alexandre Julliard f1ea06375d user32: DCX_NORESETATTRS should be applied at DC release time. 2010-07-22 20:00:35 +02:00
Dylan Smith 9f32d6d6a9 user32: Prevent resize of minimized windows from SetWindowPos. 2010-07-22 12:57:04 +02:00
Dylan Smith f35dabad99 user32/tests: Minimized windows shouldn't be resizable. 2010-07-22 12:56:41 +02:00
Michael Stefaniuc c2756bc0c4 user32: Remove the ignored common resource attributes. 2010-07-22 11:41:36 +02:00
Dylan Smith c51b1e6db6 user32: DefMDIChildProc sends WM_MDINEXT with active child handle. 2010-07-21 17:38:37 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Dylan Smith 41dbacdc71 user32: RegisterClassEx should check for invalid cbSize field. 2010-07-19 14:38:16 +02:00
Sven Baars cb07a59a80 user32: Fix the Dutch translation. 2010-07-19 14:38:16 +02:00