Commit Graph

1005 Commits

Author SHA1 Message Date
Dimitrie O. Paun 5298812be1 Make sure all files using config.h constants actually #include "config.h" 2000-11-26 04:04:21 +00:00
Ove Kaaven bea05609a7 Check whether senderQ is NULL before trying to lock it. 2000-11-25 21:39:36 +00:00
Patrik Stridvall 024d6c50d6 Fixed some issues found by winapi_check. 2000-11-25 03:09:30 +00:00
Dmitry Timoshkov c8ac4a2705 Fixed ToUnicode TRACE message. 2000-11-25 02:12:49 +00:00
Dmitry Timoshkov 780bb79612 Add support for national characters as accelerators in dialogs. 2000-11-25 02:10:04 +00:00
Dmitry Timoshkov 2fa0c66c1e Always generate unicode CHAR messages. 2000-11-25 02:09:45 +00:00
Andreas Mohr a59324db91 Cosmetics. 2000-11-25 01:40:10 +00:00
Ulrich Czekalla 58445c9abf Allow for zero-length string selections. 2000-11-25 01:26:02 +00:00
Ove Kaaven 9811129dfd Implemented SendNotifyMessage(). 2000-11-25 01:23:50 +00:00
Alexandre Julliard ab687979fd Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Dmitry Timoshkov 3606dc5584 Added mapping to/from unicode for WM_CHAR, WM_DEADCHAR, WM_SYSCHAR,
WM_SYSDEADCHAR messages.
2000-11-15 23:13:17 +00:00
Francois Gouget 58f8f12760 SM_ARRANGE is ARW_HIDE, i.e. 8 2000-11-15 22:12:35 +00:00
Alexandre Julliard 745ec84c8b Export the CallFrom16xxx functions from kernel32. Renamed them
__wine_call_from_16 to follow the naming convention.
2000-11-13 04:54:45 +00:00
Nerijus Baliunas c4b8b266a9 Add new encodings ISO 8859-10 (cp28600), 8859-13 (cp28603), 8859-14 (cp28604),
8859-15 (cp28605). Add Lithuanian (Baltic) keyboard layout.
2000-11-11 00:34:32 +00:00
Aric Stewart 7ab639862b ToUnicode: ignore CTRL+number keystrokes. 2000-11-08 04:29:42 +00:00
Dmitry Timoshkov 740bb92b5a Added the ability to see names of the virtual key codes. 2000-11-05 20:07:59 +00:00
Francois Gouget 56b17436a1 Added comment explaining why we have an ERR rather than a WARN. 2000-11-05 03:20:02 +00:00
James Abbatiello 0ed182fffa Cleanup SystemParametersInfo<16|A|W>. 2000-11-05 03:18:47 +00:00
James Abbatiello 077e66c27c Fix test for pending message in QUEUE_ReceiveMessage(). 2000-11-05 03:17:41 +00:00
Alexandre Julliard 2239abb9f9 Allocate DC objects on the process heap, and removed WIN_DC_INFO
structure (based on a patch by Ken Coleman).
2000-11-05 02:05:07 +00:00
Alexandre Julliard 1f029ea6f5 Authors: Gerard Patel <g.patel@wanadoo.fr>, Marcus Meissner <marcus@jet.franken.de>
Move focus recalculation out of the window destroy recursion
so we do not send WM_SETFOCUS to already destroyed windows.
2000-11-02 20:08:59 +00:00
Marcus Meissner 9199f4a492 DrawIconEx: when flags=0 use flags=DI_NORMAL instead. 2000-11-01 21:36:35 +00:00
Alexandre Julliard 908464d448 Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.
2000-11-01 03:11:12 +00:00
Gabriel Garcia a9774bead3 Added Latin American layout. 2000-11-01 01:47:39 +00:00
Francois Gouget edf1fd7158 Fixed the value of some system colors. 2000-10-31 01:35:30 +00:00
Peter Ivanyi 1da3befe54 Added/upgraded Slovak messages, and Slovak and Czech keyboard layout. 2000-10-31 01:19:11 +00:00
Dmitry Timoshkov 75b25be6ee Display an ERR on errors while initializing USER. 2000-10-31 01:01:41 +00:00
David Elliott 44f84b55f3 Added basic working stubs of new Windows 2000 API functions. 2000-10-29 01:24:54 +00:00
Alexandre Julliard 4c18636d4e Use GetStockObject() instead of the magic STOCK_* handles. 2000-10-29 01:22:15 +00:00
Marcus Meissner 6f9c840ca0 Report errors on WinHelp() failures. 2000-10-29 01:17:24 +00:00
Alexandre Julliard 07d0c31c6c Removed unused STRUCT32_NCCALCSIZE functions. 2000-10-26 21:50:59 +00:00
Dmitry Timoshkov ef55932f4b Ask application to reinitialize its menu before processing an
accelerator key.
2000-10-26 21:47:20 +00:00
Dmitry Timoshkov b5f8b9227c Added an another special case handling for Shift+[NumPad]DEL. 2000-10-25 21:58:48 +00:00
Dmitry Timoshkov 8a31634a00 Replaced ToAscii by ToUnicode in the User driver interface. 2000-10-25 21:34:31 +00:00
Rein Klazes 354f9826b8 In SWP_DoNCCalcSize() when determining whether the client area has
moved, use the client coordinates as they are: not relative to its
window coordinates.
2000-10-25 20:29:06 +00:00
Andreas Mohr 2bf380c72f Added SPI_GETWINDOWSEXTENSION. 2000-10-25 20:28:42 +00:00
Louis Philippe Gagnon e4ab07e0fe - Calculate changes in the client area relative to the window
instead of its parent when using SWP_EX_PAINTSELF.
- With SWP_EX_PAINTSELF, copy only if client area changed, since a
  window can't move relative to itself.
- In SWP_DoNCCalcSize, when determining if the client area
  changed, use values relative to the window itself, not its parent.
2000-10-23 00:36:06 +00:00
Ulrich Weigand 409eb44eb0 Fixed painting problems in non-MM_TEXT modes. 2000-10-23 00:35:28 +00:00
Joerg Mayer 959d73e8dd Reduce the number of warnings about missing initializers. 2000-10-22 23:56:32 +00:00
Guy L. Albertelli 936c6c4ea4 Added wParam and lParam as parameters in SPY_ExitMessage
Added dump for the STYLECHANG[ING|ED] messages.
Dump structures on exit only if message allows changes.
2000-10-22 23:52:47 +00:00
Dmitry Timoshkov ff81f93883 Added support for AZERTY keyboard layout. 2000-10-19 22:25:35 +00:00
Ulrich Weigand 1848c808d3 Watch out for DefMDIChildProc calls on non-MDI-child windows. 2000-10-19 20:24:06 +00:00
Dmitry Timoshkov 7b0bf0f08d Added support for keyboard input in various locales. 2000-10-17 00:31:53 +00:00
Dmitry Timoshkov 63ba91dc8e Fixed behaviour of window's system buttons. 2000-10-15 00:22:29 +00:00
Susan Farley 557066db1c Status bars on managed windows should not have SIZEGRIP style. 2000-10-13 17:07:08 +00:00
Francois Gouget 67c9691313 Added many missing *Pxxx types.
Removed a few *LPxxx types that are not supposed to be there (in
particular LPICONINFO).
Added a few missing *LPCxxx types (MENUITEMINFO, SCROLLINFO,
DLGITEMTEMPLATE).
WINHELP and PE_ACCEL are internal types.
MULTIKEYHELP and HELPWININFO both have an A and W variant.
NUMBERFMT, CURRENCYFMT and the related API belong to winnls.h.
Added missing ARW_xxx defines (for sysmetrics).
2000-10-12 23:18:55 +00:00
Stephane Lussier 6bac4f2c15 Before calling the timer window proc, make sure it is valid. 2000-09-29 00:56:05 +00:00
Alexandre Julliard 15bfcd0398 Moved $(MODULE).o rule out of Make.rules into the individual
Makefiles.
2000-09-29 00:28:25 +00:00
Dmitry Timoshkov 8e2643687d If window was not resized and not moved, repaint only itself excluding
parent.
2000-09-27 22:26:51 +00:00
Stephane Lussier d741850dd8 On reception of a FocusOut event, don't deactivate the application if the
next window to get the focus is a Wine window.
2000-09-27 00:22:00 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Alexandre Julliard 60e175294b Use documented DROPFILES structure instead of internal DROPFILESTRUCT. 2000-09-25 23:56:41 +00:00
Alexandre Julliard d8fab2e67c Removed some of the XXX_reg macros now that we are using the standard
CONTEXT86 structure everywhere.
2000-09-25 23:53:07 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Alexandre Julliard 0ff083bab8 Call WH_GETMESSAGE hook in PeekMessage too (based on a patch by Rob
Farnum).
2000-09-24 19:51:15 +00:00
Gerald Pfeifer 1b490b42bf Fixed format strings. 2000-09-24 03:05:11 +00:00
Andreas Mohr c941effc24 Make GetTickCount not use the whole Unix epoch (since 1970) any more,
since that crashed several games or caused problems with them as they
aren't used to a high Windows uptime of more than 24.9 days.
2000-09-22 22:37:56 +00:00
Andreas Mohr 260f1a1def Spelling, trace fixes. 2000-09-22 20:59:29 +00:00
Alexandre Julliard f37e3a471b Removed a coupld of unused functions in the Callout structure. 2000-09-16 20:58:06 +00:00
Alexandre Julliard 3993216776 Moved Select/RealizePalette implementation to USER and use
pfnSelect/RealizePalette function pointers in GDI.
Make sure the palette handle is valid in GDISelectPalette16 (thanks to
Uwe Bonnes).
2000-09-16 20:57:39 +00:00
Andreas Mohr 007fb24088 Added support for non-deletable system brushes and pens created by
USER.
2000-09-16 20:53:51 +00:00
Ulrich Weigand a761e3dad0 Modified CallTo16Register routines to update register context after
call returns. Callers adapted.
2000-09-13 20:29:44 +00:00
Serge Ivanov 6117fc4165 (Merged by Marcus Meissner <marcus@jet.franken.de>)
Fixed problem with origin for DST_COMPLEX style.
Fixed handling of DSS_DISABLED and DSS_DEFAULT styles.

Added handling of BS_MULTILINE style, label alignment
styles (BS_RIGHT, etc.) and some exotic styles BS_FLAT (only
pushbuttons for now), and BS_PUSHLIKE.

Modified label drawing procedure: now all kinds of buttons
use common BUTTON_DrawLabel function. Actual label drawing is
performed by DrawStateW function.

GroupBox must use WM_CTLCOLORSTATIC instead of WM_CTLCOLORBTN message.
2000-09-13 00:00:55 +00:00
James Hatheway 3489997573 KDE 1.x has problems with using XShapeCombineMask when there was no
previous region.
2000-09-12 23:59:57 +00:00
Andreas Mohr 20cd9356a8 - fixes debugger output
- get rid of wrong comments
- fix comments
- .spec spelling fix
- improve warning message
2000-09-12 23:40:40 +00:00
Huw D M Davies 2f245af009 Don't try to delete a wndclass background brush if it's a COLOR_*
constant.
2000-09-12 23:38:33 +00:00
Mike McCormack a2bdadec88 Make sure NC_HandleNCCalcSize returns a valid rectangle.
Painting fails if the rectangle is invalid.
2000-09-12 23:37:57 +00:00
Dmitry Timoshkov 10d9909e66 Unify WM_SETTEXT handling among DefWindowProc16/DefWindowProcA/DefWindowProcW. 2000-09-09 19:39:48 +00:00
Dmitry Timoshkov 73968f0bd3 Simplify a bit MDI child window creation. 2000-09-09 19:38:52 +00:00
Giovanni Pancotti f708f548b9 Italian keyboard fixes. 2000-09-07 21:04:06 +00:00
Alexandre Julliard a1ce916171 Serge Ivanov
Delay destroying menu entry until all messages are sent.
2000-09-06 19:40:07 +00:00
Mike McCormack 88c5bc6eee Added missing comma. 2000-09-04 20:19:27 +00:00
Alexandre Julliard 60cf612b59 Henning Hoffmann
Augment menu when a mdi window starts maximized.
2000-09-01 01:24:19 +00:00
Alexandre Julliard bd616cb02e Francis Beaudet
MDI Patch which fixes problems in PR, QP, WP and Paradox.
2000-09-01 01:23:03 +00:00
Alexandre Julliard 9c2370bd75 Added exception handling wrapper to a number of server requests.
Changed a few requests to use the new vararg mechanism.
2000-08-30 00:00:48 +00:00
Andreas Mohr 5e7fa021ef - fix one locking ignorant return 0; in MSG_SendMessageInterThread()
- fix a crash in QUEUE_RemoveSMSG()
- convert some queue WARN() to ERR()
- spaileng fikses
2000-08-29 03:52:46 +00:00
Francois Methot bd1908f04c Do not check for system menu if the window has style WS_EX_TOOL_WINDOW. 2000-08-28 21:31:23 +00:00
Andreas Mohr 349655636b - made the MIDI sequencer error message much better for confused users
to be found on #WineHQ
- use strerror instead of errno at important places
- got rid of HAVE_STRERROR macro
- removed some #include:s (hopefully I didn't break anything)
2000-08-26 20:31:48 +00:00
Alexandre Julliard f681cd091e Fixed RegisterClass last error code on atom creation failure. 2000-08-23 19:18:44 +00:00
Gerard Patel f314e5e76b Disable the owner of a modal dialog box just before creating the
dialog window.
2000-08-21 03:31:39 +00:00
Gerard Patel eaa28e5f06 Handle the LB_GETTEXT and CB_GETLBTEXT cases for 32W to 16 mapping. 2000-08-21 02:38:40 +00:00
Gerard Patel 7d0968e03b Enables showing of hidden windows when the app ask *only* to maximize it. 2000-08-21 02:38:23 +00:00
Louis Philippe Gagnon 06057e7aac - Separate application calls to ShowOwnedPopups from Wine calls (in
EVENT_MapNotify) by introducing an internal function.
- Fix ShowOwnedPopups so it sends messages with the same parameters as
  in Windows.
2000-08-20 03:40:59 +00:00
Alexandre Julliard 2a2321bbca Authors: Alexandre Julliard <julliard@codeweavers.com> (for Corel), Albert den Haan <albertd@corel.com>
Added syslevel locking for GDI operations.
Propagate the changes through the graphics code.
2000-08-19 21:38:55 +00:00
Gerard Patel e3bd8d0adf Turns the handling to pure 16 bits, remove references to dialog.h. 2000-08-18 23:05:44 +00:00
Peter Ganten 553e3c98d1 Threads without active or focus window should not receive keyboard
messages.
2000-08-14 20:53:00 +00:00
Dmitry Timoshkov 9b1e1dc4c5 Add "FullWindowDrag" feature for not managed windows. 2000-08-14 17:20:25 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Alexandre Julliard d586dc99be Replaced VERSION_* calls by exported API equivalents. 2000-08-14 14:35:01 +00:00
Alexandre Julliard a509af8a3c Removed to allow CVS to remove the directory. 2000-08-14 13:27:00 +00:00
Stephane Lussier 1a1bd1aa16 Instead of not doing the Z ordering when the application asks to place
the window under a zero-sized window, now the window above the
zero-sized window, is used to do the Z ordering.
2000-08-11 00:40:38 +00:00
Alexandre Julliard 42d20f9dca Merged clipboard driver into USER driver.
Moved all ttydrv source files to dlls/ttydrv.
Load functions pointer for the USER driver from the graphics driver
dll with GetProcAddress.
2000-08-10 01:16:19 +00:00
Alexandre Julliard 5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Alexandre Julliard 6113975a1e Moved struct32.c to windows directory. 2000-08-09 00:38:18 +00:00
Huw D M Davies b00c0124b9 WINPOS_WindowFromPoint should respect hrgnWnd. 2000-08-07 17:10:39 +00:00
Marcus Meissner 64c86ffe66 Removed local variable shadows warnings. 2000-08-07 04:16:43 +00:00
Stephane Lussier 3b6c5dce1e Top level windows with 0 width or height are created with a size of 1x1 in
the X11 driver. I've added some code to make sure those windows are never
mapped while the size <= 0.
2000-08-06 03:35:24 +00:00
Alexandre Julliard cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard 93652e1a68 Moved a bunch of functions out of libwine/kernel/gdi into USER. 2000-08-04 04:21:02 +00:00
Alexandre Julliard b0efe28f6c Removed a few dependencies on GDI internals from USER dll. 2000-08-04 04:18:04 +00:00