Commit Graph

916 Commits

Author SHA1 Message Date
Jason Edmeades
ca52392bf1 Added test case for infinite loops on RDW_REDRAWNOW. 2005-05-31 13:39:24 +00:00
Alexandre Julliard
db412aaf60 Added a from_child parameter to the get_update_region request to allow
restarting the search from a given child, in order to avoid looping
forever on windows that don't repaint correctly.
2005-05-31 13:37:16 +00:00
Kouji Sasaki
108390a3b4 Corrected the determination of capturing inside EDIT_WM_MouseMove
function.
2005-05-30 11:09:33 +00:00
Richard Cohen
980f1d675e Fix some obsolete comments 2005-05-27 19:26:34 +00:00
Alexandre Julliard
6bbd63e87f Don't fetch the window class name if it's not needed to compute the
message name.
2005-05-26 12:26:23 +00:00
Alexandre Julliard
0260e2b543 Moved functions from windows/user.c to more appropriate places, and
get rid of that file.
2005-05-25 18:42:37 +00:00
Alexandre Julliard
03f6f6f7cc Moved a couple of 16-bit functions to dlls/user/user16.c. 2005-05-25 18:08:02 +00:00
Rein Klazes
67747801cd Use the screen resolution to convert from twips (1440 twips is one
inch) to pixels.
2005-05-25 18:01:15 +00:00
Alexandre Julliard
0844afc310 Moved the syscolor functions to dlls/user/sysparams.c. 2005-05-25 17:56:35 +00:00
Vitaly Lipatov
bd8026ca9d Add BUTTON_NOTIFY_PARENT macro (as in edit.c).
Notify parent about WM_KILL/SETFOCUS events.
2005-05-24 10:10:42 +00:00
Richard Cohen
fbb3ba488f Fix off-by-one in menu height calculation (& therefore
AdjustWindowRect) + test.
2005-05-24 09:51:20 +00:00
Alexandre Julliard
aebb745488 Comment out stub WEP entry points so that we can call WEP for builtin
dlls too.
2005-05-23 10:12:26 +00:00
Dimi Paun
8ad6c25539 Remove LOCAL_*() calls from USER, use Local*16() instead. 2005-05-19 11:12:57 +00:00
Alexandre Julliard
90dd7f0603 Removed implementation of LoadDIBIconHandler16 and
LoadDIBCursorHandler16 since they are no longer used, and stop
exporting NE_DefResourceHandler.
2005-05-18 15:37:41 +00:00
Dimi Paun
402aaa8edb Use standard Local*16() functions instead of LOCAL_*() ones. 2005-05-17 14:32:02 +00:00
Alexandre Julliard
e4412a618c Removed the special casing of kernel32 and ntdll for the TEB
definition in winternl.h.
2005-05-16 17:52:10 +00:00
Alexandre Julliard
827a69f8ca Avoid referencing stackframe.h from outside kernel32. 2005-05-16 14:20:16 +00:00
Michael Stefaniuc
d5e8a65f96 Add some SystemParametersInfo SPI_* defines. 2005-05-16 08:45:15 +00:00
Paul Vriens
4cc3b97ec1 Check for a NULL pointer in GetWindowTextA/W. 2005-05-14 18:49:19 +00:00
Alexandre Julliard
d876893fc1 Store the 16-bit stack pointer in the WOW32Reserved TEB field. 2005-05-14 12:16:46 +00:00
Alexandre Julliard
7bb88af5a2 Process the pending expose events on RDW_UPDATENOW before doing the
redraw_window server call so that the parent windows get properly
validated if necessary.
2005-05-13 14:03:06 +00:00
Dmitry Timoshkov
3f5990eb9a Avoid a crash in free_window_handle() on an invalid window handle. 2005-05-13 13:58:17 +00:00
Alexandre Julliard
9e73cdde39 Allow passing a string to the window property server requests instead
of an atom to avoid redundant server round-trips.
2005-05-11 19:01:10 +00:00
Alexandre Julliard
63342353bc Store a bitmap of active hooks on the client side to try to avoid
server calls for hooks that are not set.
2005-05-11 13:03:15 +00:00
Rein Klazes
1c5671df07 Multi column popup menus have 4 pixel space between the columns. With
conformance test.
2005-05-10 13:17:33 +00:00
Alexandre Julliard
34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard
90af05f060 Treat 0xffff the same as 0 for the handle generation field to avoid
sign extension problems.
2005-05-07 15:03:00 +00:00
Alexandre Julliard
d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Alexandre Julliard
c3116c5e61 Renamed ttydrv and x11drv to winetty.drv and winex11.drv respectively
to follow the namespace conventions and make it clear that they are
drivers and not dlls.
Moved the graphics driver configuration to HKLM\Software\Wine\Drivers.
2005-05-06 19:38:50 +00:00
Alexandre Julliard
ac0bf21abc Don't retrieve a window DC in GetUpdateRect if there is nothing to
erase, to avoid setting a null update region in an owned DC.
Avoid potential double delete of the update region on return from
send_erase.
2005-05-05 16:52:21 +00:00
Rein Klazes
aecbcac865 Add 16<->32 bit message mappings for WM_COPYDATA messages. 2005-05-05 16:43:17 +00:00
Ulrich Czekalla
4b13086685 Let the default winproc handle WM_MOUSEACTIVATE. 2005-05-04 09:45:33 +00:00
Mike McCormack
abe70f7648 Implemented GetLastInputInfo. 2005-04-28 12:04:14 +00:00
Alexandre Julliard
d3a195a66d Moved the USER syslevel to dlls/user/user_main.c.
Moved a bunch of stubs to dlls/user/misc.c.
2005-04-27 11:09:55 +00:00
Alexandre Julliard
6b4c02e57f Moved remaining messaging definitions to user_private.h and removed
message.h.
2005-04-27 10:23:24 +00:00
Alexandre Julliard
86be9f20da Removed the MESSAGEQUEUE structure, and store the corresponding
information directly in the TEB, in the Win32ClientInfo field.
2005-04-27 08:18:20 +00:00
Alexandre Julliard
b6f4eccdbd Moved some messaging and input functions to message.c and input.c
respectively.
2005-04-26 08:18:47 +00:00
Ulrich Czekalla
a800dfe52e SetParent should not remove menu from non-child windows. 2005-04-26 08:16:17 +00:00
Huw Davies
1fbea59ff2 The ansi version of CB_ADDSTRING shouldn't overwrite the string if
converting case.
2005-04-26 08:15:53 +00:00
Alexandre Julliard
40b7a50f8e Moved the ScrollWindow and ScrollDC functions to dlls/user/painting.c,
and removed windows/scroll.c.
2005-04-25 16:13:17 +00:00
Alexandre Julliard
172e731c0b Moved most files from the windows directory to dlls/user. 2005-04-25 11:33:34 +00:00
Alexandre Julliard
fc2bd2324e Handle posted internal messages directly in PeekMessageW to avoid
having to return them to the application.
Call NtYieldExecution for nicer behavior when PM_NOYIELD is not
specified.
2005-04-20 18:53:53 +00:00
Francois Gouget
3ef8c51c8a Tweak the API documentation to silence winapi_check warnings. 2005-04-20 15:18:42 +00:00
Alexandre Julliard
3e2f2a5265 Allow nested hardware message processing by storing a unique id in
every message and using it to manage the current queue position.
Better filtering of hardware messages to avoid returning messages that
have no chance to match the filter.
2005-04-20 13:03:59 +00:00
Francois Gouget
3b36eee083 Add trailing '\n's to ok() calls. 2005-04-19 09:48:44 +00:00
Jose Alonso
0e21f376da Change the order of DispatchMessage and message removal. 2005-04-19 09:47:02 +00:00
Peter Berg Larsen
102121993a Eliminate strncpy. Correct a \0 assingment to the modstr variable. 2005-04-18 15:37:15 +00:00
Peter Berg Larsen
6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Robert Shearman
95ebdc63c6 Add a test for a menu problem I found. 2005-04-14 13:57:27 +00:00
Robert Shearman
cec9e23cc3 Recalculate the menu on calling ModifyMenu so that the menu items are
shown at the correct width.
2005-04-14 13:56:29 +00:00