Commit Graph

1530 Commits

Author SHA1 Message Date
Andreas Mohr 90ce2c896f - Make int09 update the BIOS data segment's keyboard status flags
bytes, implement pause key handling.
- Let int16/02 read the keyboard status flags bytes instead of calling
  GetAsyncKeyState().
- Make the keyboard state buffer used for Get*Key*() reflect
  VK_L/RMENU properly.
- Small fixes.
2002-10-28 23:51:27 +00:00
Andreas Mohr 7370c2f3ac Make GetFreeSystemResources16 print its values on TRACE. 2002-10-28 20:12:11 +00:00
Michael Stefaniuc 95591a6e90 Some fixes for the compilation of the user dll with -DSTRICT. 2002-10-28 20:11:40 +00:00
Alexandre Julliard 48f860cbd9 Moved a few remaining 16-bit window functions to wnd16.c and moved it
to the C_SRCS16 sources.
2002-10-28 19:04:39 +00:00
Patrik Stridvall cf07e10017 Don't use wine/unicode.h in the header files, include it directly
where needed instead.
2002-10-23 20:20:59 +00:00
Alexandre Julliard f871f2d528 Store thread id instead of queue handle in timer structure. 2002-10-23 18:56:34 +00:00
Alexandre Julliard d8bbcb2f23 Implemented GetWindowTask16 on top of GetWindowThreadProcessId.
Removed no longer used hmemTaskQ field in WND structure.
2002-10-23 18:56:02 +00:00
Rein Klazes 402f2618ce MessageBoxIndirectW: call FindResourceEx with arguments in the right
order.
2002-10-23 18:45:46 +00:00
Dmitry Timoshkov 9abcad524c Restore setting of caption "Error". 2002-10-22 00:42:53 +00:00
Dmitry Timoshkov 2468f06fa5 Actually use language identifier. 2002-10-21 18:19:29 +00:00
Dmitry Timoshkov 01e82a4fdc Convert MessageBox family functions to unicode. 2002-10-19 19:18:19 +00:00
Alexandre Julliard 7521a42ed3 Changed the USER_HEAP_* macros to use HANDLEs instead of HANDLE16s. 2002-10-19 00:55:34 +00:00
Michael Stefaniuc 61d92562b9 Silence some warnings due to casts between pointer and integers of
different size.
2002-10-19 00:52:55 +00:00
Alexandre Julliard 0ccb9feadc Store the original GDI palette functions in pfnSelectPalette and
pfnRealizePalette so that USER doesn't have to import them.
2002-10-18 04:05:49 +00:00
Alexandre Julliard 011605edf3 Use the WOWHandle functions to convert between task handle and thread
id. Stop exporting TASK_GetPtr and THREAD_IdToTEB from kernel.
2002-10-17 18:26:53 +00:00
Alexandre Julliard 4f716155fc Fixed typo in EnumThreadWindows. 2002-10-17 18:21:29 +00:00
Alexandre Julliard 0ca051e555 Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Alexandre Julliard 11e3523949 Rewrote caret implementation to store the information in the server. 2002-10-17 01:24:33 +00:00
Michael Stefaniuc 9444dd2541 Compile fix when all handles are converted to a void*. 2002-10-15 21:00:05 +00:00
Alexandre Julliard 618c18417b Remove no longer used PERQUEUEDATA structure and functions. 2002-10-12 01:25:15 +00:00
Alexandre Julliard a9e8f59c95 Moved mouse capture handling into the server. 2002-10-12 01:24:37 +00:00
Alexandre Julliard 0b850f9f74 Reimplemented GetLastActivePopup to get the information from the
server.
2002-10-12 01:23:05 +00:00
Alexandre Julliard 5030bda77c Reimplemented Get/SetActiveWindow, Get/SetFocus and
Get/SetForegroundWindow by storing the information in the
server. Implemented correct inter-process window activation.
2002-10-11 23:41:06 +00:00
Alexandre Julliard ab5063b217 Added server-side infrastructure for the thread input structure.
Reimplemented AttachThreadInput() and added GetGUIThreadInfo().
2002-10-11 18:50:15 +00:00
Michael Stefaniuc bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Andrew M. Johnston 3e7b710446 Removed reference to SCROLL_SetNCSbState. 2002-10-09 20:40:33 +00:00
Alexandre Julliard 54f228733a Added process_id_t and thread_it_t types to the server interface
instead of using void*, and removed a number of type casts.
2002-10-03 19:54:57 +00:00
Alexandre Julliard c401270d60 Fixed GDI heap selector handling broken by previous change. 2002-10-02 23:47:14 +00:00
Dimitrie O. Paun 75b31e3e32 Fix Validate{Rect,Rgn} prototypes. 2002-10-02 19:45:48 +00:00
Alexandre Julliard 9842b19931 Make sure things still work if 16-bit dlls cannot be loaded. 2002-10-02 02:36:20 +00:00
Guy L. Albertelli 05638fd833 - The TTM_ message needed to be in correct order.
- Added TTM_GETBUBBLESIZE.
2002-09-30 18:52:52 +00:00
Michael Stefaniuc 2d0acacb45 Moved some 16-bit functions from windows/cursoricon.c to
dlls/user/user16.c.
2002-09-27 22:04:54 +00:00
Alexandre Julliard 02b8cb7adf Added missing WIN_ReleasePtr (spotted by Dmitry Timoshkov). 2002-09-25 03:25:43 +00:00
Alexandre Julliard 7dafa61700 Fixed a number of bugs in the handling of window parent and owner and
added a regression test (based on the work of Bill Medland).
2002-09-25 00:21:56 +00:00
Patrik Stridvall b5bb32c09a Fixed some issues found by winapi_check. 2002-09-24 18:29:39 +00:00
Dimitrie O. Paun 9dd1279a82 - Remove export of DRAG_QueryUpdate from USER.
- Get rid of associated 16 bit code from x11drv.
- Simplifications, cleanups, etc.
2002-09-23 20:56:37 +00:00
Dimitrie O. Paun 9ffa91ef12 Have USER deal with the caret when scrolling a window. 2002-09-20 19:35:54 +00:00
Francois Gouget bba4bb1bc4 Remove references to PCVOID and LPUINT.
Remove types that don't exist on Windows.
2002-09-17 01:35:09 +00:00
Michael Stefaniuc 9d2b862883 Convert HRSRC to a void*. 2002-09-16 22:47:05 +00:00
Patrik Stridvall a62a26ced0 Fixed some issues found by winapi_check. 2002-09-09 19:26:55 +00:00
Michael Stefaniuc 2247af320d - Rename WIN_Handle16 to HWDN_16 and make it a macro.
- Prepare user.dll for the change of HWND to a void*.
2002-09-04 19:37:01 +00:00
Patrik Stridvall 51e6c0ccb1 MSVC compatibility fixes. 2002-08-31 19:04:14 +00:00
Alexandre Julliard 3fa613cf61 Moved internal context macros out of winnt.h.
Added SET_AX etc. macros to avoid non-portable pointer manipulations.
2002-08-31 18:47:00 +00:00
Per Nystrom 4f03101d8b Set the flag in GetCursorInfo. 2002-08-29 23:59:17 +00:00
Alexandre Julliard 5f5bdd4a94 Create the scratch region before copying if necessary. 2002-08-29 02:48:09 +00:00
Juergen Schmied eb2db1a4be Support for HWND_MESSAGE. 2002-08-29 01:49:46 +00:00
Per Nystrom e765bc1a41 Implemented GetCursorInfo. 2002-08-28 23:38:10 +00:00
Alexandre Julliard aface53759 Fixed a number of dll separation issues. 2002-08-28 22:35:23 +00:00
Alexandre Julliard d4304f8b54 Tweak position of system menu small icon. 2002-08-28 22:25:12 +00:00
Dmitry Timoshkov b1f2325930 Correct some of the system metrics to more closely match Windows
values.
2002-08-28 00:54:53 +00:00
Ulrich Czekalla 651c5988aa - Add a max wait time for selection notifies.
- Add new function to the x11drv to get clipboard format names of
  externally registered formats.
- When a clipboard format is registered we should pass the global atom
  value as the format identifier.
- Clipboard format name should be treated as case insensitive.
- Serialize metafile bits when requested via a clipboard selection.
- Return format ids for native formats when mapping from properties.
2002-08-27 19:19:49 +00:00
Dmitry Timoshkov 85350c8c95 Dump SetWindowPos flags. 2002-08-27 01:14:44 +00:00
Patrik Stridvall fc34344d14 Fixed some issues found by winapi_check. 2002-08-20 00:20:43 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Aric Stewart 5501f127df Very partial implementation of BroadcastSystemMessageA. 2002-08-16 23:29:48 +00:00
Michael Stefaniuc c018ef6b6b Convert HKL to a void*. 2002-08-16 01:34:19 +00:00
Alexandre Julliard 526531eb6c Create at most one glue file for a single dll.
Avoid the intermediate .tmp.o file when building programs.
2002-08-01 18:36:58 +00:00
Michael Stefaniuc 37553b7a13 - Converted HHOOK to a void*.
- Changed the internal HOOK_* functions to pass only HHOOK's between
  them.
- Fixed wrong HHOOK <-> HANDLE16 conversions.
2002-07-28 17:42:05 +00:00
Alexandre Julliard 98acc0fcbf RDW_FRAME should be RDW_NOFRAME when validating (spotted by Duane
Clark).
2002-07-26 00:09:37 +00:00
Andreas Mohr 7df2d9f187 Misc spelling fixes. 2002-07-24 19:02:50 +00:00
Andreas Mohr 0477d7dea5 - Add message mapping for tooltips.
- Use DEBUG_SPY define instead of commenting out TRACEs.
2002-07-20 20:07:27 +00:00
Jon Griffiths 273f86fc74 Stubs/docs for NotifyWinEvent,SetWinEventHook,IsWinEventHookInstalled,
UnhookWinEvent.
2002-07-10 23:20:49 +00:00
Ryan Cumming 21a2b606fe Make LockWindowUpdate return more Windows-like values. 2002-07-09 01:57:28 +00:00
Alexandre Julliard a4f19d031c Moved MsgWaitForMultipleObjects call out of the window lock. 2002-07-05 01:23:31 +00:00
Alexandre Julliard f5e5fcac97 Tried to make IsDialogMessageW more compatible. Changed
IsDialogMessage16/A to call IsDialogMessageW.
2002-07-05 00:23:02 +00:00
Gregg Mattinson 7c4cb515b6 Cast void* to char* for pointer arithmetic. 2002-07-03 21:10:43 +00:00
Alexandre Julliard 3c43df8aa0 Release the Win16 lock before waiting in MsgWaitForMultipleObjectsEx. 2002-07-01 18:20:16 +00:00
Alexandre Julliard bb05bb62ee Check for valid dialog info before using it. 2002-06-28 23:32:29 +00:00
Philipp Wollermann a32dc91711 Implemented SPI_GETDESKWALLPAPER action, fixed SPI_SETDESKWALLPAPER. 2002-06-28 23:27:37 +00:00
Guy L. Albertelli 7c4d6a98a9 - Add support for UpDown control messages.
- Add detection for Wine's PropertySheet Dialog to translate
  messages.
2002-06-28 17:33:37 +00:00
Guy L. Albertelli 2beb9c10f8 - Dump out the TCITEM structure for appropriate messages.
- Dump out the rectangle for the TCM_ADJUSTRECT message.
2002-06-14 23:26:55 +00:00
Alexandre Julliard c0d1ff5967 Store the current cursor in the thread queue instead of globally. 2002-06-14 00:07:05 +00:00
Dmitry Timoshkov b4d3cb599e Avoid crashes if window belongs to another process. 2002-06-13 21:56:12 +00:00
Alexandre Julliard 01ecb57747 Authors: David Hammerton <david@transgaming.com>, Peter Hunnisett <peter@transgaming.com>
- Fix TranslateMessage return code.
- Make GetKeyState work properly for apps that test 0x80 instead of
  0x8000.
2002-06-10 23:02:19 +00:00
Alexandre Julliard a061b84ee1 Moved specification of relay and snoop include/exclude functions to
the config file.
Changed spy config a bit to follow the same scheme.
Moved debug option parsing routine into libwine.
2002-06-04 17:48:41 +00:00
Alexandre Julliard 70e192b9cf Removed CURSORICON_IconToCursor now that we support color cursors. 2002-06-02 21:29:23 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard d8a9244fc4 Added function table to GDI objects for better encapsulation.
Removed some direct accesses to the bitmap structure.
Fixed handling of stock bitmap if selected in multiple DCs.
Some minor fixes to the DC function table.
2002-05-31 18:43:22 +00:00
Andreas Mohr 284bcfcff4 Fixed a memory leak in find_child_from_point(). 2002-05-28 22:47:01 +00:00
Alexandre Julliard 07439cd2d0 Removed dependencies on the internals of the region object.
Do not store the region type in the object, it's trivial to determine
from the rectangle count.
Rewrote a few routines to not depend on internal clipping or region
functions.
2002-05-25 22:16:12 +00:00
James Juran 32886f6b88 Add missing \n to output messages. 2002-05-24 21:17:59 +00:00
Alexandre Julliard 7fbd74ea55 Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian
issues.
2002-05-23 02:53:10 +00:00
Eric Pouech 9259cfa855 Added 16/32 DDE message conversion.
Finished the 16 bit implementation of DDEML.
2002-05-21 18:03:15 +00:00
Alexandre Julliard 4344c368cb Got rid of GetSysColorPen. 2002-05-20 18:15:28 +00:00
Francois Gouget 69e3500950 Add missing WIN_ReleaseWndPtr in WIN_CreateDesktopWindow. 2002-05-19 22:20:31 +00:00
Alexandre Julliard 0aa28b5b8d Export the debugging API from libwine instead of ntdll.
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Alexandre Julliard 9bb05fc48e Specify the complete source file list for a dll inside the main
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +00:00
Guy L. Albertelli 501d951123 Fix memory dump where length is not a multiple of 4. 2002-05-14 03:49:26 +00:00
Stefan Leichter ab5bba62f9 Added NULL pointer check in CallWindowProc16. 2002-05-07 18:31:10 +00:00
David Hammerton ca30e48f71 Added implementation of GetWindowInfo. 2002-05-06 20:11:18 +00:00
Alexandre Julliard 5cab46ee58 Cleaned up some inter-dll dependencies in palette management. 2002-05-02 21:49:50 +00:00
Alexandre Julliard d0893548e6 Moved remaining files in windows/x11drv to dlls/x11drv. 2002-04-30 21:16:39 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Alexandre Julliard 605cba3c8e Update the queue key state even if no window has the focus (spotted by
Rizsanyi Zsolt).
2002-04-26 18:36:06 +00:00
Alexandre Julliard 894b188fcf Moved __ASM_GLOBAL_FUNC macros and interlocked functions to port.[ch] 2002-04-25 21:40:56 +00:00
Alexandre Julliard 06c665d75a Clear the DC dirty flag before calling SetDCState to avoid spurious
vis region updates.
2002-04-22 22:37:34 +00:00
Raul Metsma 77d6a07c3c Added Estonian keyboard layout. 2002-04-17 16:49:15 +00:00
Guy L. Albertelli c7ec93d2ea Put the MCN_ and DTN_ in correct order. 2002-04-17 16:48:45 +00:00
Guy L. Albertelli 16c04be4ae - When dumping NMCUSTOMDRAW, use correct size for a Toolbar.
- Add notify names for controls: tooltips, updown, calendar, datetime,
  ip, and status.
2002-04-14 19:30:28 +00:00
Alexandre Julliard daa2886c10 Updated configure to take advantage of new autoconf 2.53 features. 2002-04-11 21:54:01 +00:00
Dmitry Timoshkov 5474aa941b Fixed problem with mouse cursors in Word. 2002-04-09 01:37:06 +00:00
Alexandre Julliard 481f8ffeba Need to check for focus and capture also on the children of the window
being disabled.
2002-04-08 23:57:08 +00:00
Guy Albertelli 9f33f5cd5e Some additional traces. 2002-04-08 23:50:20 +00:00
Paul Rupe c86e5c9020 Added keymap tables for US dvorak layout. 2002-04-08 20:15:32 +00:00
Hidenori Takeshima 2223450ad2 Use default GUI font instead of hard-coded 'MS Sans Serif'. 2002-04-08 20:12:36 +00:00
Huw D M Davies 68ef5e0327 Don't hang around for a minute if we can't exec the clipboard server. 2002-04-06 00:41:43 +00:00
François Gouget 392f6f8775 Replace some SendMessage with SendNotifyMessage in case the target
window belongs to another thread.
2002-04-06 00:40:41 +00:00
Huw D M Davies 79fdd847e0 The horizontal dialog base unit is calculated as the straight average
of a-z,A-Z (tmAveCharWidth is supposed to be a weighted average
according to character usage, so we shouldn't use this).
2002-04-03 20:06:04 +00:00
Dmitry Timoshkov 047ab4060a Fix sign extension in message mapping routines. 2002-04-02 02:53:08 +00:00
Alexandre Julliard fb23e10c1b We cannot ignore NotifyNonlinear focus events. 2002-03-22 01:03:36 +00:00
Duane Clark f9340ff94d On WM_GETTEXT, terminate the lparam buffer even if string is empty. 2002-03-20 01:31:03 +00:00
Matthias Fechner 94e9a6f901 Added German 105 keys keyboard. 2002-03-20 01:28:20 +00:00
Mehmet Yasar ffd4d33d12 Fixed Unicode conversion for CB/LB_FINDSTRING, CB/LB_FINDSTRINGEXACT
and CB/LB_SELECTSTRING.
2002-03-11 05:05:16 +00:00
Jason Phillips 7c18771736 Make wineclipsrv run as a daemon (close stdout/stderr, no controlling
terminal, session group leader).
2002-03-11 01:13:27 +00:00
Axel Schmidt 46a9db644f Added keyboard layout for Logitech Cordless Desktop Pro. 2002-03-11 01:12:07 +00:00
Andriy Palamarchuk 41024bcd86 Added FIXMEs for actions with id>=115. These actions were not
processed before.
2002-03-11 01:11:41 +00:00
Guy L. Albertelli ac2defb3e7 Trace undocumented toolbar messages. 2002-03-11 01:10:40 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Dave Hawkes 60502143d2 Fixed winproc memory leak. 2002-02-28 21:43:06 +00:00
Guy L. Albertelli f1a624d59f Fix the strange case in WIN_FixCoordinates where x and cx are not
default but cy is CW_USEDEFAULT.
2002-02-27 01:20:54 +00:00
Guy L. Albertelli db728b0b72 Add additional CCM_ message names. 2002-02-26 00:38:59 +00:00
Peter Hunnisett 73ab649ced New file msvcrt/excpt.h. Move some stuff out of winnt.h into it. 2002-02-25 20:10:35 +00:00
Dave Hawkes d0a06ec7a5 Prevent lock-up with a focus loop between two top level unmanaged
windows.
2002-02-25 19:47:31 +00:00
Peter Hunnisett f11de4fc3d Fix return type of GetAsyncKeyState. 2002-02-22 21:24:25 +00:00
Jukka Heinonen 3fead8fa3b Convert some invalid offsets in GetWindowLong16 into valid offsets. 2002-02-15 18:22:23 +00:00
Dave Hawkes 95d8c95f11 Added a keyboard matched to VNC. 2002-02-15 18:21:16 +00:00
Alexandre Julliard 70437035e3 version.h is now in include/wine directory. 2002-02-14 19:48:16 +00:00
Dmitry Timoshkov f40fb64d6f Allow ToAscii/ToUnicode to work with scanCode = 0. 2002-02-12 18:42:50 +00:00
Alexandre Julliard d473d304bd Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Guy Albertelli <guy@codeweavers.com>
Use GetSystemMetrics() to for caption metrics in NONCLIENTMETRICS
struct. Initialize iScrollWidth and iScrollHeight entries for
SPI_GETNONCLIENTMETRICS.
2002-02-04 18:30:44 +00:00
Patrik Stridvall 57e5784c21 Move __stdcall/__cdecl to the right place. 2002-02-02 18:42:11 +00:00
Guy Albertelli 3687100cbf Added NULL checks on all rectangle pointers. 2002-01-31 20:34:01 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Dmitry Timoshkov 7180536524 Do not be too smart and add WS_CAPTION in AdjustWindowRectEx. 2002-01-29 02:56:05 +00:00
Alexandre Julliard 9f5922089a Removed no longer used average width calculation. 2002-01-22 20:09:44 +00:00
Tommy Schultz Lassen 440adc193a Make EnumWindows return TRUE if no windows exists. 2002-01-22 00:50:07 +00:00
Francois Gouget e6ebf42c2b Fix a couple of warnings and a typo. 2002-01-21 17:59:38 +00:00
Dimitrie O. Paun 9e99d2b763 - Make the ListView control Unicode ready.
- Support both ANSI & Unicode ListView notifications.
- Fixed a few bugs.
2002-01-18 19:05:35 +00:00
Andriy Palamarchuk 4163e08541 SystemParametersInfo: fixed return value for SPI_SETFASTTASKSWITCH. 2002-01-18 18:10:11 +00:00
Andriy Palamarchuk 5bba14dc9e Implemented processing of actions SPI_SETKEYBOARDPREF,
SPI_SETSCREENREADER.
Save to registry value of SPI_SETSCREENSAVEACTIVE action.
Changed processing of action SPI_SETFASTTASKSWITCH to conform to
Windows behaviour on and after WinNT 4.0, Windows 95.
2002-01-15 20:43:43 +00:00
Rein Klazes 49762a3a50 Move the implementation of comctl32._TrackMouseEvent to
user32.TrackMouseEvent and call this function in accordance with the
specs.
2002-01-15 20:41:41 +00:00
Rein Klazes f57112a9f8 Make DM_SETDEFID message work for owner drawn buttons as well. 2002-01-15 20:26:47 +00:00
Rein Klazes 0f2f2b34fa Move calling of CBT hooks from WIN_CreateWindowEx() to the driver. 2002-01-09 19:09:06 +00:00
Patrik Stridvall 19d66cc1f6 Fixed some issues found by winapi_check. 2002-01-07 21:16:46 +00:00
Dmitry Timoshkov b0582dc972 Add some new messages to the spy and winuser.h. 2002-01-04 18:28:38 +00:00
Alexandre Julliard cc2d3826f1 Use DrawFrameControl instead of bitmaps in certain cases.
Moved remaining OEM bitmaps to user32 resources.
2002-01-03 02:35:23 +00:00
Alexandre Julliard 2cc54c8c49 Moved the OEM bitmaps that don't depend on the Wine look into the
user32 resources.
2002-01-02 21:49:23 +00:00
Alexandre Julliard 193cf50a09 Removed some of the calls to HEAP_strdup* functions. 2002-01-01 00:24:30 +00:00
Andriy Palamarchuk 735a3292ca Implemented basic handling of assessibility actions. 2001-12-26 23:39:50 +00:00
Andreas Mohr 6924967539 Fixed, added or implemented stubs:
- DrawMenuBarTemp(): corrected parameter count.
- CallCPLEntry16(): stub.
- SetSysColorsTemp(): fully implemented (hopefully) this undocumented
  function.
2001-12-26 20:34:12 +00:00
Duane Clark 1a399a2bb9 Destroying cursor is not necessarily an error. 2001-12-26 20:30:20 +00:00