Commit Graph

1371 Commits

Author SHA1 Message Date
Alexandre Julliard 26e47761c9 user: Reuse the fast W->A function to implement the 32W->16 case.
Get rid of the no longer needed 32W->16 mapping functions.
2006-05-23 20:33:14 +02:00
Alexandre Julliard 22a9d18bff user: Use winproc callbacks for the remaining 16-bit messaging functions. 2006-05-23 20:15:17 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Dmitry Timoshkov 3b95aad505 user/tests: Don't generate a mouse click message in mouse_ll_global_thread_proc.
Windows doesn't like when a thread plays games with the focus, that
leads to all kinds of misbehaviours and failures to activate a
window. So, better don't generate a mouse click message in
mouse_ll_global_thread_proc.
2006-05-23 12:45:54 +02:00
Dmitry Timoshkov c3ba7eecdb user/tests: Add lparam to all HCBT_MINMAX hook messages. 2006-05-23 12:44:50 +02:00
Alexandre Julliard 44691723eb user: Added A<->W mapping for WM_GETDLGCODE. 2006-05-22 12:29:02 +02:00
Alexandre Julliard fcce047f61 user: Get rid of the WINPROC_Map/UnmapMsg32ATo32W functions. 2006-05-20 20:02:10 +02:00
Alexandre Julliard 3d92de45c4 user: Added fast A->W mapping for the remaining messages. 2006-05-20 19:59:19 +02:00
Alexandre Julliard 0eec70f410 user: Added fast A->W mapping for WM_GETTEXTLENGTH and related messages. 2006-05-20 19:58:38 +02:00
Alexandre Julliard 34610d1150 user: Added fast A->W mapping for WM_CHAR and related messages. 2006-05-20 18:57:36 +02:00
Alexandre Julliard 3f4a2a5bfc user: Added fast A->W mapping for EM_GETLINE. 2006-05-20 18:57:11 +02:00
Alexandre Julliard 19b428755c user: Added fast A->W mapping for LB_GETTEXT and CB_GETLBTEXT. 2006-05-20 18:55:34 +02:00
Alexandre Julliard 4dd1cce203 user: Added fast A->W mapping for WM_SETTEXT and related messages. 2006-05-20 18:54:25 +02:00
Alexandre Julliard 91b278b811 user: Added fast A->W mapping for WM_GETTEXT and WM_ASKCBFORNAME. 2006-05-20 18:53:16 +02:00
Alexandre Julliard 3e195d4382 user: Added fast A->W mapping for WM_MDICREATE. 2006-05-20 18:49:40 +02:00
Alexandre Julliard 899133d7f7 user: Added fast A->W mapping for WM_CREATE and WM_NCCREATE. 2006-05-20 18:48:04 +02:00
Alexandre Julliard b73c5e895f user: Get rid of the MSGPARAMS16 structure. 2006-05-20 16:36:56 +02:00
Alexandre Julliard 917d03bd04 user: Make a lot of winproc functions static. 2006-05-20 16:36:52 +02:00
Alexandre Julliard ca570aade2 user: Call the A version of message functions from 16-bit code.
This avoids having to export too many different message translation
functions.
2006-05-20 16:35:44 +02:00
Alexandre Julliard dc61a4bc65 user: Use winproc callbacks instead of message map/unmap for 16-bit hooks. 2006-05-20 16:34:14 +02:00
Alexandre Julliard 58a03a103d user: Use winproc callbacks instead of message map/unmap in SendMessage16. 2006-05-20 16:32:45 +02:00
Alexandre Julliard 396ff0007c user: Use a winproc callback instead of a message map/unmap in SendMessageTimeoutA. 2006-05-20 16:31:27 +02:00
Alexandre Julliard 521ea482aa user: Store the destination thread id in the send_message_info structure. 2006-05-20 16:30:55 +02:00
Alexandre Julliard 4316025294 user: Convert the 16-bit winproc functions to use a callback pointer. 2006-05-18 19:44:30 +02:00
Alexandre Julliard 6456317153 user: Convert the other winproc 32-bit functions to use a callback pointer. 2006-05-18 19:09:32 +02:00
Alexandre Julliard d1a5d5ae98 user: Make WINPROC_CallProc32WTo32A take a callback function pointer.
This way it doesn't need to know about dialog procedures. Also renamed
it to WINPROC_CallProcWtoA.
2006-05-18 18:05:01 +02:00
Alexandre Julliard c16ca72210 user: Fixed a broken trace in the dialog test. 2006-05-18 16:32:49 +02:00
Alexandre Julliard 2ff505c2cf user: Added helper functions for A<->W conversion of single characters. 2006-05-18 16:31:36 +02:00
Alexandre Julliard 3fe201c308 user: Simplify 16-bit mappings of the WM_GETDLGCODE message. 2006-05-18 16:30:56 +02:00
Alexandre Julliard 6efb68cb0e user: Unify the mapping of listbox and combobox messages. 2006-05-18 12:43:40 +02:00
Alexandre Julliard 7033649c4f user: Get rid of the WINPROC_MapMsg32WTo32A function. 2006-05-18 12:29:19 +02:00
Alexandre Julliard f6ba476d91 user: Added fast W->A mapping for WM_IME_CHAR. 2006-05-18 12:28:07 +02:00
Alexandre Julliard 6c4082df74 user: Added fast W->A mapping for WM_CHAR and related messages. 2006-05-18 12:27:27 +02:00
Alexandre Julliard dd442faa2e user: Added fast W->A mapping for EM_GETLINE. 2006-05-18 12:20:14 +02:00
Alexandre Julliard b34521c43d user: Added fast W->A mapping for LB_GETTEXT and CB_GETLBTEXT. 2006-05-18 12:17:44 +02:00
Alexandre Julliard 96a430f530 user: Added fast W->A mapping for LB_ADDSTRING and related messages. 2006-05-18 11:46:07 +02:00
Alexandre Julliard d415df99bc user: Added fast W->A mapping for WM_MDICREATE. 2006-05-18 11:37:41 +02:00
Alexandre Julliard bba0159910 user: Added fast W->A mapping for WM_SETTEXT and related messages. 2006-05-18 11:29:31 +02:00
Alexandre Julliard f793b818a4 user: Added fast W->A mapping for WM_GETTEXT and WM_ASKCBFORNAME. 2006-05-18 11:22:55 +02:00
Alexandre Julliard cb36cbd0aa user: Added helper functions for buffer management in WINPROC_CallProc32WTo32A.. 2006-05-18 11:03:30 +02:00
Alexandre Julliard de125e656e user: Merged WINPROC_CallProc32WTo32A_fast into WINPROC_CallProc32WTo32A. 2006-05-18 11:02:28 +02:00
Eric Pouech b980bbec17 user32: Allow interprocess WM_NCPAINT messages when wParam is 0 or 1. 2006-05-18 10:47:23 +02:00
Alexandre Julliard c1c5f14839 user: The result for dialog procedures is stored in DWLP_MSGRESULT.
So we have to access it using Get/SetWindowLong when unmapping the
message results (based on a patch by Troy Rollo).
2006-05-17 20:53:51 +02:00
Alexandre Julliard cb3f3afca4 user: Remove unreachable code in DEFDLG_Proc. 2006-05-17 19:30:59 +02:00
Alexandre Julliard 0667292eb5 user: Support storing multiple winprocs in a single winproc handle.
Allows to remove special cases for window classes being Ascii and
Unicode at the same time.
2006-05-17 13:55:36 +02:00
Alexandre Julliard 2a809c195d user: Allocate 16-bit thunks separately from the window proc structure.
Also make sure the thunk memory block has execute permissions.
2006-05-17 13:51:37 +02:00
Dmitry Timoshkov f839a179a2 user32: Make all the recently added ShowWindow tests pass in Wine. 2006-05-17 10:42:17 +02:00
Dmitry Timoshkov 97c111d0d0 user32: Add more ShowWindow tests.
Move ShowWindow tests for children with an invisible parent into a
separate test, add more ShowWindow tests. The tests show that an
assumption in dlls/x11drv/winpos.c that SetWindowPos should not be
called on a child with an invisible parent is not always true.
2006-05-16 12:53:50 +02:00
Francois Gouget e739ba9551 Assorted spelling fixes. 2006-05-15 15:05:05 +02:00
Alexandre Julliard 6ebbfd4959 user: Prefer SendMessageW over SendMessageA where possible. 2006-05-10 21:33:33 +02:00
Alexandre Julliard a9c5fd2612 user: Moved Get/SetClassLong16 to wnd16.c. 2006-05-10 17:08:05 +02:00
Alexandre Julliard 56220c246b user: Have WINPROC_GetProc16 allocate a new winproc if necessary. 2006-05-10 16:55:55 +02:00
Alexandre Julliard 99dc29d926 user: Store the pointer to the winproc in the thunk structure.
This allows simplifying the handling of 16-bit thunks.
2006-05-10 15:50:18 +02:00
Alexandre Julliard c8ce866a8a user: Make the WINDOWPROCTYPE enum private to winproc.c. 2006-05-10 13:34:45 +02:00
Alexandre Julliard 4cc498f880 user: Replace WINPROC_GetProcType by WINPROC_IsUnicode. 2006-05-10 13:27:21 +02:00
Alexandre Julliard a9e5e94b0d user: Replace WINDOWPROCTYPE by a unicode flag in WINPROC_GetProc/AllocProc. 2006-05-10 13:20:34 +02:00
Alexandre Julliard ef74193949 user: Add a WIN_ISUNICODE flag instead of relying on the winproc type.
Also fix the initial value for the server is_unicode flag.
2006-05-10 12:55:36 +02:00
Alexandre Julliard 397bf3c2b1 user: Added specific winproc functions for calling dialog procedures. 2006-05-09 20:33:11 +02:00
Alexandre Julliard c1f3adc4a4 user: Use handles for 32-bit window procedures instead of pointers into the bss segment. 2006-05-09 20:24:19 +02:00
Alexandre Julliard cd0d7529de user: Always set the correct class winproc depending on the A/W type. 2006-05-09 20:00:40 +02:00
Alexandre Julliard 9d4bf4914f user: Remove some redundant NULL pointer checks. 2006-05-09 19:55:27 +02:00
Alexandre Julliard 0b7dcd2418 user: Make sure to always pass a 16-bit pointer to CallWindowProc16. 2006-05-09 19:55:20 +02:00
Alexandre Julliard 41b5e687fd user: Separate the 16 and 32-bit versions of WINPROC_AllocProc. 2006-05-09 19:55:05 +02:00
Alexandre Julliard 4c40190620 user: Separate the 16 and 32-bit versions of WINPROC_GetProc. 2006-05-09 18:40:46 +02:00
Alexandre Julliard 5326e304d0 user: Fixed offset check for the DWLP_DLGPROC case in SetWindowLong. 2006-05-09 18:35:50 +02:00
Alexandre Julliard a95c58b871 user: Separate Get/SetWindowLong16 implementation from the 32-bit one. 2006-05-09 18:34:38 +02:00
Thomas Kho b833860579 user: Fix behavior when selecting disabled menu items. 2006-05-08 15:15:19 +02:00
Thomas Kho 76104e1ccc user: Allow menu WndProc to recognize VK_[LR]MENU. 2006-05-08 15:12:33 +02:00
Thomas Kho bde9ca2b63 user: Extend menu conformance test. 2006-05-08 15:10:41 +02:00
Hwang YunSong f6f7eddcfe user32: Updated Korean resource. 2006-05-08 14:50:03 +02:00
Marcus Meissner cf0704bd88 user32: Added tests for CharUpper and CharLower. 2006-05-08 14:47:14 +02:00
Juris Smotrovs 256d0c0b48 user: Test cases demonstrating position changes for MDI children. 2006-05-07 10:01:06 +02:00
Vitaly Lipatov 959a84208a user: tests: Change INPUT to TEST_INPUT, fix union usage. 2006-05-05 18:01:32 +02:00
Alexandre Julliard bace1ef6f0 user: Don't return CLASS_OTHER_PROCESS when modifying a class.
Based on a patch by qingdoa daoo.
2006-04-20 19:50:01 +02:00
Michael Kaufmann a1c98ea8bb user: Add SS_NOPREFIX to the text style in message boxes. 2006-04-20 11:33:58 +02:00
Michael Kaufmann 01bf37d810 user: Find popup menus by ID.
- Find menus by ID: Proper fallback to popup menus.
- Use the menu ID, not the handle for the fallback.
- Save the fallback menu's position.
2006-04-19 12:56:27 +02:00
Thomas Kho 0e81484c45 x11drv: Properly handle VK_LMENU input. 2006-04-14 19:35:05 +02:00
Rein Klazes 7a560493fe user: Fix dereferencing a potential NULL pointer. 2006-04-13 11:27:46 +02:00
Alexandre Julliard 64f17bb3ef user: Use a smaller window for the menu test. 2006-04-10 20:21:19 +02:00
Rein Klazes b72c36fef8 user: Add an missing element to the hbmmenus array. 2006-04-08 15:53:10 +02:00
Alexandre Julliard 53ad4cbb57 user: Fixed PrivateExtractIcons to pass the tests when using native dlls. 2006-04-04 18:58:48 +02:00
Mike McCormack ba41900d49 user32: More informative message on failure to load x11drv. 2006-04-03 21:35:35 +02:00
Antonio Codazzi ee01bd0efb user32: Esperanto language update. 2006-04-03 11:47:57 +02:00
Alexandre Julliard 510a6f70a8 user/tests: Flush events before running the keyboard event test. 2006-03-31 12:51:54 +02:00
Alexandre Julliard 6280ab29e6 user: Only wait for sent messages in wait_message_reply. 2006-03-30 16:23:56 +02:00
Alexandre Julliard 4d3282a5fb user: Don't send WM_PARENTNOTIFY to the desktop window. 2006-03-30 13:22:27 +02:00
Mike McCormack 8398f6e9e9 user32: Fix SPI_GETLISTBOXSMOOTHSCROLLING, and implement SPI_SETLISTBOXSMOOTHSCROLLING. 2006-03-29 13:37:00 +02:00
Mike McCormack 964509df9c user32: Implement SPI_[GS]ETUIEFFECTS. 2006-03-29 13:36:48 +02:00
Mike McCormack fc9d36e4b7 user32: Implement SPI_[GS]ETTOOLTIPANIMATION and SPI_[GS]ETTOOLTIPFADE. 2006-03-29 13:36:29 +02:00
Mike McCormack 9d04454268 user32: Implement SPI_[GS]ETMENUANIMATION and SPI_[GS]ETSELECTIONFADE. 2006-03-29 13:36:18 +02:00
Mike McCormack 9786252186 user32: Implement SystemParametersInfo(SPI_[SG]ETCURSORSHADOW). 2006-03-29 13:36:07 +02:00
Mike McCormack 3244096d2e user32: Implement SystemParametersInfo(SPI_[GS]ETCOMBOBOXANIMATION). 2006-03-29 13:35:53 +02:00
Mike McCormack cd37125f7a user32: Implement SPI_[SG]ETCARETWIDTH. 2006-03-29 13:31:54 +02:00
Mike McCormack 4ce100aa64 user32: Send a fake mouse movement event after releasing capture. 2006-03-27 21:41:09 +02:00
Alexandre Julliard 90af5a0d17 server: Connect to the window station and desktop specified by startup info.
If window station and desktop aren't inherited from the parent, don't
connect to them from the server, but from the USER init code where we
can get the proper values from the startup info structure.
2006-03-27 12:57:17 +02:00
Alexandre Julliard 9873494ced server: Class and global atoms should not be local to a window station. 2006-03-22 22:13:40 +01:00
Huw Davies c4b44245fb user32: Only adjust the margins if the edit control is above a certain size. 2006-03-22 21:37:10 +01:00
Mike McCormack d5816d2202 Remove some unnecessary uses of windowsx.h 2006-03-18 18:04:51 +01:00
Alexandre Julliard d8568e90be user/tests: Try harder to flush X events before running tests. 2006-03-15 12:11:02 +01:00
Alexandre Julliard a32b3e86ec user: Support packing/unpacking the WM_DEVICECHANGE message. 2006-03-09 22:48:37 +01:00