Commit Graph

1401 Commits

Author SHA1 Message Date
Dmitry Timoshkov fedc194e68 user32: Button painting code always sets up the clipping, there is no need to duplicate it. 2010-04-13 11:43:30 +02:00
Nikolay Sivov 6f0560dfa7 user32: Set WM_EXITMENULOOP wParam same way as for WM_ENTERMENULOOP. 2010-04-12 11:29:34 +02:00
Alexandre Julliard 58d1981fbd user32: Avoid pointer truncation in SetSysColorsTemp. 2010-04-09 13:58:14 +02:00
Nikolay Sivov e9bae2cfaf user32: Block TrackPopupMenu if menu is already active. 2010-04-09 11:42:01 +02:00
Joel Holdsworth 38d4aa2b7e user32: Replace oic_sample.ico with Tango compliant icon. 2010-04-08 12:32:58 +02:00
Joel Holdsworth db3092cf79 user32: Replaced oic_ques.ico with Tango compliant icon. 2010-04-08 12:32:28 +02:00
Joel Holdsworth 7b68f9a0ed user32: Replaced oic_note.ico with Tango compliant icon. 2010-04-08 12:31:52 +02:00
Joel Holdsworth 0f5499ecd4 user32: Replaced oic_hand.ico with Tango compliant icon. 2010-04-08 12:31:16 +02:00
Joel Holdsworth 55ac865965 user32: Replaced oic_bang.ico with Tango compliant icon. 2010-04-08 12:30:23 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Joel Holdsworth 3b1b1863e4 user32: Replaced oic_winlogo.ico with Tango compliant icon. 2010-04-06 13:23:35 +02:00
Alexandre Julliard c4dec77064 user32/tests: Fix a test that was incorrectly skipped on non-Win9x platforms. 2010-04-06 12:42:57 +02:00
Alexandre Julliard 1f1d9e7b02 user32/tests: Use the correct type for the bits pointer in CreateDIBSection calls. 2010-04-02 15:40:55 +02:00
Mikhail Maroukhine 5e78bab266 user32: Fix compiler warnings with flag -Wcast-qual. 2010-04-01 18:12:42 +02:00
Alexandre Julliard 01578f51ba user32: Pack the structure for WM_DDE_ACK to allow crossing 32/64 boundaries. 2010-03-30 20:43:41 +02:00
Alexandre Julliard 2de2222aec user32: Pack the low-level hook structure in messages to allow crossing 32/64 boundaries. 2010-03-30 20:43:41 +02:00
Alexandre Julliard 366c5ceea7 user32: Pack the MDICREATESTRUCTW structure in messages to allow crossing 32/64 boundaries. 2010-03-30 20:43:41 +02:00
Alexandre Julliard 99719be4a6 user32: Pack the MDINEXTMENU structure in messages to allow crossing 32/64 boundaries. 2010-03-30 20:43:41 +02:00
Alexandre Julliard 3099b08aa2 user32: Pack the MSG structure in messages to allow crossing 32/64 boundaries. 2010-03-30 20:43:41 +02:00
Alexandre Julliard bbdd742a49 user32: Pack the NCCALCSIZE_PARAMS structure in messages to allow crossing 32/64 boundaries. 2010-03-30 20:43:41 +02:00
Alexandre Julliard eba2ec4ab1 user32: Pack the HELPINFO structure in messages to allow crossing 32/64 boundaries. 2010-03-30 20:43:41 +02:00
Alexandre Julliard 8ec6cfedea user32: Pack the COPYDATASTRUCT structure in messages to allow crossing 32/64 boundaries. 2010-03-30 20:43:41 +02:00
Alexandre Julliard 5c65269897 user32: Pack the WINDOWPOS structure in messages to allow crossing 32/64 boundaries. 2010-03-30 20:43:41 +02:00
Alexandre Julliard 9b5b55d9de user32: Pack the various owner-draw structures in messages to allow crossing 32/64 boundaries. 2010-03-30 20:43:41 +02:00
Alexandre Julliard fcf8a81904 user32: Pack the CREATESTRUCTW structure in messages to allow crossing 32/64 boundaries. 2010-03-30 20:43:37 +02:00
Alexandre Julliard bb0c660ed0 user32: Always start the 64-bit version of wineboot.exe on Wow64. 2010-03-29 15:50:10 +02:00
Alexandre Julliard 7bef6dc8b9 user32: Always start the 64-bit version of explorer.exe on Wow64. 2010-03-29 12:26:42 +02:00
Mikhail Maroukhine 819464f1d9 user32: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:16:50 +02:00
Sébastien Ramage e7165b3921 user32: End scrollbar tracking if the mouse capture is lost. 2010-03-25 10:55:51 +01:00
Alexandre Julliard ce31f2da0a user32/tests: Fix a couple of race conditions. 2010-03-23 13:24:27 +01:00
Alexandre Julliard 49de5ca39f user32: Store the current cursor and show count in the server. 2010-03-22 17:54:21 +01:00
Francois Gouget 3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Paul Vriens b897a37f38 user32/tests: Fix timeouts on Win9x/WinMe. 2010-03-19 12:26:46 +01:00
Alexandre Julliard c83ea46e1a user32: Return fake global information in GetCursorInfo instead of thread-local values. 2010-03-19 11:59:51 +01:00
Alexandre Julliard 0be0211682 user32/tests: Add some tests for GetCursorInfo. 2010-03-19 11:59:33 +01:00
Alexandre Julliard d2ec02e06f user32/tests: Add some tests for ShowCursor. 2010-03-18 19:26:36 +01:00
Alexandre Julliard 5a18e2a925 user32/tests: Add some tests demonstrating that SetCursor uses the thread input data. 2010-03-18 13:46:38 +01:00
Henri Verbeet d9381b97aa user32/tests: Add a test for foreground windows on a different thread.
What happens is that we get the WM_WINE_SETACTIVEWINDOW message sent by the
other thread after we already changed the foreground window back to our own
window.
2010-03-18 10:23:46 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Dmitry Timoshkov 52ebbb8aa7 user32: Restore special handling of monochrome bitmaps removed by c2202929ab. 2010-03-15 15:07:15 +01:00
Jörg Höhle 9079109a45 winex11: Log keycode decimal <-> hex for keysym & MS vkey and scancode. 2010-03-04 12:28:22 +01:00
David Hedberg 5a1f8c57a8 user32: Fix case where EM_SCROLL with page down results in trying to scroll up past the beginning. 2010-03-03 14:01:58 +01:00
David Hedberg 598052b4ad user32: Fix return value of EDIT_EM_Scroll. 2010-03-03 14:01:50 +01:00
Alexandre Julliard b0760fc2e9 server: Set the idle event when PeekMessage is called with -1 as window filter. 2010-03-03 13:20:53 +01:00
Alexandre Julliard 4d33d4982f user32: Pass HWND_BOTTOM unmodified to the server in PeekMessage. 2010-03-03 13:20:26 +01:00
Henri Verbeet 6ee4a87ad6 user32: Also show dialogs right after a WM_TIMER message. 2010-03-02 14:29:21 +01:00
Alexandre Julliard c888a2eb22 user32/tests: Fix broken check of the ok() macro return value.
Spotted by Yann Droneaud.
2010-02-24 16:04:11 +01:00
Dmitry Timoshkov d6cfc3223e user32: DeleteDC() should allow to delete a DC returned by GetDC(). 2010-02-24 16:03:02 +01:00
Nikolay Sivov e7c909a1be user32: Use whole window rectangle for UpdateLayeredWindow. 2010-02-24 16:02:57 +01:00
Nikolay Sivov 62019e6d3a user32: Intersect with passed dirty rectangle while blitting. 2010-02-24 15:12:30 +01:00
Nikolay Sivov 9b7b3ef1c4 user32/tests: Test to show that caption added for WS_EX_LAYERED as well. 2010-02-24 15:12:30 +01:00
Andrew Nguyen 416589a7c2 user32/tests: Fix a failure message trace. 2010-02-23 12:09:55 +01:00
Andrew Nguyen 0b23012867 user32: Ensure that WM_INITDIALOG passes the first tabstop control handle to the dialog procedure. 2010-02-23 12:09:50 +01:00
Jörg Höhle d25b9cebff user32: Sync vkey codes with winuser.h. 2010-02-22 13:16:14 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexandre Julliard adf9dcd6a7 user32: Fix Z-order handling of windows that have a top-most owner. 2010-02-19 13:05:08 +01:00
Alexandre Julliard a64765f673 user32: Don't overwrite the default button id when creating the dialog structure. 2010-02-17 11:43:34 +01:00
Kusanagi Kouichi ccab177159 user32: Consolidate empty string. 2010-02-15 12:09:55 +01:00
Alexandre Julliard 112ff62283 user32: Don't forward WM_SETCURSOR to the desktop window. 2010-02-12 15:55:45 +01:00
Michael Stefaniuc 7442a7f931 user32: Don't use HIWORD() on a HINSTANCE. 2010-02-11 17:33:50 +01:00
Dmitry Timoshkov 9e93906658 user32: In a DLGTEMPLATEEX resource dialog version goes before signature. 2010-02-09 17:13:36 +01:00
Alexandre Julliard 0e0b704f5b user32: Do not load 16-bit user.exe by default. 2010-02-08 17:49:48 +01:00
Alexandre Julliard f89aaa65ad user32: Store 32-bit and 16-bit cursors/icons in independent structures. 2010-02-08 17:49:47 +01:00
Reece Dunn e66198ae92 user32/tests: Make the MDI client take up the whole client area. 2010-02-08 17:14:44 +01:00
Paul Vriens 1cbedfb204 user32/tests: Fix crash on Win9x/WinMe. 2010-02-08 17:14:43 +01:00
Paul Vriens c0acfe1ead user32/tests: Don't try to detect Win9x/WinMe several times. 2010-02-08 17:14:43 +01:00
Bernhard Übelacker 8d127f3a81 user32: Don't hide the window in SetParent when window and parent are equal. 2010-02-05 13:14:45 +01:00
Alexandre Julliard 30e1445f08 user32/tests: Fix the menu capture test for NT4. 2010-02-05 11:29:12 +01:00
Michael Stefaniuc adc6b60f17 user32: Don't print the function name twice in a FIXME. 2010-02-04 13:39:28 +01:00
Michael Stefaniuc 0a22cd2b8f user32: Avoid using HIWORD() on atoms/resources. 2010-02-04 13:39:27 +01:00
Alexandre Julliard 48c8c8d7bd user32: Add a safety check in release_user_handle_ptr. 2010-02-03 13:54:01 +01:00
Alexandre Julliard 48ab8eb3fd user32: Fix the WM_CONTEXTMENU parameter for 64-bit. 2010-02-02 23:44:10 +01:00
Alexandre Julliard c4568edd64 user32/tests: Dispatch a message in case we can a WM_PAINT. 2010-02-02 11:47:20 +01:00
Jason Edmeades f27b032d50 user32: Preselect all editbox text when combo gets focus. 2010-01-25 18:05:03 +01:00
Jason Edmeades 0641192b52 user32/tests: Combo should preselect all text on first WM_SETFOCUS. 2010-01-25 18:05:03 +01:00
Justin Chevrier 64f2c03457 user32: EnumDisplayDevicesW, populate DeviceID member. 2010-01-25 12:54:19 +01:00
Paul Vriens 665c90a9c7 user32/tests: Don't crash on Win9x/WinMe. 2010-01-22 12:14:34 +01:00
Kusanagi Kouichi 56416b09a6 user32: F10 key deactivates menu. 2010-01-18 14:38:29 +01:00
Paul Vriens 5da7043c52 user32/tests: Run tests again on Win95. 2010-01-18 14:20:29 +01:00
Kusanagi Kouichi 529b183397 user32: Make DefWindowProc handle Shift+F10. 2010-01-14 10:59:33 -06:00
Kusanagi Kouichi 95676b50f8 user32/tests: Add test for Shift+F10. 2010-01-14 10:59:28 -06:00
Peter Dons Tychsen d21c131fb5 user32: Do not allow a change of capture if the currently capture window is a menu unless explicitly specified. 2010-01-14 09:04:55 -06:00
Michael Stefaniuc 31ef27ed57 user32: Avoid newlines inside FIXME messages. 2010-01-14 09:03:37 -06:00
Alexander Kochetkov 8037de9f02 user32: Fix arithmetic overflow in GetThumbVal. 2010-01-11 11:29:05 -06:00
Nikolay Sivov ba51a6c9bc user32/tests: Forward test proc to default dialog procedure instead of window's one. 2010-01-08 17:04:00 +01:00
Marcus Meissner 69bf18567f user32: EM_REPLACESEL - handle OOM error. 2010-01-06 17:23:08 +01:00
Marcus Meissner 4d96ffb52b user32: Remove useless NULL check (Coverity). 2010-01-06 17:22:31 +01:00
Alexandre Julliard 993de4d82f user32: Remove a useless comment. 2010-01-06 09:54:35 +01:00
Detlef Riekenberg 2f529c39fd user32: Move a comment about HLOCAL16 to user.exe. 2010-01-05 18:08:19 +01:00
James Hawkins 289047c735 user32: Don't try to free a handle with a value of 1, which is the dde handle value for asynchronous operations. 2010-01-05 12:29:03 +01:00
Joel Holdsworth 95ac10e526 user32: Fixed icons to select correct image in high colour depth. 2009-12-31 12:12:17 +01:00
Dmitry Timoshkov 2d0b2433c2 user32: Handle virtual key codes only in the WM_KEYDOWN case.
Reported by David Quintana.
2009-12-30 16:14:11 +01:00
Marcus Meissner 36f9248c1a user32: Initialize hICON to NULL (Coverity). 2009-12-30 16:12:24 +01:00
Nikolay Sivov ff12594a15 user32/uitools: Fix FillRect behaviour for invalid brush passed. 2009-12-30 16:11:51 +01:00
Nikolay Sivov 385b8dcb95 user32/sysparams: Return NULL from GetSysColorBrush() for invalid index. 2009-12-30 13:40:43 +01:00
Nikolay Sivov 2a0fca79ae user32/tests: Add tests for invalid index in GetSysColorBrush(). 2009-12-29 15:42:02 +01:00
Alexandre Julliard b96ab35cad user32: Move loading of static icons for 16-bit windows to the 16-bit wrapper. 2009-12-28 23:50:40 +01:00
Alexandre Julliard 9ceda48337 user32: Load the 32-bit user.exe module wrapper from the 32-bit side. 2009-12-28 23:50:40 +01:00
Alexandre Julliard 40a264b0e7 winevdm: Move the loading of the system drivers into their specific 16-bit module. 2009-12-28 23:50:40 +01:00
Michael Stefaniuc 6f3b494463 user32: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:13 +01:00
Michael Stefaniuc 7e2b624896 user32/tests: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:13 +01:00
Alexandre Julliard 537877adae user32: Move handling of listbox sizes for Win 3.1 apps to the 16-bit code. 2009-12-24 21:09:17 +01:00
Alexandre Julliard 5d92931933 user32: Use a standard critical section instead of a syslevel for the USER lock. 2009-12-24 17:42:19 +01:00
Alexandre Julliard 8aa83d326a user32: Make user.exe into a stand-alone 16-bit module. 2009-12-24 12:15:12 +01:00
Alexandre Julliard 4b4b6a48cb user32: Use the wait message handler for the yield in PeekMessageW too. 2009-12-24 12:08:02 +01:00
Alexandre Julliard b33c5f163a user32: Add a WoW wrapper for message waiting to allow releasing the Win16 lock in the 16-bit code. 2009-12-24 12:07:44 +01:00
Alexandre Julliard 2ea73fd709 user32: Remove the no longer needed WIN_ISDIALOG flag. 2009-12-23 21:13:58 +01:00
Alexandre Julliard 5e640271f2 user32: Remove the no longer used WIN_ISWIN32 flag. 2009-12-23 21:10:59 +01:00
Alexandre Julliard da57abcb02 user32: Move a few 16-bit stubs to user16.c. 2009-12-23 19:49:27 +01:00
Alexandre Julliard cf81d0f0f9 user32: Remove remaining calls to internal 32-bit functions from msg16.c. 2009-12-23 19:45:41 +01:00
Alexandre Julliard b63d0e19ed user32: Replace spy functions by a simple trace in 16-bit code. 2009-12-23 19:45:03 +01:00
Alexandre Julliard a0f9da117a user32: Remove some redundant 16-bit message traces. 2009-12-23 19:35:56 +01:00
Alexandre Julliard b201a41edf user32: Export the WIN_GetFullHandle function through the WoW handlers. 2009-12-23 19:34:58 +01:00
Alexandre Julliard eb36bb2e47 user32: Export DIALOG_get_info and DIALOG_DoDialogBox through the WoW handlers. 2009-12-23 19:34:41 +01:00
Alexandre Julliard 7f11441af9 user32: Duplicate DIALOG_Enable/DisableOwner implementation on the 16-bit side. 2009-12-23 19:33:26 +01:00
Alexandre Julliard ecca543ff2 user32: Don't store the 16-bit hook info in the 32-bit thread queue structure. 2009-12-23 14:27:31 +01:00
Alexandre Julliard 1bee9f4f71 user32: Make HOOK_IsHooked function static. 2009-12-23 14:27:31 +01:00
Alexandre Julliard 83b66549da user32: Get rid of 16-bit handles in the driver clipboard interface. 2009-12-23 14:27:31 +01:00
Alexandre Julliard 3313c40b7c user32: Reimplement 16-bit clipboard functions on top of the 32-bit ones. 2009-12-23 14:27:31 +01:00
Alexandre Julliard ffe9ace917 user32/tests: Fix some last error checks for WoW64. 2009-12-23 14:27:31 +01:00
Alexandre Julliard 388814dfa9 user32: Avoid accessing the window structure directly in Get/SetWindowLong16. 2009-12-23 14:27:29 +01:00
Alexandre Julliard 4e343b6f3a user32: Avoid accessing the window structure directly in DispatchMessage16. 2009-12-23 14:27:28 +01:00
Alexandre Julliard 73cf431aac user32: Get rid of support for extracting icons from builtin dlls.
We now have fake dll files for all dlls, the icons can be loaded from there.
2009-12-23 14:27:22 +01:00
Alexandre Julliard 2919c49d7f user32: Don't cache 16-bit instance resources on the 32-bit side. 2009-12-23 14:26:51 +01:00
Alexandre Julliard cecb3a993c user32: Allocate user handles for cursors/icons when we don't have 16-bit support. 2009-12-22 17:35:41 +01:00
Alexandre Julliard 0f511f3c8e user32: Don't assume global handles in CopyIcon. 2009-12-22 17:27:59 +01:00
Alexandre Julliard b36ca48608 user32: Call the cursor/icon handle allocation functions through the WoW handlers table. 2009-12-22 17:27:57 +01:00
Alexandre Julliard 0280f058f9 user32: Add wrapper functions for manipulation of cursor/icon handles. 2009-12-22 17:27:25 +01:00
Alexandre Julliard 00e75f2b9e user32: Reimplement MENU_FindSubMenu on the 16-bit side using only exported functions. 2009-12-22 17:00:12 +01:00
Alexandre Julliard b615656f00 user32: Get rid of the 16-bit dialog heap.
Edit controls don't allocate memory on the 16-bit heap anyway.
2009-12-22 15:35:15 +01:00
Alexandre Julliard 009badeb32 user32: Delay creation of the 16-bit dialog info structure until the window is created.
This mirrors the behavior of the 32-bit side.
2009-12-22 15:34:19 +01:00
Alexandre Julliard ce05f49843 user32: Avoid including winuser16.h in 32-bit files. 2009-12-22 13:48:24 +01:00
Alexandre Julliard df3e5a8762 user32: Reimplement MapWindowPoints16 and move it to wnd16.c. 2009-12-22 13:48:24 +01:00
Alexandre Julliard 1d1f8e2a2c user32: Move DestroyIcon32 implementation to user16.c. 2009-12-22 13:48:19 +01:00
Alexandre Julliard 0fbe20a254 user32: Move freeing of a 16-bit module's classes to wnd16.c. 2009-12-22 12:33:33 +01:00
Alexandre Julliard e3bcc11beb user32: Move freeing of a 16-bit module's icons to user16.c. 2009-12-22 12:16:24 +01:00
Alexandre Julliard d5b270eadd user32: Reimplement loading of 16-bit cursors and icons using 16-bit resource functions. 2009-12-22 12:14:46 +01:00
Alexandre Julliard 5a35c490a1 user32: Always return the actual pointer instead of a winproc handle in WINPROC_GetProc16. 2009-12-22 12:12:36 +01:00
Alexandre Julliard 3806f9aee9 user32: Move a number of 16-bit cursor/icon functions to user16.c. 2009-12-21 15:36:52 +01:00
Alexandre Julliard 671b4d129d user32: Get rid of the CURSORICON_Copy internal function. 2009-12-21 15:36:52 +01:00
Alexandre Julliard 7de210fb5c user32: Reimplement CopyIcon16/CopyCursor16 using CreateCursorIconIndirect16. 2009-12-21 15:36:52 +01:00
Alexandre Julliard 001abc3c62 user32: Use CreateIconIndirect to implement CreateCursor. 2009-12-21 15:36:52 +01:00
Mike Kaplinskiy 075a1e0e4d user32: Fix color mask handling in CreateIconIndirect. 2009-12-21 15:01:25 +01:00
Michael Stefaniuc 6c7c2401ad user32/tests: Don't cast NULL to an integer type. 2009-12-21 15:01:25 +01:00
Alexandre Julliard 8e1bd0c893 user32: Fix the string style check for comboboxes. 2009-12-21 15:01:22 +01:00
Alexandre Julliard cb060d6449 user32: Support calling a 32-bit procedure even without a corresponding thunk in CallWindowProc16. 2009-12-21 15:01:02 +01:00
Alexandre Julliard ce50559013 user32: Send all CreateWindow calls through the WoW wrapper to allow mapping 16-bit instances. 2009-12-21 15:00:35 +01:00
Alexandre Julliard 25d7e0b968 user32: Move wsprintf16 to user16.c. 2009-12-18 12:44:26 +01:00
Alexandre Julliard 77ab435402 user32: Make WINPROC_AllocProc take a unicode flag for consistency with the other winproc functions. 2009-12-18 12:41:59 +01:00
Alexandre Julliard d081a7352c user32: Simplify window procedure allocation for the builtin classes. 2009-12-18 12:39:13 +01:00