Commit Graph

1355 Commits

Author SHA1 Message Date
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
Mike McCormack abf3a570af user: The height of a ListBox item can be no more than MAXBYTE. 2006-03-09 12:51:10 +01:00
Alexandre Julliard 1a4f6e579b user: Launch explorer to manage the desktop window. 2006-03-07 11:42:35 +01:00
Alexandre Julliard 4be3d4c12b server: Return real parent and owner in the create_window request.
Remove computing of parent and owner handles on the client side.
2006-03-06 15:00:37 +01:00
Alexandre Julliard f874d20f54 user: Allow creating windows of the desktop class. 2006-03-06 12:44:38 +01:00
Alexandre Julliard 70d42f9d43 user: Allow some Wine internal messages to act on the desktop window. 2006-03-06 12:37:13 +01:00
Byeong-Sik Jeon bd82e82993 user32: Fix the default height for CJK fonts. 2006-03-04 16:12:51 +01:00
Vitaly Lipatov e96f03a1d7 user: Fix uninitialized rectangle in menu arrow painting. 2006-03-02 15:50:07 +01:00
Rein Klazes cc5b5cea96 user32: Fix handling of '\b' right flush character in menus.
- do not add extra space; modify the tests to confirm this;
- right flush to the menu tab stop, not to the menu border;
- small fixes to the menu tab stop calculation.
2006-03-01 20:40:17 +01:00
Jason Edmeades 24dc3de4c9 user32: Ensure VK_UP displays the popup menu for the selected item if
the popup menu is not visible
2006-03-01 12:39:09 +01:00
Francois Gouget 4aa6418d51 Assorted spelling fixes. 2006-02-24 21:10:03 +01:00
Francois Gouget 29b5c987d5 user32: Handle WM_ENDSESSION in DefWinProc().
DefWinProc() should call PostQuitMessage() on WM_ENDSESSION if the
shutdown is proceeding.
2006-02-24 21:07:08 +01:00
Francois Gouget feb153c649 user32: 0 vs. INFINITE timeout.
It is 0 that denotes an infinite timeout for the wine server now, not
-1 (INFINITE).
Document put_message_in_queue()'s check for INFINITE (done for
backwards compatibility with Windows 9x).
2006-02-24 21:06:50 +01:00
Francois Gouget 6edd77228d user: Fix ExitWindows().
- Use 0 to get an infinite timeout with SendMessageTimeoutW().
- Use SendMessageTimeoutW() to send the WM_ENDSESSION messages too so
we don't get stuck if a process is hung.
- Only send WM_ENDSESSION to windows that received a
WM_QUERYENDSESSION message. Also better mimick the Windows behavior.
2006-02-24 21:06:23 +01:00
Francois Gouget 1f297893e5 user: Give meaningful names to the structures used to transfer
information to the test threads.
2006-02-24 11:22:28 +01:00
Rein Klazes 3a0b40fffb menu: Take the MF_DEFAULT flag in to account in MENU_CalcItemSize. 2006-02-20 20:32:02 +01:00
Rein Klazes 1d0ec411d4 user: Add conformance tests for menu item drawing. 2006-02-20 12:00:39 +01:00