Commit Graph

866 Commits

Author SHA1 Message Date
Gerard Patel e908fd3865 Do not change the WS_CHILD style in SetParent. 2000-06-13 03:35:36 +00:00
Turchanov Sergei d0018bd547 DGA compile fix. 2000-06-08 19:21:06 +00:00
Alexandre Julliard 2b5d564e63 Merged mouse dll into USER. 2000-06-08 04:57:22 +00:00
Alexandre Julliard 6aa2843fa9 Yet another attempt at fixing CW_USEDEFAULT handling. 2000-06-08 01:01:09 +00:00
Alexandre Julliard b4c68726d9 Louis-Philippe Gagnon (of Macadamian for Corel)
Search for already loaded CursorIcon was done with the wrong handle,
so it was leaking icons. Fixed.
2000-06-08 00:39:16 +00:00
Serge Ivanov 71b1246638 Well, SetParent doesn't work properly at all, but at least it must preserve
window ID.  In fact it also must preserve window styles, destroy X
counterpart if parent of popup or overlapped window is set to someting
different from Desktop, and lot of other stuff that it must and mustn't do.
But preserving ID is good enough for now.
2000-06-07 03:46:14 +00:00
Alexandre Julliard 5e9dab58da The window dimensions have to be initialized before sending the
WM_GETMINMAXINFO message.
2000-06-07 02:03:19 +00:00
Alexandre Julliard eac0e1837c Removed MSG_WineStartTicks (does not work for multiple address spaces
anyway).
2000-06-03 20:46:53 +00:00
Alexandre Julliard a660c7903f Moved DIB_FixColorsToLoadflags to cursoricon.c. 2000-06-03 20:45:20 +00:00
Alexandre Julliard 2d8cf500c3 Merged display.dll into USER. 2000-06-03 04:20:19 +00:00
Susan Farley 8037389c49 Preserve WM hints that were set during window creation by calling
XGetWMHints prior to XSetWMHints.
2000-06-02 20:36:29 +00:00
Andreas Mohr 2e011a5243 Lots of spelling fixes that accumulated in my tree again, made several
error msgs more verbose, doc updates.
2000-06-01 23:28:25 +00:00
Gerard Patel 78f52b5681 Set a default size for windows when CW_USEDEFAULT is used. 2000-05-31 19:23:20 +00:00
Zoran Dzelajlija 846880b7e6 Basic Croatian language support. 2000-05-30 20:50:45 +00:00
Alexandre Julliard c5e433a3a6 Moved idle event handling to the server. 2000-05-30 19:48:18 +00:00
Alexandre Julliard 9baa51e1c0 Use GetStartupInfoA() instead of accessing process structure
directly.
2000-05-30 19:46:58 +00:00
Alexandre Julliard b8774f95e5 Serge Ivanov
SetParent: call SetWindowPos with SWP_NOACTIVATE flag set.
2000-05-30 17:50:41 +00:00
Alexandre Julliard c192ba2468 Exec a separate wine binary for every win32 process so that they run
in separate address spaces.
Run 16-bit tasks as Win32 threads, not processes.
2000-05-29 21:25:10 +00:00
Alexandre Julliard 557d8af5d0 Send a normal mouse message code in WM_PARENTNOTIFY, even if the
actual message was a non-client one.
2000-05-23 23:43:02 +00:00
Susan Farley 9ce8382ea0 Set and retrieve the window icon that is drawn under managed mode
(based on the work of Andrew Lewycky for Corel).
2000-05-23 04:12:23 +00:00
Alexandre Julliard 16e9237a8c Francois Boisvert
System icons in the small caption bars are displayed with the right size.
2000-05-18 00:12:23 +00:00
Chris Morgan 362196445e Fixed borders of windows while dragging or sizing to match
TWEAK_WineLook setting.
2000-05-14 23:43:29 +00:00
Patrik Stridvall b905023c74 Fixed some debug messages. 2000-05-11 21:48:28 +00:00
Ove Kaaven fc63491d6c Scroll off-screen controls when scroll rectangle is NULL. 2000-05-11 21:41:15 +00:00
Guy Albertelli 38db0980c5 Clear menu handle after destroying menu. 2000-05-11 00:06:38 +00:00
Bernd Herd 5b60bf0294 Pass CTLDATA as SEGPTR for 16-bit programs. 2000-05-11 00:05:22 +00:00
Guy L. Albertelli c0504ca5f6 Verify the menu handle is non-zero prior to use. 2000-05-10 21:39:00 +00:00
Alexandre Julliard 8c8237b756 Specify the service thread timers in ms instead of us. 2000-05-10 04:43:32 +00:00
Alexandre Julliard 2de84c9bfa Do not send WM_SIZING to 16-bit windows. 2000-05-07 18:41:59 +00:00
Alexandre Julliard 680919c2e6 Moved Load/FreeLibrary16 definition to winbase16.h. 2000-05-07 18:39:28 +00:00
Gerard Patel a2e1b412cf Always calls SetMenu in MDISetMenu. 2000-05-07 18:25:33 +00:00
Aric Stewart 44675508a5 Added WM_SIZING message support. 2000-05-05 18:28:10 +00:00
Alexandre Julliard 5b4f3e8d6d Rewrote Unix process launching to allow passing startup information to
Winelib apps. Improved handling of execve() failures.
2000-05-01 16:24:22 +00:00
Gerard Patel 32bf62e45a X11DRV_SetFocus: really don't mess with focus for managed windows. 2000-04-30 12:35:32 +00:00
Dimitrie O. Paun 4d48dd3048 Removed HEAP_xalloc. 2000-04-30 12:22:18 +00:00
Eric Pouech 12222f0d54 Fixed a few compilation warnings. 2000-04-29 14:29:41 +00:00
Dimitrie O. Paun abdbced4fd Removed some HEAP_xalloc calls. 2000-04-29 14:20:28 +00:00
Rein Klazes ba2c8d49f5 WinHelp must accept a NULL pointer to the help key string. 2000-04-29 14:15:11 +00:00
Chris Morgan 3f13c7a951 Added default values for SPI_GETMOUSEHOVERHEIGHT, SPI_GETMOUSEHOVERWIDTH and
SPI_GETMOUSEHOVERTIME to SystemParametersInfo16().
2000-04-28 14:44:57 +00:00
Patrik Stridvall 3d511617f4 Removed X_DISPLAY_MISSING. 2000-04-25 19:55:35 +00:00
Rein Klazes 8a0808fa92 Make RDW_ValidateParent() modify the update region of all parents, not
just the direct parent.
2000-04-23 20:39:09 +00:00
Gerard Patel 2b37da6792 Check if dialog is visible before setting the focus. 2000-04-23 19:57:50 +00:00
Dmitry Timoshkov 268a36e872 Removed the longstanding hack in response to WM_ACTIVATE message. 2000-04-23 19:57:21 +00:00
Stephane Lussier 4bdf4af11e Implemented Mousewheel support. 2000-04-18 11:56:33 +00:00
Stephane Lussier fa8b7281cd Support switching the keyboard layout with WINE running. 2000-04-16 17:07:27 +00:00
Marcus Meissner 35870f95a0 Detypoed X11DRV_EVENT_SetInputMethod. 2000-04-14 14:09:50 +00:00
Stephane Lussier 3e731dae30 When dealing with XKB extensions, force the AltGr key mask to use the
group index instead of the modifier.
2000-04-14 14:09:20 +00:00
Stephane Lussier 0debf42208 Fixed AltGr key handling. 2000-04-13 16:00:08 +00:00
Alexandre Julliard 114830e8a9 Made GetProcessHeap(), GetCurrentProcessId(), GetCurrentThread() and
GetCurrentProcess() inline.
2000-04-11 20:01:59 +00:00
Ulrich Czekalla 2b569f6d69 MSG_ProcessKbdMsg can be called from peek, so only process when remove is set. 2000-04-11 19:37:20 +00:00
Alexandre Julliard 227a0894d4 Removed a number of global handle allocations and critical section
initializations.
2000-04-08 21:06:06 +00:00
Patrik Stridvall 54fe8380a1 Fixed some issues reported by winapi_check. 2000-04-06 20:21:16 +00:00
Alexandre Julliard f64c404ea6 Fixed ttydrv compile when using curses. Cleaned up a few #ifdefs. 2000-03-30 19:26:44 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Patrik Stridvall 533d333025 - Added/fixed some documentation reported by winapi_check
- Renamed MapVirtualKeyEx32A to MapVirtualKeyExA
- Renamed CRTDLL__dllonexit to CRTDLL___dllinit
2000-03-28 19:31:18 +00:00
Gerard Patel 28dab87681 Activate a hidden window only when explicitely asked by the
application.
2000-03-26 13:38:15 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Alexandre Julliard 9a0e28f153 Fixed a couple of file descriptor leaks.
Always call USER signal proc in the right context.
Cleaned up THREAD_Create.
2000-03-25 19:14:37 +00:00
Alexandre Julliard 7f3418fba0 Store monitor size and depth in the generic structure.
Merged monitor driver into USER driver.
2000-03-25 17:30:13 +00:00
Alexandre Julliard 9383eb94a7 A few simplifications and optimizations in the x11 driver. 2000-03-25 14:05:06 +00:00
Alexandre Julliard 6ec108ab6e Moved FatalAppExit functions to win32/except.c.
Added a few uses of Callout instead of referencing USER functions
directly.
2000-03-24 21:42:15 +00:00
Alexandre Julliard b52aed4e10 Moved LoadImage and related functions to cursoricon.c. 2000-03-24 21:40:30 +00:00
Alexandre Julliard d6c0d8642c Moved gdi/user thunking functions into their respective dlls.
Moved keyboard.spec into user dll.
2000-03-24 21:38:30 +00:00
Patrik Stridvall 98fde73f14 Fixed some issues reported by winapi_check. 2000-03-24 20:43:33 +00:00
Huw D M Davies 738c06d945 Fixed copying of the MDI 'Windows' menu items if the items are not of
type MFT_STRING.
2000-03-24 19:49:13 +00:00
Andreas Mohr e9f5153521 Added proper termination upon failure. 2000-03-24 19:47:35 +00:00
Rein Klazes c18f62940d Correct the NotifyCode in the WM_COMMAND message sent by
KBD_translate_accelerator().
2000-03-24 19:46:13 +00:00
Alexandre Julliard 28c3a1baf3 Moved graphics initialisation to the x11drv/ttydrv dll init code.
Merged event, keyboard and mouse drivers into USER driver.
2000-03-20 18:21:19 +00:00
Dimitrie O. Paun 9ad9636725 Removed most calls to xmalloc/xrealloc. 2000-03-19 14:29:50 +00:00
Andrew Lewycky 0ceb255054 Propagate IsDialogMessage to the parent if the dialog has the
DS_CONTROL flag.
2000-03-19 14:20:52 +00:00
Alexandre Julliard 1dac57f05f Created separate dlls for user,gdi,ttydrv,x11drv.
Fixed Winelib argc handling (thanks to Eric Pouech).
2000-03-19 12:08:09 +00:00
Alexandre Julliard 9b59da0dd9 Misc small cleanups. 2000-03-18 22:25:41 +00:00
Alexandre Julliard 62f824f7cb Avoid calling the *Rect USER functions from inside GDI.
Moved a few USER functions to a more appropriate location.
2000-03-18 22:12:33 +00:00
Alexandre Julliard fe08568a0d Moved command-line option handling out of the X11 driver.
Added support for "--" prefix on options.
Replaced a few X11 command-line options by wine.conf parameters.
2000-03-18 21:56:10 +00:00
Alexandre Julliard ddce652cae Made ddraw and dinput separate dlls. 2000-03-17 16:58:10 +00:00
Alexandre Julliard 83674ecc12 Michael Abd-El-Malek (on behalf of Corel)
When we were switching to another desktop, the popup windows lost
their WS_VISIBLE flag.
2000-03-15 19:48:13 +00:00
Marcus Meissner 8c45e243b0 IsRectEmpty also returns true for negative width/heights (verified
against Windows), found by Brad Oliver <bradman@pobox.com>.
2000-03-09 18:35:37 +00:00
Patrik Stridvall 6cc47d4924 Removed a lot of unnecessary includes and fixed the compile errors. 2000-03-08 18:26:56 +00:00
Marcus Meissner 9b84bb66ea GetClipboardData16 might return an invalid global handle (spotted by
Corel).
2000-03-04 19:18:47 +00:00
Niels Kristian Bech Jensen 4eb4380360 Removed superfluous #include statements for header files included twice. 2000-02-29 22:06:06 +00:00
Ulrich Czekalla 33026a2a6e Send WM_HELP message when F1 is pressed. 2000-02-26 19:13:44 +00:00
Alexandre Julliard 916f975624 Improved the selector get/set functions.
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
Lionel Ulmer 5e6d062378 - implement EnumObjects and GetProperty for Mouse and Joystick drivers
- implement SetDataFormat for the Mouse driver
2000-02-26 13:15:17 +00:00
Eric Pouech 2a3b0a1dad Moved hardware related handling to dlls/winmm/joystick driver.
Got rid of joySendMessages() hack (now implementation with a timer).
2000-02-26 13:14:04 +00:00
James Abbatiello 1758f2d81a Misc. fixes for compiler warnings. 2000-02-25 21:01:50 +00:00
James Abbatiello ce829bdc8c Better thread safety for WarpPointer hack. 2000-02-25 20:53:34 +00:00
Serge Ivanov 982ebc638f We don't need to call LPtoDP in here as far as PatBlt does it internally. 2000-02-25 20:50:30 +00:00
Alexandre Julliard 4f15239c3a ATOMs are considered unique, so we don't need to check class
pointers in FindWindow.
2000-02-25 20:45:23 +00:00
Andreas Mohr 1c20b39fa5 - fixed my slightly incorrect EndDialog patch
- cleaned up win.c
2000-02-20 19:17:35 +00:00
Andreas Mohr f4185f63d0 Spelling fixes. 2000-02-20 19:17:15 +00:00
Hidenori Takeshima 8097a26372 Added Japanese jp106 and pc98x1 keyboard layout. 2000-02-20 13:43:29 +00:00
Alexandre Julliard 00377a78b7 Store config file contents in the registry so we only have to load it
once per session.
Replaced PROFILE_EnumerateWineIniSection by PROFILE_EnumWineIniString.
Removed a few unnecessary/unused command-line options.
2000-02-19 20:50:00 +00:00
Noomen Hamza ff72776e55 Popup windows will be hidden when minimizing the main frame. 2000-02-18 19:11:04 +00:00
Alexandre Julliard 90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
Gerard Patel 6fdb5ddc0c Do not use GlobalFindAtom with atom handles in CreateWindow* functions. 2000-02-16 21:23:24 +00:00
Ulrich Czekalla 9d2d34fbfd Send WM_HELP message when F1 is pressed. 2000-02-16 21:22:18 +00:00
Lionel Ulmer 78e8410035 - added argument printing to stubs
- replaced memcmp by IsEqualGUID
- implemented GetCapabilities for Mouse and Keyboard
2000-02-14 19:55:26 +00:00
Martin Fuchs c96dcd77f6 Display the system popup menu when clicking with the right mouse
button in the window caption.
2000-02-13 15:57:41 +00:00
Matthew Cline c448c5cf53 Check that ci->hWindowMenu is not zero before using it. 2000-02-13 15:05:07 +00:00
Alexandre Julliard b849d79104 Moved global atoms to the server (based on the work of Sergei
Turchanov <turchanov@otvprim.ru>).
2000-02-13 13:56:13 +00:00