Changeset 11942


Ignore:
Timestamp:
Oct 19, 1999, 2:32:13 PM (26 years ago)
Author:
dengert
Message:

less background erases

Location:
tags/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/ChangeLog

    r11937 r11942  
    1  /* $Id: ChangeLog,v 1.340 1999-10-18 11:58:39 sandervl Exp $ */
     1 /* $Id: ChangeLog,v 1.341 1999-10-19 12:32:12 dengert Exp $ */
     2
     3 99-10-19: Daniela Engert <dani@ngrt.de>
     4        - USER32: excessive background erases tamed
    25
    36 99-10-18: Sander van Leeuwen <sandervl@xs4all.nl>
    47        - USER32: Set/clear WS_VISIBLE flag in ShowWindow
    5                   Fix for scrollbar redraw
    6                   Rewrote EnumChildWindows (winzip works quite well now!)
     8                  Fix for scrollbar redraw
     9                  Rewrote EnumChildWindows (winzip works quite well now!)
    710
    811 99-10-18: Edgar Buerkle <Edgar.Buerkle@gmx.net>
     
    1114 99-10-17: Sander van Leeuwen <sandervl@xs4all.nl>
    1215        - USER32: Ported AdjustWindowRectEx from Wine (990815)
    13                   Changed GetClientRect to return rectangle stored in
    14                   window object.
    15                   Ported (Begin/End)DeferWindowPos from Wine (990815)
    16                   Ported GetWindow from Wine (990815)
    17                   Fixed dialog control creation bug (create ascii controls when
    18                   parent window is ascii)
    19                   Implemented SetWindowPlacement (not complete done)
    20                   Fixed GetWindowPlacement (handle translation), still
    21                   needs to be implemented though.
    22                   Don't change PM window style in WM_DESTROY handler -> crash in PMMERGE
    23                   Bugfixes for Enum(Thread/Child)Window (wrong call to get object ptr)
    24                   Fixed FindWindowEx method to map frame window to object ptr.
    25                   Fixed WM_WINDOWPOSCHANGED handler for scrollbars (set window &
    26                   client rectangle)
    27                   Fixed WM_MOUSEMOVE handler for scrollbars (return 1 to let
    28                   PM change the mouse cursor back to the default)
    29                   Fixed GetDlgItem. According to SDK docs this api should work
    30                   for any parent-child pair. (behaviour seen in VPBuddy)
    31                   Added MFC message support for message printfs
     16                  Changed GetClientRect to return rectangle stored in
     17                  window object.
     18                  Ported (Begin/End)DeferWindowPos from Wine (990815)
     19                  Ported GetWindow from Wine (990815)
     20                  Fixed dialog control creation bug (create ascii controls when
     21                  parent window is ascii)
     22                  Implemented SetWindowPlacement (not complete done)
     23                  Fixed GetWindowPlacement (handle translation), still
     24                  needs to be implemented though.
     25                  Don't change PM window style in WM_DESTROY handler -> crash in PMMERGE
     26                  Bugfixes for Enum(Thread/Child)Window (wrong call to get object ptr)
     27                  Fixed FindWindowEx method to map frame window to object ptr.
     28                  Fixed WM_WINDOWPOSCHANGED handler for scrollbars (set window &
     29                  client rectangle)
     30                  Fixed WM_MOUSEMOVE handler for scrollbars (return 1 to let
     31                  PM change the mouse cursor back to the default)
     32                  Fixed GetDlgItem. According to SDK docs this api should work
     33                  for any parent-child pair. (behaviour seen in VPBuddy)
     34                  Added MFC message support for message printfs
    3235
    3336 99-10-17: Christoph Bratschi <cbratschi@datacomm.ch>
     
    4245
    4346 99-10-17: knut st. osmundsen <knut.stange.osmundsen@pmsc.no>
    44         - KERNEL32: Removed exception throwing from Pe2Lx classes.
    45                     Implemented TLS support in Pe2Lx classes.
     47        - KERNEL32: Removed exception throwing from Pe2Lx classes.
     48                    Implemented TLS support in Pe2Lx classes.
    4649
    4750 99-10-16: Yuri Dario <mc6530@mclink.it>
    4851        - USER32: Button bugfix (BUTTON_CheckAutoRadioButton)
    49                   Win32dlg.cpp: cosmetic changes
     52                  Win32dlg.cpp: cosmetic changes
    5053        - include\os2wrap.h: define inline as _inline in C mode
    5154        - include\win\winsock.h: Added prototypes
     
    5760 99-10-16: Sander van Leeuwen <sandervl@xs4all.nl>
    5861        - USER32: Don't process size messages before sending WM_NCCREATE
    59                   message when creating a window. (can mess up our window
    60                   and client rectangle)
    61                   Erase background for buttons. (fixes groupbox redraw problems)
    62                   isFrameWindow bugfix + MDI creation & WM_NCCALCSIZE bugfix
     62                  message when creating a window. (can mess up our window
     63                  and client rectangle)
     64                  Erase background for buttons. (fixes groupbox redraw problems)
     65                  isFrameWindow bugfix + MDI creation & WM_NCCALCSIZE bugfix
    6366
    6467 99-10-15: Sander van Leeuwen <sandervl@xs4all.nl>
    6568        - USER32: CBT Hook bugfix. Only respond to WM_NCCREATE msg to send
    66                   HCBT_CREATEWND.
    67                   Scrollbar bugfix. Pass all msgs we don't use to default
    68                   window handler. (used to do this only for > WM_USER -->
    69                   return value of 0 for WM_NCCREATE cancels window creation)
     69                  HCBT_CREATEWND.
     70                  Scrollbar bugfix. Pass all msgs we don't use to default
     71                  window handler. (used to do this only for > WM_USER -->
     72                  return value of 0 for WM_NCCREATE cancels window creation)
    7073                  GetWindow bugfix. (related window can be frame window)
    71                   Fixed window & child destruction process.
     74                  Fixed window & child destruction process.
    7275        - KERNEL32: Fixed VirtualQuery bug.
    7376
    7477 99-10-15: Edgar Buerkle <Edgar.Buerkle@gmx.net>
    7578        - USER32: Basic message translation to fix problems in win apps
    76                   that wait for a specific message. (NOT COMPLETE)
     79                  that wait for a specific message. (NOT COMPLETE)
    7780
    7881 99-10-14: Sander van Leeuwen <sandervl@xs4all.nl>
    7982        - USER32: Fixed WM_WINDOWPOSCHANGED (frame window rectangle)
    8083                  Partly implemented CopyImage (only simple copies of icons
    81                   and cursors; FAR FROM COMPLETE!)
    82                   Removed FillRect during WM_PAINT in subclassed frame handler.
    83                   (still some redraw problems with i.e. button.exe; a little
    84                    worse than before)
     84                  and cursors; FAR FROM COMPLETE!)
     85                  Removed FillRect during WM_PAINT in subclassed frame handler.
     86                  (still some redraw problems with i.e. button.exe; a little
     87                   worse than before)
    8588
    8689 99-10-14: Patrick Haller <phaller@gmx.net>
    8790        - KERNEL32:     Fix: threads might need more memory in debug mode (thread.cpp)
    88                         Fix: a little cleanup (virtual.cpp)
     91                        Fix: a little cleanup (virtual.cpp)
    8992                        Fix: lstrcpyAW taking NULL parameters (broken WINE controls?) (heapstring.cpp)
    9093        - ADVAPI32:     Fix: RegConnectRegistryA slightly improved
    9194
    9295 99-10-14: knut st. osmundsen <knut.stange.osmundsen@pmsc.no>
    93         - PE2LX:    New implementation in src\win32k\pe2lx.
    94                     No resource conversion. I have tested it, but do expect to
    95                     find some bugs. And when you find, please give me a hint.
    96                     The new Pe2Lx uses much support code,(heap, printf..)
    97                     from win32k. It also uses the sub-system CRT library (as
    98                     win32k does). This way more of the win32k code will be
    99                     tested in Ring 3, so there'll simply be less bugs to track
    100                     down in Ring 0 and kernel debugger/ICAT.
    101         - KERNEL32: Win32???Pe2Lx classes is updated to match the new Pe2lX.
    102                     Note that TLS is not implemented yet - it's in the line.
    103                     Fix: Made a temporary fix in atom.cpp for some of the W
    104                     functions. The string isn't allways a string... I do a
    105                     permanent fix some other day.
    106         - WIN32K:   Compiles and links. But Not Tested!
     96        - PE2LX:    New implementation in src\win32k\pe2lx.
     97                    No resource conversion. I have tested it, but do expect to
     98                    find some bugs. And when you find, please give me a hint.
     99                    The new Pe2Lx uses much support code,(heap, printf..)
     100                    from win32k. It also uses the sub-system CRT library (as
     101                    win32k does). This way more of the win32k code will be
     102                    tested in Ring 3, so there'll simply be less bugs to track
     103                    down in Ring 0 and kernel debugger/ICAT.
     104        - KERNEL32: Win32???Pe2Lx classes is updated to match the new Pe2lX.
     105                    Note that TLS is not implemented yet - it's in the line.
     106                    Fix: Made a temporary fix in atom.cpp for some of the W
     107                    functions. The string isn't allways a string... I do a
     108                    permanent fix some other day.
     109        - WIN32K:   Compiles and links. But Not Tested!
    107110
    108111 99-10-14: Edgar Buerkle <Edgar.Buerkle@gmx.net>
     
    112115 99-10-14: Sander van Leeuwen <sandervl@xs4all.nl>
    113116        - USER32: Fixed shrinking listbox in shell about dialog.
    114                   (add border size to size during window creation & SetWindowPos)
    115                   Support for WM_NCCALCSIZE. Not completely working yet.
    116                   Fixed crash in Winhlp32 (annotate creates multiline edit
    117                   control that received PM messages too early -> divide by 0)
    118                   -> Don't allow WM_WINDOWPOSCHANGED messages until after WM_NCCREATE.
    119                   Removed previous OSLibMapWINDOWPOStoSWP bugfix.
    120                   Default dialog xBaseUnit = 10, yBaseUnit = 20.
    121                   Only set FCF_TASKLIST bit when parent == desktop & window
    122                   has titlebar. (too many Opera windows in tasklist)
     117                  (add border size to size during window creation & SetWindowPos)
     118                  Support for WM_NCCALCSIZE. Not completely working yet.
     119                  Fixed crash in Winhlp32 (annotate creates multiline edit
     120                  control that received PM messages too early -> divide by 0)
     121                  -> Don't allow WM_WINDOWPOSCHANGED messages until after WM_NCCREATE.
     122                  Removed previous OSLibMapWINDOWPOStoSWP bugfix.
     123                  Default dialog xBaseUnit = 10, yBaseUnit = 20.
     124                  Only set FCF_TASKLIST bit when parent == desktop & window
     125                  has titlebar. (too many Opera windows in tasklist)
    123126                  Clear unsupported frame styles (i.e. no titlebar & minimize/maximize button)
    124                   Fixed MapOS2ToWin32Rectl & GetWindowRect.
    125                   Removed code that adds bordersize during SetWindowPos & window
    126                   creation. Fixed listbox code instead. (use window rectangle
    127                   for SetWindowPos call, not client rectangle)
     127                  Fixed MapOS2ToWin32Rectl & GetWindowRect.
     128                  Removed code that adds bordersize during SetWindowPos & window
     129                  creation. Fixed listbox code instead. (use window rectangle
     130                  for SetWindowPos call, not client rectangle)
    128131
    129132        - USER32: Rewrote window creation. All Odin windows are OS/2 frames.
    130                   2nd half of window/dialog creation carried out during OS/2
    131                   WM_CREATE message.
    132                   Don't call default frame handler during WM_ADJUSTWINDOWPOS
    133                   for child windows. Fixes incorrect position.
    134                   Probably needs to be fixed again.
    135           NOTE: NOT WORKING CORRECTLY JUST YET!!
     133                  2nd half of window/dialog creation carried out during OS/2
     134                  WM_CREATE message.
     135                  Don't call default frame handler during WM_ADJUSTWINDOWPOS
     136                  for child windows. Fixes incorrect position.
     137                  Probably needs to be fixed again.
     138          NOTE: NOT WORKING CORRECTLY JUST YET!!
    136139
    137140        - COMCTL32: Check infoPtr in toolbar during WM_ERASEBKGND
    138141        - KERNEL32: Added wprocess.cpp dependency for include\win\thread.h
    139                     Bugfix for loading dlls in pe loader -> increase reference count
    140                     In iLoadLibrary first check if the dll has already been loaded.
    141                     Fixed console initalization for pe loader apps.
    142                     Fixed SetWin32TIB. Return current FS selector for Odin32 apps.
     142                    Bugfix for loading dlls in pe loader -> increase reference count
     143                    In iLoadLibrary first check if the dll has already been loaded.
     144                    Fixed console initalization for pe loader apps.
     145                    Fixed SetWin32TIB. Return current FS selector for Odin32 apps.
    143146                    Removed generic.exe fix in OS2UnsetExceptionHandler.
    144                     (creates problems when loading multiple PE dlls with pe loader
    145                      and generic.exe still works fine now)
     147                    (creates problems when loading multiple PE dlls with pe loader
     148                     and generic.exe still works fine now)
    146149        - SHELL32: use wrc from tools directory
    147150
     
    154157 99-10-12: Sander van Leeuwen <sandervl@xs4all.nl>
    155158        - USER32: DrawMenuBar & DrawCaptionTempA bugfix (window handle translation)
    156                   Added Win32ToOS2FrameHandle method
    157                   Set default mouse pointer back if app doesn't process WM_MOUSEMOVE
    158                   message.
    159                   Bugfix in button control -> return non-zero if WM_MOUSEMOVE
    160                   message doesn't change the cursor.
    161                   Same fix in edit & listbox control.
    162                   Looks like the same bug is in the scrollbar code.
    163                   Preliminary listbox fixes (scrollbar related)
    164                   Don't show scrollbars when window is created.
    165 
    166         - USER32: Added support for extra messages in default window handler.
    167                   Partial support for WM_SYSCOMMAND in default window handler.
    168                   MDI child bugfix (window now displayed correctly)
    169                   Only subclass frame when it has a 3d border OR *only* the
    170                   WS_BORDER borderstyle.
    171                   Fixed y mapping bug in OSLibMapWINDOWPOStoSWP (converted
    172                   twice (win32 -> os2 -> win32))
     159                  Added Win32ToOS2FrameHandle method
     160                  Set default mouse pointer back if app doesn't process WM_MOUSEMOVE
     161                  message.
     162                  Bugfix in button control -> return non-zero if WM_MOUSEMOVE
     163                  message doesn't change the cursor.
     164                  Same fix in edit & listbox control.
     165                  Looks like the same bug is in the scrollbar code.
     166                  Preliminary listbox fixes (scrollbar related)
     167                  Don't show scrollbars when window is created.
     168
     169        - USER32: Added support for extra messages in default window handler.
     170                  Partial support for WM_SYSCOMMAND in default window handler.
     171                  MDI child bugfix (window now displayed correctly)
     172                  Only subclass frame when it has a 3d border OR *only* the
     173                  WS_BORDER borderstyle.
     174                  Fixed y mapping bug in OSLibMapWINDOWPOStoSWP (converted
     175                  twice (win32 -> os2 -> win32))
    173176        - USER32: Set focus to edit control when receiving WM_LBUTTONDOWN
    174177
    175         - USER32: Don't send WM_COMMAND during WM_SETFOCUS in edit control when
    176                   dialog hasn't been completely created. (crashes VPBuddy; can't
    177                   find dialog control that hasn't been created yet)
    178                   NOTE: EXPERIMENTAL FIX. NEEDS TO BE CHANGED.
     178        - USER32: Don't send WM_COMMAND during WM_SETFOCUS in edit control when
     179                  dialog hasn't been completely created. (crashes VPBuddy; can't
     180                  find dialog control that hasn't been created yet)
     181                  NOTE: EXPERIMENTAL FIX. NEEDS TO BE CHANGED.
    179182
    180183 99-10-11: Christoph Bratschi <cbratschi@datacomm.ch>
     
    183186 99-10-11: Sander van Leeuwen <sandervl@xs4all.nl>
    184187        - USER32: Disabling the desktop window is a very bad idea.
    185                   (desktop no longer responds to mouse clicks)
    186                   Enable method in desktop window class that does nothing.
    187                   Added support for extra messages in msg printf code
     188                  (desktop no longer responds to mouse clicks)
     189                  Enable method in desktop window class that does nothing.
     190                  Added support for extra messages in msg printf code
    188191                  Ported almost all Wine code for CTLCOLOR messages.
    189                   Return -1 in DefWindowProc for WM_VKEYTOITEM & WM_CHARTOITEM
    190                   Fix for MDI child window. They're now displayed, but it's
    191                   still not right.
     192                  Return -1 in DefWindowProc for WM_VKEYTOITEM & WM_CHARTOITEM
     193                  Fix for MDI child window. They're now displayed, but it's
     194                  still not right.
    192195        - SHELL32: Fixed Shell32 about dialog.
    193                    Compile Wine resource with WRC and link with dll.
    194                    Added version resource
    195                    Call Wine dll entrypoint in initterm.cpp.
     196                   Compile Wine resource with WRC and link with dll.
     197                   Added version resource
     198                   Call Wine dll entrypoint in initterm.cpp.
    196199        - INCLUDE: Only include stdlib.h when wrc is not active
    197                    Extra definitions for compiling win32 apps in OS/2
     200                   Extra definitions for compiling win32 apps in OS/2
    198201
    199202 99-10-11: Edgar Buerkle <Edgar.Buerkle@gmx.net>
     
    201204        - USER32: Init ownDC to 0
    202205                  Create empty dialog in CreateWindowExA/W if class == dialog
    203                   Support for class atoms in CreateWindowExA/W
    204                   Win32Dialog::getNextDlgGroupItem() bugfix
     206                  Support for class atoms in CreateWindowExA/W
     207                  Win32Dialog::getNextDlgGroupItem() bugfix
    205208
    206209 99-10-11: Christoph Bratschi <cbratschi@datacomm.ch>
     
    212215 99-10-10: Sander van Leeuwen <sandervl@xs4all.nl>
    213216        - USER32: Ported GetNextDlgGroupItem & GetDlgItemInt from Wine
    214                   Window handle translation fix for MessageBoxW
    215                   Don't create frame windows for windows with a 3d border.
    216                   (fixes crash in VPBuddy; don't know why)
     217                  Window handle translation fix for MessageBoxW
     218                  Don't create frame windows for windows with a 3d border.
     219                  (fixes crash in VPBuddy; don't know why)
    217220        - COMDLG32: Fix for most unicode functions (window handle translation
    218                     missing as reported by Edgar Buerkle)
     221                    missing as reported by Edgar Buerkle)
    219222
    220223 99-10-10: Edgar Buerkle <Edgar.Buerkle@gmx.net>
     
    223226 99-10-09: Sander van Leeuwen <sandervl@xs4all.nl>
    224227        - USER32: Clipboard fixes (window handle translation)
    225                   Fixed button redraw when receiving a WM_ENABLE msg
    226                   Use the supported Open32 system colors and only use
    227                   those from Wine for the new (9x) colors
    228         - SHELL32: Moved old to current, current to old dir
     228                  Fixed button redraw when receiving a WM_ENABLE msg
     229                  Use the supported Open32 system colors and only use
     230                  those from Wine for the new (9x) colors
     231        - SHELL32: Moved old to current, current to old dir
    229232        - KERNEL32: Don't switch FS selectors for Odin32 OS/2 apps (win32
    230                     apps compiled in OS/2).
    231                     Fixed reversed stack top & bottom in TEB structure.
     233                    apps compiled in OS/2).
     234                    Fixed reversed stack top & bottom in TEB structure.
    232235        - KERNEL32  Added code to dispatch OS exceptions to win32 apps.
    233                     Doesn't seem to be necessary though, so it's inactive for now.
     236                    Doesn't seem to be necessary though, so it's inactive for now.
    234237        - USER32:   Fixed resizing in winhlp32. Doesn't seem to break anything
    235                     else. (needs more testing though)
    236                     Only increase y position of window if it's initial y <> 0.
    237                     Fixed desktop window lookup (GetWindowFromHandle)
    238                     Set dummy desktop window handler;
    239                     Mdi client bugfix (reported by Yuri Dario)
     238                    else. (needs more testing though)
     239                    Only increase y position of window if it's initial y <> 0.
     240                    Fixed desktop window lookup (GetWindowFromHandle)
     241                    Set dummy desktop window handler;
     242                    Mdi client bugfix (reported by Yuri Dario)
    240243
    241244 99-10-09: Jens Wiessner <wiessnej@rfi.de>
     
    243246
    244247 99-10-09: Edgar Buerkle <Edgar.Buerkle@gmx.net>
    245         - USER32: Enabled accelerator WM_COMMANDs
     248        - USER32: Enabled accelerator WM_COMMANDs
    246249        - COMDLG32: Fix for GetOpenFileNameW (owner hwnd translation)
    247250
     
    262265
    263266 99-10-08: Sander van Leeuwen <sandervl@xs4all.nl>
    264         - USER32: Bugfix for SetWindowPos; take frame size into account
    265                   Removed WM_MOVE notification class flag for Odin PM windows
    266                   Removed SetWindowPos frame size bugfix
    267                   Removed WM_WINDOWPOSCHANGED cy bugfix
    268                   Set WS_DISABLED window style bit when receiving PM WM_ENABLE
    269                   GetClassInfoA bugfix
    270                   Window property bugfixes (no handle translation)
    271                   Set last error when window creation fails.
    272                   In DefDlgProcA/W, call DefWindowProcA/W if window is not
    273                   a dialog. Fixed problems in VPBuddy.
    274                   Unknown if that's a bug in the app or something else goes wrong.
    275         - KERNEL32: Bugfix for loading winspool
    276                     Ported latest Wine exception code (RtlRaiseException/RtlUnwind)
     267        - USER32: Bugfix for SetWindowPos; take frame size into account
     268                  Removed WM_MOVE notification class flag for Odin PM windows
     269                  Removed SetWindowPos frame size bugfix
     270                  Removed WM_WINDOWPOSCHANGED cy bugfix
     271                  Set WS_DISABLED window style bit when receiving PM WM_ENABLE
     272                  GetClassInfoA bugfix
     273                  Window property bugfixes (no handle translation)
     274                  Set last error when window creation fails.
     275                  In DefDlgProcA/W, call DefWindowProcA/W if window is not
     276                  a dialog. Fixed problems in VPBuddy.
     277                  Unknown if that's a bug in the app or something else goes wrong.
     278        - KERNEL32: Bugfix for loading winspool
     279                    Ported latest Wine exception code (RtlRaiseException/RtlUnwind)
    277280
    278281 99-10-07: Christoph Bratschi <cbratschi@datacomm.ch>
  • TabularUnified tags/trunk/src/user32/pmwindow.cpp

    r11930 r11942  
    1 /* $Id: pmwindow.cpp,v 1.35 1999-10-17 18:09:22 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.36 1999-10-19 12:32:13 dengert Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    605605        //OS/2 Window coordinates -> Win32 Window coordinates
    606606        if(win32wnd->MsgMouseMove(keystate, SHORT1FROMMP(mp1), MapOS2ToWin32Y(win32wnd, SHORT2FROMMP(mp1))))
    607         {
    608                 //Changes mouse cursor to default
    609                 goto RunDefWndProc;
    610         }
     607        {
     608                //Changes mouse cursor to default
     609                goto RunDefWndProc;
     610        }
    611611        break;
    612612    }
     
    849849    {
    850850        dprintf(("OS2: WM_ERASEBACKGROUND %x", win32wnd->getWindowHandle()));
    851         if (!win32wnd->isSupressErase()) {
     851        if (WinQueryUpdateRect (hwnd, NULL) && !win32wnd->isSupressErase()) {
    852852            BOOL erased = sendEraseBkgnd (win32wnd);
    853853            win32wnd->setEraseBkgnd (!erased, !erased);
     
    860860
    861861        if (WinQueryUpdateRect (hwnd, NULL)) {
    862             if (!win32wnd->isSupressErase()) {
     862            if (win32wnd->isEraseBkgnd() && !win32wnd->isSupressErase()) {
    863863                BOOL erased = sendEraseBkgnd (win32wnd);
    864864                win32wnd->setEraseBkgnd (!erased, !erased);
Note: See TracChangeset for help on using the changeset viewer.