Changeset 11942
- Timestamp:
- Oct 19, 1999, 2:32:13 PM (26 years ago)
- 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 2 5 3 6 99-10-18: Sander van Leeuwen <sandervl@xs4all.nl> 4 7 - USER32: Set/clear WS_VISIBLE flag in ShowWindow 5 6 8 Fix for scrollbar redraw 9 Rewrote EnumChildWindows (winzip works quite well now!) 7 10 8 11 99-10-18: Edgar Buerkle <Edgar.Buerkle@gmx.net> … … 11 14 99-10-17: Sander van Leeuwen <sandervl@xs4all.nl> 12 15 - USER32: Ported AdjustWindowRectEx from Wine (990815) 13 Changed GetClientRect to return rectangle stored in 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 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 32 35 33 36 99-10-17: Christoph Bratschi <cbratschi@datacomm.ch> … … 42 45 43 46 99-10-17: knut st. osmundsen <knut.stange.osmundsen@pmsc.no> 44 45 47 - KERNEL32: Removed exception throwing from Pe2Lx classes. 48 Implemented TLS support in Pe2Lx classes. 46 49 47 50 99-10-16: Yuri Dario <mc6530@mclink.it> 48 51 - USER32: Button bugfix (BUTTON_CheckAutoRadioButton) 49 52 Win32dlg.cpp: cosmetic changes 50 53 - include\os2wrap.h: define inline as _inline in C mode 51 54 - include\win\winsock.h: Added prototypes … … 57 60 99-10-16: Sander van Leeuwen <sandervl@xs4all.nl> 58 61 - USER32: Don't process size messages before sending WM_NCCREATE 59 60 61 62 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 63 66 64 67 99-10-15: Sander van Leeuwen <sandervl@xs4all.nl> 65 68 - USER32: CBT Hook bugfix. Only respond to WM_NCCREATE msg to send 66 67 68 69 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) 70 73 GetWindow bugfix. (related window can be frame window) 71 74 Fixed window & child destruction process. 72 75 - KERNEL32: Fixed VirtualQuery bug. 73 76 74 77 99-10-15: Edgar Buerkle <Edgar.Buerkle@gmx.net> 75 78 - USER32: Basic message translation to fix problems in win apps 76 79 that wait for a specific message. (NOT COMPLETE) 77 80 78 81 99-10-14: Sander van Leeuwen <sandervl@xs4all.nl> 79 82 - USER32: Fixed WM_WINDOWPOSCHANGED (frame window rectangle) 80 83 Partly implemented CopyImage (only simple copies of icons 81 82 83 84 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) 85 88 86 89 99-10-14: Patrick Haller <phaller@gmx.net> 87 90 - KERNEL32: Fix: threads might need more memory in debug mode (thread.cpp) 88 91 Fix: a little cleanup (virtual.cpp) 89 92 Fix: lstrcpyAW taking NULL parameters (broken WINE controls?) (heapstring.cpp) 90 93 - ADVAPI32: Fix: RegConnectRegistryA slightly improved 91 94 92 95 99-10-14: knut st. osmundsen <knut.stange.osmundsen@pmsc.no> 93 94 95 96 97 98 99 100 101 102 103 104 105 106 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! 107 110 108 111 99-10-14: Edgar Buerkle <Edgar.Buerkle@gmx.net> … … 112 115 99-10-14: Sander van Leeuwen <sandervl@xs4all.nl> 113 116 - USER32: Fixed shrinking listbox in shell about dialog. 114 115 116 117 118 119 120 121 122 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) 123 126 Clear unsupported frame styles (i.e. no titlebar & minimize/maximize button) 124 Fixed MapOS2ToWin32Rectl & GetWindowRect. 125 126 127 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) 128 131 129 132 - USER32: Rewrote window creation. All Odin windows are OS/2 frames. 130 131 132 133 134 135 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!! 136 139 137 140 - COMCTL32: Check infoPtr in toolbar during WM_ERASEBKGND 138 141 - KERNEL32: Added wprocess.cpp dependency for include\win\thread.h 139 140 141 142 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. 143 146 Removed generic.exe fix in OS2UnsetExceptionHandler. 144 145 147 (creates problems when loading multiple PE dlls with pe loader 148 and generic.exe still works fine now) 146 149 - SHELL32: use wrc from tools directory 147 150 … … 154 157 99-10-12: Sander van Leeuwen <sandervl@xs4all.nl> 155 158 - USER32: DrawMenuBar & DrawCaptionTempA bugfix (window handle translation) 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 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)) 173 176 - USER32: Set focus to edit control when receiving WM_LBUTTONDOWN 174 177 175 176 177 178 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. 179 182 180 183 99-10-11: Christoph Bratschi <cbratschi@datacomm.ch> … … 183 186 99-10-11: Sander van Leeuwen <sandervl@xs4all.nl> 184 187 - USER32: Disabling the desktop window is a very bad idea. 185 186 187 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 188 191 Ported almost all Wine code for CTLCOLOR messages. 189 190 191 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. 192 195 - SHELL32: Fixed Shell32 about dialog. 193 194 195 196 Compile Wine resource with WRC and link with dll. 197 Added version resource 198 Call Wine dll entrypoint in initterm.cpp. 196 199 - INCLUDE: Only include stdlib.h when wrc is not active 197 200 Extra definitions for compiling win32 apps in OS/2 198 201 199 202 99-10-11: Edgar Buerkle <Edgar.Buerkle@gmx.net> … … 201 204 - USER32: Init ownDC to 0 202 205 Create empty dialog in CreateWindowExA/W if class == dialog 203 204 206 Support for class atoms in CreateWindowExA/W 207 Win32Dialog::getNextDlgGroupItem() bugfix 205 208 206 209 99-10-11: Christoph Bratschi <cbratschi@datacomm.ch> … … 212 215 99-10-10: Sander van Leeuwen <sandervl@xs4all.nl> 213 216 - USER32: Ported GetNextDlgGroupItem & GetDlgItemInt from Wine 214 215 216 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) 217 220 - COMDLG32: Fix for most unicode functions (window handle translation 218 221 missing as reported by Edgar Buerkle) 219 222 220 223 99-10-10: Edgar Buerkle <Edgar.Buerkle@gmx.net> … … 223 226 99-10-09: Sander van Leeuwen <sandervl@xs4all.nl> 224 227 - USER32: Clipboard fixes (window handle translation) 225 226 227 228 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 229 232 - KERNEL32: Don't switch FS selectors for Odin32 OS/2 apps (win32 230 231 233 apps compiled in OS/2). 234 Fixed reversed stack top & bottom in TEB structure. 232 235 - KERNEL32 Added code to dispatch OS exceptions to win32 apps. 233 236 Doesn't seem to be necessary though, so it's inactive for now. 234 237 - USER32: Fixed resizing in winhlp32. Doesn't seem to break anything 235 236 237 238 239 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) 240 243 241 244 99-10-09: Jens Wiessner <wiessnej@rfi.de> … … 243 246 244 247 99-10-09: Edgar Buerkle <Edgar.Buerkle@gmx.net> 245 248 - USER32: Enabled accelerator WM_COMMANDs 246 249 - COMDLG32: Fix for GetOpenFileNameW (owner hwnd translation) 247 250 … … 262 265 263 266 99-10-08: Sander van Leeuwen <sandervl@xs4all.nl> 264 265 266 267 268 269 270 271 272 273 274 275 276 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) 277 280 278 281 99-10-07: Christoph Bratschi <cbratschi@datacomm.ch> -
TabularUnified tags/trunk/src/user32/pmwindow.cpp ¶
r11930 r11942 1 /* $Id: pmwindow.cpp,v 1.3 5 1999-10-17 18:09:22 sandervlExp $ */1 /* $Id: pmwindow.cpp,v 1.36 1999-10-19 12:32:13 dengert Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 605 605 //OS/2 Window coordinates -> Win32 Window coordinates 606 606 if(win32wnd->MsgMouseMove(keystate, SHORT1FROMMP(mp1), MapOS2ToWin32Y(win32wnd, SHORT2FROMMP(mp1)))) 607 608 609 610 607 { 608 //Changes mouse cursor to default 609 goto RunDefWndProc; 610 } 611 611 break; 612 612 } … … 849 849 { 850 850 dprintf(("OS2: WM_ERASEBACKGROUND %x", win32wnd->getWindowHandle())); 851 if ( !win32wnd->isSupressErase()) {851 if (WinQueryUpdateRect (hwnd, NULL) && !win32wnd->isSupressErase()) { 852 852 BOOL erased = sendEraseBkgnd (win32wnd); 853 853 win32wnd->setEraseBkgnd (!erased, !erased); … … 860 860 861 861 if (WinQueryUpdateRect (hwnd, NULL)) { 862 if ( !win32wnd->isSupressErase()) {862 if (win32wnd->isEraseBkgnd() && !win32wnd->isSupressErase()) { 863 863 BOOL erased = sendEraseBkgnd (win32wnd); 864 864 win32wnd->setEraseBkgnd (!erased, !erased);
Note:
See TracChangeset
for help on using the changeset viewer.