Commit Graph

1472 Commits

Author SHA1 Message Date
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