Commit Graph

1557 Commits

Author SHA1 Message Date
Matthew Davison 3f17416ad2 Fix some unicode->ascii calls. 2002-11-24 22:13:26 +00:00
Mike Hearn 43a0a51540 Altered WM_MOUSEHOVER so the lParam and wParam fields are set
correctly to virtual key states and cursor position.
2002-11-23 01:12:17 +00:00
Alexandre Julliard aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Alexandre Julliard a8a422f70d Fixed more -DSTRICT issues. 2002-11-22 20:43:01 +00:00
Alexandre Julliard 7ef66af34a Moved some more 16-bit functions to user16.c.
A few fixes for -DSTRICT.
2002-11-22 04:47:10 +00:00
Stefan Leichter 2c7567251e Moved implementation of Get/SetClassLong from ascii to unicode. 2002-11-21 21:48:27 +00:00
Stefan Leichter ab73d6e903 Replaced CreateDCA by CreateDCW in LoadImageW. 2002-11-21 21:48:06 +00:00
Jukka Heinonen 1a665058e8 Removed last users of msdos/interrupts.c. 2002-11-21 00:02:09 +00:00
Stefan Leichter 5d0b987151 Moved implementation of LoadKeyboardLayout from ASCII to Unicode. 2002-11-18 19:47:20 +00:00
Stefan Leichter 27faf02e0b Moved implementation of EnumDisplaySettings from ASCII to Unicode. 2002-11-18 19:44:46 +00:00
Ryan Cumming dc71624d59 Make LookupIconIdFromDirectoryEx16 call LookupIconIdFromDirectoryEx,
instead of the other way around.
2002-11-18 19:41:53 +00:00
Tony Lambregts c702ae8ab9 Fix SM_CYVTHUMB, SM_CXSMSIZE, SM_CXMENUCHECK and SM_CYMENUCHECK. 2002-11-15 01:35:16 +00:00
Alexandre Julliard 3f61afbbc8 Added ReleaseDC function to the USER driver interface. 2002-11-14 22:30:20 +00:00
Alexandre Julliard a817568231 Fixed sign problem in GetWindowWord/Long check for offset larger than
the window extra bytes.
2002-11-13 19:49:29 +00:00
Mike McCormack 2d106a5706 Fix a few GDI memory leaks. 2002-11-13 19:43:53 +00:00
Eric Pouech b6aad50245 Implemented a Wine-only scheme for interprocess WinHelp message
passing.
2002-11-11 22:20:47 +00:00
Dmitry Timoshkov 46c80c8876 Fix copy/paste bug. Make MessageBox without an icon look better. 2002-11-11 19:52:33 +00:00
Francois Gouget 9234cba140 Compute SM_CYMAXIMIZED purely based on the screen height until we know
how to take into account 'start menus' correctly.
2002-11-06 21:56:32 +00:00
Greg Turner ea4913f8f9 - noop redefinition of SPI_[GET/SET]MENUUNDERLINES
- define and fixme for
  SPI_[GET/SET][SELECTIONFADE/DROPSHADOW/KEYBOARDCUES]
2002-11-04 22:47:59 +00:00
Alexandre Julliard cf2e57d0c7 Split out some more 16-bit code. 2002-10-31 22:06:53 +00:00
Alexandre Julliard 7a1cb65cb9 Moved 16-bit definitions out of mmddk.h into mmsystem16.h. 2002-10-31 02:23:43 +00:00
Uwe Bonnes 47cc1554d1 MSGBOX_DlgProc: break out of WM_COMMAND. 2002-10-31 01:15:18 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Michael Stefaniuc ec5612ee1d Some more fixes for compiling the user dll with -DSTRICT. 2002-10-30 23:45:38 +00:00
Alexandre Julliard c07a6cf537 Fixed ShowWindowAsync. 2002-10-29 21:33:00 +00:00
Alexandre Julliard 0b1a367b78 Removed a couple of no longer used queue functions. 2002-10-29 21:32:37 +00:00
Alexandre Julliard 0286135de3 Rewrote hook support to store the hook chain in the server.
Split off 16-bit hook functions and re-implemented them on top of the
32-bit ones; system-wide 16-bit hooks are no longer supported at this
point.
2002-10-29 00:41:42 +00:00
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